paya.lib.modettol#
Utilities for model cleanup.
- getAllGeoShapes(noIntermediate=False)#
- getAllGeoXforms()#
- Returns
Transforms for all
mesh
,nurbsCurve
andnurbsSurface
nodes in the scene.- Return type
[
str
]
- conformShapeNames()#
Repairs wonky geometry shape names.
- checkDuplicateNames()#
Checks for duplicate geometry shape and transform names. If any are found, the instances are organised into a
duplicate_names
object set for further inspection.
- removeUnknownNodes()#
Removes all unknown nodes from the scene. :return: The names of nodes which were removed. :rtype: [
str
]
- removeUnknownPlugins()#
Removes all requirements for unknown plugins from the scene. :return: The names of plugins which were removed. :rtype: [
str
]
- removeUnknown()#
Convenience function. Calls
removeUnknownNodes()
andremoveUnknownPlugins()
.