How to use the meshzoo.ngon function in meshzoo

To help you get started, we’ve selected a few meshzoo examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nschloe / meshzoo / test / test_ngon.py View on Github external
def test_ngon():
    points, cells = meshzoo.ngon(9, 8)
    assert len(points) == 325
    assert len(cells) == 576
    # meshzoo.save2d("9gon.svg", points, cells)