Arch: Fix Arch_Wall: block joints where put on the wrong side of offset

In the execute method block joints were put on the wrong side of the offset which lead to the first block in each row being larger than intended.
This commit is contained in:
Roy-043
2021-07-07 18:54:34 +02:00
committed by GitHub
parent c0efc7fa32
commit e80a21a26a

View File

@@ -858,7 +858,7 @@ class _Wall(ArchComponent.Component):
p2 = edge.valueAt(offset).add(p.negative())
sh = Part.LineSegment(p1,p2).toShape()
if obj.Joint.Value:
sh = sh.extrude(t.multiply(obj.Joint.Value))
sh = sh.extrude(-t.multiply(obj.Joint.Value))
sh = sh.extrude(n)
if i == 0:
cuts1.append(sh)