Trim intersecting lines

Hi there! I am trying to trim these excess lines that occur when I offset a geometry. I want for all of the lines to be stay separate. I have attached the script and internalized the original curve; however, the base geometry is intended to be interchangeable. Thanks


for forum_SG.gh (5.0 KB)

for forum_SG Edited V0.gh (13.0 KB)

2 Likes

Thanks works perfectly!