Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.16 KB

README.md

File metadata and controls

48 lines (31 loc) · 1.16 KB

COMPAS Triangle

Warning

This package is deprecated and will be removed in the future. Please use compas_cgal instead.

COMPAS-firendly wrappers for the Triangle library.

Getting Started

compas_triangle can be installed from PyPI.

pip install compas_triangle

or from local source using pip

pip install path/to/compas_triangle

or directly from the github repo.

pip install git+https://github.com/blockresearchgroup/compas_triangle.git#egg=compas_triangle

License

compas_triangle uses the Cython wrapper for Jonathan Richard Shewchuk's Triangle library. The Cython wrapper is available here: https://github.com/drufat/triangle

Use of the Triangle library is restricted to personal or academic purposes. The license of the library is included in this repo: LICENSE.Triangle

Examples

Four examples are available:

  • examples/delaunay1.py
  • examples/delaunay2.py
  • examples/delaunay3.py
  • examples/delaunay4_rhino.py

Note that the Rhino example uses compas.rpc to provide a proxy for the package.

Example delaunay3.py