24 lines
869 B
Markdown
24 lines
869 B
Markdown
# CAD Engine Skill
|
|
|
|
## Purpose
|
|
|
|
Help an AI agent generate CAD models through the repository's CDSL engine.
|
|
|
|
## Required workflow
|
|
|
|
1. Read the engine README and the relevant engine modules.
|
|
2. Search the official CDSL library for similar parts, profiles, and feature
|
|
sequences.
|
|
3. Produce or revise parameterized CDSL.
|
|
4. Validate that the CDSL can run through the `cdsl_only` path.
|
|
5. Compile the CDSL and generate a STEP file.
|
|
6. Return the generated artifact, validation result, and library references.
|
|
|
|
## Hard constraints
|
|
|
|
- Prefer named profiles and discrete semantic parameters over raw coordinates.
|
|
- Do not use `compiler_context` as the final source of missing training data.
|
|
- Keep the generated CDSL self-sufficient whenever the supported shape
|
|
generators can express the geometry.
|
|
- Preserve the original CDSL and write revisions as separate artifacts.
|