die cpID wurde umbenannt.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
@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
|
||||
)
|
||||
|
||||
echo "[DEBUG] OFBOGEN_PATH: %OFBogen_PATH%"
|
||||
echo "[DEBUG] PROPS_PATH: %PROPS_PATH%"
|
||||
echo "[DEBUG] JSON_PATH: %JSON_PATH_OFBogen%"
|
||||
|
||||
:: Run the Python script
|
||||
echo Step1: calculations to standardize the dimensions and add connection points...
|
||||
python %OFBogen_PATH%\01_props_step1_calculations_to_standardize_the_dimensions_and_add_connection_points.py
|
||||
echo Step2: update dimensions_and_connection_points_in_props...
|
||||
python %OFBogen_PATH%\01_props_step2_update_dimensions_and_connection_points_in_props.py
|
||||
|
||||
|
||||
:: Check if Python script succeeded
|
||||
if %ERRORLEVEL% equ 0 (
|
||||
echo update dimensions and connection points in props completed successfully
|
||||
) else (
|
||||
echo update dimensions and connection points in props failed with error %ERRORLEVEL%
|
||||
)
|
||||
|
||||
pause
|
||||
@@ -0,0 +1,32 @@
|
||||
@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 TEF Bogen 2D...
|
||||
echo calculations to standardize the dimensions and add connection points...
|
||||
echo update dimensions_and_connection_points_in_props...
|
||||
|
||||
echo "[DEBUG] TEFBOGEN_PATH: %TEFBOGEN_PATH%"
|
||||
echo "[DEBUG] PROPS_PATH: %PROPS_PATH%"
|
||||
echo "[DEBUG] JSON_PATH: %JSON_PATH_TEFBOGEN%"
|
||||
|
||||
python %TEFBOGEN_PATH%\01_props_step1_process_TEFBogen_json.py
|
||||
python %TEFBOGEN_PATH%\01_props_step2_update_props_TEF_Boegen_from_json.py
|
||||
|
||||
|
||||
:: Check if Python script succeeded
|
||||
if %ERRORLEVEL% equ 0 (
|
||||
echo update dimensions and connection points in props completed successfully
|
||||
) else (
|
||||
echo update dimensions and connection points in props failed with error %ERRORLEVEL%
|
||||
)
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user