Macro to draw a spiral with values input.

  • This macro draws a spiral with input values for spacing and rotation.

    By: killa

input "Distance between spirals",dist
dist = dist / 12

input "Number of rotations",rot
rot = rot * 360

setpoint "Set centre of spiral" 1

if sys(1) = 1 then pointval x,y,z 1

>curve
{
for i = 0 to rot step 30
d = d + dist
<pointxyz [d*cos(i) + x,d*sin(i) + y,0]
next i
}

File to Download: spiral_input.zip