Brian Ratliff

701 posts

Brian Ratliff

Brian Ratliff

@BrierRat

Bringing AI to mechanical engineering | Claude CAD

Portland, OR انضم Haziran 2011
468 يتبع496 المتابعون
تغريدة مثبتة
Brian Ratliff
Brian Ratliff@BrierRat·
So, Claude CAD built me a 15.6:1, 3-stage gearbox. I "sketched" a rough outline of what I wanted in Shapr3D with the general gear arrangement. Bearings and fasteners from McMaster. Claude did everything else. 139 part assembly. Involute teeth. Retaining rings. All of it.
Brian Ratliff tweet mediaBrian Ratliff tweet media
English
14
10
162
7.9K
Brian Ratliff
Brian Ratliff@BrierRat·
Did you guys know STEP supports colors? 20 years, I’ve never seen a STEP export in color from any CAD system. Or a STEP import, for that matter.
English
6
1
11
2K
Brian Ratliff
Brian Ratliff@BrierRat·
It is so cool being able to just sit with Claude and make the software into exactly what I want
English
0
0
1
85
Blaine Wilson
Blaine Wilson@optomachina·
@BrierRat Make a script to randomly assign a selection of colors to all parts. You’ll be glad you did.
English
1
0
1
138
Brian Ratliff
Brian Ratliff@BrierRat·
What do you guys think, should I add colors to my homebrewed CAD viewer? I feel like my profile might be looking a bit monochrome. On one hand, basically every CAD design I've done in my career has been in this particular shade of gray. At some point it's tradition. I've built literally thousands of CAD parts--I've just never really cared about colors unless it's interfering with viewing the part. And sometimes, I'll admit, lots of colors seems a bit gaudy and not very useful except for presentation. On the other hand, it seems all the new AI-CAD floating around has been splashed with color. Is this the trend now? Cool thing about building your own AI-native viewer is you get to add the exact features you want. And only those features you need.
Brian Ratliff tweet mediaBrian Ratliff tweet mediaBrian Ratliff tweet media
English
5
2
10
3K
Brian Ratliff
Brian Ratliff@BrierRat·
I had a similar moment with Claude. I had a simple part, a block with an arced top which I put a slotted cut diagonally across the arced top. Asked Claude Code to read and manipulate the STEP code directly. It did that a few times, changing the slot angle and width by modifying vertex points, etc usi my greps. But at a point, I got bored and gave it a mod which I knew would break topology. Claude examined the request, saw it would break topology, went and coded the part up in Cadquery and made the change, regenerated the STEP, on its own, without my intervention. Color me impressed. That’s when I started leaning hard to my Claude CAD system.
English
0
0
0
72
Ben Magelsen 🇺🇸
Ben Magelsen 🇺🇸@benmagelsen·
@BrierRat It seems that way. I was surprised! I had to make a couple quick drawings to get it to make the Zeiss dovetail, but putting together parts from other models was impressive.
English
1
0
0
35
Ben Magelsen 🇺🇸
Ben Magelsen 🇺🇸@benmagelsen·
A Claude to OpenSCAD workflow for 3D printing seems promising. I made an Canon EF to Zeiss microscope dovetail adapter without touching CAD. 🤨
Ben Magelsen 🇺🇸 tweet media
English
3
1
26
2.2K
Brian Ratliff
Brian Ratliff@BrierRat·
@faraz_r_khan I would give build123d a try. I think the problem with python freecad is it might be one abstraction removed. You are using a python script to operate freecad operating on the OCCT kernel. Using build123d or cadquery and you have a script operating directly on the OCCT kernel
English
0
0
3
44
Faraz Khan
Faraz Khan@faraz_r_khan·
@BrierRat Interesting! Share it when you get a chance. I tried it 4 months ago so maybe it’s better now or the integration with 123 is better than python freecad?
English
1
0
1
50
Brian Ratliff
Brian Ratliff@BrierRat·
So, Claude CAD built me a 15.6:1, 3-stage gearbox. I "sketched" a rough outline of what I wanted in Shapr3D with the general gear arrangement. Bearings and fasteners from McMaster. Claude did everything else. 139 part assembly. Involute teeth. Retaining rings. All of it.
Brian Ratliff tweet mediaBrian Ratliff tweet media
English
14
10
162
7.9K
Brian Ratliff
Brian Ratliff@BrierRat·
This is a challenge in the AI-augmented CAD space. How do you get past dancing bear demos? Get to the point where people say, aha, this makes my life as a design engineer easier? That’s why all the demos of Claude CAD I post here are buildable.
kumikumi (Ankkala)@ankkala

Dancing Bear is a good analogy I found for AI outputs. Suppose there's a circus and people go there to see The Dancing Bear. People don't go because the dance is good. It isn't. It may actually be kind of terrible. What matters is that the bear dances at all.

English
3
0
5
640
Brian Ratliff
Brian Ratliff@BrierRat·
@BuildingDeeply My main problem is squaring cosmetic colors with the functional colors of labeling faces, since the face labeling is a big part of how the user communicates with Claude over the MCP
English
0
0
1
71
Building Deeply
Building Deeply@BuildingDeeply·
@BrierRat Easy answer: yes, of course add color. Just make it optional, and with useful user controls.
English
1
0
0
93
Brian Ratliff
Brian Ratliff@BrierRat·
@AndresMilioto I have had Claude suggest McMaster part numbers for screws it wants. But McMaster won’t let Claude download the models
English
0
0
1
11
Andres
Andres@AndresMilioto·
@BrierRat Did you have to import the McMaster fasteners manually? Or did Claude find them?
English
2
0
4
228
Brian Ratliff
Brian Ratliff@BrierRat·
@ShabaniBetim That said, it’s a bit different than CAD. Many relationships are just handled in the code. Relationships are just reusing variables used to build the features
English
0
0
1
15
Brian Ratliff
Brian Ratliff@BrierRat·
@ShabaniBetim Not as such. This was built as solid bodies. Build123d and OCCT supports relationship constraints, but here I’m more testing geometric reasoning. With an agent, it’s a little unnecessary, since the agent can manually keep things together if parameters shift.
English
1
0
1
94
Brian Ratliff
Brian Ratliff@BrierRat·
Oh, there are a bunch of skill files behind this as well. And surprisingly, yes, Claude is pretty up on gear ratios and standards. The STEP sketch gave ratios, it asked what gear tooth ratio I’d prefer and built it to spec. It even assumes specifications—saw the shaft was in mm, built ISO standard keyways into the gears and shaft.
English
1
0
2
61
Faraz Khan
Faraz Khan@faraz_r_khan·
Interesting. Did you add other magic other than telling Claude to “use build123d”? I was unable to make it do anything useful with python-freecad. It made pretty things - but not useful and not to specifications at all. I think converting specification to something meaningful is an actual tool that needs building. For example - does Claude correctly understand gear ratios or number of teeth in your application? Super curious!
English
1
0
2
79
Alex
Alex@BrixActual·
@BrierRat What's holding the gears from moving on the shaft
English
1
0
0
108
Brian Ratliff
Brian Ratliff@BrierRat·
@faraz_r_khan I used a STEP file export from Shapr3d. It was just a bunch of extruded cylinders which Claude then interprets as gears and shafts. The build is in build123d, so fully parametric.
English
1
0
3
215
Faraz Khan
Faraz Khan@faraz_r_khan·
So since this is a different viewer it starts by using a screenshot of your shapr3d design? I’ve tried something similar with solidworks and a plugin but using screenshots simply didn’t work for me with solidworks api or freecad python api. What’s the additional magic here? Can it change the gearbox to your specs?
English
1
0
3
301
Brian Ratliff
Brian Ratliff@BrierRat·
@AndresMilioto McMaster Carr apparently doesn’t like Claude (or any AI) to browse its website, so I do it manually. This seems like something that’s automatable, but one thing at a time
English
1
0
2
148
Brian Ratliff
Brian Ratliff@BrierRat·
That’s the loose idea. I feel like the tight integration of my viewer with the MCP server and Claude is an advantage (rather than bolting on an MCP to normal CAD). This build went together particularly smoothly. Not sure if it’s Opus 4.8, the subject matter, or the skills making an impression, but it was smooth this time around.
English
0
0
3
173
Sravan
Sravan@svankina13·
I've been having decent luck with opus 4.8 using the fusion mcp server. There are some footguns there though. The whole taking screenshots and trying to discern geometry from that is not ideal. I've had it get confused because it left sketch line visibility on. 😂 Are you planning on turning your accumulated skills/tools into a legit product?
English
1
0
0
181