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 83caf9d67b
commit 7b92e8fa8e

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