From 86cc32ee06d2faead064d5df4b5df704a4697939 Mon Sep 17 00:00:00 2001 From: SurajDadral Date: Fri, 28 Aug 2020 21:37:29 +0530 Subject: [PATCH] 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 --- src/Mod/Arch/ArchComponent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Arch/ArchComponent.py b/src/Mod/Arch/ArchComponent.py index 019aaa363b..7fe92c1b7e 100644 --- a/src/Mod/Arch/ArchComponent.py +++ b/src/Mod/Arch/ArchComponent.py @@ -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: