Torus shape provides several adjustable parameters that may change it appearance significantly. The properties are:
Basically, the larger numbers you use for Segments and Sides, the smoother shape you get.
Here is a sample script that creates a torus object:
var m = scene.root.addMesh("torus", "generator.simple.Torus"); var g = m.generator; g.size = 30; g.thickness = 5; g.segments = 32; g.sides = 16;