mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-29 00:03:17 +00:00
Fix miscalculated stair lengths in some cases (f52aafd)
`get_active_stair_calculated_params` wasn't updated when zero tread runs support was added and it's still was relying on a convention that `0.0` custom tread run = no custom tread run.
This commit is contained in:
@@ -160,7 +160,7 @@ class TestStairCalculatedParams(NewFile):
|
||||
"number_of_treads": 3,
|
||||
"height": 1.0,
|
||||
"tread_run": 0.3,
|
||||
"custom_first_last_tread_run": (0.0, 0.0),
|
||||
"custom_first_last_tread_run": (None, None),
|
||||
"nosing_length": 0.0,
|
||||
}
|
||||
calculated_data_base = {
|
||||
|
||||
Reference in New Issue
Block a user