pymel.core.nodetypes.AlignSurface

Inheritance diagram of AlignSurface

class AlignSurface(*args, **kwargs)

class counterpart of mel function alignSurface

The surface align command is used to align surfaces in maya. The main alignment options are positional, tangent and curvature continuity. Curvature continuity implies tangent continuity. NOTE: this tool is based on Studio’s align tool. Positional continuity means the surfaces (move) or the ends of the surfaces (modify) are changed. Tangent continuity means one of the surfaces is modified to be tangent at the points where they meet. Curvature continuity means one of the surfaces is modified to be curvature continuous as well as tangent. The default behaviour, when no surfaces or flags are passed, is to only do positional and tangent continuity on the active list with the end of the first surface and the start of the other surface used for alignment.

getCaching(**kwargs)

Modifies the node caching mode. See the node documentation for more information.Note:For advanced users only.

Derived from mel command maya.cmds.alignSurface

getCurvatureContinuity(**kwargs)

Curvature continuity is on if true and off otherwise.Default:false

Derived from mel command maya.cmds.alignSurface

getCurvatureScale1(**kwargs)

Curvature scale applied to curvature of first surface for curvature continuity.Default:0.0

Derived from mel command maya.cmds.alignSurface

getCurvatureScale2(**kwargs)

Curvature scale applied to curvature of second surface for curvature continuity.Default:0.0

Derived from mel command maya.cmds.alignSurface

getDirectionU(**kwargs)

If true use U direction of surface and V direction otherwise.Default:trueAdvanced flags

Derived from mel command maya.cmds.alignSurface

getJoinParameter(**kwargs)

Parameter on reference surface where modified surface is to be aligned to.Default:123456.0

Derived from mel command maya.cmds.alignSurface

getNodeState(**kwargs)

Modifies the node state. See the node documentation for more information.Note:For advanced users only.Common flags

Derived from mel command maya.cmds.alignSurface

getPositionalContinuity(**kwargs)

Positional continuity is on if true and off otherwise.Default:true

Derived from mel command maya.cmds.alignSurface

getPositionalContinuityType(**kwargs)

Positional continuity type legal values: 1 - move first surface, 2 - move second surface, 3 - move both surfaces, 4 - modify first surface, 5 - modify second surface, 6 - modify both surfacesDefault:1

Derived from mel command maya.cmds.alignSurface

getReverse1(**kwargs)

If true, reverse the direction (specified by directionU) of the first input surface before doing align. Otherwise, do nothing to the first input surface before aligning. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.Default:false

Derived from mel command maya.cmds.alignSurface

getReverse2(**kwargs)

If true, reverse the direction (specified by directionU) of the second input surface before doing align. Otherwise, do nothing to the second input surface before aligning. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.Default:false

Derived from mel command maya.cmds.alignSurface

getSwap1(**kwargs)

If true, swap the UV directions of the first input surface before doing align. Otherwise, do nothing to the first input surface before aligning. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.Default:false

Derived from mel command maya.cmds.alignSurface

getSwap2(**kwargs)

If true, swap the UV directions of the second input surface before doing align. Otherwise, do nothing to the second input surface before aligning. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.Default:false

Derived from mel command maya.cmds.alignSurface

getTangentContinuity(**kwargs)

Tangent continuity is on if true and off otherwise.Default:true

Derived from mel command maya.cmds.alignSurface

getTangentContinuityType(**kwargs)

Tangent continuity type legal values: 1 - do tangent continuity on first surface, 2 - do tangent continuity on second surfaceDefault:1

Derived from mel command maya.cmds.alignSurface

getTangentScale1(**kwargs)

Tangent scale applied to tangent of first surface for tangent continuity.Default:1.0

Derived from mel command maya.cmds.alignSurface

getTangentScale2(**kwargs)

Tangent scale applied to tangent of second surface for tangent continuity.Default:1.0

Derived from mel command maya.cmds.alignSurface

getTwist(**kwargs)

If true, reverse the second surface in the opposite direction (specified by directionU) before doing align. This will avoid twists in the aligned surfaces. Otherwise, do nothing to the second input surface before aligning. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.Default:false

Derived from mel command maya.cmds.alignSurface

setCaching(val=True, **kwargs)

Modifies the node caching mode. See the node documentation for more information.Note:For advanced users only.

Derived from mel command maya.cmds.alignSurface

setCurvatureContinuity(val=True, **kwargs)

Curvature continuity is on if true and off otherwise.Default:false

Derived from mel command maya.cmds.alignSurface

setCurvatureScale1(val=True, **kwargs)

Curvature scale applied to curvature of first surface for curvature continuity.Default:0.0

Derived from mel command maya.cmds.alignSurface

setCurvatureScale2(val=True, **kwargs)

Curvature scale applied to curvature of second surface for curvature continuity.Default:0.0

Derived from mel command maya.cmds.alignSurface

setDirectionU(val=True, **kwargs)

If true use U direction of surface and V direction otherwise.Default:trueAdvanced flags

Derived from mel command maya.cmds.alignSurface

setJoinParameter(val=True, **kwargs)

Parameter on reference surface where modified surface is to be aligned to.Default:123456.0

Derived from mel command maya.cmds.alignSurface

setNodeState(val=True, **kwargs)

Modifies the node state. See the node documentation for more information.Note:For advanced users only.Common flags

Derived from mel command maya.cmds.alignSurface

setPositionalContinuity(val=True, **kwargs)

Positional continuity is on if true and off otherwise.Default:true

Derived from mel command maya.cmds.alignSurface

setPositionalContinuityType(val=True, **kwargs)

Positional continuity type legal values: 1 - move first surface, 2 - move second surface, 3 - move both surfaces, 4 - modify first surface, 5 - modify second surface, 6 - modify both surfacesDefault:1

Derived from mel command maya.cmds.alignSurface

setReverse1(val=True, **kwargs)

If true, reverse the direction (specified by directionU) of the first input surface before doing align. Otherwise, do nothing to the first input surface before aligning. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.Default:false

Derived from mel command maya.cmds.alignSurface

setReverse2(val=True, **kwargs)

If true, reverse the direction (specified by directionU) of the second input surface before doing align. Otherwise, do nothing to the second input surface before aligning. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.Default:false

Derived from mel command maya.cmds.alignSurface

setSwap1(val=True, **kwargs)

If true, swap the UV directions of the first input surface before doing align. Otherwise, do nothing to the first input surface before aligning. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.Default:false

Derived from mel command maya.cmds.alignSurface

setSwap2(val=True, **kwargs)

If true, swap the UV directions of the second input surface before doing align. Otherwise, do nothing to the second input surface before aligning. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.Default:false

Derived from mel command maya.cmds.alignSurface

setTangentContinuity(val=True, **kwargs)

Tangent continuity is on if true and off otherwise.Default:true

Derived from mel command maya.cmds.alignSurface

setTangentContinuityType(val=True, **kwargs)

Tangent continuity type legal values: 1 - do tangent continuity on first surface, 2 - do tangent continuity on second surfaceDefault:1

Derived from mel command maya.cmds.alignSurface

setTangentScale1(val=True, **kwargs)

Tangent scale applied to tangent of first surface for tangent continuity.Default:1.0

Derived from mel command maya.cmds.alignSurface

setTangentScale2(val=True, **kwargs)

Tangent scale applied to tangent of second surface for tangent continuity.Default:1.0

Derived from mel command maya.cmds.alignSurface

setTwist(val=True, **kwargs)

If true, reverse the second surface in the opposite direction (specified by directionU) before doing align. This will avoid twists in the aligned surfaces. Otherwise, do nothing to the second input surface before aligning. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.Default:false

Derived from mel command maya.cmds.alignSurface

Previous topic

pymel.core.nodetypes.AlignCurve

Next topic

pymel.core.nodetypes.AmbientLight

Core

Core Modules

Other Modules

This Page