From bd4f4a5765a385b340b4a588361dfdda58ac6e05 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Thu, 25 Apr 2019 18:00:36 -0300 Subject: [PATCH] Arch: Fixed wrong wall blocks when wall has an offset --- src/Mod/Arch/ArchWall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Arch/ArchWall.py b/src/Mod/Arch/ArchWall.py index b757e33a6f..7d581adfbd 100644 --- a/src/Mod/Arch/ArchWall.py +++ b/src/Mod/Arch/ArchWall.py @@ -622,7 +622,7 @@ class _Wall(ArchComponent.Component): if offset: t = edge.tangentAt(offset) p = t.cross(n) - p.multiply(1.1*obj.Width.Value) + p.multiply(1.1*obj.Width.Value+obj.Offset.Value) p1 = edge.valueAt(offset).add(p) p2 = edge.valueAt(offset).add(p.negative()) sh = Part.LineSegment(p1,p2).toShape()