-
Notifications
You must be signed in to change notification settings - Fork 65
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
Can't apply convex decomposition to a hollow cylinder (STL file) in Python? #53
Comments
And here is my mujoco code, sorry for that i forget to post it before:
` |
Oh, i think i figure out the problem When you import the part, do not just import a single Stl file that coacd generates! Instead, let coacd generate several parts and include them in just one body. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am trying to use the example script
python/package/bin/coacd
on an STL file of a hollow cylinder (attached:hollowcyl.zip).
I want to decompose this cylinder into a union of convex objects so I can accurately simulate collision detection in MuJoCo. The picture above shows the hollow cylinder in a MuJoCo simulation. The video below shows that a small sphere is unable to fall through the hollow cylinder as its convex hull doesn't allow this.
Screencast.from.02-08-24.11.50.29.webm
When I execute the code:
I still get the same issues, whereas I was expecting this to produce an STL file that allows the sphere to fall through the cylinder? I have read the code in
python/package/bin/coacd
line-by-line and I don't know why I am encountering this issue. Can anyone help?Thanks in advance!
The text was updated successfully, but these errors were encountered: