1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 04:20:27 +02:00
This commit is contained in:
Justin Lin
2022-05-29 11:28:48 +08:00
parent 12e6ad672d
commit f1d5d6e472

View File

@@ -23,6 +23,6 @@ init_shape = shape_circle(r);
poly = differential_line_growth(init_shape, node_option, times);
smoothed = smooth ? midpt_smooth(poly, smooth_times, true) : poly;
sphere_r = max(max(smoothed));
sphere_r = norm(max(smoothed));
polyline_join([for(p = [each smoothed, smoothed[0]]) ptf_c2sphere(p, sphere_r)])
icosahedron(line_r);