SoCylinder

InventorModule
genre InventorNodesAutomatic
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def

Purpose

The module SoCylinder represents a simple capped cylinder centered around the y-axis.

By default, the cylinder is centered at (0, 0, 0) and has a size ranging from -1 to 1 in all three dimensions. You can use the Radius and Height fields to create a cylinder with different dimensions.

Windows

Default Panel

../../../Modules/Inventor/InventorBase/mhelp/Images/Screenshots/SoCylinder._default.png

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Height: Float
Parts: String
Radius: Float
Sections: Integer
Sides: Integer

Visible Fields

Parts

name: parts, type: String, default: ALL

Sets the visible parts of the cylinder; value are SIDES, TOP, BOTTOM, and ALL. Default is ALL.

Radius

name: radius, type: Float, default: 1

Sets the radius of the cylinder.

Height

name: height, type: Float, default: 2

Sets the height of the cylinder.

Sides

name: sides, type: Integer, default: 0

Sets the number of sides for the tessellation of the cylinder.

A default value of 0 means that the tessellation is auto-calculated based on the module SoComplexity. A value greater than 0 will force the module to always use that specified number of sides.

Sections

name: sections, type: Integer, default: 0

Sets the number of sections for the tessellation of the cylinder.

A default value of 0 means that the tessellation is auto-calculated based on the module SoComplexity. A value greater than 0 will force the module to always use that specified number of sides.

NOTE: Sections primarily make sense with per-vertex shading to allow specular highlights. If per-fragment shading is employed, setting this value to 1 will be optimal.