mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
Add stair calculated parameter Pitch
This commit is contained in:
committed by
Dion Moult
parent
eb96858460
commit
b81e03d9c2
@@ -977,6 +977,7 @@ class Model(blenderbim.core.tool.Model):
|
||||
if nosing_length < 0: # tread gaps
|
||||
length += abs(nosing_length) * number_of_treads
|
||||
calculated_params["Length"] = round(length, 5)
|
||||
calculated_params["Pitch"] = round(height/length, 5)
|
||||
|
||||
return calculated_params
|
||||
|
||||
|
||||
Reference in New Issue
Block a user