Offset lines belonging to the same boundary

Hey gang,

Looking for some help with offsetting lines belonging to the same boundary, individually, before joining them again.

I have 6 rectangles here, essentially functioning as building plots. And im looking to introduce an offset parameter for the inner lines, and another offset parameter for the outer lines. The end goal is to then join the lines belonging to its respective groups to form a new outline

Hope that makes sense. Appreciate any help or advice.



offset issue.gh (10.2 KB)