Merge pull request #121 from wood-galaxy/arch-roof-3

Arch Roof : Fix BOPCheck failed
This commit is contained in:
Yorik van Havre 2016-03-17 20:49:37 -03:00
commit cf713cf2a1

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 :