I used AI to design a complete 6-DOF robotic arm in SolidWorks. This AI robotic arm design covers the base, shoulder, elbow, wrist, gripper and the space for the electronics. I did not draw the sketches. I described what I wanted, and Claude Code built it feature by feature through a SolidWorks MCP server.
The goal is a gesture-controlled robotic arm: move your hand, and the arm follows. This post covers how I set it up, how each joint was designed, the mistake the AI made, and how far the project has come.

Watch the Full Video
Prefer to watch? The video shows the whole setup, a gripper designed on camera and the mistake I found.
Loads from YouTube when you press play, and YouTube may then set cookies. Watch on YouTube
The Project at a Glance
| Item | Details |
|---|---|
| Degrees of freedom | 6 (base, shoulder, elbow, wrist pitch, wrist roll, gripper) |
| Large joints | 3 × MG996R servos (J1, J2, J3) |
| Small joints | 3 × MG90S metal-gear servos (J4, J5, J6) |
| Electronics | ESP32, expansion board, PCA9685 16-channel servo driver |
| Power | 4S 21700 battery pack, XT60, fuse, voltage regulators |
| Upper arm | 100 mm between the shoulder and elbow axes |
| Gripper opening | About 48 mm |
| Design payload | 50 g (a design target, not tested yet) |
| 3D-printed parts | 33 different part files |
| CAD and AI | SolidWorks, SolidWorks MCP and Claude Code |
How the AI Controls SolidWorks
MCP stands for Model Context Protocol. Think of it as a translator between the AI and the software. It gives the AI tools such as create sketch, extrude, add mate and check interference.
The AI never moves my mouse. It calls a tool, and the tool does the work inside SolidWorks. The setup has three pieces:
SolidWorks, installed on Windows.
A SolidWorks MCP server. I used the open-source SolidWorks MCP Server on GitHub.
Claude Code, running as an extension in VS Code. The official setup guide is short.
Open SolidWorks first, then ask for something simple to test the connection:
I have downloaded SolidWorks MCP. Check if it is working,
and if it is, make a sphere.If a sphere appears, you are ready. If it fails, give Claude the GitHub link and ask it to configure the server.
Step 1: Give the AI Real References
The AI starts every project knowing nothing about your parts, so most of the quality comes from preparation. Before modelling anything, I filled the project folder with:
Reference images of robotic arms and grippers I liked.
3D models of real components: servos, horns, bearings, screws, the ESP32 and the battery pack.
Datasheets, for dimensions that should never be guessed.
Rules: work in stages, never overwrite an approved file, and stop for my review.
I never asked for a whole robot arm in one prompt. I asked for one joint, reviewed it, approved it, locked it and moved on.
Step 2: The Base Took the Most Work
The base holds the battery, regulators, ESP32, servo driver and the first servo. It went through several revisions and took two to three days, mostly because of AI usage limits.
The first version had a huge box for the electronics and wasted a lot of material. Later revisions became more compact and easier to wire.
Revision A: simple, but too bulky. Revision B: a smaller box and a lighter turntable. A later version, built around real battery and converter models.
The arm sits on a turntable carried by two 6808 bearings, so the bearings take the weight and the base servo only has to turn it.


Step 3: Shoulder and Elbow
This was my favourite decision by the AI. Instead of placing the elbow servo up at the elbow, it put both the shoulder and elbow servos at the bottom. A link rod drives the elbow through a parallelogram, so the moving arm is lighter.

The shoulder bracket on an early turntable. The shoulder stack: servo horn, 608 bearings and an 8 mm shaft. The elbow drive: servo, crank hub and link rod. The linkage checked in a bent pose.

Step 4: The Wrist
The wrist has two joints. J4 pitches the hand up and down, and J5 rolls it. Each uses a metal-gear MG90S.
Weight matters most here, because everything past the wrist loads a small servo. The calculated load on J4 is about 1.04 kgf·cm, roughly 47% of the servo's rated stall torque at 6 V.

The wrist yoke and servo clip. The roll joint added at the end of the wrist.
Step 5: The Gripper
The gripper uses one MG90S. Two meshing gears keep the jaws synchronised, and parallel links keep the pads facing each other as they open. (The gripper built on camera in the video is a separate rack-and-pinion demo.)
Fully open: about 48 mm. Closed: about 1 mm between the pads.

Changing the Design with a Marked-Up Screenshot
I noticed the gripper servo sat right above the grip area and blocked it. So I marked a rotated layout on a screenshot and asked for that instead.
The AI turned the servo 90°, made a new revision without touching the approved files, and checked the clearances again. The free length above the pads went from 7 mm to 20.5 mm.

The Full Assembly
With every joint approved, the parts came together on the base. The shoulder and elbow brackets were reshaped into one round turret that turns with the arm.


The Mistake the AI Made
I had the AI check all 33 parts, and it said everything was fine. Then I uploaded the files to the 3D-printing service, and one part was flagged as an assembly.
It was the J5 roll cage. A small tab that holds a screw was floating beside it, with a 1.38 mm gap. On screen it looked attached. Printed, it would have been a loose piece of plastic.

Interference, volume and mesh checks all passed, because none of them asked the simple question: is this one solid piece? A new check that counts the separate bodies in every file found that only this part had the problem.
Later, the manufacturer's engineers also flagged thin walls on three other parts. Both cases teach the same lesson: AI CAD is fast, but you still have to check it. Open every part in your slicer before you print.
Manual CAD vs AI CAD
| Task | By hand | With AI and MCP |
|---|---|---|
| Full arm design | About a month (my estimate) | One to two weeks |
| Sketches and features | Drawn by me | Built by the AI |
| Design decisions | Mine | AI proposes, I approve |
| Final checking | Mine | Still mine |
5 Tips for AI CAD Modelling
Plan first. Split a big project into small stages.
Give real 3D models of every component, even the servo horn.
Add datasheets, or measure the part with calipers.
Start with enough AI usage left, so it does not stop halfway.
Keep a progress log in a markdown file, so the next session can continue.
Where the Project Is Now
Done: CAD for all six joints, the base and the gripper.
Done: print files, with the J5 roll cage still to be repaired before printing.
In progress: nylon parts from a manufacturer, with other parts to be printed at home.
Next: assembly, wiring and the first power-up.
After that: the handheld gesture controller, planned around an ESP32 and an MPU6050 motion sensor.
The arm has not been built yet, so the numbers here come from CAD and calculations. Real test results will follow in the assembly post.
Keep Learning with Roborear
Control Servo Motors with ESP32: the basics behind every joint in this arm.
I Let AI Route My PCB with KiCad MCP: the same idea for circuit boards.
Would you trust AI to design your next robot? Tell me in the comments.
Frequently Asked Questions
Can AI design a robotic arm in SolidWorks?
Yes. With a SolidWorks MCP server, an AI such as Claude Code can create sketches, features and assemblies. It still needs your references, your decisions and a careful check of every part.
What is a SolidWorks MCP server?
It is a small program that gives an AI a set of SolidWorks tools. The AI calls a tool, and the server runs that action inside SolidWorks.
Does this work with Fusion 360?
The same workflow applies if you connect a Fusion MCP server instead.
Do I need a paid Claude plan?
I use Claude Code with a Claude Pro subscription. Large projects use a lot of the allowance, so plan your sessions.
Can I trust AI-generated CAD files?
Not blindly. In this project, one of the 33 parts had a tab that was not connected, and the AI's audit missed it.
Is the robotic arm finished?
The CAD design is done and the parts are being made. Assembly, testing and gesture control come next.


Comments (0)
No comments yet. Start the discussion.