Draft: get_svg: loose edges in obj with faces also received a fill (#9695)

This commit is contained in:
Roy-043
2023-05-30 08:13:47 +02:00
committed by GitHub
parent 4a90f6e386
commit ad0c41a60e

View File

@@ -859,6 +859,7 @@ def get_svg(obj,
pathname='%s_w%04d' % (obj.Name, i))
wiredEdges.extend(w.Edges)
if len(wiredEdges) != len(obj.Shape.Edges):
fill = 'none' # Required if obj has a face. Edges processed here have no face.
for i, e in enumerate(obj.Shape.Edges):
if DraftGeomUtils.findEdge(e, wiredEdges) is None:
svg += get_path(obj, plane,