Arch: Fixed louvre width/spacing property

This commit is contained in:
Yorik van Havre
2020-04-14 15:49:36 +02:00
parent 97c8eff825
commit 3eff81df35

View File

@@ -1226,7 +1226,7 @@ class _Window(ArchComponent.Component):
bb.enlarge(10)
step = obj.LouvreWidth.Value+obj.LouvreSpacing.Value
if step < bb.ZLength:
box = Part.makeBox(bb.XLength,bb.YLength,obj.LouvreWidth.Value)
box = Part.makeBox(bb.XLength,bb.YLength,obj.LouvreSpacing.Value)
boxes = []
for i in range(int(bb.ZLength/step)+1):
b = box.copy()