Script to arrange all blocks in a Rhino model in a row

Hello all! SO I have a model here I have about 275 pieces of an extrusion cut at specific lengths and at specific angles. They exist in a variety of random angles in the model. I am trying to write a grasshopper script or use an existing python script to automatically grab each one, and place it in an array. In other words all the pieces would be in a row, prehaps 12" apart, so I ca quickly made drawings showing their length and mitre. Does anyone have an existing script that would grab all blocks in a model, and arrange them in a linear array?
thank you


I’d recommend a combination plugins: use either Human or Elefront to deal with the blocks and OpenNest to ‘stack’ the geometry.