pymel.core.modeling.subdToBlind

static modeling.subdToBlind(*args, **kwargs)

The subdivision surface hierarchical edits will get copied into blind data on the given polygon. The polygon face count and topology must match the subdivision surface base mesh face count and topology. If they don’t, the blind data will still appear, but is not guaranteed to produce the same result when converted back to a subdivision surface. The command takes a single subdivision surface and a single polygonal object. Additional subdivision surfaces or polygonal objects will be ignored.

Flags:
Long name (short name) Argument Types Properties
absolutePosition (ap) bool ../../../_images/create.gif
 

If set to true, the hierarchical edits are represented as the point positions, not the point offsets. Most of the time, this is not desirable, but if you’re just going to be merging/deleting a bunch of things and not move any vertices, then you could set it to true. False is the default and saves the offsets. Flag can have multiple arguments, passed either as a tuple or a list.

includeCreases (ic) bool ../../../_images/create.gif
 

If set, the creases get transfered as well. With it false, the subdivision surface created from the blind data + polygon will have lost all the craese information. The default is false.

includeZeroOffsets (izo) bool ../../../_images/create.gif
 

If set, the zero offset will get included in the blind data. This will greatly increase the size of the blind data, but will also let you keep all created vertices in the conversion back to polys. This flag does not change the behaviour for the vertices up to and including level 2 as they’re always created. If not set, only the edited vertices will be included in the blind data. This will still maintain the shape of your object faithfully. The default is false.

Derived from mel command maya.cmds.subdToBlind

Example:

import pymel.core as pm

pm.subdToBlind( 'subdShape1', 'polyShape4' )

Previous topic

pymel.core.modeling.subdPlanarProjection

Next topic

pymel.core.modeling.subdToPoly

Core

Core Modules

Other Modules

This Page