Help cleaning up overlaps at duplicated hourglass modules

Hi everyone,

I’m building a repeating “hourglass” module in Grasshopper. Each module looks fine on its own, but when I stack them along the Y-axis, I get overlaps at the joints: the top bar of one module and the bottom bar of the next one and create messy geometry.

I’d like the modules to align perfectly edge-to-edge without any overlaps, just one clean line at the joint. Does anyone know any solution to this?

Thank you in advance!

trial.gh (25.3 KB)

I’ll try this setting.

trial a.gh (45.7 KB)

Thank you for your help!