From 0607811c6cfb95b0090bd7c6fd682674186d89dc Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Wed, 16 Jun 2021 12:01:58 +0800 Subject: [PATCH] stick offset --- examples/spiral_polygons/fidget_polygon.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/spiral_polygons/fidget_polygon.scad b/examples/spiral_polygons/fidget_polygon.scad index 943aff42..abd41918 100644 --- a/examples/spiral_polygons/fidget_polygon.scad +++ b/examples/spiral_polygons/fidget_polygon.scad @@ -1,6 +1,6 @@ model = "POLYGON"; // [POLYGON, BASE, BOTH] beginning_radius = 7.5; -fn = 4; +fn = 5; number_of_polygons = 10; height = 20; thickness = 1; @@ -97,7 +97,7 @@ module fidget_polygon(model, beginning_radius, fn, n, height, thickness, spacing stick_h = base_height - ring_thickness; for(i = [0:fn - 1]) { rotate(360 / fn * i) - translate([d, 0, off_h]) + translate([d + thickness * 1.5, 0, off_h]) rotate(a) { linear_extrude(stick_h) circle(stick_r, $fn = fn);