SoCorner

MacroModule
author Wolf Spindler
package FMEstable/ReleaseMeVis
definition SoCorner.def
see also SoAxis, SoBoundingBoxVis, SoCube, SoGrid
keywords axes, axis, edges, orthogonal, walls, angle, nook

Purpose

SoCorner is a convenience macro drawing a corner (half a box) built of three planes (built of three very flat cubes). It is useful in combination with data displays, coordinate systems or data grids which need a view from one side. The three planes can be enabled and configured separately to have different colors, textures and extents.

Windows

Default Panel

../../../Projects/SoCorner/Modules/mhelp/Images/Screenshots/SoCorner._default.png

Output Fields

self

name: self, type: SoNode

The output connector to an inventor scene.

Parameter Fields

Field Index

Color1: Color t1FileName: String t3BlendColor: Color
Color2: Color t1Model: Enum t3FileName: String
Color3: Color t1WrapS: Enum t3Model: Enum
Depth: Double t1WrapT: Enum t3WrapS: Enum
Height: Double t2BlendColor: Color t3WrapT: Enum
Plane1: Bool t2FileName: String Thickness: Double
Plane2: Bool t2Model: Enum Width: Double
Plane3: Bool t2WrapS: Enum  
t1BlendColor: Color t2WrapT: Enum  

Visible Fields

Plane1

name: plane1, type: Bool, default: TRUE

Enables or disables plane 1.

Plane2

name: plane2, type: Bool, default: TRUE

Enables or disables plane 2.

Plane3

name: plane3, type: Bool, default: TRUE

Enables or disables plane 3.

Width

name: width, type: Double, default: 64

The width of the corner.

Height

name: height, type: Double, default: 64

The height of the corner.

Depth

name: depth, type: Double, default: 64

The depth of the corner.

Color1

name: color1, type: Color, default: 1 1 1

The base color of plane 1.

Color2

name: color2, type: Color, default: 1 1 1

The base color of plane 2.

Color3

name: color3, type: Color, default: 1 1 1

The base color of plane 3.

Thickness

name: thickness, type: Double, default: 0.25

The thickness of the corner planes. Usually a percent of the extent of the corner is appropriate, however, sometimes much smaller or larger values can be better for optically or rendering purposes.

Hidden Fields

t1FileName

name: t1FileName, type: String

Parameter for of plane 1, see SoTexture2.filename for details.

t1WrapS

name: t1WrapS, type: Enum, default: REPEAT

Parameter for of plane 1, see SoTexture2.wrapS for details.

t1WrapT

name: t1WrapT, type: Enum, default: REPEAT

Parameter for of plane 1, see SoTexture2.wrapT for details.

t1Model

name: t1Model, type: Enum, default: MODULATE

Parameter for of plane 1, see SoTexture2.model for details.

t1BlendColor

name: t1BlendColor, type: Color, default: 0.819607853889465 0.69803923368454 0.69803923368454

Parameter for of plane 1, see SoTexture2.blendColor for details.

t2FileName

name: t2FileName, type: String

Parameter for of plane 2, see SoTexture2.filename for details.

t2WrapS

name: t2WrapS, type: Enum, default: REPEAT

Parameter for of plane 2, see SoTexture2.wrapS for details.

t2WrapT

name: t2WrapT, type: Enum, default: REPEAT

Parameter for of plane 2, see SoTexture2.wrapT for details.

t2Model

name: t2Model, type: Enum, default: MODULATE

Parameter for of plane 2, see SoTexture2.model for details.

t2BlendColor

name: t2BlendColor, type: Color, default: 0.819607853889465 0.69803923368454 0.69803923368454

Parameter for of plane 2, see SoTexture2.blendColor for details.

t3FileName

name: t3FileName, type: String

Parameter for of plane 3, see SoTexture2.filename for details.

t3WrapS

name: t3WrapS, type: Enum, default: REPEAT

Parameter for of plane 3, see SoTexture2.wrapS for details.

t3WrapT

name: t3WrapT, type: Enum, default: REPEAT

Parameter for of plane 3, see SoTexture2.wrapT for details.

t3Model

name: t3Model, type: Enum, default: MODULATE

Parameter for of plane 3, see SoTexture2.model for details.

t3BlendColor

name: t3BlendColor, type: Color, default: 0.819607853889465 0.69803923368454 0.69803923368454

Parameter for of plane 3, see SoTexture2.blendColor for details.