-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use the 'regions' argument in the 'triangulate()' function? #43
Comments
I figured out how to do this for a project of my own today. See https://gist.github.com/mzucker/b0846f304b48702ff2530294134ae879 Interestingly, I needed to monkey-patch the triangle Python library, otherwise I got a KeyError at https://github.com/drufat/triangle/blob/master/triangle/tri.py#L67 Adding the extra key/value pair Example input and output images attached. |
@mzucker Thanks for the contribution. I would be happy to merge it. Could you add your example to the documentation as well? |
Created a pull request, let me know if it passes muster. This was my first time editing Sphinx and my first pull request on github in a very long time, if not ever. |
That's exactly what I was hoping for. Thank you very much for your responses. |
Glad to help! |
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 ? I haven't found any tips or examples.
The text was updated successfully, but these errors were encountered: