IC8 Python API:RLPy RMeshTool
Contents
- 1 Description
- 2 Constructor & Destructor
- 3 Member Functions
- 3.1 BakeTexture (spSource, spDestination, kOption)
- 3.2 BakeTextureFromFolder (*args)
- 3.3 BakeTexturePerChannel (spSource, spDestination, kOption)
- 3.4 ComputeMeshInfo (strInputObj)
- 3.5 CreateTransientMeshPreview (strPreviewName, spTarget, kOption)
- 3.6 DestroyTransientMeshPreview (strPreviewName)
- 3.7 InspectObjUv (strInputObj)
- 3.8 PrecheckBakeTexture (spSource, spDestination, kOption)
- 3.9 ProjectToHighPoly (strLowObjPath, strHighObjPath, strOutputObjPath, kOption)
- 3.10 RunBasicRepair (*args)
- 3.11 RunFixNonManifoldPoly (*args)
- 3.12 SetTransientMeshPreviewVisible (strPreviewName, bVisible)
- 3.13 SetTransientMeshPreviewVisualStyle (strPreviewName, kVisualStyle)
- 3.14 UpdateTransientMeshPreview (strPreviewName, fOffset)
- 3.15 Uvatlas (strInputObjPath, strOutputObjPath, kOption)
- 4 Properties
Description
This class provides mesh utilities for texture baking, UV inspection, repair, projection, and transient previews.
Constructor & Destructor
__init__ (self)
Initializes a new mesh tool instance.
Member Functions
BakeTexture (spSource, spDestination, kOption)
Bakes texture channels from a source object onto a destination object.
Parameters
- spSource
- spDestination
- kOption
BakeTextureFromFolder (*args)
Runs texture baking with the source data in the specified folder.
Parameters
- args
BakeTexturePerChannel (spSource, spDestination, kOption)
Bakes requested texture channels sequentially while reusing one object export.
Parameters
- spSource
- spDestination
- kOption
ComputeMeshInfo (strInputObj)
Computes geometry and topology information for the supplied mesh.
Parameters
- strInputObj
CreateTransientMeshPreview (strPreviewName, spTarget, kOption)
Creates a renderer-only transient mesh preview from an object. The preview is registered as a mesh gizmo, never as a Scene Manager node, and does not mutate the target object.
Parameters
- strPreviewName
- spTarget
- kOption
DestroyTransientMeshPreview (strPreviewName)
Destroys the transient mesh preview identified by the supplied handle.
Parameters
- strPreviewName
InspectObjUv (strInputObj)
Inspect source OBJ UV data without requiring triangle faces.
Parameters
- strInputObj
PrecheckBakeTexture (spSource, spDestination, kOption)
Checks whether texture baking can proceed and returns the precheck result.
Parameters
- spSource
- spDestination
- kOption
ProjectToHighPoly (strLowObjPath, strHighObjPath, strOutputObjPath, kOption)
Project a low-poly OBJ onto a high-poly OBJ with face-driven displacement.
Parameters
- strLowObjPath
- strHighObjPath
- strOutputObjPath
- kOption
RunBasicRepair (*args)
Runs the basic repair operation on the supplied mesh.
Parameters
- args
RunFixNonManifoldPoly (*args)
Repairs non-manifold polygons in the supplied mesh.
Parameters
- args
SetTransientMeshPreviewVisible (strPreviewName, bVisible)
Sets the transient mesh preview visible.
Parameters
- strPreviewName
- bVisible
SetTransientMeshPreviewVisualStyle (strPreviewName, kVisualStyle)
Sets the transient mesh preview visual style.
Parameters
- strPreviewName
- kVisualStyle
UpdateTransientMeshPreview (strPreviewName, fOffset)
Updates transient mesh preview.
Parameters
- strPreviewName
- fOffset
Uvatlas (strInputObjPath, strOutputObjPath, kOption)
Generates a UV atlas for the supplied mesh using the specified options.
Parameters
- strInputObjPath
- strOutputObjPath
- kOption
Properties
thisown
Indicates whether this SWIG proxy owns the underlying C++ object.