Update ArchStairs.py

This commit is contained in:
three_d
2021-01-22 19:09:18 +01:00
committed by GitHub
parent fd5bb8b47b
commit 10ec3016ef

View File

@@ -1240,7 +1240,7 @@ class _Stairs(ArchComponent.Component):
resLength2 = th / math.tan(a)
lProfile.append(lProfile[-1].add(DraftVecUtils.scaleTo(vLength,-resLength)).add(Vector(0,0,-resHeight2)))
lProfile.append(lProfile[-1].add(DraftVecUtils.scaleTo(vLength,-resLength2)))
else
else:
lProfile.append(lProfile[-1].add(Vector(h.x,h.y,-resHeight2)))
lProfile.append(vBase)