Designing 3D-printable parts with a local AI in FreeCAD: which model works for you?

Hi all.

Oscar for FreeCAD: a free, open-source (Apache-2.0) workbench that lets an AI build parts inside FreeCAD 1.1+. We wanted it to work with no cloud, no API key and no subscription. So it also runs on a local model through Ollama or LM Studio, and nothing leaves your computer.

The setup:
1. Install Ollama and pull a model, for example: ollama pull qwen2.5:7b
2. Install Oscar from FreeCAD's Addon Manager. Add github.com/Originshape/Oscar-Freecad as a custom repository.
3. Pick Ollama in Oscar's settings and type what you need, for example:
"Make an 80 mm flange, 8 mm thick, with six M6 bolt holes on a 60 mm circle."
"Build a snap-fit enclosure for a Raspberry Pi 4, with cutouts for every port and vent slots."

Oscar builds a real FreeCAD part, step by step, with every dimension in one spreadsheet. Change a cell, and the part follows. Export STL for your slicer, or STEP.

The honest part: small local models are weaker than the big cloud ones. They do best on simple parts, and they can be slow or stop early. So we moved the discipline out of the model and into the code. Every build goes through the same fixed phases: plan, parameters, build, check, deliver. A turn can't end until the plan is done or a step is visibly stuck. And the summary's "validated" and "not validated" lists come only from checks that actually ran, not from what the model says.

It's version 0.2.1, so it's early. Questions for you:
- Which local model do you run for CAD or code, and on what hardware?
- What's the first part you'd make with it: a bracket, a case, a replacement part?
- Would you trust a part from a 7B model if it showed you exactly what it checked?

Code and setup:
Website:

10 views

Add a comment

Replies

Be the first to reply

Have a question or a thought to share? Add a comment above to start the conversation.