diff --git a/tests/test_test_system.lsp b/tests/test_test_system.lsp index 3e8bc1c..89cfa37 100644 --- a/tests/test_test_system.lsp +++ b/tests/test_test_system.lsp @@ -14,6 +14,11 @@ ;; dabei mehrmals neu bei 1 (vier KREISEL_1_*). dxf_anlage_export.py ;; vergibt fuer die Doppelten Kreisel_TestSystem_07..09 - die Nummern der ;; gebauten Zeichnung weichen also von der Vorlage ab. +;; - Die x-Werte sind NACH dem Rueckleser von Hand korrigiert: in der +;; Zeichnung lagen die Kreisel bis zu 5.5 mm daneben, jetzt beruehren sich +;; alle 8 Weichenpaare exakt (1-9, 9-8, 8-7, 7-2, 2-3, 3-4, 4-5, 5-6; +;; Kreisel 1 fest, Separatoren/BTMT mit ihrem Kreisel verschoben). Ein +;; erneuter Lauf von dxf_anlage_export.py macht das rueckgaengig. ;; ;; Zweck: Vorlage fuer sps_skel. Nachbau -> EXPORTCSV -> CSV, auf die dort ;; material_flow.py / tro_flow.py / scl_skeleton.py angewendet werden. diff --git a/tests/testdata/test_system.json b/tests/testdata/test_system.json index 1969ace..2fbfcc8 100644 --- a/tests/testdata/test_system.json +++ b/tests/testdata/test_system.json @@ -14,197 +14,197 @@ { "id": "Kreisel_TestSystem_02", "function": "insert", - "x": 4940.03, + "x": 4938.26, "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)" + "comment": "aus Zeichnung: KREISEL_2_STANDARD_4500 (ID 0033), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (-1.77)" }, { "id": "Kreisel_TestSystem_03", "function": "insert", - "x": 5739.13, + "x": 5738.26, "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)" + "comment": "aus Zeichnung: KREISEL_3_STANDARD_5296 (ID 0034), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (-0.87)" }, { "id": "Kreisel_TestSystem_04", "function": "insert", - "x": 6533.6, + "x": 6538.26, "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)" + "comment": "aus Zeichnung: KREISEL_4_STANDARD_7889 (ID 0035), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (+4.66)" }, { "id": "Kreisel_TestSystem_05", "function": "insert", - "x": 6133.6, + "x": 6138.26, "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)" + "comment": "aus Zeichnung: KREISEL_5_STANDARD_9784 (ID 0036), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (+4.66)" }, { "id": "Kreisel_TestSystem_06", "function": "insert", - "x": 6533.6, + "x": 6538.26, "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)" + "comment": "aus Zeichnung: KREISEL_6_STANDARD_3719 (ID 0037), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (+4.66)" }, { "id": "Kreisel_TestSystem_07", "function": "insert", - "x": 4940.59, + "x": 4938.26, "y": -2303.25, "z": 2000.0, "abstand": 2900.0, "rotation": 90.0, "typ": "STANDARD", "drehrichtung": "GUZ", - "comment": "aus Zeichnung: KREISEL_1_STANDARD_2900 (ID 0031), abstand aus Blockdefinition (AN8 -> SP8)" + "comment": "aus Zeichnung: KREISEL_1_STANDARD_2900 (ID 0031), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (-2.33)" }, { "id": "Kreisel_TestSystem_08", "function": "insert", - "x": 340.85, + "x": 338.26, "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)" + "comment": "aus Zeichnung: KREISEL_1_STANDARD_3400 (ID 0030), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (-2.59)" }, { "id": "Kreisel_TestSystem_09", "function": "insert", - "x": -61.76, + "x": -61.74, "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)" + "comment": "aus Zeichnung: KREISEL_1_STANDARD_4000 (ID 0032), abstand aus Blockdefinition (AN8 -> SP8), x auf exakte Beruehrung korrigiert (+0.02)" }, { "function": "insert", "block": "Separator_SP", - "x": -461.76, + "x": -461.74, "y": 1466.18, "z": 2000.0, "rotation": 90.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0015, ZUORDNUNG 0032, ARTINR 200000077)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0015, ZUORDNUNG 0032, ARTINR 200000077), x mit Kreisel 09 verschoben (+0.02)" }, { "function": "insert", "block": "Separator_SP", - "x": 1184.44, + "x": 1181.85, "y": 105.79, "z": 0.0, "rotation": 0.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0017, ZUORDNUNG 0030, ARTINR 200000077)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0017, ZUORDNUNG 0030, ARTINR 200000077), x mit Kreisel 08 verschoben (-2.59)" }, { "function": "insert", "block": "Separator_SP", - "x": 3759.38, + "x": 3756.79, "y": 905.79, "z": 2000.0, "rotation": 180.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0018, ZUORDNUNG 0030, ARTINR 200000077)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0018, ZUORDNUNG 0030, ARTINR 200000077), x mit Kreisel 08 verschoben (-2.59)" }, { "function": "insert", "block": "Separator_SP", - "x": 4540.59, + "x": 4538.26, "y": -1553.42, "z": 2000.0, "rotation": 90.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0019, ZUORDNUNG 0031, ARTINR 200000077)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0019, ZUORDNUNG 0031, ARTINR 200000077), x mit Kreisel 07 verschoben (-2.33)" }, { "function": "insert", "block": "Separator_SP", - "x": 4540.03, + "x": 4538.26, "y": -3109.7, "z": 2000.0, "rotation": 270.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0020, ZUORDNUNG 0033, ARTINR 200000077)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0020, ZUORDNUNG 0033, ARTINR 200000077), x mit Kreisel 02 verschoben (-1.77)" }, { "function": "insert", "block": "Separator_SP", - "x": 5340.03, + "x": 5338.26, "y": -6594.16, "z": 2000.0, "rotation": 90.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0021, ZUORDNUNG 0033, ARTINR 200000077)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0021, ZUORDNUNG 0033, ARTINR 200000077), x mit Kreisel 02 verschoben (-1.77)" }, { "function": "insert", "block": "Separator_SP", - "x": 6933.6, + "x": 6938.26, "y": -6678.18, "z": 2000.0, "rotation": 90.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0022, ZUORDNUNG 0035, ARTINR 200000077)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0022, ZUORDNUNG 0035, ARTINR 200000077), x mit Kreisel 04 verschoben (+4.66)" }, { "function": "insert", "block": "Separator_SP", - "x": 6133.6, + "x": 6138.26, "y": 362.53, "z": 2000.0, "rotation": 270.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0023, ZUORDNUNG 0035, ARTINR 200000077)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0023, ZUORDNUNG 0035, ARTINR 200000077), x mit Kreisel 04 verschoben (+4.66)" }, { "function": "insert", "block": "Separator_SP", - "x": 7089.23, + "x": 7093.89, "y": 1885.99, "z": 2000.0, "rotation": 0.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0024, ZUORDNUNG 0036, ARTINR 200000077)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0024, ZUORDNUNG 0036, ARTINR 200000077), x mit Kreisel 05 verschoben (+4.66)" }, { "function": "insert", "block": "Separator_SP", - "x": 6933.6, + "x": 6938.26, "y": 2848.54, "z": 2000.0, "rotation": 90.0, - "comment": "aus Zeichnung: Separator_SP_3D (ID 0025, ZUORDNUNG 0037, ARTINR 200000077)" + "comment": "aus Zeichnung: Separator_SP_3D (ID 0025, ZUORDNUNG 0037, ARTINR 200000077), x mit Kreisel 06 verschoben (+4.66)" }, { "function": "insert", "block": "BTMT-Beladung", - "x": 14617.77, + "x": 14622.43, "y": 1085.99, "z": 2000.0, "rotation": 0.0, - "comment": "aus Zeichnung: BTMT-Beladung_3D (ID 0026, ARTINR 829662012)" + "comment": "aus Zeichnung: BTMT-Beladung_3D (ID 0026, ARTINR 829662012), x mit Kreisel 05 verschoben (+4.66)" }, { "function": "insert",