ganjihong 5ffb106f36 refactor(cdsl_engine): executor registry + per-family executor package
Phase 3 of the decoupling refactor (behavior-preserving):
- registry.py: atomic_executor decorator, ALL_ATOMIC_IDS with
  fail-fast registration validation, execute_node dispatcher
- executors/: one module per family (extrude, revolve, surfaces,
  loft_sweep, bodies, context, primitives, parametric, holes,
  dressup, patterns) + shared helpers in executors/common
- executors/__init__: explicit aggregation + completeness check
  (registry must cover every declared atomic id at import time)
- runtime.py: slimmed to entry points (analyze_cdsl/rebuild_cdsl)
  plus full historical re-exports incl. test-referenced privates

Adding an atomic operation now touches only one executor module and
its schema contract; the shared registry never changes. Verified
against baseline: zero new failures.
2026-09-09 13:33:06 +08:00
2026-08-24 14:52:08 +08:00
2026-09-02 13:51:35 +08:00
2026-09-04 11:17:36 +08:00
2026-08-19 19:34:30 +08:00
2026-08-21 14:12:27 +08:00
2026-08-21 14:12:27 +08:00
2026-08-21 14:12:27 +08:00

CAD CDSL Workspace

This repository is organized as a CAD generation workspace with four runtime programs and one AI skill:

  • frontend/: Agent UI and 3D model preview.
  • backend/: API, generation orchestration, engine, and official CDSL library.
  • solidworks_to_json/: SolidWorks export plugin.
  • json_to_cdsl/: SolidWorks JSON to parameterized CDSL converter.
  • backend/agent/skills/cad-engine/: Instructions for the backend AI agent to use the CAD engine.
  • cdsl 5/: Existing experimental assets kept unchanged for reference.

Run both application services from the repository root with:

./run.sh

On Windows, run run.bat instead.

Python 3 and Node.js (including npm) must be installed first. Both startup scripts create backend/.venv and install the backend and frontend dependencies automatically when they are missing.

S
Description
No description provided
Readme 221 MiB
Languages
Python 67.2%
JavaScript 30.1%
TypeScript 2%
CSS 0.5%
Shell 0.1%