We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfec26c commit c51db7bCopy full SHA for c51db7b
modules/omniverse/utility.py
@@ -204,9 +204,11 @@ def convert_mesh_to_usd(input_file, output_file):
204
# Create a unique path for each mesh
205
node_path = f"/World/{node_name}"
206
xform = UsdGeom.Xform.Define(stage, node_path)
207
+ # Define the Mesh under the Xform
208
+ mesh_path = f"{node_path}/Mesh"
209
+ usd_mesh = UsdGeom.Mesh.Define(stage, mesh_path)
210
# get the geometry of the node
211
geometry = mesh.geometry[geom_name]
- usd_mesh = UsdGeom.Mesh.Define(stage, node_path)
212
213
# Create a random color for this mesh
214
# Using HSV for better color distribution
0 commit comments