1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-01 18:54:39 +02:00
This commit is contained in:
Justin Lin
2022-02-13 16:51:17 +08:00
parent 0ac32c05b8
commit 81ba7db6cc

View File

@@ -22,7 +22,7 @@ module pineapple(eye_number, leaf_step, leaf_number, leaf_fn) {
scale([1, 1, 1.3]) scale([1, 1, 1.3])
union() { union() {
for(i = [0:real_eye_number - 1]) { for(i = [0:real_eye_number - 1]) {
polyhedron_hull(concat(regions[i], [pts[i] * 1.075])); polyhedron_hull(concat(regions[i], [pts[i] * rand(1.05, 1.075)]));
} }
sphere(1.0015, $fn = 96); sphere(1.0015, $fn = 96);
} }