Splitting issue

CutPyramids.gh (13.8 KB)
I’m looking to trim the pyramids at a random length, with some being uncut. To do this I made a longer line to determine where they are cut, with the idea that a cutting plane beyond the pyramid would leave some pyramids uncut. However, my Brep | Plane component doesn’t seem to like that…

How can I make it so it doesn’t cause the intersection to fail?

CutPyramids_ME.gh (15.6 KB)


Ah, perfect thanks