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