{"data":{"slug":"discovered-d936e06f6fae7d915625e243f6857991683d98587f67d228","title":"Fdmguard","summary":"Run function-first checks for 3D-printed (FDM) parts before choosing a print orientation, splitting a part, reorienting it, or adding joints. Checks include insertion-path sweeps, thin-neck and thin-strip analysis, hole-fit sizing, bed-contact stability, and builds a trade-off table that always includes the original geometry.","url":"https:\/\/skillshunter.net\/skills\/discovered-d936e06f6fae7d915625e243f6857991683d98587f67d228","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-d936e06f6fae7d915625e243f6857991683d98587f67d228","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-d936e06f6fae7d915625e243f6857991683d98587f67d228.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-d936e06f6fae7d915625e243f6857991683d98587f67d228\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before running any checks, ensure the original geometry is preserved as an option in the trade-off table. Use the `--json` flag for machine-readable output. The tool requires a valid STL file and proper input parameters for each check.","instructions":"---\nname: fdmguard\ndescription: Function-first checks for 3D-printed (FDM) parts. Use BEFORE choosing a print orientation, splitting a part into pieces, reorienting it, adding keels, joints, pins or screws to make it print better, before carving pockets or clearances for mating parts, and BEFORE telling a human that a part fits or is ready to print. Runs an insertion-path sweep, thin-neck and thin-strip checks, hole-fit sizing, a bed-contact stability screen, and builds a trade-off table that always includes the unchanged original geometry.\n---\n\n# fdmguard: function first, print quality second\n\n**A part that prints beautifully but cannot be assembled (or falls over mid-print) is a failed part. Function first, print quality second.**\nJudge every print choice by function first (does it assemble, stay on the\nbed while printing, move, hold, survive handling) and only then by print quality (supports, flat faces, hole\nroundness).\n\nEvery print choice (orientation, splitting into pieces, adding joints) is a\ntrade-off. Always include **\"keep the original author's geometry unchanged\"**\nas an option, compare all options in one table, and let a human decide.\n\n## When to use this skill\n\n- You are choosing a print orientation (especially a tilted or \"diagonal\" one).\n- You are about to split, reorient, re-joint, or add a keel\/peg\/screw to a\n  printed part \"to make it print better\".\n- You are carving a pocket, slot or clearance for a mating part.\n- You changed hole sizes for pins, filament pins or screws.\n- You are about to say \"this fits\", \"this is ready to print\", or \"this prints\n  without supports\".\n\n## Install\n\n```sh\nuv tool install fdmguard     # or: pip install fdmguard\nuvx fdmguard --help          # or run it without installing\nfdmguard skill --install ~\/.claude\/skills   # install or update this skill\n```\n\nAs an MCP server instead of the CLI: `claude mcp add fdmguard -- uvx fdmguard serve`.\nThe tools (`check_insertion`, `check_necks`, `check_strips`, `check_holes`,\n`check_stability`, `tradeoff`) take the same options and return the same JSON.\n\nAdd `--json` to any check for one machine-readable JSON document per call; still trust the exit code\n(format: docs\/JSON.md in the repository).\n\n## Check order\n\nRun the checks in this order, on EVERY option you are comparing (the original\nincluded). Do not stop at the first FAIL: record every result, because a\nfailing option still belongs in the trade-off table as \"gated out\". Exit code\n0 = PASS, 1 = FAIL (or nothing checked), 2 = bad input (never a pass).\n\n1. **insertion** (every pair of mating parts, along the real assembly path)\n   ```sh\n   fdmguard insertion moving_seated.stl fixed.stl --direction=-z --travel 20\n   ```\n   The moving mesh is in its SEATED pose. `--direction` is the motion\n   direction during assembly. `--travel` must start the part fully outside\n   the fixed part. Declare intentional snap tabs with\n   `--allow name:x0,y0,z0,x1,y1,z1`. The tool prints the seated-only result\n   next to the path result: if seated passes and the path fails, the part\n   cannot be assembled. Every option that changes a mating part needs its own run.\n   If the part twists, swings or moves in more than one step (bayonet, hinge,\n   slide then drop), give the real motion with `--path` (legs in assembly\n   order, ending seated):\n   ```sh\n   fdmguard insertion plug.stl socket.stl --path '[{\"translate\": {\"direction\": \"-z\", \"distance\": 25}}, {\"rotate\": {\"axis\": \"z\", \"point\": [0, 0, 0], \"angle\": 90}}]'\n   ```\n   Do not approximate a rotation with a straight move.\n2. **necks** (every part you split or trimmed)\n   ```sh\n   fdmguard necks part.stl            # erosion r = 0.7 mm\n   ```\n3. **strips** (flat plates and thin printed parts, in print orientation)\n   ```sh\n   fdmguard strips part.stl --width 1.6 --up z\n   ```\n   Report both the thin fraction and the marginal 1.6-1.8 mm fraction.\n4. **holes** (every pin or screw hole)\n   ```sh\n   fdmguard holes --pin 1.75 --fit slip part.stl\n   ```\n5. **stability** (every orientation you consider, mesh in print orientation)\n   ```sh\n   fdmguard stability part_oriented.stl\n   ```\n   FAIL below 20 mm\u00b2 first-layer contact, above height \/ contact width 10,\n   or when the centre of mass is not over the base.\n6. **tradeoff** (always, before recommending a print plan)\n   ```sh\n   fdmguard tradeoff options.yaml\n   ```\n   Put the original geometry in the file with `original: true`. Put a gate\n   you did not check as `unknown`, not `pass`.\n\n## Rule: show the table, do not decide silently\n\nIf any check FAILs for the plan you were about to propose, say so plainly and\ndo not call the part ready to print.\n\nPaste the trade-off table into your reply. Say which option the tool suggests\nand why. Then ask the human to choose. Do not change a part's geometry, split\nit, or add hardware on your own because it lowers support use.\n\n## Tolerance defaults (FDM, PLA; starting points, calibrate per printer)\n\n| What | Default | Why |\n|---|---|---|\n| FDM over-size in sweeps | grow 0.1 mm, in-plane | printed parts come out slightly big |\n| Sweep step | 0.25 mm | small enough to catch a short rim |\n| Seated pocket clearance | +0.2-0.25 mm per side | zero clearance on a seat face jams |\n| Slip-fit pin hole | nominal + 0.35 (1.75 filament -> 2.10) | FDM holes print 0.1-0.3 mm small |\n| Printed peg in printed hole | >= 0.4 mm diametral clearance | both sides are printed |\n| Screw clearance | nominal + 0.6 (M3 -> 3.6) | |\n| Self-tapping pilot | nominal - 0.2 (M3 -> 2.8) | |\n| Neck erosion radius | 0.7 mm (catches necks < ~1.4 mm) | a 0.5 x 0.9 mm strip snapped in handling |\n| Minimum strip width | 1.6 mm per layer | narrow strips on flat plates break |\n| Snap region | <= 12 mm long overlap; warn > 1.0 mm deep | a long rigid rim is not a snap |\n| Bed contact | >= 20 mm\u00b2 first layer; height \/ contact width <= 10 (warn > 5) | a 54 mm part on 0.5 mm\u00b2 topples |\n\n## Anti-patterns\n\n- **Calling an undercut a snap.** A snap is a small, flexible feature (about\n  10 mm wide, under 1 mm of deflection, with room to flex). A 20 mm rigid rim\n  that overlaps the mating part by 0.5 mm during insertion is an undercut.\n  Forcing it breaks PLA. Do not draw an \"allowed\" box around it.\n- **Optimising support percentage alone.** Zero supports means nothing if the\n  halves cannot be assembled or the split leaves a 0.5 mm neck.\n- **Seated-pose-only clearance.** Carving a pocket at the seated pose (+0.3 mm)\n  and checking only that pose proves nothing about the path. Sweep the moving\n  part from outside to seated. Cut pockets with the swept volume, not the\n  seated volume.\n- **Choosing orientation by support % alone.** A \"diagonal\" orientation with\n  2.8% support but 0.5 mm\u00b2 of bed contact on a 54 mm tall part topples or\n  detaches. Standing it on a face (127 mm\u00b2 contact, round vertical bore, 21.5%\n  support) was the right choice. Run `stability` on every orientation.\n- **Thickness-only checks on flat plates.** A 1.76 mm plate passes a wall\n  thickness check while most of it is 1.6-1.8 mm wide strips. Use `strips`.\n- **Silent \"improvements\".** Changing the author's geometry without showing\n  the original as an option in a table.\n- **Treating \"not checked\" as \"passed\".** Unknown gates stay UNVERIFIED.\n\n## Limits (say these when they apply)\n\n- Insertion paths are straight moves and rotations about fixed axes (`--path`).\n  Screw motions (rotate and advance together) are not supported.\n- In-plane grow is an approximation of FDM over-size. It is not a print simulation.\n- Necks use a voxel grid: accuracy about half the pitch (0.025 mm by default).\n- Hole detection only finds round holes whose axis is along `--up`, at least\n  `--min-depth` (1 mm) deep.\n- All tolerances are starting points. Calibrate with real prints.\n","use_cases":["Choosing a print orientation for a 3D-printed part","Splitting or reorienting a part to improve printability","Adding joints or keels to a part before printing","Carving pockets or clearances for mating parts","Verifying hole-fit sizing and insertion paths for assembly"],"limitations":[],"compatibility":[],"setup_tip":"```sh\nuv tool install fdmguard     # or: pip install fdmguard\nuvx fdmguard --help          # or run it without installing\nfdmguard skill --install ~\/.claude\/skills   # install or update this skill\n```\n\nAs an MCP server instead of the CLI: `claude mcp add fdmguard -- uvx fdmguard serve`.\nThe tools (`check_insertion`, `check_necks`, `check_strips`, `check_holes`,\n`check_stability`, `tradeoff`) take the same options and return the same JSON.\n\nAdd `--json` to any check for one machine-readable JSON document per call; still trust the exit code\n(format: docs\/JSON.md in the repository).","sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/SamKo88927\/fdmguard\/blob\/dfd3c1d69121084ff76e7831e71ea775920cf9a9\/skills\/fdmguard\/SKILL.md","source_commit":"dfd3c1d69121084ff76e7831e71ea775920cf9a9","license":null,"version":null,"listing_approved_at":"2026-11-30","created_at":"2026-11-29T11:04:45.000000Z","updated_at":"2026-11-30T06:51:59.000000Z","seo_title":"Fdmguard - Function-first 3D Print Checks for FDM Parts","seo_description":"Fdmguard is a tool for function-first checks on 3D-printed FDM parts. It ensures parts are printable and functional by analyzing insertion paths, stability, and trade-off","seo_keywords":["3D print checks","FDM part analysis","insertion path sweep","thin-neck check","hole-fit sizing","print orientation","trade-off table","3D printing stability"]}}