# 几何 / 算法插件运行时依赖
# ---
# 安装方式（Debian/容器，PEP 668 需要 --break-system-packages）：
#   python3 -m pip install --break-system-packages \
#     --default-timeout=300 --retries 10 \
#     -i https://pypi.tuna.tsinghua.edu.cn/simple \
#     -r requirements-geometry.txt
#
# 若 import 报缺 .so，请确认系统已装 libgl1、libxrender1、libxext6、libsm6、libice6、libx11-6（Dockerfile.dev 已装）。

# 装配检测 MVP：STEP 在线解析
cadquery>=2.4.0

# 通用算法插件（Route B）共用核心
numpy>=1.24
scipy>=1.10
pyyaml>=6.0
tqdm>=4.65

# coupler_panel / underframe_deflection 的点云 IO 与可视化
# （open3d / trimesh 同时被 flatness-suite 用到）
open3d>=0.18
trimesh>=4.0

# train_measurement_system 导出 Excel 报表
openpyxl>=3.1

# 注：flatness-suite 的 contour 子模块（点云↔网格最近距离）需要 torch（~2GB）。
# 默认不装；启用时执行：
#   python3 -m pip install --break-system-packages -r requirements-flatness-contour.txt
# adapter 在 torch 缺失时会自动跳过 contour 子模块（plane / curvature 仍可正常跑）。
