I am currently working on the structure of a sailboat, and to do so I need to split my boat into many panels. For each panel, I need to extract the surface centroid as well as the lengths of its four edges.
I’m trying to automate this data extraction using Grasshopper to make the process easier. However, the issue is that some of my panels are polysurfaces made of 1 to 3 surfaces.
At the moment, I can successfully get the centroid of the polysurface, but when it comes to the dimensions, Grasshopper returns 6 edge lengths, which correspond to this:
Hello, this is also my first time using Grasshopper and I have the same problem, but for me the unnecessary edge is in the middle (my polysurfaces are below if you want to see). How can the Grasshopper be adapted to my problem? Thank you in advance for your response!