SoCone

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

Purpose

The node SoCone 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 ranging from -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. It consists of 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

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

Bottom Radius

name: bottomRadius, type: Float, default: 1

Sets the radius of the base circle.

Height

name: height, type: Float, default: 2

Sets the cone’s height.

Sides

name: sides, type: Integer, default: 0

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

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 cone.

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