3 include <commitid.scad>
5 pxp6012_rad = 22.5 / 2 + 0.5;
6 pxp6012_rad_outer = 32.0 / 2 - 0.5;
10 s1930_y_outer = 36.4 + 0.2;
11 s1930_x_outer = 27.6 + 0.2;
24 cube([50, wallthick, 42]);
27 translate([30, -1, 20])
29 cylinder(r = pxp6012_rad, h=10, $fn=60);
32 Commitid_BestCount([15,40]);
38 cube([50, wallthick, 50]);
41 cube([s1930_x_outer + s1930_around,
42 s1930_y_outer + s1930_around,
50 cube([s1930_x, s1930_y, 10], center=true);
52 cube([s1930_x_outer, s1930_y_outer, 10], center=true);
59 ts_outer = [20,20,20];
60 ts_wall = [wallthick,wallthick,ts_floorceil];
69 m4_dnl Box_Part($1=transl_x,$2=transl_y, $3=rot_z,$4=mirror_xy)
70 m4_dnl $5=kind(kindargs)
71 m4_dnl profile(profileargsargs);
72 m4_define(`Box_Part',`
76 BoxPart_Extrude_$5') m4_dnl
80 m4_dnl BoxPart_Extrude_Linear(dist) profile(...);
81 m4_define(`BoxPart_Extrude_Linear',`
83 translate([0,0, -($1)])
84 linear_extrude(height= boxpart_d + ($1))
87 ts_xbox_lin = ts_xbox - ts_cnrrad*2;
88 ts_ybox_lin = ts_ybox - ts_cnrrad*2;
90 m4_dnl TestSealDoBoxShape(`profile(profileargs)');
91 m4_define(`TestSealDoBoxShape',`
92 Box_Part(0, ts_cnrrad, 0,0, Linear(ts_ybox_lin)) $1;
93 Box_Part(0, ts_ybox-ts_cnrrad, 0,0, Arc(ts_cnrrad,90) ) $1;
94 Box_Part(ts_cnrrad, ts_ybox, -90,0, Linear(ts_xbox_lin)) $1;
95 Box_Part(ts_xbox-ts_cnrrad, ts_ybox, -90,0, Arc(ts_cnrrad,90) ) $1;
96 Box_Part(ts_xbox, ts_ybox-ts_cnrrad, -180,0, Linear(ts_ybox_lin)) $1;
97 Box_Part(ts_xbox, ts_cnrrad, -180,0, Arc(ts_cnrrad,90) ) $1;
98 Box_Part(ts_xbox-ts_cnrrad, 0, -270,0, Linear(ts_xbox_lin)) $1;
99 Box_Part(ts_cnrrad, 0, -270,0, Arc(ts_cnrrad,90) ) $1;
104 module TestSealWallProfile(){
105 z = ts_zbox - ts_innertube - wallthick/2;
106 translate([0, -0.1]) square([wallthick, z]);
107 translate([wallthick/2, z]) circle(r = wallthick/2, $fn=20);
110 module TestSealBox(){
111 TestSealDoBoxShape(`TestSealWallProfile()');
115 //TestSealWallProfile();