I am trying to create a script that outputs regions from a boundary and a network of bidirectional curve offsets. I have almost solved it I think, but I don’t really know how to solve it for the case when we have closed curves. I’m thinking that is has to be some kind of combination between regionUnions and regionDifferences, but I can’t figure out how to do it so that it works in general.
I think that the definition and pictures can explain what it is I’m trying to do much better than words so I’ll just upload what I have. I would love some suggestions on how this can be approached. Feel free to ask questions if my explanation or something in the definition is unclear.
offset_lines_to_get_regions.gh (29.3 KB)