How to use the meshzoo.hexagon 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 / optimesh / examples / create_logo.py View on Github external
import meshio
import meshzoo

points, cells = meshzoo.hexagon(1)
meshio.write_points_cells("hex.svg", points, {"triangle": cells})