Description
A deformer that blends one mesh to another based off of UVs. Mesh topology can differ and you can optionally maintain the initial offset between the two meshes. Uses include transferring existing work onto another mesh.
Node Reference
| Long Name | Type | Default |
|---|---|---|
| targetMesh Target blend mesh with similar UVs. |
mesh | null |
| initialized Internal initialization flag. Should not be set. |
boolean | false |
| maintainOffset Flag that specifies whether the deforming mesh should maintain its initial offset. |
bool | false |
| sourceUVSet UV set on base deforming mesh. |
string | 0 |
| targetUVSet UV set on target mesh. |
string | 0 |
Usage Notes
Create the Deformer
Select the base mesh, then the target mesh:
import cvUVBlendShape
deformer = cvUVBlendShape.create(target=None, base=None, maintainOffset=False, name='cvUVBlendShape#', baseUVSet=None, targetUVSet=None)
"""
Creates cvUVBlendShape deformer.
Parameters:
target - Mesh to snap to.
base - Mesh to apply deformer on
maintainOffset - Maintain the initial offset of the mesh.
name - Name of the deformer to create.
baseUVSet - UV set to use on base mesh. Defaults to main UV set.
targetUVSet - UV set to use on target mesh. Defaults to main UV set.
Returns:
The name of the created cvUVBlendShape node.
"""
Once the you run the command, the deformer initializes its data structures. This can take a minute or two depending on how dense the mesh is.

