Skip rebar shape to be subtracted from structure

To fix issue:
https://github.com/amrit3701/FreeCAD-Reinforcement/issues/81

And it eventually will fix issue of this thread:
https://forum.freecadweb.org/viewtopic.php?f=23&t=49481
This commit is contained in:
SurajDadral
2020-08-28 21:37:29 +05:30
committed by Yorik van Havre
parent 8195f5fdfe
commit 86cc32ee06

View File

@@ -758,7 +758,7 @@ class Component(ArchIFC.IfcProduct):
for host in link.Hosts:
if host == obj:
subs.append(link)
elif hasattr(link,"Host"):
elif hasattr(link,"Host") and Draft.getType(link) != "Rebar":
if link.Host == obj:
subs.append(link)
for o in subs: