SoCylinder

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

Purpose

This node represents a simple capped cylinder centered around the y-axis.

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

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

Choose visible parts of cone between SIDES, TOP, BOTTOM, and ALL.

Radius

name: radius, type: Float, default: 1

Radius of the cylinder.

Height

name: height, type: Float, default: 2

Height of the cylinder.

Sides

name: sides, type: Integer, default: 0

Sets the number of sides for tessellation of the cone. The default value of 0 means that the tessellation is auto-calculated dependent on the SoComplexity. A sides value > 0 will force the module to always use that number of sides.

Sections

name: sections, type: Integer, default: 0

Sets the number of sections for tessellation of the cone. The default value of 0 means that the tessellation is auto-calculated dependent on the SoComplexity. A sections value > 0 will force the module to always use that number of sections.

NOTE: Sections mainly make sense with per-vertex shading to allow specular highlights. If per-fragment shading is used, setting sections == 1 will be optimal.