Class: AxTorusGeometry

AxTorusGeometry(result, radialSegments, ringSegments, twists, radius, ringRadius, spiralSize, helicalHeight, turns, weldEnds, weldSurface)

new AxTorusGeometry(result, radialSegments, ringSegments, twists, radius, ringRadius, spiralSize, helicalHeight, turns, weldEnds, weldSurface)

Creates a torus with a variety of options, which may extend the geometry to a spiral, helix, spring
Parameters:
Name Type Description
result AxDeviceMesh The mesh to hold the sphere
radialSegments Integer The number of segments along the circumference of the torus
ringSegments Integer The number of segments along the circumference of the tube which makes up the torus
twists Integer The number of twists along the length of the tube, which makes up the torus
radius Number The radius of the torus, measured from its central point to the center of the tube
ringRadius Number The radius of the tube which makes up the torus
spiralSize Number The difference between the torus radius at start an end. Can be used to produce a spiral shape. A value of zero results in no spiral shaping
helicalHeight Number The difference between the torus center at start and end. Can be used to produce a helical spring-like shape. A value of zero results in no helical shaping
turns Number The number turns made by the tube of the torus
weldEnds Boolean Denotes whether to weld the ends of the torus tube
weldSurface Boolean Denotes whether to weld the surface, which makes up the torus tube
Source:

Documentation generated by JSDoc 3.5.3 on Wed Jan 17 2018 17:06:57 GMT+0200 (FLE Standard Time)