again i am struggling with some script and was wondering if you could help lead me into the right direction.
I created several curves around objects and want to create planar surfaces from those curves and then choose the surface with the smallest area for each object. This task leads me to two question.
If i use the “BoundarySrf”-component on the curves i dont get the same number of surfaces as curves. (For some curves the surface between those curves and not between “itself” is created). However if i flatten the curves, before the creating of the surfaces, it works fine.
As a result of the flattening, the seperation into several branches is gone and i only get the absolut smallest surface (and not the smallest surface for each object). To resolve that issue i would need to seperate the created surfaces into the same trees that my curves were using.
I hope i could describe my problem properly. Any advice is appreciated.
Körper-Frage.gh (35.0 KB)