1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-28 17:00:00 +02:00
This commit is contained in:
Justin Lin
2021-06-03 09:21:04 +08:00
parent 2c02c0ff59
commit 6330473ea7

View File

@@ -5,9 +5,9 @@ height = 20;
thickness = 1.5;
thickness_offset_factor = 1.5;
spiral_polygon_fidget(beginning_radius, fn, number_of_polygons, height, thickness, thickness_offset_factor);
fidget_polygon(beginning_radius, fn, number_of_polygons, height, thickness, thickness_offset_factor);
module spiral_polygon_fidget(beginning_radius, fn, n, height, thickness, thickness_offset_factor) {
module fidget_polygon(beginning_radius, fn, n, height, thickness, thickness_offset_factor) {
theta = 180 / fn;
thickness_offset = thickness * thickness_offset_factor;