I've been searching for an answer for this for a while now, but I can't find anything that deals with using the Tube function to generate a torus from the equation of the torus.
The equation of my torus is z^2==1 - (Sqrt[x^2 + y^2] - 3
I want to use Tube and Graphics3D to show this torus.
I would have thought that
Tube[z^2==1 - (Sqrt[x^2 + y^2] - 3, 1]
the second argument being the radius of the tube, would suffice, but I when I evaluate this in Graphics3D:
Graphics3D[Tube[z^2 == 1 - (Sqrt[x^2 + y^2] - 3)^2, 1]]
I get the following error:
Coordinate False should be a triple of numbers, or a Scaled form.
Why? What am I doing incorrectly here? Thanks!


