Files
cdsl-cad/json_to_cdsl
2026-08-19 19:34:30 +08:00
..
2026-08-19 19:34:30 +08:00
2026-08-19 19:34:30 +08:00
2026-08-19 19:34:30 +08:00

JSON to CDSL

This program converts SolidWorks export JSON into parameterized Learning IR (*.cdsl.json).

Conversion responsibilities:

  • normalize SolidWorks JSON into an intermediate representation;
  • classify sketches into named parameterized profiles;
  • reuse equivalent profiles through semantic references;
  • derive deterministic geometry through the sketch solver;
  • remove avoidable floating-point noise;
  • report unsupported or non-self-sufficient shapes.

The converter must not hide missing geometry behind an external context file when producing a training-ready CDSL artifact.