Skin_Wrap : Modifier

Skin_Wrap - superclass: modifier; super-superclass:MAXWrapper - 17:0 - classID: #(582466825, 1731904975)

The Skin_Wrap modifier lets you transfer deformations from one mesh to another, typically from low-resolution proxy mesh to a high-resolution final mesh.

Constructor

Skin_Wrap ...

MeshDeformPW ...

Properties

Parameters Rollout

.meshList ArrayParameter default: #() -- node array

Get/Set the mesh list nodes array. Corresponds to the node list in the Parameters rollout.

.mesh UndefinedClass default: undefined -- node

?

.engine Integer default: 1 -- integer

Get/Set the Deformation Engine drop-down list selection. Possible values are:

0 - Face Deformation

1 - Vertex Deformation (default)

.falloff Float default: 1.0 -- float

Get/Set the Falloff value.

.Distance Float default: 1.2 -- float

Get/Set the "Distance Infl." value.

.faceLimit Integer default: 3 -- integer; Face_Limit

Get/Set the "Face Limit" value.

.blend BooleanClass default: false -- boolean; Blend_To_Base_Mesh

Get/Set the state of the "Blend To Base Mesh" checkbox.

.blendDistance Float default: 5.0 -- float; Blend_Distance

Get/Set the Blend Distance value.

.threshold Float default: 5.0 -- float

Get/Set the Threshold value.

.weightAllVerts BooleanClass default: false -- boolean; Weight_All_Verts

Get/Set the state of the "Weight All Points" checkbox.

Advanced Parameters Rollout

.showMirrorData BooleanClass default: false -- boolean; Show_Mirror_Data

Get/Set the state of the "Show Mirror Data" checkbox.

.mirrorPlane Integer default: 0 -- integer; Mirror_Plane

Get/Set the selection of the " Mirror Plane" radio buttons. Possible values are:

0 - X

1 - Y

2 - Z

.mirrorOffset Float default: 0.0 -- float; Mirror_Offset

Get/Set the "Mirror Offset" value.

.mirrorThreshold Float default: 0.5 -- float; Mirror_Threshold

Get/Set the "Mirror Threshold" value.

Display Parameters Rollout

.showLoops BooleanClass default: true -- boolean; Show_Loops

Get/Set the state of the "Display Loops" checkbox.

.showAxis BooleanClass default: true -- boolean; Show_Axis

Get/Set the state of the "Display Axis" checkbox.

.showFaceLimit BooleanClass default: true -- boolean; Show_Face_Limit

Get/Set the state of the "Display Face Limit" checkbox.

.showUnassignedVerts BooleanClass default: false -- boolean; Show_Unassigned_Verts

Get/Set the state of the "Display Unassigned Points" checkbox.

.showVerts BooleanClass default: true -- boolean; Show_Verts

Get/Set the state of the "Display Control Verts" checkbox.

?

Skin_Wrap interfaces:

Interface: meshDeformOps

Methods:

Parameters Rollout

reset()

Resest both the Strength and Scale values of the selected control vertices. Corresponds to pressing the "Reset" button.

setLocalStr str

Sets the local strength of the selected control vertices to the specified float value. Affects the value represented by the Local Str. spinner in the Parameters rollout.

setLocalScale axis scale

Sets the local scale of the selected control vertices along the indexed axis to the specified float value.

Possible axis values are

1 - X

2 - Y

3 - Z

Affects the values represented by the Local X, Local Y and Local Z spinners in the Parameters rollout.

ConvertToSkin silent

Corresponds to pressing the "Convert To Skin" button.

Advanced Parameters Rollout

mirrorSelectedControlPoints()

Mirrors the selected control vertices. Corresponds to pressing the "Mirror Selected" button.

bakeControlPoint()

Bakes the control vertices. Corresponds to pressing the "Bake Control Verts" button.

retrieveControlPoint()

Retrieves the control vertices. Corresponds to pressing the "Retrieve Control Verts" button.

Control Vertex Access Methods

getSelectedVertices wrapNodeIndex

Returns a bitarray containing the selected vertices affected by the indexed wrap node.

setSelectVertices wrapNodeIndex sel update

Sets the vertex selection for the indexed wrap node to the given bitarray. If the update argument is false, no update will be performed.

getNumberOfControlPoints wrapNodeIndex

Returns the number of control vertices of the indexed wrap node.

getControlPointScale wrapNodeIndex <>ndex>index

Returns the control vertex scale of the indexed vertex of the indexed wrap node as a point3 value.

setControlPointScale wrapNodeIndex index scale

Sets the control vertex scale of the indexed vertex of the indexed wrap node to the given point3 value.

getControlPointStr <>ndex>wrapNodeIndex index

Returns the control vertex strength of the indexed vertex of the indexed wrap node as a float value.

setControlPointStr wrapNodeIndex index str

Sets the control vertex strength of the indexed vertex of the indexed wrap node to the given float value.

getControlPointInitialTM <>ndex>wrapNodeIndex index

Returns the initial transformation matrix of the indexed control vertex in the indexed wrap node as a matrix3 value.

getControlPointCurrentTM <>x>wrapNodeIndex index

Returns the current transformation matrix of the indexed control vertex in the indexed wrap node as a matrix3 value.

getControlPointDist <>ndex>wrapNodeIndex index

Returns the indexed control vertex' distance in the indexed wrap node as a float value.

getControlPointXVert <>ndex>wrapNodeIndex index

Returns the transformed vertex index of the indexed control vertex in the indexed wrap node as an integer value.

OutputVertexData <node>node vertexIndex

?

See also

Modifier Common Properties, Operators, and Methods

MAXWrapper Common Properties, Operators, and Methods

Value Common Properties, Operators, and Methods