Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mesh conversion: define intermediate prim as Scope #32

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

scpeters
Copy link
Member

@scpeters scpeters commented Oct 2, 2024

🦟 Bug fix

Summary

When converting parsing a mesh from SDFormat, an extra level of USD hierarchy is added with the mesh name. To ensure all prims have a type, define the intermediate prim type as a Scope, as recommended by a USD expert.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

When converting parsing a mesh from SDFormat, an extra
level of USD hierarchy is added with the mesh name. To
ensure all prims have a type, define the intermediate
prim type as a Scope, as recommended by a USD expert.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters
Copy link
Member Author

scpeters commented Oct 2, 2024

I was looking at a USD file containing meshes exported from SDFormat in the Isaac Sim GUI, and it lists the USD prim type in the entity tree widget. Before this change, the intermediate "geometry" prim has no type listed, but with this change, it has type Scope.

@scpeters scpeters merged commit 178e136 into main Oct 2, 2024
5 checks passed
@scpeters scpeters deleted the scpeters/mesh_geometry_scope branch October 2, 2024 19:57
@ahcorde
Copy link
Collaborator

ahcorde commented Oct 3, 2024

https://github.com/Mergifyio backport fortress garden

Copy link

mergify bot commented Oct 3, 2024

backport fortress garden

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Oct 3, 2024
When converting parsing a mesh from SDFormat, an extra
level of USD hierarchy is added with the mesh name. To
ensure all prims have a type, define the intermediate
prim type as a Scope, as recommended by a USD expert.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
(cherry picked from commit 178e136)
mergify bot pushed a commit that referenced this pull request Oct 3, 2024
When converting parsing a mesh from SDFormat, an extra
level of USD hierarchy is added with the mesh name. To
ensure all prims have a type, define the intermediate
prim type as a Scope, as recommended by a USD expert.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
(cherry picked from commit 178e136)
ahcorde pushed a commit that referenced this pull request Oct 3, 2024
When converting parsing a mesh from SDFormat, an extra
level of USD hierarchy is added with the mesh name. To
ensure all prims have a type, define the intermediate
prim type as a Scope, as recommended by a USD expert.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
(cherry picked from commit 178e136)

Co-authored-by: Steve Peters <scpeters@openrobotics.org>
ahcorde pushed a commit that referenced this pull request Oct 3, 2024
When converting parsing a mesh from SDFormat, an extra
level of USD hierarchy is added with the mesh name. To
ensure all prims have a type, define the intermediate
prim type as a Scope, as recommended by a USD expert.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
(cherry picked from commit 178e136)

Co-authored-by: Steve Peters <scpeters@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants