Skip to main content

COMPAS-firendly wrappers for the tTriangle library.

Project description

COMPAS Triangle

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

compas_triangle-1.1.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

compas_triangle-1.1.0-py2.py3-none-any.whl (10.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file compas_triangle-1.1.0.tar.gz.

File metadata

  • Download URL: compas_triangle-1.1.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for compas_triangle-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1c357f70c9e5c960c63db549b4431e92462df02edda3818611fd107d0201abf6
MD5 3a6ac2841302093bbe40659438097191
BLAKE2b-256 5d189311299e0728f7690a93c0c6a1be624c175c8b1a1b4a89c79d78085b80f0

See more details on using hashes here.

File details

Details for the file compas_triangle-1.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: compas_triangle-1.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for compas_triangle-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 39ef3f275d2795adaf8b610bcf9a151b38c18cd645208fe7afb62427f2698348
MD5 3a849c976ddc81b5bedb3b2ff7d70d6c
BLAKE2b-256 cf81ee996d80c9b8fd95f3b7a00605660a5d88b8e91d724d6f264adc73c84948

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page