Toleranzen für Sensor und Kabelpritschen aus der Config holen

This commit is contained in:
2025-05-26 19:31:30 +02:00
parent 4100eba906
commit 84449d1092
2 changed files with 14 additions and 17 deletions
+5
View File
@@ -140,6 +140,11 @@ if __name__ == "__main__":
rawdata = load_json(sensors_path)
(racks, sensors, subdists, mapping) = prepare_data(rawdata)
config = configparser.ConfigParser(allow_no_value=True, delimiters=("="))
config.optionxform = lambda option: option # preserve case for letters
config.read(os.path.join(config_dir, "routing.cfg"))
# virtuelle Anlage erstellen
cable_paths = create_plant(racks, sensors, subdists, mapping)
if args.console: