Skip to content

Conversation

@ft-lab
Copy link
Collaborator

@ft-lab ft-lab commented Jan 22, 2026

Description

Fixes #52

When importing OBJ files, we now provide a GeomSubset if multiple material IDs exist per face within the mesh.

unit test

The test obj file has two materials assigned to one box (mesh).

  • tests/data/assets/box_two_materials.obj
  • tests/data/assets/box_two_materials.mtl

URDF: tests/data/mesh_subsets.urdf
unit test: tests/testMaterial.py - test_mesh_subsets_materials

This urdf file places two materials/single mesh for each obj and dae.
urdf_usd_converter_subsets_20260122

Checklist

@ft-lab ft-lab self-assigned this Jan 22, 2026
@codecov
Copy link

codecov bot commented Jan 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@andrewkaufman andrewkaufman merged commit 68de997 into newton-physics:main Jan 22, 2026
10 checks passed
@ft-lab ft-lab deleted the dev/obj_subset branch January 23, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle face subsets for OBJ

2 participants