From 94572338233bc367b66daa7ae28772b929fa6ab4 Mon Sep 17 00:00:00 2001 From: Frank Severinsen Date: Wed, 12 Jun 2019 21:13:44 +0200 Subject: [PATCH] Fix SVG export issue Related forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=36840 --- src/Mod/Draft/getSVG.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Draft/getSVG.py b/src/Mod/Draft/getSVG.py index 43589c0631..6166d54ad1 100644 --- a/src/Mod/Draft/getSVG.py +++ b/src/Mod/Draft/getSVG.py @@ -271,7 +271,7 @@ def getSVG(obj,scale=1,linewidth=0.35,fontsize=12,fillstyle="shape color",direct else: drawing_plane_normal = FreeCAD.Vector(0,0,1) if plane: drawing_plane_normal = plane.axis - if round(edge.Curve.Axis.getAngle(drawing_plane_normal),2) == 0: + if round(edge.Curve.Axis.getAngle(drawing_plane_normal),2) in [0, 3.14]: # perpendicular projection: circle svg = '