1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-13 10:14:41 +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,9 +5,10 @@ use <hull_polyline2d.scad>;
text = "順暢";
font = "思源黑體 Heavy";
font_size = 14;
model = "both"; // [daruma, helmet, both]
model = "helmet"; // [daruma, helmet, both]
if(model == "daruma") {
scale(.7) {
if(model == "daruma") {
difference() {
union() {
daruma();
@@ -18,17 +19,17 @@ if(model == "daruma") {
square(100, center = true);
}
} else if(model == "helmet") {
scale(1.025)
} else if(model == "helmet") {
scale(1.03)
helmet();
}
else {
}
else {
difference() {
union() {
daruma();
wish_decoration(text, font, font_size);
}
translate([0, 0, -23])
translate([0, 0, -24.5])
linear_extrude(20)
square(100, center = true);
}
@@ -36,6 +37,7 @@ else {
translate([0, 4, 55])
rotate([-20, 0, 0])
helmet();
}
}
module helmet() {