From 5d211d87049f8dff90e12eace8c4d3f2684a90a1 Mon Sep 17 00:00:00 2001 From: wandererfan Date: Sat, 13 Apr 2019 08:40:42 -0400 Subject: [PATCH] Fix Draft.getSVG for TechDraw DraftView --- src/Mod/Draft/getSVG.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Mod/Draft/getSVG.py b/src/Mod/Draft/getSVG.py index e4fe69b098..2f9b802c53 100644 --- a/src/Mod/Draft/getSVG.py +++ b/src/Mod/Draft/getSVG.py @@ -177,11 +177,10 @@ def getSVG(obj,scale=1,linewidth=0.35,fontsize=12,fillstyle="shape color",direct elif len(e.Vertexes) == 1 and isellipse: #svg = getEllipse(e) #return svg - endpoints = (getProj(c.value((c.LastParameter-\ - c.FirstParameter)/2.0), plane), \ - getProj(vs[-1].Point, plane)) + endpoints = [getProj(c.value((c.LastParameter-c.FirstParameter)/2.0), plane), + getProj(vs[-1].Point, plane)] else: - endpoints = (getProj(vs[-1].Point), plane) + endpoints = [getProj(vs[-1].Point, plane)] # arc if iscircle: rx = ry = c.Radius