mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-11 17:24:20 +02:00
scale decoratiokn
This commit is contained in:
@@ -3,7 +3,7 @@ use <multi_line_text.scad>;
|
|||||||
|
|
||||||
text = "順暢";
|
text = "順暢";
|
||||||
font = "思源黑體 Heavy";
|
font = "思源黑體 Heavy";
|
||||||
font_size = 14;
|
font_size = 15;
|
||||||
smoothing = false; // warning: previewing is slow if it's true.
|
smoothing = false; // warning: previewing is slow if it's true.
|
||||||
|
|
||||||
scale(smoothing ? 0.985 : 1)
|
scale(smoothing ? 0.985 : 1)
|
||||||
@@ -153,14 +153,14 @@ module wish_decoration(text, font, font_size) {
|
|||||||
decoration();
|
decoration();
|
||||||
}
|
}
|
||||||
|
|
||||||
translate([0, 0, 30])
|
translate([0, 0, 31])
|
||||||
sphere(52);
|
sphere(52.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
module wish() {
|
module wish() {
|
||||||
translate([0, -43, 29])
|
translate([0, -43, 29.5])
|
||||||
rotate([85, 0, 0])
|
rotate([85, 0, 0])
|
||||||
linear_extrude(10)
|
linear_extrude(10, scale = .8)
|
||||||
text(
|
text(
|
||||||
text[0],
|
text[0],
|
||||||
font = font,
|
font = font,
|
||||||
@@ -169,9 +169,9 @@ module wish_decoration(text, font, font_size) {
|
|||||||
halign = "center"
|
halign = "center"
|
||||||
);
|
);
|
||||||
|
|
||||||
translate([0, -42.5, 10])
|
translate([0, -42.5, 12])
|
||||||
rotate([105, 0, 0])
|
rotate([105, 0, 0])
|
||||||
linear_extrude(10)
|
linear_extrude(10, scale = .8)
|
||||||
text(
|
text(
|
||||||
text[1],
|
text[1],
|
||||||
font = font,
|
font = font,
|
||||||
@@ -182,11 +182,11 @@ module wish_decoration(text, font, font_size) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
module decoration() {
|
module decoration() {
|
||||||
translate([18, -38, 20])
|
translate([18, -38, 21])
|
||||||
rotate([100, 0, 0])
|
rotate([100, 0, 0])
|
||||||
linear_extrude(10)
|
linear_extrude(10, scale = .8)
|
||||||
scale(.85)
|
scale(.85)
|
||||||
scale([1, 1.75])
|
scale([1, 1.825])
|
||||||
offset(.5)
|
offset(.5)
|
||||||
difference() {
|
difference() {
|
||||||
circle(10);
|
circle(10);
|
||||||
@@ -194,11 +194,11 @@ module wish_decoration(text, font, font_size) {
|
|||||||
circle(11.5);
|
circle(11.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
translate([28, -30, 20])
|
translate([28, -30, 21])
|
||||||
rotate([100, 0, 30])
|
rotate([100, 0, 30])
|
||||||
linear_extrude(10)
|
linear_extrude(10, scale = .8)
|
||||||
scale(.7)
|
scale(.7)
|
||||||
scale([1, 1.75])
|
scale([1, 1.825])
|
||||||
offset(.5)
|
offset(.5)
|
||||||
difference() {
|
difference() {
|
||||||
circle(10);
|
circle(10);
|
||||||
|
@@ -4,7 +4,7 @@ use <hull_polyline2d.scad>;
|
|||||||
|
|
||||||
text = "順暢";
|
text = "順暢";
|
||||||
font = "思源黑體 Medium";
|
font = "思源黑體 Medium";
|
||||||
font_size = 14;
|
font_size = 15;
|
||||||
model = "both"; // [daruma, helmet, both]
|
model = "both"; // [daruma, helmet, both]
|
||||||
|
|
||||||
scale(.7) {
|
scale(.7) {
|
||||||
|
Reference in New Issue
Block a user