3 include <commitid.scad>
6 pxp6012_rad = 22.5 / 2 + 0.5; // make circular hole this size in outer wall
7 pxp6012_rad_outer = 32.0 / 2 - 0.5;
11 s1930_y_outer = 36.4 + 0.2;
12 s1930_x_outer = 27.6 + 0.2;
20 // origin is at centre on outer face wall
21 // outside is towards positive x
22 // mounting is vertical
23 module S1930_Positive(){
24 d = s1930_recess + s1930_behind;
25 translate([-d/2, 0,0])
27 s1930_x_outer + s1930_around,
28 s1930_y_outer + s1930_around], center=true);
30 module S1930_Negative(){
31 cube([60, s1930_x, s1930_y],
34 cube([s1930_recess*2+2, s1930_x_outer, s1930_y_outer],
38 module TestWall(){ ////toplevel
39 sw_ctr = [25, wallthick, 25];
44 cube([50, wallthick, 42]);
47 translate([30, -1, 20])
49 cylinder(r = pxp6012_rad, h=10, $fn=60);
52 Commitid_BestCount([15,40]);
58 cube([50, wallthick, 50]);
75 $sealingbox_wallthick = wallthick;
76 $sealingbox_floorth = 2.5;
77 $sealingbox_ceilth = 2.5;
78 $sealingbox_xbox = totx_outer;
79 $sealingbox_ybox = toty_outer;
80 $sealingbox_zbox = totz_inner;
82 innertube = 1.0 + 0.2;
88 include <sealing-box.scad>
90 module TestSealBox(){ ////toplevel
93 Commitid_BestCount([totx_outer,toty_outer] - 2*ts_cidoff);
96 module TestSealLid(){ ////toplevel
100 translate([totx_outer * .75, toty_outer/2, 0])
101 cylinder(h=100, r=5);
103 translate([-wallthick + ts_cnrrad*.5,
104 ts_cnrrad*.5 - wallthick,
105 totz_inner + $sealingbox_ceilth])
106 Commitid_BestCount([totx_outer * .75 - 2.5 - (ts_cnrrad*.5),
107 toty_outer - (ts_cnrrad*.5 - wallthick)*2]);
111 module TestSealLidPrint(){ ////toplevel
112 rotate([180,0,0]) TestSealLid();
115 module ProfileDemos(){ ////toplevel
116 SealingBox_WallProfile();
117 color("blue") SealingBox_FloorProfile();
118 SealingBox_LidProfile();
119 color("blue") SealingBox_CeilProfile();
120 color("red") translate([-5,0]) square([1,totz_inner]);
127 //FArcSegment_mask(350);