Resize MTG token

This commit is contained in:
Correl Roush 2023-04-25 19:30:32 -04:00
parent 27ca29ea51
commit 3f759ad5e4

View file

@ -6,40 +6,40 @@ emboss_y = 1;
module cat() { module cat() {
translate([20,10,base_y]) { translate([17.5,10,base_y]) {
linear_extrude(emboss_y) linear_extrude(emboss_y)
text("Cat", font="Beleren", halign="center"); text("Cat", font="Beleren", halign="center");
} }
translate([20,2,base_y]) { translate([17.5,2,base_y]) {
linear_extrude(emboss_y) linear_extrude(emboss_y)
text("2/2", font="Beleren", size=5, halign="center"); text("2/2", font="Beleren", size=5, halign="center");
} }
translate([3,37,base_y]) translate([1.5,37,base_y])
linear_extrude(emboss_y) linear_extrude(emboss_y)
scale(.08) scale(.08)
import("mtg_token/Cat_silhouette.svg"); import("mtg_token/Cat_silhouette.svg");
} }
module dog() { module dog() {
translate([20,10,base_y]) { translate([17.5,10,base_y]) {
linear_extrude(emboss_y) linear_extrude(emboss_y)
text("Dog", font="Beleren", halign="center"); text("Dog", font="Beleren", halign="center");
} }
translate([20,2,base_y]) { translate([17.5,2,base_y]) {
linear_extrude(emboss_y) linear_extrude(emboss_y)
text("3/1", font="Beleren", size=5, halign="center"); text("3/1", font="Beleren", size=5, halign="center");
} }
translate([5,41,base_y]) translate([3.5,41,base_y])
linear_extrude(emboss_y) linear_extrude(emboss_y)
scale(.07) scale(.07)
import("mtg_token/Dog_silhouette.svg"); import("mtg_token/Dog_silhouette.svg");
} }
hull() { hull() {
cube([40, 30, base_y]); cube([35, 30, base_y]);
translate([10,40,0]) translate([10,40,0])
cylinder(r=10, h=base_y); cylinder(r=10, h=base_y);
translate([30,40,0]) translate([25,40,0])
cylinder(r=10, h=base_y); cylinder(r=10, h=base_y);
} }
color("white") { color("white") {