Arch Roof : Fix BOPCheck failed

cf http://forum.freecadweb.org/viewtopic.php?f=23&t=14711
This commit is contained in:
Jonathan Wiedemann
2016-03-17 23:24:17 +01:00
parent cd032826ab
commit 75c71d654f

View File

@@ -565,7 +565,9 @@ class _Roof(ArchComponent.Component):
if not DraftGeomUtils.isNull(pl):
self.sub.Placement = pl
## BaseVolume
base = Part.makeCompound(self.shps)
base = self.shps.pop()
for s in self.shps :
base = base.fuse(s)
base = self.processSubShapes(obj,base)
self.applyShape(obj,base,pl)
elif base :