Split List of triangular mosaic faces into 3 separate lists

Hello!

I’m new at grasshopper and was having trouble with this particular situation.

My goal is to split a list of faces of a pyramidal array into 3 separate lists which will then be used to extrude lines from those respective surface normals. This is because I will be making this model in real life where zipties will connect the pyramids at the marked points and the overhang will extrude in either three directions: up-right (green), down-right(yellow), and downward (blue)

My issue is that each face is at a weird index which makes it hard to split and I’ll have to do it across a large amount of these pyramids and I’m not familiar with tree data management

(top right portion in the file, in a section away from the image sampling)

Pyramidal Base.3dm (67.6 KB)

Pyramidal Base.gh (402.9 KB)

it would be best, to not destroy the datatree in the first place. flattening the datatree deletes inormation you could use

Pyramidal Base_notFlattend_jvs01.gh (424.6 KB)