3d printed buttons: Make text two layers thick, text side down

This commit is contained in:
2023-04-12 23:49:43 +02:00
parent 9c1d1c003c
commit 93d263735a

View File

@@ -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);
}
}
}
}