MAXScript Language Reference > 3ds Max Objects > Modifier : MAXWrapper and SpacewarpModifier : MAXWrapper > Modifier and SpacewarpModifier Types > Modifiers > Conversion Modifiers >

# Turn_to_Patch : Modifier

    Turn_to_Patch - superclass: modifier; super-superclass:MAXWrapper - 4:0 - classID: #(1011577041, 590161861)

Value > MAXWrapper > Modifier > Turn_to_Patch

| Modifier Classes - Quick Navigation

The Turn_To_Patch modifier lets you apply object conversions in the modifier stack. Using the Turn To Patch modifier, you can fine-tune the conversion process such as turning quads into quad patches.

Note

Converting from one object type to another causes a complete caching in the modifier stack. When you have large objects in your scene, this can take up a lot of space. For example, an object that starts as a mesh, converts to a patch, and then back to a mesh takes 3 times as much space as a mesh which just has ordinary modifiers like Bend or UVW Map applied.

Constructor

    Turn_to_Patch ... ConvertToPatch...

Properties

    <Turn_to_Patch>.quadsToQuads Boolean default: true -- animatable; boolean; Quads_to_Quad_Patches

Turns quad faces in meshes or polymeshes into quad patches.

NoteWhen you turn this option off, 3ds Max triangulates quads when the Turn To Patch modifier is applied to a patch object.

    <Turn_to_Patch>.selectionConversion Integer default: 0 -- integer; Selection_Conversion

    <Turn_to_Patch>.useSoftSelection Integer default: 1 -- integer; Use_Soft_Selection

Affects the action of sub-object Move, Rotate, and Scale functions. When these are on, 3ds Max applies a spline curve deformation to unselected vertices surrounding the transformed selected sub-object. This provides a magnet-like effect, with a sphere of influence around the transformation. Use this when you want to preserve the soft selection from beneath. For example, if Use Soft Selection is on when you select vertices on an editable poly, and you apply Turn To Mesh with Include Soft Selection on, then the same soft selection will apply to the mesh vertices. Default=on.

For more information, see Soft Selection Rollout.

IMPORTANT:
Be aware that when Include Soft Selection is on, bound vertices can turn to meshes.

    <Turn_to_Patch>.selectionLevel Integer default: 0 -- integer; Selection_Level

0: From Pipeline:Uses the equivalent of whatever the input object uses. (Patch level becomes face level, and so on.). For example, if you create a box, convert it to an editable mesh in face mode and apply a Turn To Patch modifier to it, 3ds Max passes a sub-object selection in patch mode up the stack. The Turn To Patch modifier takes the sub-object face selection into account and selects the patches that derive from the face selection.

1: Object:Uses object as the selection level for passing up the rest of the stack.

2: Edge:Uses edge as the sub-object selection level for passing up the rest of the stack.

3: Vertex:Uses vertex as the sub-object selection level for passing up the rest of the stack.

4: Patch:Uses patch as the sub-object selection level for passing up the rest of the stack.

#### See Also

- Modifier Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods