open3d.geometry.create_line_set_from_triangle_mesh

open3d.geometry.create_line_set_from_triangle_mesh(mesh)

Factory function to create a LineSet from edges of a triangle mesh.

Parameters

mesh (open3d.geometry.TriangleMesh) – The input triangle mesh.

Returns

open3d.geometry.LineSet