1. Why I am writing this
In my previous article , I laid out a test plan for checking whether large language models (LLMs) can write usable, manufacturable parametric parts. The idea I kept coming back to was that “it ran” is not the same as “it is correct.” But to understand how a script can run and still produce a bad part, or fail on a perfectly reasonable request, you need to know what the CAD software is doing underneath the script.
So, this article is the background chapter, written to stand on its own. It is for mechanical engineering students who use CAD every day but have never looked at how the software stores a shape, and for programmers who are curious about where AI and CAD meet.
A note on scope: I am a student, not a kernel developer. I have simplified some things, and where my understanding is limited, I say so and point to the books.
2. A CAD model is a definition, not a drawing
What you see on screen is a rendering.…