[Draft]Additional modes for PathArray

This commit is contained in:
wandererfan
2020-05-16 12:46:59 -04:00
committed by WandererFan
parent bdfd0b10a7
commit a697c838fc
3 changed files with 168 additions and 92 deletions

View File

@@ -1235,7 +1235,6 @@ def getNormal(shape):
return None
return n
def getRotation(v1, v2=FreeCAD.Vector(0, 0, 1)):
"""Get the rotation Quaternion between 2 vectors."""
if (v1.dot(v2) > 0.999999) or (v1.dot(v2) < -0.999999):