Message 1 of 1
Disconnected UV edges after boolean operation with Python

Not applicable
06-10-2015
02:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey all,
I'm wondering about the best way to solve this problem. When you perform a boolean operation via Python (MEL works fine, for some reason) the UV edges around the boolean operation get disconnected. This happens in Maya 2015 and 2016, and using PyMel or cmds. I haven't tested it with OpenMaya.
You can observe this yourself by selecting 2 objects and running either the Python or MEL lines below.
import pymel.core as pm import maya.mel as mel sel = pm.ls(sl=True) # Python result = cmds.polyBoolOp(sel[0].nodeName(), sel[1].nodeName(), op = 2, ch = 1, preserveColor=0, classification=1, n='boolMesh' ) # MEL mel.eval( "polyCBoolOp -op 2 -ch 1 -preserveColor 0 -classification 1 -name %s %s %s;" % ( 'boolMesh', sel[0].nodeName(), sel[1].nodeName() ) )
Seems pretty odd that this happens. Am I missing something?
Thanks!