--You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/22580958-3dd0-42bd-9b9b-4f22f8f7ea59%40googlegroups.com.For more options, visit https://groups.google.com/d/optout.
Million certs max. Mostly were working with some scenes that have 500000ish
Thanks for asking.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/1430483681.2187551.261425709.4B7C9DD8%40webmail.messagingengine.com.
Ug.. Verts .. Damn auto correct :p
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAJ4oLs5KFruKz1Rqm5V66wVTY8Lzv-6t_oZGqefd_Pt_zxxn%2Bw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/aa9cd5e7-5d08-474d-9861-323715dce70b%40googlegroups.com.
def getMeshUVBounds(mapName, mesh):
mesh = pCore.PyNode(mesh)
uList, vList = mesh.getUVs(mapName)
if not uList:
uList = [0]
if not vList:
vList = [0]
return [[min(uList), min(vList)], [max(uList), max(vList)]]
def getMeshUVBoundsAsUDIM(mapName, mesh):
udimMap = range(1001, 1011)
bounds = getMeshUVBounds(mapName, mesh)
minU, maxV = int(math.trunc(bounds[0][0])), int(round(bounds[1][1] + 0.5))
return udimMap[minU] + (10 * (maxV - 1))
def isUDIMOverlappingBoundaries(mapName, mesh):
bounds = getMeshUVBounds(mapName, mesh)
if int(bounds[0][0]) == int(bounds[1][0]) and int(bounds[0][1]) == int(bounds[1][1]):
return False
else:
return True
--You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/2eb3c040-ca0c-4148-a1c9-e2e69e2eabe6%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/1430533492.2337937.261681645.479A74A1%40webmail.messagingengine.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAJ4oLs7A76SUDc5V9Ppz3M6wX_8KSDPi_oCx9ZvHzbZWsH%3DaxA%40mail.gmail.com.