I am trying to use the technique described here Python: Calculate angle between vertices to determine the angles between a list of vertices that is sorted left to right on the x axis
mylen2 = len(vertices)
if(mylen2 > 1):
a1 = vertices[mylen2-1].co.angle(vertices[mylen2-2].co)
if a1 > pi * 0.5:
a1 = pi - a1
print("{:.2f} degrees".format(degrees(a1)))
My output looks like this:
but my vertices are like this:
I can't imagine these angles are all less than 10 degrees especially since many appear to be on a 45 degree angle.
How can I correctly find the angles for a list of vertices in degrees?