diff --git a/src/Mod/Draft/importDXF.py b/src/Mod/Draft/importDXF.py index 2564ccaaa977..5fc7b4bcba56 100644 --- a/src/Mod/Draft/importDXF.py +++ b/src/Mod/Draft/importDXF.py @@ -1506,6 +1506,8 @@ def getArcData(edge): a2 = -DraftVecUtils.angle(ve2.sub(ce)) if round(a1,Draft.precision()) == round(a2,Draft.precision()): return None,None, None, None + if edge.Curve.Axis.z < 0.0: + ang1, ang2 = ang2, ang1 pseudoarc = Part.ArcOfCircle(edge.Curve,a1,a2).toShape() if round(pseudoarc.Length,Draft.precision()) != round(edge.Length,Draft.precision()): ang1, ang2 = ang2, ang1 @@ -1833,4 +1835,4 @@ def exportPage(page,filename): dxfGetColors = p.GetBool("dxfGetOriginalColors",False) dxfUseDraftLayers = p.GetBool("dxfUseDraftLayers",False) dxfBrightBackground = isBrightBackground() -dxfDefaultColor = getColor() \ No newline at end of file +dxfDefaultColor = getColor()