()
| 3 | |
| 4 | |
| 5 | def test_self_intersections(): |
| 6 | torusIntersected = mrmesh.makeTorusWithSelfIntersections(2, 1, 10, 10, None) |
| 7 | selfies = mrmesh.localFindSelfIntersections(torusIntersected) |
| 8 | assert selfies.count() > 0 |
| 9 | |
| 10 | settings = mrmesh.FixSelfIntersectionSettings() |
| 11 | settings.method = mrmesh.FixSelfIntersectionMethod.CutAndFill |
| 12 | mrmesh.localFixSelfIntersections(torusIntersected,settings) # just check thit it runs |