From 2454511e5a7ef72aee79d091a44c95804f692f21 Mon Sep 17 00:00:00 2001 From: Kelvie Wong Date: Sat, 30 Jan 2021 19:44:33 -0800 Subject: [PATCH] rounding: Fix uncommented rounded_star example Otherwise when you include this a star will appear out of nowhere :) --- rounding.scad | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rounding.scad b/rounding.scad index 39b4a42..f70bead 100644 --- a/rounding.scad +++ b/rounding.scad @@ -772,9 +772,9 @@ function _path_join(paths,joint,k=0.5,i=0,result=[],relocate=true,closed=false) // rounded_star = round_corners(star, cut=flatten(repeat([.5,0],5)), $fn=24); // offset_sweep(rounded_star, height=20, bottom=os_circle(r=4), top=os_circle(r=1), steps=15); // Example: Rounding a star shaped prism with negative radius values - star = star(5, r=22, ir=13); - rounded_star = round_corners(star, cut=flatten(repeat([.5,0],5)), $fn=24); - offset_sweep(rounded_star, height=20, bottom=os_circle(r=-4), top=os_circle(r=-1), steps=15); +// star = star(5, r=22, ir=13); +// rounded_star = round_corners(star, cut=flatten(repeat([.5,0],5)), $fn=24); +// offset_sweep(rounded_star, height=20, bottom=os_circle(r=-4), top=os_circle(r=-1), steps=15); // Example: Unexpected corners in the result even with `offset="round"` (the default), even with offset_maxstep set small. // triangle = [[0,0],[10,0],[5,10]]; // offset_sweep(triangle, height=6, bottom = os_circle(r=-2),steps=16,offset_maxstep=0.25);