How to rotate brep in box morph

Hi, I’ve got one simple question about box morph grasshopper. I’d like to rotate breps to make them pararell to lines (segments of curve I made).

Untitled
Untitled
mcneel.gh (18.8 KB)

I tried to list theese items and rotate them, relate breps with planes, no result.

@zsuetamikswolokos
You need to internalise the geometry from rhino otherwise the grasshopper script is useless as it can’t reference the geometry without the original rhino file.