Hi all.
I do need to select all the connected surfaces connected to the biggest surface and unroll them together to form a single unrolled shape and I can’t find a proper algorithm to achieve this. I can select the biggest surface by measuring the areas of each surface but I can’t find a way to select also the “connected” surfaces on the sides of the main one. Any help will be appreciated.
Not the unrolling is the issue but finding the neighbor surfaces until the sharp corners and treating them all together like one shape for unrolling. In this example are three connected surfaces but in other projects can be more than tree.
Good algorithm but it assumes that the surfaces will be oriented in a certain way which won’t be the case. I do found a better one using the help of ChatGPT and the “Unroll Polysurface“ from Pufferfish.