alle Bogen sind neu angepasst wegen cps.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
@echo off
|
||||
call setenv.bat
|
||||
setlocal
|
||||
|
||||
|
||||
:: Check if Python is available
|
||||
where python >nul 2>&1
|
||||
if %ERRORLEVEL% neq 0 (
|
||||
echo Error: Python is not found in your PATH
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
:: Run the Python script
|
||||
echo Running omnfilo Bogen SVG...
|
||||
|
||||
echo "[DEBUG] OFBogen_PATH: %OFBogen_PATH%"
|
||||
echo "[DEBUG] Output_PATH: %RD_CONF_OUTPUT_OFBOGEN%"
|
||||
|
||||
|
||||
python %OFBogen_PATH%\02_svg_step1_convert_polylines_to_lines.py
|
||||
python %OFBogen_PATH%\02_svg_step2_find_and_mark_auxiliary_lines.py
|
||||
python %OFBogen_PATH%\02_svg_step3_scaler.py
|
||||
python %OFBogen_PATH%\02_svg_step4_format_optimization.py
|
||||
|
||||
:: Check if Python script succeeded
|
||||
if %ERRORLEVEL% equ 0 (
|
||||
echo SVG optimization completed successfully
|
||||
) else (
|
||||
echo SVG optimization failed with error %ERRORLEVEL%
|
||||
)
|
||||
|
||||
pause
|
||||
@@ -0,0 +1,23 @@
|
||||
@echo off
|
||||
call setenv.bat
|
||||
setlocal
|
||||
|
||||
:: Check if Python is available
|
||||
where python >nul 2>&1
|
||||
if %ERRORLEVEL% neq 0 (
|
||||
echo Error: Python is not found in your PATH
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
:: Run the Python script
|
||||
echo Running convert svgs to xml and update xml path in Props...
|
||||
|
||||
echo "[DEBUG] OFBogen_PATH: %OFBogen_PATH%"
|
||||
echo "[DEBUG] PROPS_PATH: %PROPS_PATH%"
|
||||
echo "[DEBUG] SVG_PATH: %SVG_PATH%"
|
||||
echo "[DEBUG] RD_CONF_OUTPUT_OFBOGEN: %RD_CONF_OUTPUT_OFBOGEN%"
|
||||
|
||||
python %OFBogen_PATH%\03_convert_svgs_to_xml_and_update_xml_path_in_props.py
|
||||
|
||||
pause
|
||||
@@ -8,10 +8,11 @@ set RD_CONF_CFG=%RD_CONF%\cfg
|
||||
set RD_CONF_WORK=%RD_CONF%\work
|
||||
set RD_CONF_LIB=%RD_CONF%\lib
|
||||
|
||||
|
||||
set "OFBogen_PATH=%RD_CONF%\lib\OFBogen"
|
||||
set "OFWeiche_PATH=%RD_CONF%\lib\OFWeiche"
|
||||
set "TEFWeiche_PATH=%RD_CONF%\lib\TEFWeiche"
|
||||
|
||||
|
||||
set "PROPS_PATH=C:\Program Files\RuleDesigner\RDConfigurator Fusion\WebApi\Editor2D\SSG\shapes\props"
|
||||
set "SVG_PATH=C:\Program Files\RuleDesigner\RDConfigurator Fusion\WebApi\Editor2D\SSG\shapes\svg"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user