From 7f0579fd9abcca2141786b52b2ec0a6633b5ec69 Mon Sep 17 00:00:00 2001 From: mistangl Date: Tue, 20 May 2025 16:22:44 +0200 Subject: [PATCH] getexdraw sagt dem Nutzer was es tut --- bin/getexdraw.bat | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/bin/getexdraw.bat b/bin/getexdraw.bat index 681a2e6..9b7128a 100644 --- a/bin/getexdraw.bat +++ b/bin/getexdraw.bat @@ -1,15 +1,19 @@ -REM @echo off +@echo off if [%1]==[] goto usage -goto :doit -:usage -@echo Usage: %0 ^ -REM exit /B 1 -goto :eof - -:doit for /F %%i in ("%1") do set FILENAME=%%~ni -getpositions.bat --filename %1 -s -r -w %1 -routing.bat --filename %FILENAME%.json -w todraw.json -draw.bat --filename todraw.json --new %FILENAME%_cables.dxf +echo --hole Positionen +call getpositions.bat --filename %1 -s -r -w %1 +echo --erzeuge Graph mit Routing +call routing.bat --filename %FILENAME%.json -w todraw.json +echo --zeichne Kabel in dxf Datei +call draw_dxf.bat --filename todraw.json --new %FILENAME%_cables.dxf + + +:usage +@echo Usage: %0 ^ +exit /B 1 +goto :eof + +