From 93d263735ade7d5fc277e7ae485bc2463d9f7336 Mon Sep 17 00:00:00 2001 From: Matthias Blankertz Date: Wed, 12 Apr 2023 23:49:43 +0200 Subject: [PATCH] 3d printed buttons: Make text two layers thick, text side down --- 3dprint/buttons.scad | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/3dprint/buttons.scad b/3dprint/buttons.scad index 9287285..511bb0d 100644 --- a/3dprint/buttons.scad +++ b/3dprint/buttons.scad @@ -2,7 +2,7 @@ $fa = 1; $fs = 0.4; epsilon = 0.01; -text_depth = 1; +text_depth = 0.4; button_thickness = 3; switch_shaft_upper = 3; switch_shaft_lower = 3.5; @@ -50,6 +50,8 @@ render_button = true; row_length = 4; +rotate([0, 180, 0]) { + for (i = [0:len(buttons)-1]) { translate([(i%row_length)*(button_width+print_spacing), floor(i/row_length)*(button_height+print_spacing), 0]) { @@ -83,4 +85,5 @@ for (i = [0:len(buttons_small)-1]) { text_depth, size=3); } } +} } \ No newline at end of file