I’ve wrote two simple definitions to pull center lines from steel for both horizontal and vertical. I need to get center lines from the angled steel as well. I can’t remember how to sort a list and use it as a key to find the X,Y,Z of the area centroid that I’ve extracted.
Attached is my definition, the one grouped in red is for the angle def. Currently it’s the same as my horizontal.
Any help is appreciated.
Thanks
CenterLine_Extraction.gh (123.9 KB)
-Ryan