Please provide all relevant details below before submitting your post. This will help the community provide more accurate and timely assistance. After submitting, you can check the appropriate boxes. Remember, you can always edit your post later to include additional information if needed.
Isaac Sim Version
4.2.0
4.1.0
4.0.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):
Isaac Lab Version (if applicable)
1.2
1.1
1.0
Other (please specify):
Operating System
Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):
GPU Information
- Model: RTX 4090
- Driver Version: 560.94
Topic Description
Detailed Description
I want to apply a texture to a cube.
From my testing, I see that textures are only correctly applied to MeshCubes.
If you create a ShapeCube (seen as 2 in image above) or use one of the python classes FixedCuboid, or VisualCuboid the resulting primitive does not have the FaceAPI or the Normals attribute set on the mesh.
The only way I have found to programmatically create a MeshCube is using the Command
omni.kit.commands.execute(
"CreateMeshPrimWithDefaultXform",
prim_type="Cube",
prim_path=cube_prim_path,
select_new_prim=True,
prepend_default_prim=True,
above_ground=True,
)
Ideally, I would be able to use MeshCuboid class similar to FixedCuboid
If this class does not exist, what is the next best alternative?
Could I create a FixedCuboid and then manually apply the Face API and Normals attributes to the primitive?
If so, how can that be done?
Steps to Reproduce
N/A
Error Messages
N/A
Screenshots or Videos
See Above
Additional Information
What I’ve Tried
N/A
Related Issues
N/A
Additional Context
N/A

