Cut an input mesh along nonmanifold edges to it becomes manifold. Note that cutting will produce duplicated vertices.
(mesh)
| 20 | mesh.set_attribute("edge_manifold", edge_manifold) |
| 21 | |
| 22 | def 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)) |