merge fix
This commit is contained in:
+35
-2
@@ -7,5 +7,38 @@ set SHORTCUT=%INSTALL_DIR%\create_cables.lnk
|
||||
|
||||
set TARGET=%PROJECT_BIN%\getexdraw.bat
|
||||
set ICON=%PROJECT_DOC%\img\Icons\Icon_Gemini2.ico
|
||||
|
||||
powershell -Command "$s=(New-Object -COM WScript.Shell).CreateShortcut('%SHORTCUT%');$s.TargetPath='%TARGET%';$s.IconLocation='%ICON%';$s.Save()"
|
||||
|
||||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
@echo off
|
||||
(
|
||||
if [%1]==[] goto usage
|
||||
for /F %%i in ("%1") do set FILENAME=%%~ni
|
||||
|
||||
|
||||
call %%PROJECT_BIN%%\setenv.bat
|
||||
|
||||
|
||||
echo --hole Positionen
|
||||
call getpositions.bat --filename %1 -s -r -w %FILENAME%_positions.json
|
||||
echo --erzeuge Graph mit Routing
|
||||
call routing.bat --filename %FILENAME%_positions.json -w %FILENAME%_todraw.json
|
||||
echo --zeichne Kabel in dxf Datei
|
||||
call draw_dxf.bat --filename %FILENAME%_todraw.json --new %FILENAME%_cables.dxf -x %FILENAME%_cables.xlsx --copy_layer %FILENAME%_reduziert.dxf --origin %1
|
||||
|
||||
move %PROJECT_WORK%\%FILENAME%_* %INSTALL_DIR%
|
||||
pause
|
||||
endlocal
|
||||
|
||||
goto :eof
|
||||
|
||||
|
||||
:usage
|
||||
@echo Usage: %0 ^<dxfinWorkOrdner.dxf^>
|
||||
exit /B 1
|
||||
goto :eof
|
||||
) > _getexdraw.bat
|
||||
|
||||
REM Icon anlegen
|
||||
REM powershell -Command "$s=(New-Object -COM WScript.Shell).CreateShortcut('%SHORTCUT%');$s.TargetPath='%TARGET%';$s.IconLocation='%ICON%';$s.Save()"
|
||||
Reference in New Issue
Block a user