Draft: Turn Draft BezCurves into faces when closed

This commit is contained in:
Yorik van Havre
2014-02-24 10:56:00 -03:00
parent effedb5d1c
commit 9c262efd19

View File

@@ -4033,6 +4033,11 @@ class _BezCurve(_DraftObject):
edges.append(Part.Edge(c))
startpoint = segpoles[-1]
w = Part.Wire(edges)
if fp.Closed and w.isClosed():
try:
w = Part.Face(w)
except:
pass
fp.Shape = w
fp.Placement = plm