Skip to content

Commit

Permalink
Draft: Turn Draft BezCurves into faces when closed
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Feb 24, 2014
1 parent 83caf9d commit 7b92e8f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Mod/Draft/Draft.py
Expand Up @@ -4033,6 +4033,11 @@ def createGeometry(self,fp):
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

Expand Down

0 comments on commit 7b92e8f

Please sign in to comment.