bfieldtools.utils.find_mesh_boundaries¶
-
bfieldtools.utils.
find_mesh_boundaries
(mesh)¶ Finds the open boundaries of a mesh by finding the edges that only belong to a single triangle. Returns an index array of inner vertices and triangles that do not touch the outer boundary. Takes edge parameter for convenience.
- Parameters
- mesh: trimesh mesh object
- Returns
- boundaries: list of array-like