LocalWorkplane

The workplane.

Example

app = cf.GetApplication()
project = app:NewProject()

    -- Create a flare
    
baseCentre = cf.Point(-0.25, -0.25, 0)
flare = project.Geometry:AddFlare(baseCentre, 0.5, 0.5, 1.0, 0.3, 0.3)

    -- Modify the local workplane of the flare
    
lwp = flare.LocalWorkplane
lwp.Origin.X = 1
lwp.Origin.Z = .3
lwp.UVector.Y = 1
lwp.VVector.Z = -2

Usage locations (object properties)

The following objects have properties using the LocalWorkplane object:

Property List

Origin
The workplane origin. (Read/Write GlobalCoordinates)
UVector
The workplane U vector orientation. (Read/Write GlobalCoordinates)
VVector
The workplane V vector orientation. (Read/Write GlobalCoordinates)

Property Details

Origin
The workplane origin.
Type
GlobalCoordinates
Access
Read/Write
UVector
The workplane U vector orientation.
Type
GlobalCoordinates
Access
Read/Write
VVector
The workplane V vector orientation.
Type
GlobalCoordinates
Access
Read/Write