Go to www.awrcorp.com
Back to search page Click to download printable version of this guide.

3.5.1.10. Torus

Description

A primitive closed solid representing the interior of a doughnut shaped surface generated by a circle rotated about an axis in its plane that does not intersect the circle.

Parameters

Label – A unique name that identifies the solid. (ISolid/Label)

Coordinate System – The coordinate system in which the solid is defined. Defaults to working coordinate system at time of creation. (ISolid/CoordinateSystem)

Material – Chosen material for the solid. (ISolid/Material)

Include in Simulation – Indicates if the solid is included in the simulation.  If False, the solid is also not shown in the view. (ISolid/Include)

Visible - Indicates if the solid is shown in the view. (ISolid/Visible)

Mesh Control Only - Indicates if the solid is used as a tool to control meshing. If True, the portion of the solid that does not overlap the other normal solid is thrown away prior to simulation. Additionally, the material of such a solid is irrelevant so the material parameter is hidden. (ISolid/MeshControlOnly)

Center - [LENGTH] – Center of the torus defined in the solid’s coordinate system. (ITorus/Center)

Hole to Tube Center Radius - [LENGTH] - Distance from the center of the torus to the centerline of the tube. (ITorus/HoleToTubeCenterRadius)

Tube Radius - [LENGTH] - Radius of the tube. (ITorus/TubeRadius)

Axial Direction - Direction of the axis of the torus defined in the solid’s coordinate system. This is a unitless vector and its magnitude is irrelevant. (ITorus/Direction)

Example(s)

User Interface Button

Command Details

Mouse click order is:
1. Center
2. Hole to Tube Center Radius
3. Tube Radius
See command hint for detailed instructions.

Requirements

The two radii must be greater than zero. The magnitude of the axial direction must be non-zero.

Other Notes

None

Example Creation Script

Solid_1 = Geometry_1.Torus("Torus_1", "World", "Air", "0.02, 0.02, 0", "0, 0, 1", "0.006", "0.002")

Scripting Interfaces

“ISolid”
“ITorus”
“ISolidCreationOperation”
“ISolidOperation”

Please send email to awr.support@ni.com if you would like to provide feedback on this article. Please make sure to include the article link in the email.

Legal and Trademark Notice