aboutsummaryrefslogtreecommitdiff
path: root/LS47.scad
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2017-09-12 09:38:43 +0200
committerMirek Kratochvil <exa.exa@gmail.com>2017-09-12 09:38:43 +0200
commit84a3970245b05bbb5218dc85e72725d1dd6ad1c0 (patch)
treee713bbbf8e92e57d21faff271aed49da824663a9 /LS47.scad
parent3f1ff2332bd10a627a2ec5801046615e80e3bd58 (diff)
downloadls47-84a3970245b05bbb5218dc85e72725d1dd6ad1c0.tar.gz
ls47-84a3970245b05bbb5218dc85e72725d1dd6ad1c0.tar.bz2
cleanup the scad
Diffstat (limited to 'LS47.scad')
-rw-r--r--LS47.scad17
1 files changed, 10 insertions, 7 deletions
diff --git a/LS47.scad b/LS47.scad
index 9b426d3..8f63b4b 100644
--- a/LS47.scad
+++ b/LS47.scad
@@ -1,17 +1,22 @@
-// text_on_cube.scad - Example for text() usage in OpenSCAD
-echo(version=version());
+// No license, but send me a hello if you use this for some good purpose.
+// -- Mirek Kratochvil <exa.exa@gmail.com>
-//font = "URW Bookman L";
-font = "Monospace";
+//TODO: round corners?
+
+font = "Monospace"; //URW Bookman L looks nicely here as well
font2 = "Droid Sans Mono";
-//TODO: kulaty rohy
+//inch-sized tiles look imperial.
tilesize=25.4;
+//you might like them a bit larger if you want to use this in nature.
+//distance between tiles
off=tilesize*1.05;
+//height 1/8"
tileheight=tilesize/8;
+//this produces one tile
module tilec(letter, x, y, c) {
translate([x*off,(6-y)*off,0]) {
difference() {
@@ -37,7 +42,6 @@ module tilec(letter, x, y, c) {
}
//tiles
-
module tile(letter,x,y) {
tilec(letter,x,y,"darkgray");
}
@@ -92,7 +96,6 @@ tile("'",4,6);
tile("(",5,6);
tile(")",6,6);
-
//the token
translate([-off/2,off/2,0]) {
color("red") difference() {