30 lines
1.5 KiB
Text
30 lines
1.5 KiB
Text
# --- Web framework -----------------------------------------------------------
|
|
fastapi>=0.115
|
|
uvicorn[standard]>=0.30
|
|
python-multipart>=0.0.9 # required by FastAPI for multipart/form-data uploads
|
|
|
|
# --- Mesh I/O ----------------------------------------------------------------
|
|
trimesh>=4.4
|
|
numpy>=1.26
|
|
|
|
# --- autouv / autoretopo pipeline dependencies -------------------------------
|
|
scipy>=1.11 # sparse solvers (LSCM/ARAP), KD-trees, ndimage
|
|
scikit-image>=0.22 # marching cubes for the watertight voxel shell
|
|
pymeshlab>=2023.12 # isotropic remesh / decimation / quad conversion
|
|
|
|
# --- Optional ----------------------------------------------------------------
|
|
matplotlib>=3.8 # only needed for the CLI's UV-layout / compare PNGs
|
|
rtree
|
|
|
|
# Engine export (GLB -> FBX via headless Blender). cp313 wheel (~340MB download,
|
|
# ~1GB installed); each bpy release supports exactly one Python version — keep in
|
|
# sync with .python-version (3.13). Imported ONLY by app/tools/fbx_worker.py,
|
|
# which runs as a subprocess (never import bpy in the FastAPI process).
|
|
bpy>=5.0,<6
|
|
|
|
# --- Optional GPU acceleration (Auto Retopo) ---------------------------------
|
|
# GPU packages live in requirements-nvidia.txt and are NOT installed from this
|
|
# file. run.bat auto-detects an NVIDIA GPU on first setup and installs them
|
|
# (Warp + the cupy-cudaXXx wheel matching your CUDA version); both are also
|
|
# auto-detected at runtime with a CPU fallback when absent. See
|
|
# requirements-nvidia.txt to install them manually.
|