wu_xinjun
2022-06-21 65d1e46541fc1a11cbdfd27d51d00a6a341ad2ab
scripts_launch/bin2ply.bat
@@ -2,23 +2,14 @@
@REM change to the filepath
cd %~dp0
@REM add vitrual env python to the path
path "%~dp0/../.env/Scripts/";%path%
cd ..
set aerialpython=%cd%/.env/python.exe
set envsetting=%cd%/env/SettingEnv.bat
@REM Setting the env
if not exist %aerialpython% (
    call %envsetting%
)
cd %~dp0
cd ..
echo change to path: %cd%
@REM please the folder path of the bin files.
@REM set BINfolder=./Manual_Microwave/pod1-2012-12-12-12-12-12/
@REM add vitrual env python to the path
path ".env/Scripts/";%path%
@REM ---------------Usage: bin2ply.py [BINfolder]
%aerialpython% ./scripts/bin2ply.py %BINfolder%
python ./scripts/bin2ply.py %BINfolder%
pause