BIM: Fix calculation of wall blocks

At the corners of the base wire the joint width was wrongly added.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=89504
This commit is contained in:
Roy-043
2024-07-31 19:16:47 +02:00
committed by Yorik van Havre
parent 4e2a6a68d9
commit 1979f47714

View File

@@ -351,7 +351,7 @@ class _Wall(ArchComponent.Component):
else:
cuts2.append(sh)
offset += (obj.BlockLength.Value + obj.Joint.Value)
offset -= (edge.Length - obj.Joint.Value)
offset -= edge.Length
if isinstance(bplates,list):
bplates = bplates[0]