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

3.5.1.2. Circular Cylinder

Description

A primitive closed solid containing two circular bases of identical radii connected by a curved surface. Oblique cylinders are supported by defining the axial direction to not be perpendicular to the bottom base.

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 base of the cylinder defined in the solid’s coordinate system. (ICylinder/Center)

Radius - [LENGTH] - Radius of the cylinder. (ICylinder/Radius)

Height - [LENGTH] - Extent of the cylinder in the axial direction. (ICylinder/Height)

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

Split Curved Faces - If true, curved faces are split into multiple faces. (ICylinder/SplitPeriodicFaces)

Example(s)

User Interface Button

Command Details

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

Requirements

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

Other Notes

You can collapse a cylinder in the axial direction by setting the height to zero as one method of constructing a 2D circle (also known as a sheet body).

Example Creation Script

Solid_1 = Geometry_1.Cylinder("Cylinder_1", "World", "Air", "0.016, 0, 0", "0, 0, 1", "0.005", "0.004")

Scripting Interfaces

“ISolid”
“ICylinder”
“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