From e507f71619edf336b5ccb4d8a850608011d7d7ff Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Tue, 24 Aug 2021 08:58:41 +0800 Subject: [PATCH] scale decoratiokn --- examples/daruma.scad | 26 +++++++++++++------------- examples/daruma_samurai.scad | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/examples/daruma.scad b/examples/daruma.scad index f21fbc38..44d034f9 100644 --- a/examples/daruma.scad +++ b/examples/daruma.scad @@ -3,7 +3,7 @@ use ; text = "順暢"; font = "思源黑體 Heavy"; -font_size = 14; +font_size = 15; smoothing = false; // warning: previewing is slow if it's true. scale(smoothing ? 0.985 : 1) @@ -153,14 +153,14 @@ module wish_decoration(text, font, font_size) { decoration(); } - translate([0, 0, 30]) - sphere(52); + translate([0, 0, 31]) + sphere(52.25); } module wish() { - translate([0, -43, 29]) + translate([0, -43, 29.5]) rotate([85, 0, 0]) - linear_extrude(10) + linear_extrude(10, scale = .8) text( text[0], font = font, @@ -169,9 +169,9 @@ module wish_decoration(text, font, font_size) { halign = "center" ); - translate([0, -42.5, 10]) + translate([0, -42.5, 12]) rotate([105, 0, 0]) - linear_extrude(10) + linear_extrude(10, scale = .8) text( text[1], font = font, @@ -182,11 +182,11 @@ module wish_decoration(text, font, font_size) { } module decoration() { - translate([18, -38, 20]) + translate([18, -38, 21]) rotate([100, 0, 0]) - linear_extrude(10) + linear_extrude(10, scale = .8) scale(.85) - scale([1, 1.75]) + scale([1, 1.825]) offset(.5) difference() { circle(10); @@ -194,11 +194,11 @@ module wish_decoration(text, font, font_size) { circle(11.5); } - translate([28, -30, 20]) + translate([28, -30, 21]) rotate([100, 0, 30]) - linear_extrude(10) + linear_extrude(10, scale = .8) scale(.7) - scale([1, 1.75]) + scale([1, 1.825]) offset(.5) difference() { circle(10); diff --git a/examples/daruma_samurai.scad b/examples/daruma_samurai.scad index 7072ceb3..470b067b 100644 --- a/examples/daruma_samurai.scad +++ b/examples/daruma_samurai.scad @@ -4,7 +4,7 @@ use ; text = "順暢"; font = "思源黑體 Medium"; -font_size = 14; +font_size = 15; model = "both"; // [daruma, helmet, both] scale(.7) {