BIM: add docstrings to Arch.py

Closes #18560
This commit is contained in:
luzpaz
2024-12-17 07:13:41 -05:00
committed by Yorik van Havre
parent d507cf3453
commit 82c7d013fb

View File

@@ -798,6 +798,7 @@ def makeStairs(baseobj=None,length=None,width=None,height=None,steps=None,name=N
label = name if name else translate("Arch","Stairs")
def setProperty(obj,length,width,height,steps):
"""setProperty(obj,length,width,height,steps): sets up the basic properties for this stair"""
if length:
obj.Length = length
else:
@@ -890,6 +891,7 @@ def makeRailing(stairs):
import ArchPipe
def makeRailingLorR(stairs,side="L"):
"""makeRailingLorR(stairs,side="L"): Creates a railing on the given side of the stairs, L or R"""
for stair in reversed(stairs):
if side == "L":
outlineLR = stair.OutlineLeft