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
How to properly generate .vtk file from .obj file? #4388
Comments
I generated .vtk file from yours and it works. Don't forget to check the "save all elements" mark and choose "ASCII" format when exporting .vtk file using GMSH. |
I try it on Windows PyBullet and it works! But when I try it on VMware Ubuntu 20.04 PyBullet, the problem occurs. Why? |
The process I translate to vtk is same to you, and I got error in Ubuntu PyBullet: malloc():memory corruption. Do you get the reason now? |
您的邮件已收到,谢谢!
|
please tell me how to fix this problem? |
您的邮件已收到,谢谢!
|
I have found the answer. When you use tetwild on Linux and Gmsh on Windows, this will result in an error. Only when both are used on Linux can success. |
I want to load deformable object in PyBullet with function "loadSoftBody". I know that PyBullet offers example object file "torus.obj" and "torus.vtk". It works well. However, when I try to generate .vtk file by myself from .obj with the following steps, PyBullet crashes down:
$ ./TetWild --input torus.stl --output torus.msh
Then PyBullet crashes down.
All the files are attached in the files.zip
Folder "original files" are files provided by PyBullet git repository. Folder "generated files" are files generated by myself. I search for the solution online and issue #2726 but still cannot solve this problem.
The text was updated successfully, but these errors were encountered: