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

How to create 3D flexes made of tetrahedra from meshes? #1246

Closed
DFREANDY opened this issue Nov 30, 2023 · 3 comments
Closed

How to create 3D flexes made of tetrahedra from meshes? #1246

DFREANDY opened this issue Nov 30, 2023 · 3 comments
Labels
question Request for help or information

Comments

@DFREANDY
Copy link

Hi,

I'm a student and I'm trying to use MuJoCo for simulating the deformable objects.

I'm looking for some help with 3D flexes made of tetrahedra from meshes.

I've noticed that you give an example with the Stanford Bunny when explaining the mechanism of 3D flexes made of tetrahedra from meshes. So, could you share the related files of the Stanford Bunny? I want to know the file format which you used to create it.

Thanks a lot!

@DFREANDY DFREANDY added the question Request for help or information label Nov 30, 2023
@yuvaltassa
Copy link
Collaborator

The file format is the Gmsh format, this is documented here.

To convert from tri-mesh to tet-mesh we used fTetWild.

@josephrocca
Copy link
Contributor

Hi @yuvaltassa, RE this sentence from the overview:

Automation is provided to load a mesh from a file, construct bodies corresponding to the mesh vertices, construct flex elements corresponding to the mesh faces (or lines or tetrahedra, depending on dimensionality), and obtain a corresponding deformable mesh.

I'm probably misunderstanding, but this seems to imply there's something built-in for this now which makes external use of Gmsh/fTetWild/CoACD unnecessary in 3.0?

@yuvaltassa
Copy link
Collaborator

Ah this is indeed unclear.

Automation is provided to load a mesh from a file

Should be "Automation is provided to load a volumetric mesh from a file". You need to bring your own mesh. We are currently working on improving our support for the gmsh format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Request for help or information
Projects
None yet
Development

No branches or pull requests

3 participants