$fn=60; include include include include // Enclosure color("cyan") { translate([0,0,19]) difference() { union() { translate([0,0,10]) prismoid(size1=[30,141], size2=[20,30], h=43, rounding=5); translate([0,0,-25]) cuboid([30,141,70], rounding=5, edges=[FRONT+RIGHT,FRONT+LEFT,BACK+RIGHT,BACK+LEFT]); } translate([0,0,-25]) cuboid([22,135,70], rounding=1); translate([0,0,10]) prismoid(size1=[22,135], size2=[20,30], h=40, rounding=5); translate([0,0,-19]) { cuboid([60,35,35], rounding=15); translate([0,70,0]) ycyl(l=20, r=7); translate([0,0,70]) zcyl(l=20, r=7); } } difference() { union() { translate([0,60,-38]) cuboid([30,17,6], rounding=3); translate([0,-60,-38]) cuboid([30,17,6], rounding=3); } translate([0,60,-38.5]) zcyl(l=10, r=2.25); translate([0,60,-37]) rotate([180,0,0]) DIN931("M4"); translate([0,-60,-38.5]) zcyl(l=10, r=2.25); translate([0,-60,-37]) rotate([180,0,0]) DIN931("M4"); } }