Generate and refine unstructured 2D triangular meshes from polygons with Julia



TriangleMesh is written to provide a convenient mesh generation and refinement tool for Delaunay and constraint Delaunay meshes in Julia. Please see the documentation.

Documentation Build Status Code Coverage Windows Build
Build status


TriangleMesh is now officialy registered. To install run

] add TriangleMesh

After the build passed successfully type

using TriangleMesh

to use the package. If you are having trouble please open an issue.

TriangleMesh on Windows

To build TriangleMesh you need the Visual Studio Community Edition 2017 which you can get here. It is for free and easy to install.

You can also use a newer version of Visual Studio (and at any rate it is only important that you have the build tools installed) but then you will have to modify the environment variable in the 'compile.bat' script in the 'deps/src/' directory:

set VS150COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\

for example becomes

set VS150COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\

First Commit


Last Touched

13 days ago


138 commits

Used By: