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

Add round-trip conversion tests and verify same number of entities before and after #43

Open
scpeters opened this issue Oct 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@scpeters
Copy link
Member

scpeters commented Oct 3, 2024

Desired behavior

Several recent bugs have noted that some entities that are properly converted by sdf2usd are not properly converted back by usd2sdf:

The reproduction instructions in those issues describe converting an SDFormat file to USD using sdf2usd and then back again to SDFormat using usd2sdf. Without expecting that the SDFormat files before and after the round-trip conversion should be identical, we should expect the same number of entities (links, collisions, visuals, shape geometries, joints, etc) in both SDFormat files. It would be useful to have testing infrastructure to enable this type of round-trip testing to enable entity counts.

Alternatives considered

Implementation suggestion

Additional context

@scpeters scpeters added the enhancement New feature or request label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Inbox
Development

No branches or pull requests

1 participant