1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-13 18:24:28 +02:00

scale 0.7

This commit is contained in:
Justin Lin
2021-08-23 15:16:39 +08:00
parent 52e43aa03c
commit 0810d86314

View File

@@ -5,8 +5,9 @@ use <hull_polyline2d.scad>;
text = "順暢";
font = "思源黑體 Heavy";
font_size = 14;
model = "both"; // [daruma, helmet, both]
model = "helmet"; // [daruma, helmet, both]
scale(.7) {
if(model == "daruma") {
difference() {
union() {
@@ -19,7 +20,7 @@ if(model == "daruma") {
}
} else if(model == "helmet") {
scale(1.025)
scale(1.03)
helmet();
}
else {
@@ -28,7 +29,7 @@ else {
daruma();
wish_decoration(text, font, font_size);
}
translate([0, 0, -23])
translate([0, 0, -24.5])
linear_extrude(20)
square(100, center = true);
}
@@ -37,6 +38,7 @@ else {
rotate([-20, 0, 0])
helmet();
}
}
module helmet() {
scale([1.125, 1.2, .8]) {