diff --git a/SVGs/Omniflo/bin/02_svg_optimizer_easy_OFWeiche.bat b/SVGs/Omniflo/bin/02_svg_optimizer_easy_OFWeiche.bat deleted file mode 100644 index 743e178..0000000 --- a/SVGs/Omniflo/bin/02_svg_optimizer_easy_OFWeiche.bat +++ /dev/null @@ -1,53 +0,0 @@ -@echo off -REM ================================================ -REM SVG Optimizer Batch Script (Interactive Menu) -REM Allows users to select SVG optimization options -REM ================================================ - -REM Load environment variables -call setenv.bat -setlocal - -REM Check if Python is available in PATH -where python >nul 2>&1 -if %ERRORLEVEL% neq 0 ( - echo Error: Python is not found in your PATH - pause - exit /b 1 -) - -REM Display menu options -echo SVG Optimization Options: -echo 1. Bogen (--bogen) -echo 2. Tefbogen (--tefbogen) -echo 3. Weichen (--weichen) -echo 4. Tefweichen (--tefweichen) -echo. - -REM Prompt user for selection -choice /c 1234 /m "Enter your choice (1-4): " - -REM Set corresponding argument based on user choice -set "arg=" -if %ERRORLEVEL% equ 1 set "arg=--bogen" -if %ERRORLEVEL% equ 2 set "arg=--tefbogen" -if %ERRORLEVEL% equ 3 set "arg=--weichen" -if %ERRORLEVEL% equ 4 set "arg=--tefweichen" - - -REM Execute Python script with selected argument -python %OFWeiche_PATH%\02_svg_step1_convert_polylines_to_lines.py %arg% -python %OFWeiche_PATH%\02_svg_step2_find_and_mark_auxiliary_lines.py %* -python %OFWeiche_PATH%\02_svg_step3_scaler.py %* -python %OFWeiche_PATH%\02_svg_step4_format_optimization.py %* -python %OFWeiche_PATH%\02_svg_step5_automatic_svg_generation_for_P_switches.py %* - -REM Check execution status -if %ERRORLEVEL% equ 0 ( - echo SVG optimization completed successfully! -) else ( - echo SVG optimization failed with error code: %ERRORLEVEL% -) - -REM Keep window open to view results -pause \ No newline at end of file