include $fn = 36*5; t = 5; rounding = 1; // base to connect to the printer base_hole_distance = 40; base_frame_hole_d = 4.5; base_dim = [61,23,12]; difference() { // base cuboid(base_dim, rounding=rounding); // holes for screws left(base_hole_distance/2) cyl(d=base_frame_hole_d, h=base_dim[2], chamfer=-1); right(base_hole_distance/2) cyl(d=base_frame_hole_d, h=base_dim[2], chamfer=-1); } // PTFE tube holder tube_dist = 15; tube_d0 = 2.5; tube_d1 = 4.2; tube_d2 = 6; tube_h = base_dim[2]; difference() { union() { fwd(base_dim[1]/2 - 2*rounding) cuboid([tube_d2, tube_dist + 2*rounding, tube_h], anchor=BACK, rounding=rounding, edges="Y"); fwd(base_dim[1]/2 + tube_dist) cyl(d=tube_d2, h=tube_h); } fwd(base_dim[1]/2 + tube_dist) cyl(d=tube_d0, h=tube_h, rounding=-rounding); fwd(base_dim[1]/2 + tube_dist) cyl(d=tube_d1, h=tube_h, anchor=BOTTOM); }