| """HEG BRep two-pass component-identification pipeline (unified, in-process).""" |
| import os |
| |
| |
| |
| |
| os.environ.setdefault("KMP_DUPLICATE_LIB_OK", "TRUE") |
|
|
| from pathlib import Path |
|
|
| PACKAGE_ROOT = Path(__file__).resolve().parent |
| REPO_ROOT = PACKAGE_ROOT.parent |
|
|
| DEFAULT_PASS1_MODEL = REPO_ROOT / "brep_two_pass" / "artifacts" / "pass1_parent_brep_v1" / "best_model_halfedge.pt" |
| DEFAULT_ELBOW_MODEL = REPO_ROOT / "artifacts_he_elbow_only_v4" / "best_model_halfedge.pt" |
| DEFAULT_TEE_MODEL = REPO_ROOT / "artifacts_he_tee_only_v1" / "best_model_halfedge.pt" |
| DEFAULT_FEATURE_LIST = REPO_ROOT / "BRepExtractor" / "feature_lists" / "all.json" |
| DEFAULT_BREPEXTRACTOR_DIR = REPO_ROOT / "BRepExtractor" |
|
|