The following methods expose to MAXScript the Break, Weld, Weld Shared, Stitch, Pack, Rescale Clusters, Sketch and Flatten Tools functionality of the UnwrapUVW Modifier.
Presses the Break icon in the edit floater.
Exposed via unwrap interface in 3ds Max 4 and higher.
Detaches any vertex that is not completely surrounded by selected vertices.
This is similar to a polygon selection detach except it uses the vertex selection to determine what is detached.
Presses the Target Weld icon in the edit floater.
Exposed via unwrap interface in 3ds Max 4 and higher.
Presses the Weld Selected button in the edit floater.
Exposed via unwrap interface in 3ds Max 4 and higher.
Exposed via unwrap interface in 3ds Max 4 and higher.
Sets the threshold values for welds.
NEW in 3ds Max 2012: When set to true (default), only selected vertices will be welded.
NEW in 3ds Max 2012: Welds all shared vertices.
Exposed via unwrap6 interface in 3ds Max 2012.
NEW in 3ds Max 2012: Welds the shared selected vertices.
NEW in 3ds Max 2012:
Exposed via unwrap6 interface in 3ds Max 2012.
NEW in 3ds Max 2012:
Stitch the selected vertices using the specified bias.
If align is supplied as true , the vertices will be aligned.
Stitching allows you to find all the texture vertices that are assigned to the same geometric vertex and bring them all to the same spot and weld them together. This allows you take faces that are geometrically contiguous, but not texture face contiguous and line them up.
align - if checked and the edges to be stitched are on separate clusters it will try to align the clusters and then stitch the vertices.
bias determines which direction the vertices will move (to or from the source). At a Bias of 0.0 the vertices will move to the source and 1.0 they will move to the target. Stitching will respect the soft selection.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Execute the Stitch function using the current defaults.
<void><Unwrap_UVW>.pack <integer>method <float>spacing <boolean>normalize <boolean>rotate <boolean>fillholes
Lets you pack the texture vertex elements so that they fit within a square space.
method - 0 is a linear packing algorithm fast but not that efficient, 1 is a recursive algorithm slower but more efficient.
spacing - the gap between cluster in percentage of the edge distance of the square
normalize - determines whether the clusters will be fit to 0 to 1 space.
rotate - determines whether a cluster will be rotated so it takes up less space.
fillholes - determines whether smaller clusters will be put in the holes of the larger cluster.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Executes the Pack function using the current default settings.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
NEW in 3ds Max 2012:
Exposed via unwrap6 interface in 3ds Max 2012.
NEW in 3ds Max 2012:
Exposed via unwrap6 interface in 3ds Max 2012.
NEW in 3ds Max 2012:
Sketches UV coordinates using the supplied index list array and the position list array.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Executes the Sketch function using the current defaults.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Opens the Sketch Vertices dialog.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Reverses the order of the select vertices that are being used for sketch when you use the Use Current Selection option.