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

On the problem of not being able to decompose "nonconvex shapes" into associations of "convex shapes" #10

Closed
miyukin73 opened this issue Sep 9, 2022 · 1 comment

Comments

@miyukin73
Copy link

Hello,
I'd like to simulate pouring objects into a cup.
So, I created the STL file of the cup in CAD.

However, since the cup stl file is a non-convex geometry, it must be broken down into convex geom unions and they must all be attached to the same body in order to simulate in Mujoco.

So I was taught here before how to convert from stl files to obj files.

It worked that time, but when I tried again, when I ran the code A, only one file was generated and it was still a non-convex geometry.

What is the problem?
I would like to know ....
Thank you in advance.
Cup (2).zip

@kevinzakka
Copy link
Owner

Hi @miyukin73,

You need to set --vhacd-args.enable when processing this mesh. You'll probably want to tweak the parameters of V-HACD though since it might not generate a good approximation with the default args.

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