Connecting Lattice Structures with Nuts and Bolts

Hi everyone,

I created a lattice structure that consists of four different chunks. I want to connect these chuncks with screws from the edge midpoints. I need to find the midpoints of the pipes on the edges and create holes for screws. If it is possible, can you help me, please?

Thanks in advance,
anticlastic partition[sample].gh (9.9 MB)