mechanical-engineering-skills

Use cases: Barati Farimani Lab research skills

Nineteen skills in this library package Barati Farimani Lab papers as agent workflows: nine for design and ten for manufacturing. Each has a step-by-step tutorial with real outputs.

Design

| Skill | Paper | Best for | Tutorial | |—|—|—|—| | cadsmith-text-to-cad | CADSmith (arXiv:2603.26512) | Dimension-exact CadQuery parts from text, with kernel + vision validation | tutorial | | query2cad-freecad | Query2CAD (arXiv:2406.00144) | FreeCAD macros from plain language, with a self-refinement loop | tutorial | | linkage-synthesis | LinkD (arXiv:2601.04054) | Four-bar and six-bar linkages that trace a target path | tutorial | | llm-mechanical-designer | LLM Agent as a Mechanical Designer (arXiv:2404.17525) | LLM-in-the-loop truss design against exact FEM | tutorial | | cfd-simulation-setup | CFD Forge (arXiv:2610.14104) | Trustworthy OpenFOAM setup, diagnosis and acceptance | tutorial | | stress-field-surrogate | StressD (CMAME 2023) | Instant von Mises fields for design iteration, validated on unseen geometries | tutorial | | lattice-inverse-design | GLU3D (Adv. Funct. Mater. 2024) | Printable lattice cells for a target (an)isotropic stiffness, and lattice-vs-strut comparisons | tutorial | | equation-discovery | LLM-SR (ICLR 2025) | Interpretable laws from test data that extrapolate | tutorial | | rocketsmith | RocketSmith (arXiv:2606.00097) | Printed hobby rockets: stability, flight prediction, printable parts | tutorial |

Manufacturing

| Skill | Paper | Best for | Tutorial | |—|—|—|—| | agentscad-fdm-dfam | AgentsCAD (arXiv:2607.02448) | Making STEP parts printable: orientation, teardrops, chamfers | tutorial | | image2gcode | Image2Gcode (Addit. Manuf. Lett. 2026) | Photo or sketch → G-code for 2D/2.5D parts, toolpath datasets | tutorial | | lpbf-defect-prediction | AdditiveLLM (Addit. Manuf. Lett. 2025) | Metal L-PBF parameter screening and process windows | tutorial | | llm-3d-print-monitor | LLM-3D Print (Addit. Manuf. 2025) | Layer-by-layer camera monitoring and safe in-process correction of FDM prints | tutorial | | am-alloy-screening | Agentic alloy evaluation (Addit. Manuf. Lett. 2026) | Which alloy (known or new) prints, and where its LoF boundary is | tutorial | | sls-process-optimization | Agentic SLS (arXiv:2608.25928) | Polymer SLS parameters from ASTM results, batch by batch | tutorial | | meltpool-geometry | MeltpoolNet (Addit. Manuf. 2022) | Melt-pool size and mode estimates with Rosenthal, power laws and calibrated ML | tutorial | | thermal-porosity | ThermoPore (Addit. Manuf. 2024) | Pore count and location per layer from in-situ pyrometry | tutorial | | lpbf-superres | Diffusion super-resolution (Addit. Manuf. 2025) | High-resolution layer images and edge roughness from a webcam | tutorial | | am-literature-rag | AMGPT (Addit. Manuf. Lett. 2024) | Page-cited answers from your own AM literature | tutorial |

By the job to be done

“I have an idea in words and need a part.”

“I have a drawing, sketch, or photo.”

“I have a CAD part and need to make or analyse it.”

“I have someone else’s product and want to know how it is made.”

“I need a structure or layout designed.”

“I need a mechanism that moves along a path.”

“I’m printing it in metal.”

“My print is going wrong as it prints.”

“I need an equation, not a black box.”

“I’m iterating a 2D shape and FEA is too slow.”

“Which alloy, or which polymer settings?”

“I need a lightweight lattice with a given stiffness.”

“I’m building a rocket.”

“I need results I can defend.”

End-to-end pipelines

  1. Text → printable part. cadsmith-text-to-cad (validated STEP) → agentscad-fdm-dfam (orientation + teardrops) → slicer. Example: “a wall bracket for a 25 mm tube with two M5 screw holes, printed in PETG.”
  2. Text → part → simulation. cadsmith-text-to-cad → quick-fea (stiffness, stress) or cfd-simulation-setup (flow) → engineering-calc-report.
  3. Napkin sketch → physical part in minutes. image2gcode (2.5D) → printer. For 3-D shapes: sketch-to-cad → agentscad-fdm-dfam.
  4. Structural concept → detailed part. llm-mechanical-designer (truss layout) → cadsmith-text-to-cad (members as solids) → quick-fea check → dfm-review.
  5. Path → mechanism → hardware. linkage-synthesis (six-bar) → parametric-part-cad (links and pins) → machine-element-sizing → agentscad-fdm-dfam to print a prototype.
  6. Print with a watcher. agentscad-fdm-dfam → slice → add_layer_pauses.py → llm-3d-print-monitor corrects the print layer by layer and leaves an audit log.
  7. Metal part qualification plan. lpbf-defect-prediction map → choose the robust point → design a density-cube DOE around it → engineering-calc-report.
  8. Metal AM process development loop. am-literature-rag (what has been tried for this alloy) → meltpool-geometry + lpbf-defect-prediction (window) → single tracks to calibrate (--extra) → build with pyrometry and a webcam → thermal-porosity + lpbf-superres flag layers → targeted CT.
  9. Competitor teardown → cost-down. Photos and masses from a disassembled rival → mechanical-teardown (DFA index, should-cost, elimination candidates) → dfm-review on the top cost parts → design-review-package for your own next version. Example: “Here are photos of a cordless drill I took apart. What does it cost to make and where would you take cost out?”
  10. Course module on agentic engineering. Use the tutorials in order (Query2CAD → CADSmith → AgentsCAD → CFD Forge) to show how verification gets stricter: a VLM score, then kernel metrics with an independent judge, then rule-based geometry checks, then registered physics contracts.

A pattern shared across the papers

The model proposes; something deterministic checks. The check takes a different form in each paper:

When you add a skill to this library, keep this pattern: a deterministic check the agent can’t talk its way past.