lid_screw_head_height = 2.8;
lid_screw_holder_height = 4; // includes lid_thickness
// we want lid_screw_holder_height + (holder_depth + holder_tail_depth)/2 >= screw length (13 mm)
+text_depth = 1;
over = 0.1;
$fn = 50;
translate([pcb_width, pcb_length, 0])
lid_screw_holder();
}
+
+ // Screw holes
translate([0, 0, 0])
lid_screw_hole();
translate([0, pcb_length, 0])
lid_screw_hole();
translate([pcb_width, pcb_length, 0])
lid_screw_hole();
+
+ // Text
+ translate([pcb_width / 2, 10, -text_depth/2])
+ rotate(0)
+ scale([0.8, 0.8, 1])
+ linear_extrude(text_depth + over, center = true)
+ text("USB – BSB", font = "Liberation Serif", halign="center");
}
}
bottom();
-// color([1, 0, 0]) translate([0, 0, box_height]) lid();
+color([1, 0, 0]) translate([0, 0, box_height]) lid();