← All tasks
MFG 05Manufacturing Knowledge

Machine a pair of injection mould inserts

Tools
FreeCAD
Time limit
8 hours

Agent is asked to mill the two cavity inserts of an injection mould on the shop's desk mill.

Agent Input

What the agent is given: the instruction and its input files.

instruction.md

We need the two cavity inserts of an injection mould, /app/a_cavity_insert.step and /app/b_cavity_insert.step, milled on the desk mill MILL-DESK-1. Our shop's machines, tools and stock are in /app/shop/. Save the process and the machine at /app/process.json as {"process": ..., "machine": ...}. Program both inserts in FreeCAD CAM and save the project at /app/cavity_inserts_cam.FCStd, with one Job per setup, labelled A_Setup1, A_Setup2 and so on for insert A and B_Setup1, B_Setup2 and so on for insert B, in the order they run. Save the G-code in /app/gcode/, one program per Job, named after the Job with the .ngc extension.

The inserts are 6061-T6 aluminium, cut from the shop's plate; use no more material than the job needs. Every face must be within ISO 2768-f general tolerances of its STEP file. The mould side of each insert (the parting face and every face cut into it or standing on it, the sprue included) must be within 0.02 mm of the STEP file and finished to Ra 0.8 µm as machined, with the cavity and the core centred on the insert's outside within 0.05 mm. Inside corners may be left at the radius of the tool that cuts them. In each tool controller set the tool's Length to how far it sticks out of the holder. Keep each tool's bending to at most 0.05 mm on any pass, and to at most 0.005 mm on any pass that finishes a mould-side face. Cut every feature except the sprue with FreeCAD CAM's own operations, not Custom operations. Each Job's Model group must hold the insert as it sits on the machine and a solid for each piece of workholding, the bed included, where it sits. Apart from screws fitted in holes that the setup cuts, the workholding does not change within a setup. Set the work zero with G54 where an operator can touch it off on the material as it is at the start of that setup. Post every program with the machine's post-processor. The plan should take the minimum machining time, and at most 18.0 minutes for insert A and 24.9 minutes for insert B.

You have 28800 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.

Grading & Reference Solution

How the submission is scored, and a human expert-authored reference solution.

rubric

Gates

G1Submission correctness
Pass / fail

Files present, CAM project computes, programs read. Any failure: score 0.

  • Process plan reads×3 · process.json reads and names a process and a machine that are in the shop's files.
  • CAM project opens×2 · cavity_inserts_cam.FCStd opens in FreeCAD and holds at least one CAM Job.
  • Setups are complete · Each Job: stock, part in its model, workholding touching the material.
  • Operations compute · Every active operation recomputes with no error and gives a toolpath.
  • Programs present and readable · <Job label>.ngc per Job in /app/gcode/, parsing in the machine's dialect.
G2Plan integrity
Pass / fail

Runnable plan: process, tools, matching programs, clean cut. Any failure: score 0.

  • Right process×2 · Plan names milling on the shop milling machine the task names.
  • Tools can be mounted · Each tool used is a crib tool whose shank fits a machine collet.
  • G-code matches the plan · Re-posted Job vs submitted program, block by block: move type, tool, arc direction, end/mid points.
  • Square turns only · Each setup turns the part by square (90°) turns only, so its axes stay on the machine's.
  • Part inside the block · The part, as placed in the first setup, lies inside the starting block.
  • Cut makes the part×4 · Simulated cut of all setups: share of part volume kept and share cut away.
  • No holding collisions · No tool, shank, holder or rapid touches jaws, parallels, plates, bed or other holding.
  • Part held · Desk mill: ≥ 3 screwed fixing holes per setup in waste over bed holes, around the part; insert held when freed.

Scored Categories

M1Part accuracy
30%

Both inserts: ISO 2768-f, 0.02 mm on moulding faces, stated sizes, about Ra 0.8 µm.

  • Faces within tolerance · Surface points of the simulated cut within ISO 2768-f; tool-radius inside corners count as in.
  • No gouges · Sample points where the cut went deeper into the part than the band.
  • No material left · Points with material proud beyond the band, tool-radius inside corners excepted.
  • Sizes after the cut, insert A×11 · Insert 14, floor 6, cavity 24.73/24.99/32.99 (1° draft), sprue 5.80/6.25, Ø4.2 × 5.6 hole, outside 58.25, aligned.
  • Sizes after the cut, insert B×14 · Core 29.99 × 21.99 × 5, rings 2 × 2 round Ø2 pins, channel 0.6 with 0.2 step, face 14, Ø4.2, Ø5.6 × 10, 58.25, aligned.
  • Moulding faces within 0.02 mm×9 · All points (3/mm², 300–6,000 per group) of A and B moulding-face groups; tool-radius corners excluded.
  • Moulding face finish×15 · Last-pass cusp (scallop or step) at points on each A and B moulding face group.
M2Stock and workholding
20%

Each insert from a listed plate with least material, screwed down, setup 2 zeroed on a setup 1 feature.

  • Block size×2 · Each block vs reference 104 × 62 × 16 mm (A) and 104 × 62 × 22 mm (B) + 3 %.
  • Block from the stock list×4 · Box at a listed 6061 plate thickness (12.7, 16, 22, 25.4 mm), part cleaning up rolled and sawn faces.
  • Holding clear of the block · Volume of each holding solid placed inside the block.
  • Grip limits · Each setup held; fixing holes in the waste, over bed threaded holes.
  • Fixing pattern spread · Fixing holes surround the part footprint's centre.
  • Fixing hole quality · Each fixing hole is cut clear through the block and wide enough for the bed's M6 screw.
  • Screw head clearance · After a fixing hole is cut, no tool, shank or holder comes near its M6 screw head.
  • Held at separation×4 · Each insert held or lightly cut when freed; no web or tab left (exact toolpaths).
  • Work zero can be touched off · G54: X, Y, Z on flat outside faces, or X/Y at a round hole or boss centre.
  • Datum transfer · Later setups take X/Y zero from an earlier-cut hole, boss centre or flat face.
M3Tools and cutting
20%

Crib tools within data, the 200 W desk mill and bending limits; gentle entry.

  • Tools from the crib · Unchanged crib tool; stick-out ≤ length minus holder grip.
  • Tool fits the machine · Suits machine and 6061: speed, rating, size, room under spindle.
  • Feeds and speeds · Surface speed, feed and plunge per tooth (per rev for drills) vs crib data for aluminium.
  • No cut above the flutes · No material touches a tool above its cutting length.
  • Tool load · Each pass vs material at op start: spindle power (1.1 J/mm³) and tool bending.
  • Tool reach · Each tool sticks out far enough for its deepest cut, so the holder never reaches the work.
  • Finishing passes bend ≤ 0.005 mm×8 · Last pass at points on A and B moulding faces (parting, floors, core top, walls).
  • Entry moves · Entry: plunge into solid ≤ 0.5 mm unless chip ≤ half crib max; shallow ramps and helices; entry power.
M4Process plan and finishing
10%

Two setups per insert, CAM ops per feature, small ring tool, time and length near reference.

  • Setup count×2 · Number of setups (Jobs) for each insert.
  • Separation last×2 · Nothing is cut on an insert after it is cut free of the block.
  • Operation types×20 · First and last cut per feature by a non-Custom CAM op (sprue any); ring finish tool ≤ 2 mm.
  • Machining time×2 · Per insert vs reference 16.369 min (A), 22.677 min (B).
  • Cutting length×2 · Per insert feed length vs reference 17,075.18 mm (A), 26,621.83 mm (B).
M5Machine and G-code
20%

Programs run on the desk mill as written, split as asked.

  • Within machine travel · Each program's moves fit the machine's X, Y and Z travel.
  • Machine limits · Spindle speeds and feeds in the programs lie within the machine's ranges.
  • Machine features used×4 · M7/M8 only if the machine lists coolant; M6 only with manual or automatic tool change.
  • G-code dialect · Accepted words only; metric, G54, tool change per new tool, ends M2/M30.
  • No rapid through material · No rapid (G0) move passes through material in the simulation.
  • Spindle on while cutting · Spindle on and tool loaded for every cutting move.
  • Output split as asked · One program per Job, named after the Job's label, and no other files.

Sample Model Trials

Claude Fable 5.20.00
Part accuracyStock and workholdingTools and cuttingProcess plan and finishingMachine and G-code
  • Fails a gate, so every category scores 0 (20 of 504 checks failed).
  • Plan integrity: A_Setup1: operation A_S1_ScrewHoles_D7 (tool 20) hits the workholding, from line 327
  • Plan integrity: A_Setup1: 0 screws in fixing holes over the bed's holes, at least 3 needed to hold the block against the cut
  • + 8 more failed checks
GPT-6.2 Astra0.00
Part accuracyStock and workholdingTools and cuttingProcess plan and finishingMachine and G-code
  • Fails a gate, so every category scores 0 (38 of 822 checks failed).
  • Plan integrity: A_Setup1: 0 screws in fixing holes over the bed's holes, at least 3 needed to hold the block against the cut
  • Plan integrity: A_Setup2: 2 screws in fixing holes over the bed's holes, at least 3 needed to hold the block against the cut
  • + 16 more failed checks
Gemini 4 Neon0.00
Part accuracyStock and workholdingTools and cuttingProcess plan and finishingMachine and G-code
  • Fails a gate, so every category scores 0 (33 of 510 checks failed).
  • Plan integrity: A_Setup1: 0 screws in fixing holes over the bed's holes, at least 3 needed to hold the block against the cut
  • Plan integrity: A_Setup2: 0 screws in fixing holes over the bed's holes, at least 3 needed to hold the block against the cut
  • + 12 more failed checks

Block and Bed Agent Output Failed Checks