x_sliced = outer_cnr_rad * (1-sin(45));
+$screen = true;
+
module RoundedProfile(sz, cnr_rad){
hull(){
for (x=[ cnr_rad, sz[0]-cnr_rad ])
for (y=[ cnr_rad, sz[1]-cnr_rad ])
for (z=[ cnr_rad, sz[2]-cnr_rad ])
translate([x,y,z])
- sphere(r= cnr_rad, $fn=20);
+ sphere(r= cnr_rad, $fn=8);
}
}
psz[2] ])
cube(concat(abtn_sz, [ thick[2]*3 ]), center=true);
- mirror([1,0,0])
+ if ($screen)
+ mirror([1,0,0])
translate([ screen_xbot,
(psz[1] - screen_sz[1])/2,
psz[2]-1 ])
}
}
+module TestLoop(){
+ intersection(){
+ Case($screen=false);
+ translate([ -vol_xbot, 0,0 ])
+ cube([ 4, 200,200 ], center=true);
+ }
+}
+
Case();
+//TestLoop();
//RoundedCube(psz, inner_cnr_rad);