MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / test_fix_tunnels

Function test_fix_tunnels

test_python/test_fixTunnels.py:5–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3
4
5def test_fix_tunnels():
6 torus = mrmesh.makeTorus(2, 1, 10, 10, None)
7
8 settings = mrmesh.DetectTunnelSettings()
9 settings.maxTunnelLength = 100500
10 settings.filterEquivalentCoLoops = True
11 tunnelFaces = mrmesh.detectTunnelFaces(torus, settings)
12
13 # one circle with 2-faces width
14 assert tunnelFaces.count() == 20

Callers

nothing calls this directly

Calls 1

countMethod · 0.80

Tested by

no test coverage detected