$fn = 60; include include ; base_length=94; base_width=40; base_height=3; supp_length=30; supp_width=30; supp_height=7; module screw(size) { *nutcatch_parallel(size, clh=0.2, clk=0.2); hole_through(name=size, l=10, cld=0.2, h=10, hcld=0.4); *nutcatch_sidecut(size, l=20, clk=0.1, clh=0.1, clsl=0.1); } difference() { // base union() { prismoid([base_length,base_width], [supp_length,supp_width], h=supp_height, rounding=5, anchor=TOP); translate([0,0,-supp_height]) cuboid([base_length,base_width,base_height], rounding=5, edges=[FWD+RIGHT,FWD+LEFT,BACK+RIGHT,BACK+LEFT], anchor=TOP); } // screw_holes color("red") { for(i=[-25:50:50]) { translate([i,0,-supp_height+9]) screw("M5"); } } // holder_hole translate([0,0,-3.41]) zcyl(d=24.8, h=1.85, rounding=0.925, anchor=BOT); rotate([0,0,45]) cuboid([24.8,8.5,1.65], rounding=2, edges=[FWD+RIGHT,FWD+LEFT,BACK+RIGHT,BACK+LEFT], anchor=TOP); rotate([0,0,-45]) cuboid([24.8,8.5,1.65], rounding=2, edges=[FWD+RIGHT,FWD+LEFT,BACK+RIGHT,BACK+LEFT], anchor=TOP); zcyl(d=20, h=1.65, rounding=-0.825, anchor=TOP); }