UnwrapUVW Modifier - Tools

 

   

Unwrap_UVW Modifier - Main Topic

   

Modifier Classes - Quick Navigation

   

The following methods expose to MAXScript the Break, Weld, Weld Shared, Stitch, Pack, Rescale Clusters, Sketch and Flatten Tools functionality of the UnwrapUVW Modifier.

   

Break

Methods:

<void><Unwrap_UVW>.breakSelected() 

Presses the Break icon in the edit floater.

Exposed via unwrap interface in 3ds Max 4 and higher.

   

<void><Unwrap_UVW>.detachEdgeVertices() 

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.

Exposed via unwrap interface in 3ds Max 4 and higher.

   

Weld

Methods:

<void><Unwrap_UVW>.weld() 

Presses the Target Weld icon in the edit floater.

Exposed via unwrap interface in 3ds Max 4 and higher.

   

<void><Unwrap_UVW>.weldSelected() 

Presses the Weld Selected button in the edit floater.

Exposed via unwrap interface in 3ds Max 4 and higher.

   

<float><Unwrap_UVW>.getWeldThreshold() 

Returns the weld threshold.

Exposed via unwrap interface in 3ds Max 4 and higher.

<void><Unwrap_UVW>.setWeldThreshold <float>height 

Sets the threshold values for welds.

Exposed via unwrap interface in 3ds Max 4 and higher.

   

Weld Shared

Properties:

<Unwrap_UVW>.weldOnlyShared BooleanClass default: true -- boolean

NEW in 3ds Max 2012: When set to true (default), only selected vertices will be welded.

   

Methods:

<void><Unwrap_UVW>.WeldAllShared()

NEW in 3ds Max 2012: Welds all shared vertices.

Exposed via unwrap6 interface in 3ds Max 2012.

   

<void><Unwrap_UVW>.WeldSelectedShared()

NEW in 3ds Max 2012: Welds the shared selected vertices.

Exposed via unwrap6 interface in 3ds Max 2012.

   

Flatten

Methods:

<void><Unwrap_UVW>.FlattenBySmoothingGroup <boolean>rescale <boolean>rotate <float>padding

NEW in 3ds Max 2012:

Exposed via unwrap6 interface in 3ds Max 2012.

   

<void><Unwrap_UVW>.FlattenByMaterialID <boolean>rescale <boolean>rotate <float>padding

NEW in 3ds Max 2012:

Exposed via unwrap6 interface in 3ds Max 2012.

   

Stitch

Methods:

<void><Unwrap_UVW>.stitchVerts <boolean>align <float>bias 

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.

The parameters are:

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.

   

<void><Unwrap_UVW>.stitchVertsNoParams() 

Execute the Stitch function using the current defaults.

Exposed via unwrap2 interface in 3ds Max 5 and higher.

   

<void><Unwrap_UVW>.stitchVertsDialog() 

Open the Stitch dialog.

Exposed via unwrap2 interface in 3ds Max 5 and higher.

Pack

Methods:

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

   

<void><Unwrap_UVW>.packNoParams() 

Executes the Pack function using the current default settings.

Exposed via unwrap2 interface in 3ds Max 5 and higher.

   

<void><Unwrap_UVW>.packDialog() 

Opens the Pack UVs dialog.

Exposed via unwrap2 interface in 3ds Max 5 and higher.

   

Rescale Clusters

Methods:

<void><Unwrap_UVW>.RescaleCluster <bitArray>facesel <node>node

NEW in 3ds Max 2012:

Exposed via unwrap6 interface in 3ds Max 2012.

   

<boolean><Unwrap_UVW>.GetPackRescaleCluster()

NEW in 3ds Max 2012:

Exposed via unwrap6 interface in 3ds Max 2012.

<void><Unwrap_UVW>.SetPackRescaleCluster <boolean>rescale

NEW in 3ds Max 2012:

Exposed via unwrap6 interface in 3ds Max 2012.

   

Sketch

Methods:

<void><Unwrap_UVW>.sketch <int array>indexList <point3 array>positionList 

Sketches UV coordinates using the supplied index list array and the position list array.

Exposed via unwrap2 interface in 3ds Max 5 and higher.

   

<void><Unwrap_UVW>.sketchNoParams() 

Executes the Sketch function using the current defaults.

Exposed via unwrap2 interface in 3ds Max 5 and higher.

   

<void><Unwrap_UVW>.sketchDialog() 

Opens the Sketch Vertices dialog.

Exposed via unwrap2 interface in 3ds Max 5 and higher.

   

<void><Unwrap_UVW>.sketchReverse() 

Reverses the order of the select vertices that are being used for sketch when you use the Use Current Selection option.

Exposed via unwrap2 interface in 3ds Max 5 and higher.