1. Fixed typo in previous commit (item 3)
2. Added URL of discussion post / thread 3. Previous commit - Added Landing Depth Control to ArchStairs Discussion:- https://forum.freecadweb.org/viewtopic.php?f=23&t=29358#p240197 https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=70#p249409 https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=70#p249498
This commit is contained in:
@@ -267,7 +267,7 @@ class _Stairs(ArchComponent.Component):
|
||||
if obj.Base.Shape.BoundBox.ZLength:
|
||||
h = obj.Base.Shape.BoundBox.ZLength
|
||||
if obj.LandingDepth:
|
||||
obj.TreadDepth = float(l-(landings*obj.LandingDepthWidthWidth.Value))/(obj.NumberOfSteps-(1+landings))
|
||||
obj.TreadDepth = float(l-(landings*obj.LandingDepth.Value))/(obj.NumberOfSteps-(1+landings))
|
||||
else:
|
||||
obj.TreadDepth = float(l-(landings*obj.Width.Value))/(obj.NumberOfSteps-(1+landings))
|
||||
obj.RiserHeight = float(h)/obj.NumberOfSteps
|
||||
|
||||
Reference in New Issue
Block a user