Skip to content

Commit

Permalink
Modified: gen_nimble_conf_options.py, added if statement filtering al…
Browse files Browse the repository at this point in the history
…l but 6 in, rack sizes, preventing oversized models in rendering.
  • Loading branch information
kny5 committed Feb 19, 2025
1 parent ee55b23 commit fba438e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nimble_build_system/utils/gen_nimble_conf_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ def main():
if not shelf_available(device):
#If a shelf cannot be made for this item then skip it
continue

# Added If statement filtering only '6 in' Rack label items, for hot fixing big boxes render issues."
if device['Rack'] != '6 in':
# This avois placing Racks different by '6 in' in the devices.json
continue

item = {'value': device['ID'],
'name': device['Brand']+" "+device['Hardware']}
Expand Down

0 comments on commit fba438e

Please sign in to comment.