Issues with offset

Hi all,
I am new to Grasshopper and currently trying to offset an irregular truss, but after the second or third repetition the geometry starts behaving in an odd way. Specifically, the number of divisions drastically increases in a section of the truss. I do not know if the issue is related to the sweep I also have on my script. Thanks in advance for the help!
Parametric (27.0 KB)


Your second offset is so far from the original curve that a sharp corner appears. This results in the sweep1 giving three surfaces instead of one, and therefore the division happens for each face and not across the whole Brep.

I’d suggest adding a fillet on the curve.

Parametric (29.0 KB)

1 Like