From f3d2d0928c0591e2e72cafd0b710b292d07af0d9 Mon Sep 17 00:00:00 2001 From: Sebastian Hoogen Date: Wed, 15 Oct 2014 14:54:02 +0200 Subject: [PATCH] issue #1788 SVG output of trimmed curves --- 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 abdc2f9b64..d3c8dec845 100644 --- a/src/Mod/Draft/Draft.py +++ b/src/Mod/Draft/Draft.py @@ -1765,7 +1765,7 @@ def getSVG(obj,scale=1,linewidth=0.35,fontsize=12,fillstyle="shape color",direct v = getProj(e.Vertexes[-1].Point) svg += 'L '+ str(v.x) +' '+ str(v.y) + ' ' else: - bspline=e.Curve.toBSpline() + bspline=e.Curve.toBSpline(e.FirstParameter,e.LastParameter) if bspline.Degree > 3 or bspline.isRational(): try: bspline=bspline.approximateBSpline(0.05,20, 3,'C0')