SoText3

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

Purpose

The node SoText3 defines one or more strings of 3D text. In contrast to SoText2, 3D text can be rotated, scaled, lit, and textured, just like all other 3D shapes.

Each character in a 3D text string is created by extruding an outlined version of the character (in the current typeface) along the current profile, as defined by nodes derived from SoProfile. The default text profile, if none is specified, is a straight line segment one unit long.

The text origin is at (0, 0, 0) after applying the current transformation. The scale of the text is influenced by the size field of the current SoFont as well as the current transformation.

Windows

Default Panel

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

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

String

name: string, type: Other, default: ""

Sets the text string(s) to display. Each string will appear on its own line. The string(s) can be in ASCII or UTF-8 format.

Spacing

name: spacing, type: Float, default: 1

Sets the distance (in the negative y direction) between the base points of successive strings, measured relative to the current font height. A value of 1 indicates single spacing, a value of 2 indicates double spacing, and so on.

Justification

name: justification, type: Enum, default: LEFT

Defines the placement and alignment of strings.

Values:

Title Name Description
Left LEFT With LEFT justification, the left edge of the first line is at the (transformed) origin, and all left edges are aligned.
Right RIGHT RIGHT justification is similar to LEFT justification, except in the opposite direction.
Center CENTER CENTER justification places the center of the first string at the (transformed) origin, with the centers of all remaining strings aligned under it.

Parts

name: parts, type: String, default: FRONT

Sets which parts of the text are visible. Note that, for speed, the default value for this field is FRONT only.