pymel.core.nodetypes.OffsetCurve

Inheritance diagram of OffsetCurve

class OffsetCurve(*args, **kwargs)

class counterpart of mel function offsetCurve

The offset command creates new offset curves from the selected curves. The connecting type for breaks in offsets is off (no connection), circular (connect with an arc) or linear (connect linearly resulting in a sharp corner). If loop cutting is on then any loops in the offset curves are trimmed away. For the default cut radius of 0.0 a sharp corner is created at each intersection. For values greater than 0.0 a small arc of that radius is created at each intersection. The cut radius value is only valid when loop cutting is on. Offsets (for planar curves) are calculated in the plane of that curve and 3d curves are offset in 3d. The subdivisionDensity flag is the maximum number of times the offset object can be subdivided (i.e. calculate the offset until the offset comes within tolerance or the iteration reaches this maximum.) The reparameterize option allows the offset curve to have a different parameterization to the original curve. This avoids uneven parameter distributions in the offset curve that can occur with large offsets of curves, but is more expensive to compute.

getCaching(**kwargs)

Modifies the node caching mode. See the node documentation for more information.Note:For advanced users only.

Derived from mel command maya.cmds.offsetCurve

getConnectBreaks(**kwargs)

Connect breaks method (between gaps): 0 - off, 1 - circular, 2 - linearDefault:2

Derived from mel command maya.cmds.offsetCurve

getCutLoop(**kwargs)

Do loop cutting?Default:false

Derived from mel command maya.cmds.offsetCurve

getCutRadius(**kwargs)

Loop cut radius. Only used if cutLoop attribute is set true.Default:0.0

Derived from mel command maya.cmds.offsetCurve

getDistance(**kwargs)

Offset distanceDefault:1.0

Derived from mel command maya.cmds.offsetCurve

getNodeState(**kwargs)

Modifies the node state. See the node documentation for more information.Note:For advanced users only.Common flags

Derived from mel command maya.cmds.offsetCurve

getNormal(**kwargs)

Offset plane normalAdvanced flags

Derived from mel command maya.cmds.offsetCurve

getReparameterize(**kwargs)

Do reparameterization? Not advisable to change this value.Default:false

Derived from mel command maya.cmds.offsetCurve

getStitch(**kwargs)

Stitch curve segments together. Not advisable to change this value.Default:true

Derived from mel command maya.cmds.offsetCurve

getSubdivisionDensity(**kwargs)

Maximum subdivision density per spanDefault:5

Derived from mel command maya.cmds.offsetCurve

getTolerance(**kwargs)

ToleranceDefault:0.01

Derived from mel command maya.cmds.offsetCurve

getUseGivenNormal(**kwargs)

Use the given normal (or, alternativelly, geometry normal)Default:1

Derived from mel command maya.cmds.offsetCurve

setCaching(val=True, **kwargs)

Modifies the node caching mode. See the node documentation for more information.Note:For advanced users only.

Derived from mel command maya.cmds.offsetCurve

setConnectBreaks(val=True, **kwargs)

Connect breaks method (between gaps): 0 - off, 1 - circular, 2 - linearDefault:2

Derived from mel command maya.cmds.offsetCurve

setCutLoop(val=True, **kwargs)

Do loop cutting?Default:false

Derived from mel command maya.cmds.offsetCurve

setCutRadius(val=True, **kwargs)

Loop cut radius. Only used if cutLoop attribute is set true.Default:0.0

Derived from mel command maya.cmds.offsetCurve

setDistance(val=True, **kwargs)

Offset distanceDefault:1.0

Derived from mel command maya.cmds.offsetCurve

setNodeState(val=True, **kwargs)

Modifies the node state. See the node documentation for more information.Note:For advanced users only.Common flags

Derived from mel command maya.cmds.offsetCurve

setNormal(val=True, **kwargs)

Offset plane normalAdvanced flags

Derived from mel command maya.cmds.offsetCurve

setReparameterize(val=True, **kwargs)

Do reparameterization? Not advisable to change this value.Default:false

Derived from mel command maya.cmds.offsetCurve

setStitch(val=True, **kwargs)

Stitch curve segments together. Not advisable to change this value.Default:true

Derived from mel command maya.cmds.offsetCurve

setSubdivisionDensity(val=True, **kwargs)

Maximum subdivision density per spanDefault:5

Derived from mel command maya.cmds.offsetCurve

setTolerance(val=True, **kwargs)

ToleranceDefault:0.01

Derived from mel command maya.cmds.offsetCurve

setUseGivenNormal(val=True, **kwargs)

Use the given normal (or, alternativelly, geometry normal)Default:1

Derived from mel command maya.cmds.offsetCurve

Previous topic

pymel.core.nodetypes.OffsetCos

Next topic

pymel.core.nodetypes.OffsetSurface

Core

Core Modules

Other Modules

This Page