Skip to content

Commit

Permalink
BIM: add docstrings to Arch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
luzpaz authored and yorikvanhavre committed Dec 17, 2024
1 parent d507cf3 commit 82c7d01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/BIM/Arch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 82c7d01

Please sign in to comment.