新增cdsl

This commit is contained in:
2026-08-24 14:52:08 +08:00
parent fd8c0c37ad
commit 9f8a55ff07
3892 changed files with 2872721 additions and 9169 deletions
+8 -2
View File
@@ -24,8 +24,8 @@ implementation are emitted with `execution_status: "deferred"` instead.
```bash
PYTHONPATH=backend/engine python json_to_cdsl/evidence_v2_to_cdsl.py \
/path/to/evidence_v2 \
--truth-dir /path/to/evidence_v2/truth \
json_to_cdsl/input/evidence_v2 \
--truth-dir json_to_cdsl/input/evidence_v2/truth \
--out json_to_cdsl/output \
--workers 1
```
@@ -41,3 +41,9 @@ For every `*.solidworks_evidence_v2.json` input it writes:
The optional STEP directory is used only to infer a host face when exactly one
candidate is compatible with a Hole Wizard's captured locations. Ambiguous
geometry stays in `unresolved`; the converter never invents a selector.
Source records are discovered recursively. Output remains flat and is named by
the normalized full source filename. Files that normalize to the same part ID
receive a deterministic relative-path hash suffix, so every input record maps
to a distinct output. When a matching STEP file exists, it is resolved through
the same relative subdirectory as its source record.