ad88d92ab904410706d1edf3f4a55d2f807013ca
Phase 5 of the decoupling refactor (behavior-preserving move): - translator/ir.py: SolidWorks plugin JSON to backend-IR conversion (70 syms) - translator/codegen.py: backend IR to build123d source generation (64 syms) - translator/runtime_lib.py: frozen generated-script runtime library, spliced into generate_build123d_code as *RUNTIME_LIB_LINES - translator/common.py: helpers shared by both sides - translator/__init__.py: full historical symbol surface re-exported Generated-code equivalence verified byte-for-byte against the pre-split output for a representative IR sample; py_compile clean.
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.
Description
Languages
Python
67.2%
JavaScript
30.1%
TypeScript
2%
CSS
0.5%
Shell
0.1%