Building a Curve Boolean Tool for Testing In GrassHopper!

Hello Everyone!

I have been reviewing all of the forum posts related to creating Curve Booleans. I finally had a little time to do some testing and used the profiler to create some results.

I outlined 4 different results (with a handy little stream filter) and here’s the results:

0.You’ll see this is the only instance of mesh patch in the file. It is an interesting idea on how to work with sets of complex curves and is surprisingly fast. Even on large sets of lines! Mesh Join also works quickly, but using Make2D makes this the slowest option of the bunch.
740ms

  1. This option reminds me most of Rhino Native Curve Boolean (check it out in order to understand what I am working on creating!)

It catches zones where double overlaps create new regions.
Looks good, but a little complicated. Region Union is the slowest component here by far.
94ms
2. this is a segmented version of [1] and offers a lot of speed but with none of the zone detection. Basically a “meshoutline” option for grasshopper.
9ms
3. This one is a little inscrutable… it tries to define regions with sub meshes. Quick and future potential here! Always open to suggestions.
8ms

Thanks,

Elijah


CurveBooleanTool.gh (22.9 KB)

The mesh conversion it is not very great because it is losing accuracy. I do prefer longer execution time with higher accuracy.