SoUnits

InventorModule

genre

InventorNodesAutomatic

author

Silicon Graphics Inc

package

MeVisLab/Standard

definition

inventor.def

Purpose

The node SoUnits defines a uniform 3D scale about the origin relative to the previously defined units.

The default units for all data are meters. Adding a units node with the value INCHES will have the same effect as adding an SoScale node with a scaleFactor of (0.0254, 0.0254, 0.0254). Any subsequent SoUnits node will take the previous units into account.

When building a composite object from multiple pieces, it is good practice to add an SoUnits node at the beginning of each piece, under a SoSeparator node, to ensure that all the pieces fit together with the same scale.

Windows

Default Panel

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

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Units

name: units, type: Enum, default: METERS

Defines the current unit.

Values:

Title

Name

Meters

METERS

Centimeters

CENTIMETERS

Millimeters

MILLIMETERS

Micrometers

MICROMETERS

Microns

MICRONS

Nanometers

NANOMETERS

Angstroms

ANGSTROMS

Kilometers

KILOMETERS

Feet

FEET

Inches

INCHES

Points

POINTS

Yards

YARDS

Miles

MILES

Nautical Miles

NAUTICAL_MILES