@rhino16 , @paul.metzger
here a new version, I make many modifications. So I will be happy to know if it works with your curves.
Tolerance is used to transform curves in Polylines. Curves must be on XY plane.
I use here some code from this discussion from @PeterFotiadis and @RadovanG
If we’re going for pure performance… Here’s a shot using Impala to speed parts of it up. First finding the neighborhood of all nearby curves (curves with a centrepoint within the ‘radius’ of the largest point in the set) and then doing containment testing. All of this is parallel and comes out to just over a hundred milliseconds all told… it’s the boundary surfacing to preview at the end that takes the time
[31] [51]
curveInCurve_2.gh (100.3 KB)
it tooks ~30 s to compute for 768 roofs.
There are some holes in some type of roof.
Cap Hole must heal that.
6 Likes