mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-11 09:14:29 +02:00
rename
This commit is contained in:
@@ -7,11 +7,11 @@ font_size = 14;
|
|||||||
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)
|
||||||
tumbler();
|
daruma();
|
||||||
|
|
||||||
wish_decoration(text, font, font_size);
|
wish_decoration(text, font, font_size);
|
||||||
|
|
||||||
module tumbler() {
|
module daruma() {
|
||||||
radius = 10;
|
radius = 10;
|
||||||
|
|
||||||
module body() {
|
module body() {
|
@@ -1,16 +1,16 @@
|
|||||||
use <tumbler.scad>;
|
use <daruma.scad>;
|
||||||
use <arc.scad>;
|
use <arc.scad>;
|
||||||
use <hull_polyline2d.scad>;
|
use <hull_polyline2d.scad>;
|
||||||
|
|
||||||
text = "順暢";
|
text = "順暢";
|
||||||
font = "思源黑體 Heavy";
|
font = "思源黑體 Heavy";
|
||||||
font_size = 14;
|
font_size = 14;
|
||||||
model = "both"; // [tumbler, helmet, both]
|
model = "both"; // [daruma, helmet, both]
|
||||||
|
|
||||||
if(model == "tumbler") {
|
if(model == "daruma") {
|
||||||
difference() {
|
difference() {
|
||||||
union() {
|
union() {
|
||||||
tumbler();
|
daruma();
|
||||||
wish_decoration(text, font, font_size);
|
wish_decoration(text, font, font_size);
|
||||||
}
|
}
|
||||||
translate([0, 0, -23])
|
translate([0, 0, -23])
|
||||||
@@ -25,7 +25,7 @@ if(model == "tumbler") {
|
|||||||
else {
|
else {
|
||||||
difference() {
|
difference() {
|
||||||
union() {
|
union() {
|
||||||
tumbler();
|
daruma();
|
||||||
wish_decoration(text, font, font_size);
|
wish_decoration(text, font, font_size);
|
||||||
}
|
}
|
||||||
translate([0, 0, -23])
|
translate([0, 0, -23])
|
Reference in New Issue
Block a user