feat(silo): headless runner entry points — dag_extract, validate, export (#217) #226

Merged
forbes merged 1 commits from feat/silo-runner into main 2026-02-14 21:19:55 +00:00
Owner

New file: mods/silo/freecad/runner.py with three headless entry points for the silorunner compute worker.

Entry Points

Function Purpose Output
dag_extract(input_path, output_path) Extract feature DAG from .kc file JSON with nodes + edges
validate(input_path, output_path) Rebuild all features, report pass/fail JSON with validation states
export(input_path, output_path, format) Export geometry STEP, IGES, STL, or OBJ file

Invocation

create --console -e "from runner import dag_extract; dag_extract(\x27/tmp/part.kc\x27, \x27/tmp/dag.json\x27)"

No display server required — all functions work in headless mode.

Depends On

  • #214 (DAG extraction engine) — merged

Closes #217

New file: `mods/silo/freecad/runner.py` with three headless entry points for the silorunner compute worker. ### Entry Points | Function | Purpose | Output | |----------|---------|--------| | `dag_extract(input_path, output_path)` | Extract feature DAG from .kc file | JSON with nodes + edges | | `validate(input_path, output_path)` | Rebuild all features, report pass/fail | JSON with validation states | | `export(input_path, output_path, format)` | Export geometry | STEP, IGES, STL, or OBJ file | ### Invocation ```bash create --console -e "from runner import dag_extract; dag_extract(\x27/tmp/part.kc\x27, \x27/tmp/dag.json\x27)" ``` No display server required — all functions work in headless mode. ### Depends On - #214 (DAG extraction engine) — merged Closes #217
forbes added 1 commit 2026-02-14 21:18:09 +00:00
feat(silo): update silo submodule — headless runner entry points (#217)
Some checks failed
Build and Test / build (pull_request) Has been cancelled
9da73fe6e7
Adds runner.py with dag_extract, validate, and export entry points
for silorunner compute jobs.

Closes #217
forbes merged commit a5a1914892 into main 2026-02-14 21:19:55 +00:00
forbes deleted branch feat/silo-runner 2026-02-14 21:19:56 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kindred/create#226