SoCone

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

Purpose

This operator represents a simple cone whose central axis is aligned with the y-axis. By default, the cone is centered at (0,0,0) and has a size of -1 to +1 in all three directions. The cone has a radius of 1 at the bottom and a height of 2, with its apex at 1. The cone has two parts: the sides and the bottom.

Windows

Default Panel

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

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

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

Visible Fields

Parts

name: parts, type: String, default: ALL

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

Bottom Radius

name: bottomRadius, type: Float, default: 1

Define the radius of the base circle.

Height

name: height, type: Float, default: 2

Define the cone’s height.

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: Since the normals of a cone can not be interpolated correctly near the top of the cone using triangles and linear interpolation, the number of sections should not be too small, otherwise the shading will get hard edges.