Roborear
← Back to all articles
Projects

How I Used AI to Design a Complete Robotic Arm in SolidWorks

I designed a 6-DOF gesture-controlled robotic arm in SolidWorks using Claude Code and an MCP server. See every joint, the AI's best idea, and the mistake it made.

Shahrear•November 25, 2026•7 min read
How I Used AI to Design a Complete Robotic Arm in SolidWorks

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.

Complete 6-DOF robotic arm CAD model with base, battery pack and gripper
The full robot in SolidWorks: six joints, a self-contained base and a parallel-jaw gripper.

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

ItemDetails
Degrees of freedom6 (base, shoulder, elbow, wrist pitch, wrist roll, gripper)
Large joints3 × MG996R servos (J1, J2, J3)
Small joints3 × MG90S metal-gear servos (J4, J5, J6)
ElectronicsESP32, expansion board, PCA9685 16-channel servo driver
Power4S 21700 battery pack, XT60, fuse, voltage regulators
Upper arm100 mm between the shoulder and elbow axes
Gripper openingAbout 48 mm
Design payload50 g (a design target, not tested yet)
3D-printed parts33 different part files
CAD and AISolidWorks, 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:

  1. SolidWorks, installed on Windows.

  2. A SolidWorks MCP server. I used the open-source SolidWorks MCP Server on GitHub.

  3. 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.

Robotic arm base with the deck removed showing the bearing cartridge
Base R3 with the deck and turntable removed. The ring in the middle is the bearing cartridge.
3D printable base tray with standoffs and cable openings
The printed tray and sled on their own, with mounts for the electronics.

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.

Shoulder and elbow assembly with both servos at the bottom
Both heavy MG996R servos stay low, near the rotation axis.
  • 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.
Robotic arm forearm with a pocket for the MG90S wrist servo
The forearm, with a pocket shaped around the MG90S model.

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.

Robotic arm wrist pitched down 90 degrees
The wrist pitch joint, pointing 90° down.
  • 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.
Gripper gears and links with the frame removed
The gears and links under the frame.

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.

Earlier gripper with the servo above the jaws
Before: the servo reached forward over the jaws.

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.

Robotic arm joints on a round turret plate
The arm on its round turret plate (before the gripper servo was rotated).
Side view of the complete robotic arm at home position
Side view of the complete robot in its home position.

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.

Roll cage with a disconnected tab highlighted in red
Drawn from the actual print file. The red tab is a separate body.

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

TaskBy handWith AI and MCP
Full arm designAbout a month (my estimate)One to two weeks
Sketches and featuresDrawn by meBuilt by the AI
Design decisionsMineAI proposes, I approve
Final checkingMineStill mine

5 Tips for AI CAD Modelling

  1. Plan first. Split a big project into small stages.

  2. Give real 3D models of every component, even the servo horn.

  3. Add datasheets, or measure the part with calipers.

  4. Start with enough AI usage left, so it does not stop halfway.

  5. 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

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.

← More articlesThanks for reading Roborear.