gazebosim / gz-usd

Command line tools to convert SDFormat to USD and viceversa
Apache License 2.0
24 stars 5 forks source link

sdf2usd: set cylinder refinement parameter (backport #34) #38

Closed mergify[bot] closed 1 month ago

mergify[bot] commented 1 month ago

🦟 Bug fix

Summary

The refinement parameter is 0 by default when loaded in Isaac Sim, which makes cylinders look like extruded polygons. Setting the refinement parameter to 1 makes them rounder.

Thanks to @rgasoto for the assistance with the OpenUSD API.

Example with unrefined cylinders

Note the polygonal shape of the pendulum bases

cylinders_refinement_0

Example with refinement == 1

Note the rounder shape of the pendulum bases

cylinders_refinement_1

Checklist

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.


This is an automatic backport of pull request #34 done by Mergify.