From a2fee7574974934865476b34bbefc767f7643262 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Wed, 8 Sep 2021 11:45:04 +0800 Subject: [PATCH] adjust size of bucket --- src/experimental/geom_icosahedron.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/experimental/geom_icosahedron.scad b/src/experimental/geom_icosahedron.scad index 7ca7502c..70961acc 100644 --- a/src/experimental/geom_icosahedron.scad +++ b/src/experimental/geom_icosahedron.scad @@ -12,7 +12,7 @@ function _geom_icosahedron(icosahedron_points, icosahedron_faces, tris, radius, for(tri = tris) each [for(t = tri_subdivide(tri, detail)) each t] ], - number_of_buckets = ceil(sqrt(len(points))), + number_of_buckets = ceil(sqrt(len(points)) * 1.5), hash = _pt3_hash(number_of_buckets), deduped_pts = dedup(points, hash = hash, number_of_buckets = number_of_buckets), pts = [for(p = deduped_pts) p / norm(p) * radius],