cadling — Installation
cadling requires Python 3.9+ and conda (for pythonocc-core and, on
macOS, PyTorch).
Environment setup
Section titled “Environment setup”# Create the conda environment (installs PyTorch via conda-forge)conda env create -f environment.ymlconda activate cadling
# Install cadling in development modepip install -e ".[all]"Optional dependency groups
Section titled “Optional dependency groups”pip install -e ".[dev]" # pytest, black, ruff, mypy, pre-commitpip install -e ".[cad]" # numpy-stl, trimesh, networkxpip install -e ".[ml]" # transformers (PyTorch via conda only)pip install -e ".[vision]" # transformers, easyocr, opencv-pythonpip install -e ".[all]" # Everything abovepythonocc-core
Section titled “pythonocc-core”The BRep backend and STEP geometry use pythonocc-core, which is only available
through conda (not PyPI) and is included in environment.yml. Tests that need it
are marked requires_pythonocc and skip automatically when it is absent.
Neural integration (ll_stepnet)
Section titled “Neural integration (ll_stepnet)”cadling integrates ll_stepnet for STEP neural
processing. It is installed as an editable dependency via environment.yml, or
manually:
cd ../ll_stepnetpip install -e .Continue to Usage.