I have 5 meshes that I want to move like the example below. Meshes are generated using ladybug but the monthly chart component does not allow me to stack data, so I’d like some help reconstructing the chart please.
Each mesh consists of 12 bars, and they all start from the same y-coordinate. I need to somehow deconstruct the meshes, without altering their dimensions, so that I can move each bar up vertically so they each sit on top of each other, how would I approach this efficiently?
thanks,
I’m thinking of Disjoint Mesh
component, then you can graft all of these to create a data tree with 5 single meshes in each branch.
From there, compute the height of each mesh, use Mass Addition
to compute the Y-movements you need to apply, move the pieces and finally Mesh Join
.
Bars.gh (13.7 KB)
1 Like
Thanks a lot for getting back to me! I spent all day trying to work out why I couldn’t apply your solution to my meshes only to find that the difference was with the origins. So instead of using the y-coordinate, I applied the same method to find the length and used that as the distance.
1 Like
That awful Flatten + Partition List in the middle should be a Trim Tree to keep things clean, but otherwise nice workaround.
Next time, consider uploading a GH file on the forum, so the community can help you on a real dataset !
Happy New Year 
1 Like
Thank you for the advice, will do next time! Happy New Year! 