mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-04-16 03:53:35 +02:00
remove option
This commit is contained in:
parent
bc8bf7f67b
commit
538ed7b38e
@ -1,7 +1,7 @@
|
||||
leng = 30;
|
||||
leng_diff = 3;
|
||||
min_leng = 2;
|
||||
model = "Both"; // [Cube, Base, Both]
|
||||
model = "Cube"; // [Cube, Base]
|
||||
|
||||
module spiral_cube(leng, leng_diff, min_leng) {
|
||||
thickness = leng_diff / 3;
|
||||
@ -80,11 +80,5 @@ if(model == "Cube") {
|
||||
spiral_cube(leng, leng_diff, min_leng);
|
||||
} else if(model == "Base") {
|
||||
base(leng);
|
||||
} else {
|
||||
half_leng = leng / 2;
|
||||
rotate([45, atan2(1, sqrt(2)), 0])
|
||||
spiral_cube(leng, leng_diff, min_leng);
|
||||
translate([0, 0, -half_leng * sqrt(3) - leng / 15])
|
||||
base(leng);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user