Hi Blenderers,
I’ve been struggeling around (still learning) for a while with this great program ‘Blender’ and decided to say ‘hi’ to the community :D.
I wrote a short script which is possible to fill up a closed bezier-curve with nice triangles, so I thought it might be useful for one or two of you.
This script needs the external freeware program ‘Triangle’ to be installed, which you can find on http://www.cs.cmu.edu/~quake/triangle.html
A precompiled Windows-version of ‘Triangle’ you can download from http://home.arcor.de/kamebaukun/Data/triangle.exe
Additionally you need the cygwin-file http://home.arcor.de/kamebaukun/Data/cygwin1.dll
Simply copy these two files to a new directory (e.g. ‘C:\Programme\Triangle’) to use the power of this very nice tool.
The python script you can download from here:
http://home.arcor.de/kamebaukun/Data/TriangleMeshFill.py
In the python file you have to edit the first lines containing the path of the Triangle-Program file and the path and name of a temporary-file for transfer of data to the Triangle-program … not very user friendly, I know! … maybe different in a later version ;).
Additionally here is a short tutorial of this script:
http://home.arcor.de/kamebaukun/Data/TriangleMeshFillDoc.pdf
-> Sorry, there was a problem with reading the first page of this ‘pdf’ in browser window!
Please download the ‘pdf’-file and open it manually with the Acrobat-Reader. This works.
Just for a first impression, what the script (and ‘Triangle’!) can do here are some screenshots:
2D bezier curves (outer border and holes … all three separate objects!)
Subdivide each curve serveral times (e.g. three times)
Activate script and select border and holes (3 curve objects), mark holes
Press ‘Triangulate’ … and that’s it.
Hope it helps building some nice meshes :).
Cheers!