$fn = 60; include include tube_dia=16; difference() { union() { // base cuboid([116,116,13], rounding=2); // tube translate([0,-68,0]) zcyl(l=13, d=26, rounding=2); // screw translate([0,-79.5,0]) cuboid([15,13,13], rounding=2); translate([0,-84.5,0]) xcyl(l=15, d=13, rounding=2); // back leg translate([0,-56.5,0]) rotate([90,0,0]) prismoid(size1=[80,13], size2=[25,13], h=13, rounding=2); } translate([0,0,3]) cuboid([110,110,11], rounding=2); // middle round translate([0,0,-2.5]) zcyl(l=2, d=80, rounding=1); // tube translate([0,-68,0]) zcyl(l=13, d=tube_dia+.5, rounding=-1); // hex screw hole translate([0,-84.5,0]) { cuboid([1.5,20,15]); translate ([-4.5,0,0]) rotate([0,90,0]) { DIN931("M5"); zcyl(l=15, d=5.2); } } }