bugfix in dxf output of arc

regression created by 099ece5c00
This commit is contained in:
Sebastian Hoogen
2015-01-10 12:09:00 -02:00
committed by Yorik van Havre
parent 9ce08e7596
commit ff8ad03aa3
+3
View File
@@ -1357,6 +1357,9 @@ def getArcData(edge):
ang1,ang2=edge.ParameterRange
else:
ang2,ang1=edge.ParameterRange
if edge.Curve.XAxis != FreeCAD.Vector(1,0,0):
ang1 -= DraftVecUtils.angle(edge.Curve.XAxis)
ang2 -= DraftVecUtils.angle(edge.Curve.XAxis)
return DraftVecUtils.tup(ce), radius, math.degrees(ang1),\
math.degrees(ang2)