Initial work, only text (no lines)

This commit is contained in:
George Shuklin
2018-10-22 23:48:28 +03:00
committed by Yorik van Havre
parent 76590be8ac
commit 3391a5ea4b
2 changed files with 13 additions and 1 deletions

View File

@@ -174,7 +174,7 @@ def getSVG(section, renderMode="Wireframe", allOn=False, showHidden=False, scale
for o in objs:
if Draft.getType(o) == "Space":
spaces.append(o)
elif Draft.getType(o) in ["Dimension","Annotation"]:
elif Draft.getType(o) in ["Dimension","Annotation","Label"]:
drafts.append(o)
elif o.isDerivedFrom("Part::Part2DObject"):
drafts.append(o)