Comments (5)
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 ('triangleattributelist', 'triangle_attributes')
to the terms at https://github.com/drufat/triangle/blob/master/triangle/tri.py#L3 would fix this – @drufat would you consider adding it?
Example input and output images attached.
from triangle.
@mzucker Thanks for the contribution. I would be happy to merge it. Could you add your example to the documentation as well?
from triangle.
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.
from triangle.
That's exactly what I was hoping for. Thank you very much for your responses.
from triangle.
Glad to help!
from triangle.
Related Issues (20)
- Can not build on arch linux HOT 1
- Theory-of-seismic-waves-II/02_Mesh_generation/4_Tri_mesh_delaunay_yigma_tepe.ipynb HOT 1
- changelog? HOT 2
- distribution of whl?
- Single precision mode HOT 3
- Add edges output HOT 2
- I can not for the life of me install triangle HOT 7
- Can't get edge list from triangulation HOT 1
- Project as a whole doesn't appear to be able to be licensed as LGPL-3 HOT 2
- Max triangles index exceeds number of vertices HOT 3
- Issue with License / conda forge submission HOT 1
- Wheels for Python 3.9 / 3.10 on PyPI HOT 7
- triangle/core.c:19390:5: error: lvalue required as increment operand HOT 1
- i cannot establish a restrictive triangulation network HOT 2
- "a" option for maximum area ignored if smaller than 0.00001 HOT 1
- i can't install triangle in mac M1 HOT 2
- pip install fails with python 3.10 HOT 1
- Build wheel for Python 3.10 and Apple M1 HOT 5
- Pip install of latest version fails for intel mac with python 3.9 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from triangle.