1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-10 16:54:23 +02:00
This commit is contained in:
Justin Lin
2021-08-23 08:44:51 +08:00
parent 82ec74eee1
commit d875d41e4c
2 changed files with 7 additions and 7 deletions

View File

@@ -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() {

View File

@@ -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])