extract_mesh_wireframe#

extract_mesh_wireframe(mesh: vtkPolyData | trimesh.Trimesh, offset: tuple[float, float, float] | None = None) list[list[tuple[float, float, float]]][source]#

Extract wireframe edges from mesh.

Parameters:
  • mesh – Mesh object.

  • offset – Mesh translation applied before extracting slices and/or meshes.

Returns:

List of wireframe edges.