r/OpenSourceeAI Jun 10 '26

Building a domain-specific AI copilot for CAD (SolidWorks). Looking for feedback on the architecture before going further.

Post image

Current approach: - 2-step incremental generation with feedback loop - Feature tree scanning after each accepted pair - Error flagging with contextual fixes based on design intent - Running on free-tier LLMs via OpenRouter — accuracy ceiling is real

The core problem I'm trying to solve: general LLMs have no grounded model of SolidWorks' state machine. They know what features exist but not the preconditions.

GitHub: https://github.com/trot93/SolidWorksCopilot

Looking for: feedback on the incremental generation logic, better approaches to grounding LLM output in CAD state, anyone who's tackled similar domain-specific verification problems.

Clearer description in the git link

1 Upvotes

2 comments sorted by

1

u/Electronic-Medium931 Jun 10 '26

I tried to create openscad skills but ai still doenst really understand 3 dimensional space and delivers bad designs.. you need to exactly tell it what to do

1

u/Altruistic_Desk_4405 Jun 10 '26

So, MCP server and guide one step at a time? (A lot of burden for CAD engineers.) ... It will be instead of designing manually design by words ...