class counterpart of mel function wire
This command creates a wire deformer. In the create mode the selection list is treated as the object(s) to be deformed, Wires are specified with the -w flag. Each wire can optionally have a holder which helps define the the regon of the object that is affected by the deformer.
Adds a piece of geometry to the deformation.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.addGeometry
Undo is not currently supported for this method
Adds a new wire curve to the deformation.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.addWire
Undo is not currently supported for this method
If the default behavior for insertion/appending into/onto the existing chain is not what you want then you can use this flag to force the command to stick the deformer node after the selected node in the chain even if a new geometry shape has to be created in order to do so. Works in create mode (and edit mode if the deformer has no geometry added yet).
Derived from mel command maya.cmds.wire
If the default behavior for insertion/appending into/onto the existing chain is not what you want then you can use this flag to force the command to stick the deformer node before the selected node in the chain even if a new geometry shape has to be created in order to do so. Works in create mode (and edit mode if the deformer has no geometry added yet).
Derived from mel command maya.cmds.wire
This command is used to specify that the new deformer node should be placed ahead (upstream) of existing deformer and skin nodes in the shape’s history (but not ahead of existing tweak nodes). The input to the deformer will be the upstream shape rather than the visible downstream shape, so the behavior of this flag is the most intuitive if the downstream deformers are in their reset (hasNoEffect) position when the new deformer is added. Works in create mode (and edit mode if the deformer has no geometry added yet).
Derived from mel command maya.cmds.wire
The geometry affected by this deformer is packed into the provided list of MObjects. Each of the MObjects will be a DAG node that has geometry.
Return type: | PyNode list |
---|
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.getAffectedGeometry
Returns the crossing effect for this wire deformer.
Return type: | float |
---|
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.crossingEffect
Returns the name of the deformer tool objects (if any) as string string ...
Derived from mel command maya.cmds.wire
Set the dropoff distance (second parameter) for the wire at index (first parameter).
Derived from mel command maya.cmds.wire
Puts the deformation set in a deform partition.
Derived from mel command maya.cmds.wire
The specified object will be added to the list of objects being deformed by this deformer object, unless the -rm flag is also specified. When queried, this flag returns string string string ...
Derived from mel command maya.cmds.wire
Set the specified curve or surface (second parameter as a holder for the wire at index (first parameter).
Derived from mel command maya.cmds.wire
Returns the holding shape for the given wire. The holding shape may be a nurbs curve or a nurbs surface. If the given wire does not have a holding shape, then a null MObject handle will be returned.
Parameters : |
|
---|---|
Return type: | PyNode |
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.holdingShape
Set the local control a wire has with respect to other wires irrespective of whether it is deforming the surface. Varies from no local effect at 0 to full local control at 1. Default is 0.
Derived from mel command maya.cmds.wire
Returns the local intensity for this wire deformer.
Return type: | float |
---|
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.localIntensity
Returns the rotation value for this deformer.
Return type: | float |
---|
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.rotation
Specify or query the wire curve name.
Derived from mel command maya.cmds.wire
Set the number of wires.
Derived from mel command maya.cmds.wire
Return the drop off distance of the wire at the given index. Increasing this value will give the wire a greater area of influence.
Parameters : |
|
---|---|
Return type: | float |
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.wireDropOffDistance
Return the radial scale of the wire at the given index. The scale value affects how the wire modifies the geometry in its area of influence. A value of between 0.0 and 1.0 causes the wire to pull the surrounding geometry points towards itself. A value of greater than one causes the wire to repulse the geometry points around it. A value of exactly 1.0 causes the wire to neither pull nor push the points around it.
Parameters : |
|
---|---|
Return type: | float |
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.wireScale
Returns the number of drop off locators.
Parameters : |
|
---|---|
Return type: | int |
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.numDropoffLocators
returns the number of wire curves connected to this deformer.
Return type: | int |
---|
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.numWires
Inserts the new deformer in a parallel chain to any existing deformers in the history of the object. A blendShape is inserted to blend the parallel results together. Works in create mode (and edit mode if the deformer has no geometry added yet).
Derived from mel command maya.cmds.wire
Removes any points not being deformed by the deformer in its current configuration from the deformer set.
Derived from mel command maya.cmds.wire
Specifies that objects listed after the -g flag should be removed from this deformer.
Derived from mel command maya.cmds.wire
Removes a piece of geometry from the deformation.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.removeGeometry
Undo is not currently supported for this method
Sets the local intensity for this wire deformer.
Parameters : | crossingEffect : float |
---|
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.setCrossingEffect
Set the dropoff distance (second parameter) for the wire at index (first parameter).
Derived from mel command maya.cmds.wire
The specified object will be added to the list of objects being deformed by this deformer object, unless the -rm flag is also specified. When queried, this flag returns string string string ...
Derived from mel command maya.cmds.wire
Set the specified curve or surface (second parameter as a holder for the wire at index (first parameter).
Derived from mel command maya.cmds.wire
Sets the holding shape for the given wire. The holding shape may be a nurbs curve or a nurbs surface.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.setHoldingShape
Set the local control a wire has with respect to other wires irrespective of whether it is deforming the surface. Varies from no local effect at 0 to full local control at 1. Default is 0.
Derived from mel command maya.cmds.wire
Sets the local intensity for this wire deformer.
Parameters : | localIntensity : float |
---|
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.setLocalIntensity
Sets the rotation value for this deformer.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.setRotation
Specify or query the wire curve name.
Derived from mel command maya.cmds.wire
Set the number of wires.
Derived from mel command maya.cmds.wire
Sets the drop off distance of the wire at the given index. Increasing this value will give the wire a greater area of influence.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.setWireDropOffDistance
Sets the radial scale value of the wire at the given index. The scale value affects how the wire modifies the geometry in its area of influence. A value of between 0.0 and 1.0 causes the wire to pull the surrounding geometry points towards itself. A value of greater than one causes the wire to repulse the geometry points around it. A value of exactly 1.0 causes the wire to neither pull nor push the points around it.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.setWireScale
Return the wire at the given index. The returned object will be a nurbs curve shape suitable for use with the MFnNurbsCurve function set.
Parameters : |
|
---|---|
Return type: | PyNode |
Derived from api method maya.OpenMayaAnim.MFnWireDeformer.wire