From 50d3354b18d3b63df766569100dec5015310d6ea Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Sat, 10 Mar 2018 18:50:56 -0300 Subject: [PATCH] Draft: Bugfix in SVG export --- src/Mod/Draft/Draft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Draft/Draft.py b/src/Mod/Draft/Draft.py index d1c4a5f4f7..ed7e5b4cec 100644 --- a/src/Mod/Draft/Draft.py +++ b/src/Mod/Draft/Draft.py @@ -1972,7 +1972,7 @@ def getSVG(obj,scale=1,linewidth=0.35,fontsize=12,fillstyle="shape color",direct drawing_plane_normal = FreeCAD.Vector(0,0,1) if plane: drawing_plane_normal = plane.axis c = e.Curve - if round(c.Axis.getAngle(drawing_plane_normal),2) == 0: + if round(c.Axis.getAngle(drawing_plane_normal),2) in [0,3.14]: occversion = Part.OCC_VERSION.split(".") done = False if (occversion[0] >= 7) and (occversion[1] >= 1):