Metadata-Version: 2.1
Name: compas-triangle
Version: 1.1.0
Summary: COMPAS-firendly wrappers for the tTriangle library.
Home-page: https://github.com/compas-dev/compas_triangle
Author: tom van mele
Author-email: van.mele@arch.ethz.ch
License: MIT license
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Unix
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE.Triangle
License-File: AUTHORS.md

# COMPAS Triangle

COMPAS-firendly wrappers for the Triangle library.

## Getting Started

`compas_triangle` can be installed from PyPI.

```bash
pip install compas_triangle
```

or from local source using pip

```bash
pip install path/to/compas_triangle
```

or directly from the github repo.

```bash
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](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](examples/delaunay3.png)


