MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / cut_to_manifold

Function cut_to_manifold

python/pymesh/meshutils/manifold_check.py:22–26  ·  view source on GitHub ↗

Cut an input mesh along nonmanifold edges to it becomes manifold. Note that cutting will produce duplicated vertices.

(mesh)

Source from the content-addressed store, hash-verified

20 mesh.set_attribute("edge_manifold", edge_manifold)
21
22def cut_to_manifold(mesh):
23 """ Cut an input mesh along nonmanifold edges to it becomes manifold.
24 Note that cutting will produce duplicated vertices.
25 """
26 return Mesh(PyMesh.cut_to_manifold(mesh.raw_mesh))

Callers 1

TEST_FFunction · 0.85

Calls 2

MeshClass · 0.90
cut_to_manifoldMethod · 0.80

Tested by 1

TEST_FFunction · 0.68