Blog Machines

One motor, 261 mates: inside the V8 an AI built

By Max Buining, who builds extrudo · 4 min read

Step 1,340 of this build has one line in the log:

"Release the crank. One motor on the crankshaft: everything else follows through the mates."

Everything before that line exists so that this one works. Turn the crank and eight pistons go up and down, the cam turns at half speed, sixteen lifters ride their lobes, pushrods tilt the rockers and the valves open in the right order. Nothing else is driven.

The V8 in a SOLIDWORKS motion study. The only motor is on the crankshaft.

What's in there

Bore 102 mm, stroke 88 mm, eight cylinders: 5.75 litres. A cross-plane crank with its pins at 0, 90, 270 and 180 degrees, firing 1-8-4-3-6-5-7-2 every 90 degrees, the same order as a classic American small-block.

Of the 213 components, 8 are pistons, 24 are piston rings and 8 are connecting rods with 8 caps and 16 bolts. The valvetrain alone is 16 valves, 16 springs, 16 retainers, 16 lifters, 16 pushrods and 16 rockers. Add a block, two heads, a flywheel with a 120-tooth ring gear, an intake manifold with eight runners, two headers, an oil pan and a water pump on a belt, and you have an engine you can read like a textbook, because the timing cover is see-through.

A build this size starts on paper

Nobody improvises 1,344 steps. An AI agent worked on the same SOLIDWORKS tools extrudo runs on, and it started with a written spec and a script that solved the motion of the whole engine, every half degree over two crank turns. That's where you find out if a valve hits a piston, before a single part exists:

  • 3.4 mm from valve to piston at overlap
  • 4.9 mm from piston skirt to counterweight
  • 6.8 mm from the rod bolts to the block
  • 0.18 mm of flank clearance in the timing gears

The AI filled in every dimension, the cam profile, the valve timing and the port layout itself. The prompt only gave it the layout: cross-plane crank, firing order, 22:44 timing gears, a pushrod valvetrain with 16 valves. Then came a full dry run, and then the final run from an empty SOLIDWORKS, which took 64 minutes.

What 1,344 steps actually are

I counted them, and the result surprised me. Modelling is less than a third of the work.

ASSEMBLING · 663 STEPSMates: 261Mates261Insert a component: 213Insert a component213Place a component: 189Place a component189MODELLING · 411 STEPSSketches: 143Sketches143Extrudes: 128Extrudes128Reference planes: 106Reference planes106Revolves, sweeps, patterns: 34Revolves, sweeps, patterns34FILES AND PROPERTIES · 257 STEPSNew, save and close: 116New, save and close116Colours and materials: 71Colours and materials71Part numbers and properties: 70Part numbers and properties70OTHER · 13 STEPSScripts, camera, motion study: 13Scripts, camera, motion study13
Every step of the final build, counted from its log. Half of them put parts together.

The 35 part files are finished at step 657. The first component goes into the assembly right after that, and from there it's nothing but placing and mating for almost 700 more steps. That's what a real assembly is like, and it's the part of CAD work that nobody enjoys: 261 mates, each one picking the right two faces.

The valvetrain

This is the bit I'd show someone who thinks mates are just for holding things together.

The cam has 16 spline lobes, each turned to its own valve's timing. A tangent mate keeps each lifter on its lobe, so the lobe's shape is what lifts it. From there it runs through the pushrod and the rocker to the valve, all on mates. Each bank's valvetrain takes 178 steps.

The lifters rise 7.0 mm. The rockers have a ratio of 1.5. The valves open 10.5 mm. You can check that one in your head.

One decision made me smile. A solid part can't compress, so the valve springs are rigid and ride down with the valves into pockets in the head. It's the sensible way to do it in rigid-body motion, and you'd only notice if you went looking.

How we know it's right

A screenshot of an engine tells you nothing, so this one got measured.

The crank was driven through 720 degrees in 30 degree steps, with SOLIDWORKS solving every mate at each step. At each step, every moving part was compared with the calculated motion and the whole engine got a clash check.

  • Worst position error of any part: 0.0051 mm
  • Worst angle error: 0.0008 degrees
  • Cam speed: 0.5 times the crank, at every step
  • Water pump: 1.5 times the crank, at every step
  • Overlapping volume between parts: zero

And the check I like best, because you can do it with a calculator. A rod of 152 mm on a crank radius of 44 mm should swing arcsin(44/152) = 16.83 degrees either side. SOLIDWORKS measured 16.83.

After two crank turns, every part is back where it started.

The real build, about 165 times faster than it ran: 35 parts, then the assembly.

You can switch between the model and the build on the machines page.

FAQ

Can an AI build a full engine assembly in SOLIDWORKS?

Yes. This V8 has 35 part files, 213 components and 261 mates, all native SOLIDWORKS. The final build ran 1,344 steps in 64 minutes, after a written spec, a motion calculation and a dry run.

How do you make a whole engine move from the crankshaft alone?

Mate the chain all the way through: gear mates between crank and cam, tangent mates between cam lobes and lifters, and concentric and coincident mates through the pushrods, rockers and valves. Then put one motor on the crank.

How do you check that a moving assembly is correct?

Drive it in steps and compare every part with a calculated position, and run a clash check at each step. Here that gave a worst position error of 0.0051 mm over two crank turns.

Keep reading

Get started

Build with us.

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