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 e6f0346521
commit 010121d8c1

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 :