Convert watertight CAD-like STL meshes into analytic B-Rep/STEP using OpenCascade via the cadquery-ocp-novtk bindings. Runs a local web UI that visualizes detection steps in real time.
uvx --from . stl2step
# or from git once published
uvx --from git+https://github.com/<owner>/<repo>@main stl2stepThen upload an STL in the browser and start conversion. Download the resulting STEP.
python -m venv .venv
source .venv/bin/activate
pip install -e .
pytest- Uses only pip-installable dependencies; no pythonocc.
- Uses FastAPI+uvicorn for the UI backend, three.js for visualization.
- Geometry handled analytically; no machine learning.