The
torus element creates a torus (ring, toroid) having a diameter of 1 and lying in the X-Z plane (the central axis is oriented in the Y axis direction), its center being located in the coordinate system origin. As the element parameter a numeric value is specified representing the torus's core diameter. The complexity (i.e. the number of the torus's circumference divisions) is determined by the
complexity of object element. The element returns the
identification number of the created torus.