feat: unify CAD workflows on DesignIR 3.0

This commit is contained in:
Jerry
2026-07-28 14:41:26 +08:00
parent 6e33bc0e11
commit b5738e9109
36 changed files with 9690 additions and 1305 deletions
+17 -1
View File
@@ -6,7 +6,7 @@ STEP-first CAD engine used by CadSet.
1. Generate an editable model from natural language.
2. Generate or modify an editable model from text plus reference images.
3. Reconstruct an uploaded STEP into DesignIR 2.0, then modify and rebuild it
3. Reconstruct an uploaded STEP into DesignIR 3.0 / SurfaceIR, then modify and rebuild it
without reading the teacher STEP.
`cad-router` chooses one of two execution backends:
@@ -34,6 +34,22 @@ reconstruction runner rejects source STEP imports, embedded B-Rep, full mesh
substitutes, source face references, and paths into the protected teacher
workspace. Acceptance runs separately against the rebuilt STEP.
## Uploaded STEP execution
Run the full upload path through `cad-router`:
```bash
.venv/bin/python skills/cad-router/scripts/route.py \
"重建上传的 STEP,并返回可修改参数" \
--edit-source /absolute/path/to/part.step \
--task-dir /absolute/path/to/task \
--execute
```
The task returns an independently rebuilt STEP, its DesignIR 3.0 source,
geometry acceptance measurements, parameter perturbation results, and a catalog
containing only validated editable parameters.
## Development
Use the repository-local Python environment for checks: