Skip to content
Permalink
Browse files

Draft: Turn Draft BezCurves into faces when closed

  • Loading branch information...
yorikvanhavre committed Feb 24, 2014
1 parent 83caf9d commit 7b92e8fa8eff01ce02f87fb7c2f0e6f6dc37b6b3
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/Mod/Draft/Draft.py
@@ -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

0 comments on commit 7b92e8f

Please sign in to comment.
You can’t perform that action at this time.