# Sine Ribbon

Create a form using an equation to modify the form of a sine wave

Sine Ribbon

n = 6;

u = 0..(90*n)..#(50*n);

v = 0..(180*n)..#(50*n);

x = (Math.DegreesToRadians(u))*2;

y = (Math.Sin(u)*Math.Cos(u))*2;

z = Math.Pow(Math.Sin(v),4);

c = NurbsCurve.ByPoints(Point.ByCoordinates(x,y,z));

d = c.Mirror(Plane.XY()).Mirror(Plane.XZ()).Translate(0,0,2);

e = Surface.ByLoft([c,d]).Thicken(0.1)

Last modified 5mo ago