Quote Originally Posted by old man emu View Post
Whoa, pardner. Have you made a typo?

x = cos(theta) * [ r0 + r1 * cos(phi) ]
y = sin(theta) * [ r0 + r1 * cos(phi) ]
z = r1 * sin(phi)

Shouldn't your z coordinate equation be written with v ?

And this series of equations will produce a round toroid with a round cross section. My need is for square toroids with square cross section.

OME
Yup. , Ill edit it.

It is 2 am.