SolidCraft Assembly: Make a Hook Slide on a Rail (0.4 mm Gap)

November 16, 2026 · SolidCraft + Claude Course (part 8)

▶ Watch on YouTube & subscribe to The Stack Underflow

Two parts that should slide need a gap between them. With no gap, they touch; with a typo, they overlap and jam. An assembly lets you test this before printing: join the parts with a sliding joint, turn on contact, and drive the joint. Then check the fit with two numbers: the interference (how much the parts overlap) and the measured gap.

The one-line version: write the slot as rib + 2 x gap, then check Interference and Measure, and drive the joint the whole way.

Last verified in our lab: 14 November 2026 (SolidCraft 0.28.0; Claude Code 2.1.311 with Claude Sonnet 5.5; Linux in Docker).

The words first

  • Component: a part in an assembly that can move on its own.
  • Ground: fix one component in place, so the others move relative to it.
  • Slider joint: lets a component move along one direction only. As-Built joins the parts where they already are.
  • Contact: makes parts stop when they touch, instead of passing through each other.
  • Interference: the volume where two parts overlap. It should be zero.

The parts

A hook’s T-slot on a rail’s T-rib. The slot was typed 11.6 against a 12 mm rib, so the parts overlap. Start file: sc8-typo.sc.

By hand

  1. Browser: right-click the Bodies folder, Create Components from Bodies.
  2. SolidCraft grounds the first component (the hook): right-click it, Unground; right-click the rail, Ground.
  3. Move the hook 85 mm above the rail (Z 85), Capture All Positions.
  4. Assemble tab, As-Built: the hook and the rail, Type: Slider, OK. Then Contact, Enable All Contact.
  5. Drive Joints, Distance 85. With the typo: “Stopped at 5.01 mm”.
  6. On the parts as drawn: Inspect tab, Interference, Compute: Hook · Rail 72.00 mm³.
  7. Parameters: slot_head = rib_head + 2 * gap. gap 0 gives 12 mm: no interference, Nearest 0.00 mm (touching).
  8. gap 0.4: the slot rebuilds 12.8. Measure, the slot’s wall edge then the rib’s bottom face: Distance 0.40 mm.
  9. Drive Joints, Distance 85: no stop line, the whole rail.

What we measured

Our script, SolidCraft 0.28.0, with Interference’s Clearance field left at 0:

SlotInterferenceGap each sideDrive 85 with contact on
Typo, 11.672.00 mm³ overlapnonestops at 5.01 mm
gap 0none0.000 mm (touching)runs 85.0
gap 0.1none0.100 mmruns 85.0
gap 0.4none0.400 + 0.400 mmruns 85.0, the whole rail

The gap 0 and 0.1 rows were run by script, not filmed. Only one side of the 0.4 gap was filmed (Distance 0.40 mm).

Why the check passes at gap 0: at clearance 0, gaps of 0, 0.1 and 0.4 all pass both checks. The printer tells them apart: holes print a little smaller, and the first layer prints a little wider. Prusa’s guide: “An initial good measurement for movable parts is at least 0.3 mm.”

Send to Slicer (by script, not filmed): one 3MF, 2 objects, 34.6 x 60.0 x 20.0 and 80.0 x 24.0 x 10.0 mm. We printed nothing.

Then with Claude

Two runs, over SolidCraft’s MCP server:

  • Run 1: the gap-0 file and “Make this hook slide onto this rail as an assembly.” Two components, the rail grounded, a slider joint (limits 0-20, driven to 15 mm). No interference check, contact off, gap 0 each side. Its reply says “I haven’t run an interference check” and that you could “set gap above 0”. It left it at 0.
  • Run 2: the same plus “Leave a 0.4 mm gap each side, then check for interference and measure the gap on both sides”. Our cost guard (a spending limit per run) stopped it mid-edit. It left gap 0.4, the slot cut removed and not yet re-made, and a 3,096 mm³ overlap. Not scored, not re-run.

Your turn

Open the start file, set gap to 0.4, make the assembly, turn contact on and drive it. Then measure the slot’s other wall, the side we didn’t film.

The course

Sources

Read 14 November 2026:

Change notes

  • 16 Nov 2026: first published, from the lesson’s lab results of 14 Nov 2026.

Not affiliated with or endorsed by SolidCraft (Tangency Labs), Prusa Research, Bambu Lab or Anthropic. Found a mistake? Tell us in the video’s comments and we’ll correct this page.

Found this useful? The deep version lives on YouTube — new breakdowns of how AI dev tools actually work, weekly.

Subscribe on YouTube →

Prefer email? Get the free newsletter: one failure, traced step by step, about once a week.