I have followed the required tutorials on how the set up basic scenes and manipulation tasks using Python. However, I am struggling to find documentation on how to load .OBJ files from the local drive into the scene using Python APIs. What I want to achieve is to replace the cube object in the Pick and Place tutorial with a custom .OBJ mesh.
please check out Create and code documentation for this:
https://docs.omniverse.nvidia.com/create/index.html
https://docs.omniverse.nvidia.com/code/index.html
@wdl448 Did you find an answer? I don’t see how those two links help.
Sorry, I have not.
I’m not sure if there is a way to directly import a OBJ from python, but you could use this code snippet to convert the asset to USD and then import it as a reference to your scene.
As mentioned in your link, the working code can be found in the omniverse examples (standalone_examples/api/omni.kit.asset_converter/).