From b6aa3d604c96ebf74e6e162d073b29aa06da86a2 Mon Sep 17 00:00:00 2001 From: Samer Ayadi Date: Thu, 15 Oct 2026 16:39:43 +0200 Subject: [PATCH] [FIX] test_system.json: Separator vor Weiche Kreisel 7 -> 8, Separator-Hoehe - Neuer Separator auf Kreisel_TestSystem_07 Bahn L vor der Weiche zu Kreisel_TestSystem_08 (aus results/export.csv, Separator 0022). Ohne ihn steuert niemand den Uebergang 7 -> 8, im TRO-Fluss von sps_skel war der Ausgang vom Eingang aus nicht erreichbar. - Separator auf Kreisel_TestSystem_08 Bahn R lag auf z=0 statt 2000 (Export: Hoehe 0). Co-Authored-By: Claude Opus 5.5 --- tests/test_test_system.lsp | 6 ++- tests/testdata/test_system.json | 89 ++++++++++++++++++--------------- 2 files changed, 54 insertions(+), 41 deletions(-) diff --git a/tests/test_test_system.lsp b/tests/test_test_system.lsp index 89cfa37..0470bfd 100644 --- a/tests/test_test_system.lsp +++ b/tests/test_test_system.lsp @@ -8,8 +8,12 @@ ;; C:/develop/sps_skel/data/test_system.dxf \ ;; tests/testdata/test_system.json --projekt TestSystem ;; -;; Inhalt: 9 Kreisel (STANDARD, Ebenen 0 / 2000 / 3000), 10 Separatoren, +;; Inhalt: 9 Kreisel (STANDARD, Ebenen 0 / 2000 / 3000), 11 Separatoren, ;; BTMT Beladung und SC Entladung - keine Gefaellestrecken, keine VF. +;; - Der 11. Separator (Kreisel_TestSystem_07 Bahn L, vor der Weiche zu +;; Kreisel_TestSystem_08) ist nachgetragen (2026-10-15): ohne ihn steuert +;; niemand den Uebergang 7 -> 8, im TRO-Fluss von sps_skel war der +;; Ausgang dann vom Eingang aus nicht erreichbar. ;; - Die Kreisel wurden in der Zeichnung einzeln gebaut, die Nummer begann ;; dabei mehrmals neu bei 1 (vier KREISEL_1_*). dxf_anlage_export.py ;; vergibt fuer die Doppelten Kreisel_TestSystem_07..09 - die Nummern der diff --git a/tests/testdata/test_system.json b/tests/testdata/test_system.json index 2fbfcc8..c6da3c7 100644 --- a/tests/testdata/test_system.json +++ b/tests/testdata/test_system.json @@ -14,197 +14,206 @@ { "id": "Kreisel_TestSystem_02", "function": "insert", - "x": 4938.26, + "x": 4940.03, "y": -7603.25, "z": 2000.0, "abstand": 4500.0, "rotation": 90.0, "typ": "STANDARD", "drehrichtung": "UZS", - "comment": "aus Zeichnung: KREISEL_2_STANDARD_4500 (ID 0033), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (-1.77)" + "comment": "aus Zeichnung: KREISEL_2_STANDARD_4500 (ID 0033), abstand aus Blockdefinition (AN8 -> SP8)" }, { "id": "Kreisel_TestSystem_03", "function": "insert", - "x": 5738.26, + "x": 5739.13, "y": -12898.65, "z": 2000.0, "abstand": 5295.71, "rotation": 90.0, "typ": "STANDARD", "drehrichtung": "GUZ", - "comment": "aus Zeichnung: KREISEL_3_STANDARD_5296 (ID 0034), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (-0.87)" + "comment": "aus Zeichnung: KREISEL_3_STANDARD_5296 (ID 0034), abstand aus Blockdefinition (AN8 -> SP8)" }, { "id": "Kreisel_TestSystem_04", "function": "insert", - "x": 6538.26, + "x": 6533.6, "y": -7603.44, "z": 2000.0, "abstand": 7889.42, "rotation": 90.0, "typ": "STANDARD", "drehrichtung": "UZS", - "comment": "aus Zeichnung: KREISEL_4_STANDARD_7889 (ID 0035), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (+4.66)" + "comment": "aus Zeichnung: KREISEL_4_STANDARD_7889 (ID 0035), abstand aus Blockdefinition (AN8 -> SP8)" }, { "id": "Kreisel_TestSystem_05", "function": "insert", - "x": 6138.26, + "x": 6133.6, "y": 1485.99, "z": 2000.0, "abstand": 9783.58, "rotation": 0.0, "typ": "STANDARD", "drehrichtung": "GUZ", - "comment": "aus Zeichnung: KREISEL_5_STANDARD_9784 (ID 0036), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (+4.66)" + "comment": "aus Zeichnung: KREISEL_5_STANDARD_9784 (ID 0036), abstand aus Blockdefinition (AN8 -> SP8)" }, { "id": "Kreisel_TestSystem_06", "function": "insert", - "x": 6538.26, + "x": 6533.6, "y": 1885.99, "z": 2000.0, "abstand": 3718.63, "rotation": 90.0, "typ": "STANDARD", "drehrichtung": "UZS", - "comment": "aus Zeichnung: KREISEL_6_STANDARD_3719 (ID 0037), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (+4.66)" + "comment": "aus Zeichnung: KREISEL_6_STANDARD_3719 (ID 0037), abstand aus Blockdefinition (AN8 -> SP8)" }, { "id": "Kreisel_TestSystem_07", "function": "insert", - "x": 4938.26, + "x": 4940.59, "y": -2303.25, "z": 2000.0, - "abstand": 2900.0, + "abstand": 4000.0, "rotation": 90.0, "typ": "STANDARD", "drehrichtung": "GUZ", - "comment": "aus Zeichnung: KREISEL_1_STANDARD_2900 (ID 0031), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (-2.33)" + "comment": "aus Zeichnung: KREISEL_1_STANDARD_2900 (ID 0031), abstand aus Blockdefinition (AN8 -> SP8)" }, { "id": "Kreisel_TestSystem_08", "function": "insert", - "x": 338.26, + "x": 340.85, "y": 505.79, "z": 2000.0, "abstand": 3400.0, "rotation": 0.0, "typ": "STANDARD", "drehrichtung": "UZS", - "comment": "aus Zeichnung: KREISEL_1_STANDARD_3400 (ID 0030), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (-2.59)" + "comment": "aus Zeichnung: KREISEL_1_STANDARD_3400 (ID 0030), abstand aus Blockdefinition (AN8 -> SP8)" }, { "id": "Kreisel_TestSystem_09", "function": "insert", - "x": -61.74, + "x": -61.76, "y": -974.08, "z": 2000.0, "abstand": 4000.0, "rotation": 90.0, "typ": "STANDARD", "drehrichtung": "GUZ", - "comment": "aus Zeichnung: KREISEL_1_STANDARD_4000 (ID 0032), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (+0.02)" + "comment": "aus Zeichnung: KREISEL_1_STANDARD_4000 (ID 0032), abstand aus Blockdefinition (AN8 -> SP8)" }, { "function": "insert", "block": "Separator_SP", - "x": -461.74, + "x": -461.76, "y": 1466.18, "z": 2000.0, "rotation": 90.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0015, ZUORDNUNG 0032, ARTINR 200000077), x mit Kreisel 09 verschoben (+0.02)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0015, ZUORDNUNG 0032, ARTINR 200000077)" }, { "function": "insert", "block": "Separator_SP", - "x": 1181.85, + "x": 1184.44, "y": 105.79, - "z": 0.0, + "z": 2000.0, "rotation": 0.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0017, ZUORDNUNG 0030, ARTINR 200000077), x mit Kreisel 08 verschoben (-2.59)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0017, ZUORDNUNG 0030, ARTINR 200000077)" }, { "function": "insert", "block": "Separator_SP", - "x": 3756.79, + "x": 3759.38, "y": 905.79, "z": 2000.0, "rotation": 180.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0018, ZUORDNUNG 0030, ARTINR 200000077), x mit Kreisel 08 verschoben (-2.59)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0018, ZUORDNUNG 0030, ARTINR 200000077)" }, { "function": "insert", "block": "Separator_SP", - "x": 4538.26, + "x": 4540.59, "y": -1553.42, "z": 2000.0, "rotation": 90.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0019, ZUORDNUNG 0031, ARTINR 200000077), x mit Kreisel 07 verschoben (-2.33)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0019, ZUORDNUNG 0031, ARTINR 200000077)" }, { "function": "insert", "block": "Separator_SP", - "x": 4538.26, + "x": 4540.03, "y": -3109.7, "z": 2000.0, "rotation": 270.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0020, ZUORDNUNG 0033, ARTINR 200000077), x mit Kreisel 02 verschoben (-1.77)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0020, ZUORDNUNG 0033, ARTINR 200000077)" }, { "function": "insert", "block": "Separator_SP", - "x": 5338.26, + "x": 5340.03, "y": -6594.16, "z": 2000.0, "rotation": 90.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0021, ZUORDNUNG 0033, ARTINR 200000077), x mit Kreisel 02 verschoben (-1.77)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0021, ZUORDNUNG 0033, ARTINR 200000077)" }, { "function": "insert", "block": "Separator_SP", - "x": 6938.26, + "x": 6933.6, "y": -6678.18, "z": 2000.0, "rotation": 90.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0022, ZUORDNUNG 0035, ARTINR 200000077), x mit Kreisel 04 verschoben (+4.66)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0022, ZUORDNUNG 0035, ARTINR 200000077)" }, { "function": "insert", "block": "Separator_SP", - "x": 6138.26, + "x": 6133.6, "y": 362.53, "z": 2000.0, "rotation": 270.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0023, ZUORDNUNG 0035, ARTINR 200000077), x mit Kreisel 04 verschoben (+4.66)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0023, ZUORDNUNG 0035, ARTINR 200000077)" }, { "function": "insert", "block": "Separator_SP", - "x": 7093.89, + "x": 7089.23, "y": 1885.99, "z": 2000.0, "rotation": 0.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0024, ZUORDNUNG 0036, ARTINR 200000077), x mit Kreisel 05 verschoben (+4.66)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0024, ZUORDNUNG 0036, ARTINR 200000077)" }, { "function": "insert", "block": "Separator_SP", - "x": 6938.26, + "x": 6933.6, "y": 2848.54, "z": 2000.0, "rotation": 90.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0025, ZUORDNUNG 0037, ARTINR 200000077), x mit Kreisel 06 verschoben (+4.66)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0025, ZUORDNUNG 0037, ARTINR 200000077)" + }, + { + "function": "insert", + "block": "Separator_SP", + "x": 4540.59, + "y": 1198.06, + "z": 2000.0, + "rotation": 90.0, + "comment": "nachgetragen aus results/export.csv (2026-10-15, Separator 0022, ZUORDNUNG Kreisel 7 Bahn L): steuert die Weiche Kreisel 7 -> Kreisel 8, ohne ihn ist der Ausgang vom Eingang aus nicht erreichbar" }, { "function": "insert", "block": "BTMT-Beladung", - "x": 14622.43, + "x": 14617.77, "y": 1085.99, "z": 2000.0, "rotation": 0.0, - "comment": "aus Zeichnung: BTMT-Beladung_3D (ID 0026, ARTINR 829662012), x mit Kreisel 05 verschoben (+4.66)" + "comment": "aus Zeichnung: BTMT-Beladung_3D (ID 0026, ARTINR 829662012)" }, { "function": "insert",