Draft: Fixedbug in facebinder

This commit is contained in:
Yorik van Havre
2016-12-19 15:28:16 -02:00
parent 00a25d5998
commit 7ccb1cbf8a

View File

@@ -5799,6 +5799,9 @@ class _Facebinder(_DraftObject):
sh = sh.removeSplitter()
else:
sh = faces[0]
if hasattr(obj,"Extrusion"):
if obj.Extrusion.Value:
sh = sh.extrude(sh.normalAt(0,0).multiply(obj.Extrusion.Value))
sh.transformShape(sh.Matrix, True)
except Part.OCCError:
print("Draft: error building facebinder")