Unwrap_UVW Modifier - Spline Mapping

 

   

Unwrap_UVW Modifier - Main Topic

   

Modifier Classes - Quick Navigation

   

The following properties and methods expose the Spline Mapping functionality of the UnwrapUVW Modifier available in 3ds Max 2009 and higher:

   

Properties:

<Unwrap_UVW>.splinemap_node UndefinedClass default: undefined -- node 

Get/set the Spline Mapping Shape node. Corresponds to the - Pick Spline - button in the Spline Map Parameters dialog.

   

<Unwrap_UVW>.splinemap_projectiontype Integer default: 0 -- integer 

Get/set the Spline Mapping projection type. Corresponds to the "Mapping" drop-down list in the Spline Map Parameters dialog.

Possible values are:

0 -Circlular

1 -Planar

   

<Unwrap_UVW>.splinemap_manualseams BooleanClass default: false -- boolean 

Get/set the state of the Use Manual Seams checkbox in the Spline Mapping dialog.

   

<Unwrap_UVW>.splinemap_resampleCount Integer default: 4 -- integer 

Get/set the Spline Mapping resample count.

   

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

Enable/disable the Spline MappingGizmodisplay.When set to false, the cross-sections and the spline map gizmo will be hidden.

   

<Unwrap_UVW>.splinemap_iterations Integer default: 16 -- integer 

Get/set the Spline Mapping iterations count.

   

<Unwrap_UVW>.splinemap_advanceMethod Integerdefault:1--integer 

Get/Set the advance method option.

   

<Unwrap_UVW>.splinemap_uoffset Float default: 0.0 -- float 

Get/set the Spline Mapping U Offset.

   

<Unwrap_UVW>.splinemap_voffset Float default: 0.0 -- float 

Get/set the Spline Mapping V Offset.

   

<Unwrap_UVW>.splinemap_uscale Float default: 1.0 -- float 

Get/set the Spline Mapping U Scale.

   

<Unwrap_UVW>.splinemap_vscale Float default: 1.0 -- float 

Get/set the Spline Mapping VScale.

   

Methods:

<void><Unwrap_UVW>.splineMap_Fit <boolean>fitAll <float>extraScale 

Fits the cross-sections.

If the first argument is true, all cross-sections will be affected. If it is false, only the selected cross-sections will be affected.

The second argument defines the extra scale of the cross-sections beyond the fitted size.

Corresponds to pressing the Fit button in the Spline Map Parameters dialog.

   

<void><Unwrap_UVW>.splineMap_AddCrossSectionMode() 

Enters Add Cross-section Mode.

Corresponds to pressing the Add button in the Spline Map Parameters dialog.

   

<void><Unwrap_UVW>.splineMap_Delete() 

Deletes the currently selected cross-sections.

Corresponds to pressing the Remove button in the Spline Map Parameters dialog.

   

<void><Unwrap_UVW>.splineMap_AlignSectionCommandMode() 

Enters Align Section command mode.

Corresponds to pressing the Section button in the Spline Map Parameters dialog.

   

<void><Unwrap_UVW>.splineMap_AlignCommandMode() 

Enters Align To Face command mode.

Corresponds to pressing the Face button in the Spline Map Parameters dialog.

   

<void><Unwrap_UVW>.splineMap_Align <index>splineIndex <index>crossSectionIndex <point3>vec 

Aligns the indexed cross-section in the indexed spline to the given vector.

   

<void><Unwrap_UVW>.splineMap_AlignSelected <point3>vec 

Aligns the selected cross-section to the given vector.

   

<void><Unwrap_UVW>.splineMap_Resample <integer>samples 

Performs Resampling of the Spline Mapping to the given number of samples.

Effectively inserts the specified number of cross-sections along the spline.

   

<integer><Unwrap_UVW>.splineMap_numberSplines() 

Returns the number of mapping splines.

   

<void><Unwrap_UVW>.splineMap_selectSpline <index>splineIndex <boolean>sel 

Sets the selected state of the indexed spline to thegiven boolean value.

   

<boolean><Unwrap_UVW>.splineMap_isSplineSelected <index>splineIndex 

Returns true if the indexed spline is selected, false otherwise.

   

<void><Unwrap_UVW>.splineMap_ClearSelectSpline() 

Clears the Spline selection.

   

<integer><Unwrap_UVW>.splineMap_numberCrossSection <index>splineIndex 

Returns the number of cross-sections on the indexed spline.

   

<void><Unwrap_UVW>.splineMap_selectCrossSection <index>splineIndex <index>crossSectionIndex <boolean>sel 

Sets the selected state of the indexed cross-section in the indexed spline to the given boolean value.

   

<boolean><Unwrap_UVW>.splineMap_isCrossSectionSelected <index>splineIndex <index>crossSectionIndex 

Returns true if the indexed cross-section in the indexed spline is selected, false otherwise.

   

<void><Unwrap_UVW>.splineMap_ClearSelectCrossSection() 

Clears the Cross-section selection.

   

<point3 by value><Unwrap_UVW>.splineMap_GetCrossSection_Pos <index>splineIndex <index>crossSectionIndex 

Returns the Position of the indexed cross-section in the indexed spline.

   

<void><Unwrap_UVW>.splineMap_SetCrossSection_Pos <index>splineIndex <index>crossSectionIndex <point3>pos 

Sets the Position of the indexed cross-section in the indexed spline to the given Point3 value.

   

<void><Unwrap_UVW>.splineMap_moveSelectedCrossSection <float>u 

Moves the selected cross-section by the given amount.

   

<float><Unwrap_UVW>.splineMap_GetCrossSection_ScaleX <index>splineIndex <index>crossSectionIndex 

Returns the X Scale of the indexed cross-section in the indexed spline.

   

<void><Unwrap_UVW>.splineMap_SetCrossSection_ScaleX <index>splineIndex <index>crossSectionIndex <float>scaleX 

Sets the X Scale of the indexed cross-section in the indexed spline to the given Float value.

   

<float><Unwrap_UVW>.splineMap_GetCrossSection_ScaleY <index>splineIndex <index>crossSectionIndex 

Returns the Y Scale of the indexed cross-section in the indexed spline.

   

<void><Unwrap_UVW>.splineMap_SetCrossSection_ScaleY <index>splineIndex <index>crossSectionIndex <float>scaleY 

Sets the Y Scale of the indexed cross-section in the indexed spline to the given Float value.

   

<void><Unwrap_UVW>.splineMap_scaleSelectedCrossSection <point2>scale 

Scales the X and Y axes of the selected cross-section by the given Point2 value.

   

<quat by value><Unwrap_UVW>.splineMap_GetCrossSection_Twist <index>splineIndex <index>crossSectionIndex 

Returns the Twist value of the indexed cross-section in the indexed spline.

   

<void><Unwrap_UVW>.splineMap_SetCrossSection_Twist <index>splineIndex <index>crossSectionIndex <float>Twist 

Sets the Twist of the indexed cross-section in the indexed spline to the given Float value.

   

<void><Unwrap_UVW>.splineMap_rotateSelectedCrossSection <float>twist 

Rotates the selected cross-section about the spline's axis at the given twist amount.

   

<void><Unwrap_UVW>.splineMap_RecomputeCrossSections() 

Forces are rebuilding of the cross-sections.

   

<void><Unwrap_UVW>.splineMap_InsertCrossSection <index>splineIndex <float>u 

Inserts a cross-section into the indexed spline at the given position along the spline.

The u parameter is in the range from 0.0 to 1.0.

   

<void><Unwrap_UVW>.splineMap_Copy() 

Copies theselected cross-sectiontotheclipboard.If multiple cross-sections are selected, the one with the lowest index will be copied.

   

<void><Unwrap_UVW>.splineMap_Paste() 

Pastes thecross-section from theclipboardonto the currently selected cross-sections.

   

<void><Unwrap_UVW>.splineMap_PasteToSelected <index>splineIndex <index>crossSectionIndex 

Pastes the indexed cross-section of the indexed spline to the selected cross-sections.

   

<void><Unwrap_UVW>.splineMap_Dump() 

   

<void><Unwrap_UVW>.splineMap()