Prints in getexdraw.bat und in drawdxf.py leicht angepasst

This commit is contained in:
2025-07-04 10:44:17 +02:00
parent 80b96da6b6
commit ea7da269e1
2 changed files with 12 additions and 11 deletions
+9 -6
View File
@@ -22,11 +22,11 @@ set DXF_RES=%FILENAME%_cables.dxf
call C:\10-Develop\gitrepos\kabellaengen\bin\setenv.bat
echo --hole Positionen
echo.
echo === Fetching Positions ===
call getpositions.bat --filename %1 -s -r -w %JSON_POS% -e %ERROR_DOUBLE%
if exist "%PROJECT_WORK%\%ERROR_DOUBLE%" (
@echo -failed- given items with the same ids
@echo -failed- duplicate IDs in given layout
pause
move %PROJECT_WORK%\%ERROR_DOUBLE% %INSTALL_DIR%
goto :eof
@@ -36,20 +36,23 @@ if not exist "%PROJECT_WORK%\%JSON_POS%" (
pause
goto :eof
)
echo --erzeuge Graph mit Routing
echo.
echo === Creating Graph for Routing ===
call routing.bat --filename %JSON_POS% -w %JSON_TODRAW%
if not exist "%PROJECT_WORK%\%JSON_TODRAW%" (
@echo -failed- routing
pause
goto :eof
)
echo --zeichne Kabel in dxf Datei
call draw_dxf.bat --filename %JSON_TODRAW% --new %DXF_RES% -x %EXCEL_RES%
echo.
echo === Writing Output Files ===
call draw_dxf.bat --filename %JSON_TODRAW% --new %DXF_RES% -x %EXCEL_RES% -l
if not exist "%PROJECT_WORK%\%EXCEL_RES%" (
@echo -failed- draw_dxf
pause
goto :eof
)
echo.
mkdir %INSTALL_DIR%\%FILENAME%
move %PROJECT_WORK%\%FILENAME%_* %INSTALL_DIR%\%FILENAME%