[Arch] Fix bug at Arch.py : makeStairs & makeRailing (#14271)

Bug reported at:
https://github.com/FreeCAD/FreeCAD/issues/14262
This commit is contained in:
paul
2024-05-26 03:50:08 +08:00
committed by GitHub
parent 8543bd6595
commit 391e17bedc

View File

@@ -872,7 +872,7 @@ def makeRailing(stairs):
outlineLRAll = stair.OutlineRightAll
stairRailingLR = "RailingRight"
if outlineLR or outlineLRAll:
lrRail = Arch.makePipe(baseobj=None,diameter=0,length=0,placement=None,name=translate("Arch","Railing"))
lrRail = makePipe(baseobj=None,diameter=0,length=0,placement=None,name=translate("Arch","Railing"))
if outlineLRAll:
setattr(stair, stairRailingLR, lrRail)
break