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

Only one set of STLs are exported when using multiple display states #133

Open
LifeDay opened this issue Dec 5, 2022 · 2 comments
Open

Comments

@LifeDay
Copy link

LifeDay commented Dec 5, 2022

System Information

  1. SW 2021 SP 5.1
  2. v1.6.1 installed (feature tree still says v1.4)

Describe the bug

  1. The assembly contains visual and collision models
  2. Each link has the visual and collision model associated
  3. There are 3 display states: Visual, Collision, and Both
  4. I export the URDF twice. Once with the Collision display state active and once with Visual

I would expect that the Visual export would have the visual models in the mesh folder and vice versa for the Collision export.

However, both exports have only the collision models.

The attached file is a simplification that demonstrates the same behavior.

Is this a bug or am I doing something wrong here?

EXAMPLE.zip

@brawner
Copy link
Collaborator

brawner commented Dec 6, 2022

Though using display states is probably the simplest means we have currently for creating simpler collision meshes with this tool, unfortunately, the tool doesn't take full advantage of them like this. You will have to export twice and manually copy meshes from one directory to another.

@brawner brawner changed the title Only Collision Model STLs Exported Only one set of STLs are exported when using multiple display states Dec 6, 2022
@LifeDay
Copy link
Author

LifeDay commented Dec 6, 2022

Right. I did export twice. Once for each display state (Visual and Collision).
When I try to manually copy the meshes, both folders only have the collision meshes.

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

No branches or pull requests

2 participants