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.
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.