Tuesday, 24 November 2026

TIG button cover design in physCAD using Claude Code.

Let's see how Claude gets on with the challenge of designing a part that actually has curved surfaces.

Start with a prompt like this:

"I want to create a component that is based on an existing part.

  • Initially I'd like you to recreate that part in physcad, based on photographs that I will take for you.

  • I will then print it on a 3D printer to check the fit.

  • Then as a second step, I'd like to modify it to incorporate a PCBA that was created in Kicad by Claude Code and Adom Hydrogen (using an MCP for Kicad).

  • The part fits into a welding torch used for TIG welding and allows control of the arc using a pressure sensitive button on its surface, operated by the user.

  • The part should be 3D printable in PETG.

  • I can take photographs for you if you can give me guidance on how to do this, perhaps using a calibrated background and some key measurements. The part is approx 50x30x20mm and contains several organic external surfaces.

  • Attached are 3 view of the top and bottom of the component - and the assembled torch handle.

  • There is currently a push button (to enable the arc) and a rotary potentiometer (to vary the arc current) - these will be replaced with a simple finger operated button, where pressure from the finger will be processed to provide both signals.

  • The torch is also shown being held. The pressure sensitive resistor (PSR) is seen hanging out of the front - this will need to be folded back underneath the finger button. The PCBA will also be protected by the component we are designing."

That kicked off a process that led to the following initial part, once the legacy features (button and wheel) had been removed:


Getting there:



Clearly we'd need some clearance to prevent fouling of the pots and opamp, as seen here.



Once I'd shared the Kicad PCBA project (which included the 3D model), it was able to raise the front of the part.



Printed this one out. Are we getting closer to a nice fit?


Better but still no perfect cigar:



The PCBA is pretty much flush with the cover


Doesn't look ridiculous, although we still don't have an actual button. That comes next.


I have some black TPU filament. I've not used it before, so I've no idea how well it prints but I need a compliant (squashy) button, so let's see how that works out.

Here's what Claude proposes:

The button probably needs to be a bit more prominent, as it would be normal to operate the torch wearing gloves. You need to be able to feel it and also have something to press down on.

Beefed up the shelf under the PSR, made the button more prominent, with a domed head. The proposed spring concept isn't very clever though:


Can't imagine how I would be able to remove the cover once fitted. And the socket where the U-spring fits into the cover is very fragile. Try again, Claude!


The spring is inverted so that you could release it with a small flat bladed screwdriver but it's still very fragile looking and Claude is proposing the use of 2mm screws to hold it in place. That isn't going to work for more than a few seconds, besides which I don't have any fasteners that small. 

Seems to me we could simply fit a "modified omega"(?) shaped spring thaat would latch into the existing slot in the handle and a slot in the end face of the cover. I sent this to Claude:


That's better:


While "developing" this thing, I'll either just let it hang in there or possibly use a reusable cable tie to hold it in place. Then finally, when I've finished buggering about with it (ie lost focus and dived off down some other rabbit hole), I'll fit the spring and call it a good one.

Next - a few finishing touches to the model, try to print the TPU button and await the Rev 2 PCBAs...

The external appearance is rather clunky - it looks as if it's been designed by an engineer (oof!), so it needs smoothing off. Can Claude do that? And that slot for the spring is too wide - it leaves very little meat to support the load at the rear of the spring





Let's print one of these off. It only takes 20 mins, so it's easy enough to check out each change as it happens.

And look - Claude has even made me a template / build instruction for the spring:


Here's the original switch / pot assembly:


And the (direct form fit and function) replacement:


The whole thing is pretty small, so the printing layers are very evident. 


That's all for now. This time next week I should have the updated PCBAs and we can wrap this one up finally.

No comments:

Post a Comment

TIG button cover design in physCAD using Claude Code.

Let's see how Claude gets on with the challenge of designing a part that actually has curved surfaces. Start with a prompt like this: ...