From fb5580268a5619ebd8629e7f2994b9eb949c6d7f Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Sun, 23 Jun 2019 17:21:00 -0400 Subject: [PATCH] Three new supershape examples --- shapes2d.scad | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shapes2d.scad b/shapes2d.scad index 70639b9..5582d9d 100644 --- a/shapes2d.scad +++ b/shapes2d.scad @@ -515,6 +515,9 @@ function _superformula(theta,m1,m2,n1,n2=1,n3=1,a=1,b=1) = // supershape(m1=4, n1=4.0,n2=16, n3=1.5, a=0.9, b=9); // for(i=[1:4]) right(3*i) supershape(m1=i, m2=3*i, n1=2); // m=[4,6,10]; for(i=[0:2]) right(i*5) supershape(m1=m[i], n1=12, n2=8, n3=5, a=2.7); +// for(i=[-1.5:3:1.5]) right(i*1.5) supershape(m1=2,m2=10,n1=i,n2=1); +// for(i=[1:3],j=[-1,1]) translate([3.5*i,1.5*j])supershape(m1=4,m2=6,n1=i*j,n2=1); +// for(i=[1:3]) right(2.5*i)supershape(step=.5,m1=88, m2=64, n1=-i*i,n2=1,r=1); function supershape(step=0.5,m1=4,m2=undef,n1=1,n2=undef,n3=undef,a=1,b=undef,r=undef,d=undef,anchor=CENTER, spin=0) = let( r = get_radius(r=r,d=d,dflt=undef),