Offset Curve

Offset Curve
Surface

Offset Curve.gh (19.0 KB)
Hello,
I would like to offset the individual fragments/curves. My problem is that some curves aren’t offsetted and some ends are closed instead of open. I have marked the problem areas in the image above. Does anyone have any advice for me? In the end, I only want to have surfaces of the triangular and square shapes (second picture).

for inset use clipper :



Offset Curve.gh (21.4 KB)