I'm sure many of you have encountered where you have polygons that are non-planar, to some they wouldn't care. Moving those polygons along an axis will deform the object, not a desired method. Usually those polygons will simply require slight movement; doing this manually causes a domino effect whereas other polygons…
There must be a method to which the angle of the polygon(s) are stored then simply evened out to be non-planar, even if that means the polygon(s) are moved extremely subtle ?
If I average based on a axis, the angle you see in the image is lost; no desired. If the vertices for the polygon, or polygons can be stored then averaged based on the vertices world position ?
I want the script to read the polygon average as it is when selected and average all the polygons selected based on faces selected average. Instead of as your script and others, which is averaging based on an axis.
Look at Kodde video; in the video there is curved geometry. If there is a edge loop around one of the peaks of the curves; I want to average all the polygons in the loop, that doesn't mean, I want to average them based on an X, Y or Z axes I want to average them based on the polygons individual angle.