1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 22:28:16 +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

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