triangle icon indicating copy to clipboard operation
triangle copied to clipboard

Python bindings to the triangle library

Results 20 triangle issues
Sort by recently updated
recently updated
newest added

how can I modify my code to make it work,Here's the code: import matplotlib.pyplot as plt import numpy as np import triangle as tr def circle(N, R): i = np.arange(N)...

Hi @drufat! Thank you for this excellent Triangle wrapper. We use it in [sectionproperties](https://github.com/robbievanleeuwen/section-properties/) and, by extension, [concreteproperties](https://github.com/robbievanleeuwen/concrete-properties). Your package is quite popular and I think that, as Python 3.10...

Hi, `pip install triangle` fails with python 3.10. **Setup**: fresh conda-arm64 environment with python 3.10 on Macbook Pro (M1 Pro chip). Installation works with python 3.9 and otherwise identical conditions,...

pip install triangle Collecting triangle     Using cached triangle-20200424.tar.gz (1.6 MB)     Preparing metadata (setup.py) ... done Requirement already satisfied: numpy in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from triangle) (1.22.3) Building wheels for collected packages: triangle    ...

Hi @drufat, @badlands-model uses your wrapper and I would like to thank you because it has been very useful. I am trying to create a conda binary for https://github.com/badlands-model/badlands and...

Using the triangle option `e` to return the edge list of the triangulation throws: `KeyError: 'edgelist'`. ## Steps to reproduce ```python In [13]: v = [[0, 0], [0, 1], [1,...

I've found that buggy geometry processed with the 'p' flag will crash Python. I've tested on two systems, both Mac. This reproduces the behaviour for me. Note the repeated vertex...

In order to pass original attribute data of initals polygons to each generated triangle, i would like to know how to use the 'regions' argument in the 'triangulate()' function ?...

The triangle C library supports this mode, it would be useful to have a single-precision version of the wrapper.

thanks for this nice library. is there a list of changes for each version? im still pinning on `20170429` and would like to know what changed. particularly interested in possible...