Triangulate and Remesh
Triangulate
To triangulate the Form Diagram mesh we can simply convert all quads to triangles. Note that the quality of the resulting mesh is not considered in this step. This is okay because we will still improve mesh quality through remeshing.
Remesh
For the remeshing we will use compas_cgal
. The underlying remeshing function in CGAL is documented here: https://doc.cgal.org/latest/Polygon_mesh_processing/index.html#title7
We will remesh in VS Code using the COMPAS viewer for visualisation, and again export the result to JSON to continue working with the remeshed triangulation in Rhino. The result is available for download at the bottom of this page.
Note that you could also do this directly from Rhino using the RPC cloud. However, the current procedure illustrates an alternative workflow using CPython directly in an editor outside of Rhino.
Last updated