aboutsummaryrefslogtreecommitdiff
path: root/LS47.scad
diff options
context:
space:
mode:
authorMirek Kratochvil <miroslav.kratochvil@matfyz.cuni.cz>2026-10-12 16:54:57 +0200
committerMirek Kratochvil <miroslav.kratochvil@matfyz.cuni.cz>2026-10-12 16:54:57 +0200
commit1cc74e4c11673344eff287daf219be0917248fea (patch)
treed2e3d8909119e643fc9170761869bbcc9da25aca /LS47.scad
parent93ca0ce06146eec3b74d2ab905c130083cd1c6c1 (diff)
downloadls47-1cc74e4c11673344eff287daf219be0917248fea.tar.gz
ls47-1cc74e4c11673344eff287daf219be0917248fea.tar.bz2
upd a bit
Diffstat (limited to 'LS47.scad')
-rw-r--r--LS47.scad11
1 files changed, 5 insertions, 6 deletions
diff --git a/LS47.scad b/LS47.scad
index 21e0fce..b94ee87 100644
--- a/LS47.scad
+++ b/LS47.scad
@@ -4,7 +4,7 @@
font = "FiraMono";
-alphabet = "ru";
+alphabet = "en";
//inch-sized tiles look imperial.
tilesize=25.4;
@@ -12,8 +12,7 @@ tilesize=25.4;
//distance between tiles
off=tilesize*1.1;
-//height 1/8"
-tileheight=tilesize/8;
+tileheight=tilesize/10;
fontheight=tileheight*0.5;
corner=tileheight*2;
@@ -46,7 +45,7 @@ module tilec(letter, x, y, c) {
cylinder(tileheight, corner, corner);
};
color("white") {
- translate([tilesize*(0.5-dx*0.13),tilesize*(0.275-dy*0.13),tileheight*.51])
+ translate([tilesize*(0.5-dx*0.13),tilesize*(0.33-dy*0.13),tileheight*.51])
linear_extrude (height=tileheight/2)
text(letter, font=font, size=tilesize*.48,
halign="center", valign="baseline");
@@ -80,7 +79,7 @@ module tiles(letters) {
if (alphabet=="en") {
// latin variant of tiles
tiles(
- ["□", "A", "B", "C", "D", "E", "F",
+ ["...", "A", "B", "C", "D", "E", "F",
"G", "H", "I", "J", "K", "L", "M",
"N", "O", "P", "Q", "R", "S", "T",
"U", "V", "W", "X", "Y", "Z", ".",
@@ -92,7 +91,7 @@ if (alphabet=="en") {
// variant of tiles thanks to Stas Bushuev
// (see https://github.com/Xitsa/ls47 for other versions)
tiles(
- ["□", "А", "Б", "В", "Г", "Д", "Е",
+ ["...", "А", "Б", "В", "Г", "Д", "Е",
"Ё", "Ж", "З", "И", "Й", "К", "Л",
"М", "Н", "О", "П", "Р", "С", "Т",
"У", "Ф", "Х", "Ц", "Ч", "Ш", "Щ",