From 5b36e79d315e139f3fe7f785b850a6cf5dcd8104 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 29 Feb 2020 15:23:10 +0100 Subject: [PATCH] BSB Case: Lettering --- bsb/case/case.scad | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bsb/case/case.scad b/bsb/case/case.scad index 59a9420..6298e51 100644 --- a/bsb/case/case.scad +++ b/bsb/case/case.scad @@ -50,6 +50,7 @@ lid_screw_head_diam = 5.8; 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; @@ -160,6 +161,8 @@ module lid() { translate([pcb_width, pcb_length, 0]) lid_screw_holder(); } + + // Screw holes translate([0, 0, 0]) lid_screw_hole(); translate([0, pcb_length, 0]) @@ -168,8 +171,15 @@ module lid() { 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(); -- 2.39.2