Skip to content

Commit

Permalink
Skip rebar shape to be subtracted from structure
Browse files Browse the repository at this point in the history
To fix issue:
amrit3701/FreeCAD-Reinforcement#81

And it eventually will fix issue of this thread:
https://forum.freecadweb.org/viewtopic.php?f=23&t=49481
  • Loading branch information
SurajDadral authored and yorikvanhavre committed Sep 9, 2020
1 parent 5cf799d commit e311471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Arch/ArchComponent.py
Expand Up @@ -758,7 +758,7 @@ def processSubShapes(self,obj,base,placement=None):
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:
Expand Down

0 comments on commit e311471

Please sign in to comment.