[CHANGE] Batch-Wrapper fuer dxf_anlage_export.py, dxf_scan_components.py, dxf_vf_abbild.py

Drei neue bin/*.bat nach dem bestehenden Pass-Through-Muster (setenv.bat + python ... %*, siehe set_einfuegepunkt.bat/dbg2lsp.bat), damit diese lib/-Skripte wie die uebrigen Python-Kommandozeilen bequem ueber bin/ aufrufbar sind. doc/kommandos.md Abschnitt 3 ergaenzt.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-10-09 10:47:23 +02:00
parent aaf47ab3c1
commit b0322a4f3c
4 changed files with 44 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
@echo off
REM ================================================================
REM Mit unseren Makros gebaute (und von Hand nachbearbeitete) Anlage
REM aus einer Zeichnung in Nachbau-Testdaten zurueckschreiben.
REM Siehe doc/kommandos.md, doc/json-input-lisp.md.
REM
REM Aufruf:
REM bin\dxf_anlage_export.bat <dxf> <output.json> [--projekt NAME]
REM ================================================================
call "%~dp0setenv.bat"
python "%DXFM_LIB%\dxf_anlage_export.py" %*
+14
View File
@@ -0,0 +1,14 @@
@echo off
REM ================================================================
REM Erkennt ILS-/Omniflo-Komponenten in einer FREMDEN Projektzeichnung
REM (ohne unsere Wrapper-Bloecke) und schreibt sie als Nachbau-JSON.
REM Siehe doc/kommandos.md, doc/json-input-lisp.md.
REM
REM Aufruf:
REM bin\dxf_scan_components.bat <dxf> <data_dir> <output.json>
REM [--fenster X0 Y0 X1 Y1] [--projekt NAME]
REM ================================================================
call "%~dp0setenv.bat"
python "%DXFM_LIB%\dxf_scan_components.py" %*
+14
View File
@@ -0,0 +1,14 @@
@echo off
REM ================================================================
REM Attribut-/Bausteinabbild der VF_/GF_-Wrapperbloecke einer
REM Testzeichnung - Regressionsnetz fuer Umbauten am Bau-Ablauf.
REM Siehe doc/kommandos.md.
REM
REM Aufruf:
REM bin\dxf_vf_abbild.bat <dxf> [--spec S] [--json J] [--referenz R]
REM [--schreibe-referenz] [--praefix VF_,GF_]
REM ================================================================
call "%~dp0setenv.bat"
python "%DXFM_LIB%\dxf_vf_abbild.py" %*
+3
View File
@@ -222,6 +222,9 @@ Alle Skripte rufen zuerst `setenv.bat` (bzw. `setenv.sh`) auf.
| `set_coords.bat [schalter]` | Wrapper fuer `lib/set_koords.py` (siehe `doc/tools.md`) |
| `dbg2lsp.bat [argumente]` | Wrapper fuer `lib/dbg2lsp.py` (siehe `doc/dbg2lsp.md`) |
| `show_exportcsv.bat [csv] [flow] [mflow] [track]` | Export-CSV mit sps_skel als SVG darstellen; `flow` ohne VF/GF-Einzelbausteine, `mflow` Materialfluss-Graph, `track` Bahnzusammenhang (beide brauchen Graphviz) |
| `dxf_anlage_export.bat <dxf> <output.json> [--projekt NAME]` | Wrapper fuer `lib/dxf_anlage_export.py` |
| `dxf_scan_components.bat <dxf> <data_dir> <output.json> [--fenster X0 Y0 X1 Y1] [--projekt NAME]` | Wrapper fuer `lib/dxf_scan_components.py` |
| `dxf_vf_abbild.bat <dxf> [--spec S] [--json J] [--referenz R] [--schreibe-referenz] [--praefix VF_,GF_]` | Wrapper fuer `lib/dxf_vf_abbild.py` |
### `run_tests.bat`