pymel.core.nodetypes.RebuildCurve

Inheritance diagram of RebuildCurve

class RebuildCurve(*args, **kwargs)

class counterpart of mel function rebuildCurve

This command rebuilds a curve by modifying its parameterization. In some cases the shape may also change. The rebuildType (-rt) determines how the curve is to be rebuilt. The optional second curve can be used to specify a reference parameterization.

MAttrClass = Enum( EnumValue('MAttrClass', 1, 'localDynamicAttr'), EnumValue('MAttrClass', 2, 'normalAttr'), EnumValue('MAttrClass', 3, 'extensionAttr'), EnumValue('MAttrClass', 4, 'invalidAttr'))
MdgTimerMetric = Enum( EnumValue('MdgTimerMetric', 0, '_callback'), EnumValue('MdgTimerMetric', 1, '_compute'), EnumValue('MdgTimerMetric', 2, '_dirty'), EnumValue('MdgTimerMetric', 3, '_draw'), EnumValue('MdgTimerMetric', 4, '_fetch'), EnumValue('MdgTimerMetric', 5, '_callbackViaAPI'), EnumValue('MdgTimerMetric', 6, '_callbackNotViaAPI'), EnumValue('MdgTimerMetric', 7, '_computeDuringCallback'), EnumValue('MdgTimerMetric', 8, '_computeNotDuringCallback'))
MdgTimerState = Enum( EnumValue('MdgTimerState', 0, 'off'), EnumValue('MdgTimerState', 1, 'on'), EnumValue('MdgTimerState', 2, 'uninitialized'), EnumValue('MdgTimerState', 3, 'invalidState'))
MdgTimerType = Enum( EnumValue('MdgTimerType', 0, '_self'), EnumValue('MdgTimerType', 1, '_inclusive'), EnumValue('MdgTimerType', 2, '_count'))
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.rebuildCurve

getDegree(**kwargs)

The degree of the resulting curve 1 - linear, 2 - quadratic, 3 - cubic, 5 - quintic, 7 - hepticDefault:3

Derived from mel command maya.cmds.rebuildCurve

getEndKnots(**kwargs)

End conditions for the curve 0 - uniform end knots, 1 - multiple end knots,Default:0

Derived from mel command maya.cmds.rebuildCurve

getFitRebuild(**kwargs)

If true use the least squares fit rebuild. Otherwise use the convert method.Default:true

Derived from mel command maya.cmds.rebuildCurve

getKeepControlPoints(**kwargs)

If true, the CVs will remain the same. This forces uniform parameterization unless rebuildType is matchKnots.Default:false

Derived from mel command maya.cmds.rebuildCurve

getKeepEndPoints(**kwargs)

If true, keep the endpoints the same.Default:true

Derived from mel command maya.cmds.rebuildCurve

getKeepRange(**kwargs)

Determine the parameterization for the resulting curve. 0 - reparameterize the resulting curve from 0 to 1, 1 - keep the original curve parameterization, 2 - reparameterize the result from 0 to number of spansDefault:1

Derived from mel command maya.cmds.rebuildCurve

getKeepTangents(**kwargs)

If true, keep the end tangents the same.Default:true

Derived from mel command maya.cmds.rebuildCurve

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.rebuildCurve

getRebuildType(**kwargs)

How to rebuild the input curve. 0 - uniform, 1 - reduce spans, 2 - match knots, 3 - remove multiple knots, 4 - curvature 5 - rebuild ends 6 - cleanDefault:0

Derived from mel command maya.cmds.rebuildCurve

getSmartSurfaceCurveRebuild(**kwargs)

If true, curve on surface is rebuild in 3D and 2D info is keptDefault:falseAdvanced flags

Derived from mel command maya.cmds.rebuildCurve

getSpans(**kwargs)

The number of spans in resulting curve Used only if rebuildType is uniform.Default:4

Derived from mel command maya.cmds.rebuildCurve

getTolerance(**kwargs)

The tolerance with which to rebuild.Default:0.01

Derived from mel command maya.cmds.rebuildCurve

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.rebuildCurve

setDegree(val=True, **kwargs)

The degree of the resulting curve 1 - linear, 2 - quadratic, 3 - cubic, 5 - quintic, 7 - hepticDefault:3

Derived from mel command maya.cmds.rebuildCurve

setEndKnots(val=True, **kwargs)

End conditions for the curve 0 - uniform end knots, 1 - multiple end knots,Default:0

Derived from mel command maya.cmds.rebuildCurve

setFitRebuild(val=True, **kwargs)

If true use the least squares fit rebuild. Otherwise use the convert method.Default:true

Derived from mel command maya.cmds.rebuildCurve

setKeepControlPoints(val=True, **kwargs)

If true, the CVs will remain the same. This forces uniform parameterization unless rebuildType is matchKnots.Default:false

Derived from mel command maya.cmds.rebuildCurve

setKeepEndPoints(val=True, **kwargs)

If true, keep the endpoints the same.Default:true

Derived from mel command maya.cmds.rebuildCurve

setKeepRange(val=True, **kwargs)

Determine the parameterization for the resulting curve. 0 - reparameterize the resulting curve from 0 to 1, 1 - keep the original curve parameterization, 2 - reparameterize the result from 0 to number of spansDefault:1

Derived from mel command maya.cmds.rebuildCurve

setKeepTangents(val=True, **kwargs)

If true, keep the end tangents the same.Default:true

Derived from mel command maya.cmds.rebuildCurve

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.rebuildCurve

setRebuildType(val=True, **kwargs)

How to rebuild the input curve. 0 - uniform, 1 - reduce spans, 2 - match knots, 3 - remove multiple knots, 4 - curvature 5 - rebuild ends 6 - cleanDefault:0

Derived from mel command maya.cmds.rebuildCurve

setSmartSurfaceCurveRebuild(val=True, **kwargs)

If true, curve on surface is rebuild in 3D and 2D info is keptDefault:falseAdvanced flags

Derived from mel command maya.cmds.rebuildCurve

setSpans(val=True, **kwargs)

The number of spans in resulting curve Used only if rebuildType is uniform.Default:4

Derived from mel command maya.cmds.rebuildCurve

setTolerance(val=True, **kwargs)

The tolerance with which to rebuild.Default:0.01

Derived from mel command maya.cmds.rebuildCurve

Previous topic

pymel.core.nodetypes.RbfSrf

Next topic

pymel.core.nodetypes.RebuildSurface

Core

Core Modules

Other Modules

This Page