1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00

don't cut bottom

This commit is contained in:
Justin Lin 2021-08-22 16:04:06 +08:00
parent 803906e8cd
commit 8cc0eeebc3

View File

@ -119,32 +119,24 @@ module tumbler() {
linear_extrude(radius / 4, scale = 0.9)
circle(radius * 0.4);
}
difference() {
union() {
if(smoothing) {
minkowski() {
union() {
difference() {
body();
mask_face();
}
eyes_nose();
}
sphere(radius / 9.5, $fn = 8);
}
} else {
if(smoothing) {
minkowski() {
union() {
difference() {
body();
mask_face();
}
eyes_nose();
}
sphere(radius / 9.5, $fn = 8);
}
translate([0, 0, -radius * 1.75])
linear_extrude(radius)
square(radius * 50, center = true);
} else {
difference() {
body();
mask_face();
}
eyes_nose();
}
}