HundM05-Testfall und DXF-Analyse-Skripte

- lib/dxf_scan_components.py: erkennt ILS-/Omniflo-Komponenten in fremden
  Projektzeichnungen und schreibt sie im Testdaten-JSON-Schema aus
- lib/dxf_abbild.py: getreue Abbildung der Bauteile einer Fremdzeichnung
  (Attribute, Weltkoordinaten, Unterkomponenten) ohne Interpretation
- tests/test_hundm05.{lsp,py}, testdata/hundm05.json, conftest-Fixtures und
  alltests.json-Eintrag fuer den Kreisel-Abschnitt aus ST500592_05.dxf
- menu: TEST_HUNDM05 im Testmenue, Connection_Insert/Edit in SSG_LIB.cui
- Doku: hartkodierte Pfade durch (getenv "DXFMAKRO") ersetzt

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-24 12:10:58 +02:00
parent e91608d7cc
commit 7242e815f8
15 changed files with 3112 additions and 63 deletions
+37 -7
View File
@@ -52,7 +52,7 @@
"function": "insert",
"block": "S-LP",
"x": 400,
"y": -3815,
"y": -4038,
"z": 1467,
"rotation": 90,
"assigned_to": "Kreisel_links"
@@ -62,7 +62,7 @@
"function": "insert",
"block": "Scanner",
"x": 400,
"y": -3925,
"y": -4083,
"z": 1467,
"rotation": 0,
"assigned_to": "Kreisel_links"
@@ -83,7 +83,7 @@
"block": "Scanner",
"x": 10310,
"y": -610,
"z": 1467,
"z": 1941,
"rotation": 0,
"assigned_to": "Kreisel_rechts"
},
@@ -264,13 +264,23 @@
"rotation": 180,
"assigned_to": "Kreisel_unten"
},
{
"comment": "Scanner unterer Kreisel",
"function": "insert",
"block": "Scanner",
"x": 1415,
"y": -5100,
"z": 1467,
"rotation": 270,
"assigned_to": "Kreisel_unten"
},
{
"comment": "Separator S-LP #11 Y-Abgleich mit Gefaellestrecken (Sep-Y=8777, GF_Mubea_04-Y=9126, diff=349mm, enger Treffer)",
"function": "insert",
"block": "S-LP",
"x": 9510,
"y": 13649,
"z": 1467,
"y": 14334,
"z": 1941,
"rotation": 270,
"assigned_to": "Kreisel_rechts"
},
@@ -293,13 +303,33 @@
"z": 1941,
"rotation": 90,
"assigned_to": "Kreisel_rechts"
},
{
"comment": "Separator Eingang 3 Rechter_Kreisel",
"function": "insert",
"block": "S-LP",
"x": 10310,
"y": -5073,
"z": 1941,
"rotation": 90,
"assigned_to": "Kreisel_rechts"
},
{
"comment": "",
"function": "insert",
"block": "S-LP",
"x": 8725,
"y": -4743,
"z": 1941,
"rotation": 180,
"assigned_to": "GF_Mubea"
},
{
"comment": "Separator S-LP #8 Y-Abgleich mit Gefaellestrecken (Sep-Y=-4823, GF_Mubea_20-Y=-3673, diff=1150mm, naechstgelegene Reihe, kein enger Treffer)",
"function": "insert",
"block": "S-LP",
"x": 9510,
"y": -3887,
"y": -3636,
"z": 1941,
"rotation": 270,
"assigned_to": "GF_Mubea_20"
@@ -309,7 +339,7 @@
"function": "insert",
"block": "Scanner",
"x": 9510,
"y": -3787,
"y": -3557,
"z": 1941,
"rotation": 0,
"assigned_to": "Kreisel_rechts"