Clipper2 & Wizard addons

Two new Grasshopper Addons are available.

Clipper2: Clipper2GH | Food4Rhino


Wizard: Wizard | Food4Rhino

6 Likes

Hi @Seghier_Khaled , thanks for making this available!

Do you know why the polyline offset Clipper.v1 computes faster than Clipper.v2?

Hi @crz_06
I need to test your curve, the precision is 4 by default which make the offset more precise and closer to Grasshopper offset

not behind my computer now, but the polylines I used are simple. Just rectangles or hexagons. The MiterLimit is set to 2 for both components

I used the same settings

see attached file. in my case 1.3 vs 1.7s. computation time in favor of v1
clipper_compare.gh (1.4 MB)

I see.
JoinType and EndType in Clipper2 component are not the same as Clipper1.
In your file you used Miter = 2 which is Round in Clipper2
and Butt = 2 which is Square in Clipper2
And the precision in Clipper2 is 4 by default which give more precise result , you can reduce it to 3 or 2

clipper_compare2.gh (1.4 MB)

a small oversight. thanks for having a look.