MeshObjectID =  mesh .torus .create  (  MajorRadius ,  MinorRadius ,  NbSideSegments ,  NbSegments  )  
                                               
Description :

This instruction creates a torus primitive.

Parameters :

  • Distance from the center of the hole to the center of the torus tube.
  • Radius of the tube.
  • Number of sides in the circular shape.
  • Number of segments in the circular shape.

Return Handle :

  • ObjectID of the mesh if the creation was successful, NULL otherwise.

Examples :