Delete heg_brep_service.bat
Browse files- heg_brep_service.bat +0 -27
heg_brep_service.bat
DELETED
|
@@ -1,27 +0,0 @@
|
|
| 1 |
-
@echo off
|
| 2 |
-
REM HEG BRep classification service launcher.
|
| 3 |
-
REM
|
| 4 |
-
REM Spawns the FastAPI service from the bundled Python. Prints `READY port=<N>`
|
| 5 |
-
REM to stdout once models are loaded; from then on the host (C# 3D viewer)
|
| 6 |
-
REM should POST to http://127.0.0.1:<N>/classify.
|
| 7 |
-
REM
|
| 8 |
-
REM Forward all command-line args (e.g. --device cpu, --pass2_min_conf 0.9).
|
| 9 |
-
|
| 10 |
-
setlocal
|
| 11 |
-
set HERE=%~dp0
|
| 12 |
-
set PYTHONPATH=%HERE%;%HERE%BRepExtractor;%PYTHONPATH%
|
| 13 |
-
set PYTHONUNBUFFERED=1
|
| 14 |
-
set PYTHONWARNINGS=ignore::DeprecationWarning
|
| 15 |
-
REM Mimic conda activation so MKL / OCC / torch DLLs are findable.
|
| 16 |
-
set PATH=%HERE%python;%HERE%python\Library\bin;%HERE%python\Scripts;%PATH%
|
| 17 |
-
|
| 18 |
-
REM Override default model locations to point at the bundled models folder.
|
| 19 |
-
set HEG_PASS1_MODEL=%HERE%models\pass1.pt
|
| 20 |
-
set HEG_ELBOW_MODEL=%HERE%models\elbow.pt
|
| 21 |
-
set HEG_TEE_MODEL=%HERE%models\tee.pt
|
| 22 |
-
|
| 23 |
-
"%HERE%python\python.exe" -u -m heg_brep.server ^
|
| 24 |
-
--pass1_model "%HEG_PASS1_MODEL%" ^
|
| 25 |
-
--elbow_model "%HEG_ELBOW_MODEL%" ^
|
| 26 |
-
--tee_model "%HEG_TEE_MODEL%" ^
|
| 27 |
-
%*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|