Lovevery coin

This commit is contained in:
Stefan Thoss
2024-12-25 14:42:41 -08:00
parent 9f45d86ed6
commit c74622cb6f
10 changed files with 96 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
coin_d = 2*25.4; // 2"
coin_h = (9/64)*25.4; // 9/64"
space = 10;
$fn = 100;
module Text(character) {
/* Font: https://www.omnibus-type.com/fonts/saira-stencil-one */
text(character, size = 30, font = "Saira Stencil One:style=Regular", halign = "center", valign = "center");
}
module CharCoin(character) {
difference() {
cylinder(h = coin_h, d = coin_d, center = true);
translate([0,0,-coin_h/2])
linear_extrude(coin_h)
Text(character);
}
}
for(num = [0 : 9])
translate([(num%3)*(coin_d+space),-(num/3)*(coin_d+space),0])
CharCoin(str(num));
// CharCoin("8");