RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.35k stars 1.27k forks source link

Epic [geometry proximity] Meshing for deformable geometric primitives #18080

Open DamrongGuoy opened 2 years ago

DamrongGuoy commented 2 years ago

We have

suitable for hydroelastic bodies; however, we don't have meshing code for boxes, capsules, and cylinders that are suitable for deformables. The meshes should be fine enough and avoid tetrahedra with zero signed-distance gradients (i.e., a tetrahedron with all four vertices at the same signed distance from boundary).

We should add these functions for boxes, capsules, and cylinders (and perhaps cones).

In the mean time, users can generate meshes offline and import as VTK files.

One of the ways to prevent zero signed-distance gradients on any tetrahedron is to make the mesh respect medial axes of the shapes.

DamrongGuoy commented 2 years ago

CC: @xuchenhan-tri