Subdivision of line though other intersecting lines

I am currently working on a diagrid structure using karamba 3d analysis. 

I am trying to subdivide my horizontal components by the geometry of the diagrid though the lines of the diagrid which intersect at the points in the attached image. The horizontal lines and the diagrid lines are 2 seperate lines.

I have tried shatter with no luck.

Hope somebody can help. Thanks!