- difference(){ union(){
- cylinder(r=pillarthick/2, h=frameheight);
- translate([0,0,frameheight]) sphere(r=pillarthick/2);
- }
- translate([0,0,-1])
- cube([mw2,mw2,frameheight+pillarthick+2]);
+ difference(){
+ union(){
+ cylinder(r=pillarthick/2, h=frameheight);
+ translate([0,0,frameheight])
+ sphere(r=pillarthick/2);
+ }
+ translate([d,d,-1])
+ cube([mw2-1,mw2-1,frameheight+pillarthick+2]);