Creating boundary surfaces from non-closed line groups

I have a list of lines grouped by their plane and proximity, however they have a very small gaps between them. Does anybody have a method to make surfaces from these groups?

File: Frames.gh (45.0 KB)


Frames_re.gh (55.0 KB)

This solution nearly works, but I don’t think sort by a circle is the best way to do it. You can get errors like this:

This is my quick and dirty solution, but not satisfied with how it is done. I think it has potenial to break in the future with different inputs


There are even some weird lines that don’t align with adjacent lines. It would be a good idea that whatever sources these lines came from, some sort of cleaning up is needed in the first place…

1 Like