SoCone¶
- InventorModule¶
genre
author
package
definition
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¶
Output Fields¶
self¶
- name: self, type: SoNode¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
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.