I’m writing a plugin that should unroll sheet metal part (closed polysurface) by mid-surface.
Mid-surface is located at half thickness of the part and I need to create this surface somehow.
I have an idea to create it by offsetting the largest surface within polysurface for half of the thickness.
Each side of my part is a single surface, so the largest surface is an outside “shell”
I came to the point where I need to implement the offset command on this surface but I don’t know how to “tell it” exactly on which side I need the offset.
I’m working in python