Blog AI and CAD

Changing an existing SOLIDWORKS model with AI, the way its maker would

By Max Buining, who builds extrudo · 5 min read

Building a part from an empty file is the part of CAD that looks good on video. The work that fills an engineer's week is different: somebody else's model, a customer who wants it 30 mm longer, M8 instead of M6, a different material, and the drawing has to follow.

That's harder for an AI than starting fresh, because the model already has a history. Here's what a good change looks like, and ten changes extrudo made to models it had never seen.

What makes a change to an existing model good

Ask three engineers to make a plate longer and you can tell the experienced one by what the feature tree looks like afterwards.

  • Change what's there. If a sketch dimension drives the plate width, change that dimension. Don't add an extrude on the end. If a global variable drives the length, change the variable.
  • Keep the design intent. Holes that were 15 mm from the edge should still be 15 mm from the edge. Holes made with the Hole Wizard stay Hole Wizard holes.
  • Keep the names. Other people, drawings and macros refer to them.
  • Fix what the change breaks. Lower a boss and the fillet on top of it may no longer fit. Make a shaft bigger and the bore in the housing has to follow, or the mates fail.
  • Bring the drawing along. The views update by themselves. Dimensions on edges that moved or disappeared don't, and a note that says "M6" is still wrong after the holes are M8.
  • Say what changed. Old value, new value, what was added, what the mass did.

Ten changes, ten passes

We ran a set of ten engineering changes through the extrudo app, each on a model made beforehand, each with a check that looks at the model afterwards rather than at what the AI says it did. All ten passed.

ChangeWhat it did
Four holes from M6 to M8 clearanceChanged the one sketch dimension that drives all four, 6.6 to 9 mm; positions and names untouched
Plate 30 mm longer, right-hand holes move alongWidth 120 to 150 mm and the hole pitch 90 to 120 mm, so the holes stay 15 mm from the edge
Add a DIN 6885 keyway to a shaftA new plane, a fully defined slot sketch and a cut, each with a name
Bar driven by a global variable, make it longerChanged the variable from 120 to 250 mm; the existing equation did the rest
Plate to stainless, top edges chamferedAISI 1020 to AISI 304, one 1 x 45° chamfer on the four top edges
Hole Wizard holes M6 to M8Edited the existing Hole Wizard feature instead of cutting new holes
Lower a boss, keep the fillet on topBoss 20 to 5 mm, and the fillet that no longer fitted went from R6 to R4.5
Change one configuration onlyThe Short configuration went from 80 to 60 mm; Default stayed at 120 mm
Bigger shaft in an assemblyShaft from Ø20 to Ø25 and the housing bore with it to Ø25.5, keeping 0.25 mm clearance all round
Plate longer and its drawing updatedThe same part change, then the drawing updated and exported to PDF

Every change came back with a short report: which dimensions went from what to what, which features were added, the mass before and after. In the last test the drawing came along too: the view rebuilt with the new sizes, no dimension was left hanging, revision B went into the title block and the part's Revision property, the mass in the title block went from 722 to 912 g, and one dimension that now overlapped the title block was moved clear. The drawing had no revision table, so the report said so and recorded the revision as a note instead.

Each of the ten took between 42 seconds and 3 minutes.

On a part nobody made for a test

The benchmark models were made for the test. This one wasn't: an extruder holder someone else designed, with 59 dimensions in its tree. The request was one sentence: make the front plate 10 mm taller and add a mount for an M12 bed probe.

Editing someone else's part through its own feature tree, in real SOLIDWORKS.

extrudo read the whole feature tree first, changed the front plate from 55 to 65 mm through the part's own dimension, and added a probe tab with a Ø12.5 hole at the end of the tree. No existing feature was deleted or suppressed. 21 steps, 0 failed.

Why this only works in native CAD

A tool that generates a new shape from text can't do any of this. It doesn't open your file, it makes a new one, and the feature tree, the variables, the configurations and the drawing that refers to them are gone. A STEP or a mesh has no tree to change at all.

extrudo works inside your own SOLIDWORKS, on the file you already have. It reads the model before it touches it, changes the dimensions and features the maker put there, and leaves a tree that the next person, or you next month, can still edit by hand.

In the app you ask for the change in the chat, in your own words, with the part or assembly open in SOLIDWORKS. A read-only file, for example one checked in to PDM, is not overwritten.

See the plans and the free build, or the edit on the use cases page.

FAQ

How do I change a dimension in an existing SOLIDWORKS part?

Find the dimension that drives the feature, usually in its sketch or in the feature itself, double-click it and type the new value, then rebuild. If the model uses global variables or equations, change the variable instead, so everything that depends on it follows.

Why do dimensions on my SOLIDWORKS drawing turn a different colour after a change?

They have become dangling: the edge or point they were attached to no longer exists. Right-click the dimension and reattach it to the new geometry, or delete it and dimension the feature again.

Can AI edit an existing SOLIDWORKS model?

Yes. extrudo opens your part or assembly in your own SOLIDWORKS, reads its feature tree and changes the existing dimensions and features. In a set of ten changes, including one in a single configuration, one in an assembly and one with a drawing, all ten passed their checks.

Does extrudo change my original file?

A read-only file, such as a part checked in to PDM, is not overwritten.

Keep reading

Get started

Build with us.

Windows, with your own SOLIDWORKS licence. The free build needs only your email.