Die OFWEICHEN und TEFWEICHEN in 2D Libary sind neu angepasst.

This commit is contained in:
2025-09-25 11:39:08 +02:00
parent bbb6b9f40a
commit 89b3018d41
387 changed files with 12050 additions and 11255 deletions
@@ -9,17 +9,15 @@ if %ERRORLEVEL% neq 0 (
exit /b 1
)
:: Run the Python script
echo Running omnfilo weichen 2D...
echo calculations to standardize the dimensions and add connection points...
echo update dimensions_and_connection_points_in_props...
echo "[DEBUG] OFWeiche_PATH: %OFWeiche_PATH%"
echo "[DEBUG] PROPS_PATH: %PROPS_PATH%"
echo "[DEBUG] JSON_PATH: %JSON_PATH_OFWEICHE%"
:: Run the Python script
echo Step1: Running omnfilo weichen 2D...
python %OFWeiche_PATH%\01_props_step1_omniflo_weichen.py
echo Step2: calculations to standardize the dimensions and add connection points...
python %OFWeiche_PATH%\01_props_step2_calculations_to_standardize_the_dimensions_and_add_connection_points.py
echo Step3: update dimensions_and_connection_points_in_props...
python %OFWeiche_PATH%\01_props_step3_update_dimensions_and_connection_points_in_props.py
pause
+11 -1
View File
@@ -11,14 +11,24 @@ if %ERRORLEVEL% neq 0 (
exit /b 1
)
:: Run the Python script
echo Running omnfilo weichen SVG...
echo "[DEBUG] OFWeiche_PATH: %OFWeiche_PATH%"
echo "[DEBUG] Output_PATH: %RD_CONF_OUTPUT_OFWEICHEN%"
:: Run the Python script
echo Running SVG optimizer...
python %OFWeiche_PATH%\02_svg_step1_convert_polylines_to_lines.py %arg%
echo svg_step1_convert_polylines_to_lines...
python %OFWeiche_PATH%\02_svg_step2_find_and_mark_auxiliary_lines.py %*
echo svg_step2_find_and_mark_auxiliary_lines...
python %OFWeiche_PATH%\02_svg_step3_scaler.py %*
echo svg_step4_format_optimization...
python %OFWeiche_PATH%\02_svg_step4_format_optimization.py %*
echo svg_step5_automatic_svg_generation_for_P_switches
python %OFWeiche_PATH%\02_svg_step5_automatic_svg_generation_for_P_switches.py %*
:: Check if Python script succeeded
::Check if Python script succeeded
if %ERRORLEVEL% equ 0 (
echo SVG optimization completed successfully
) else (