dfam-check
Ce qu’il fait
Cette compétence mesure des fichiers de maillage 3D, comme les STL, selon les règles de conception de plusieurs procédés d'impression 3D. Elle s'adresse aux makers et aux ingénieurs qui veulent contrôler une pièce avant de l'imprimer.
Quand l’utiliser
- ✓Quand vous demandez si un modèle 3D est imprimable.
- ✓Quand vous voulez une suggestion d'orientation de fabrication pour imprimer une pièce.
- ✓Quand vous avez besoin de conseils pour retravailler une pièce avant de la trancher.
Lien du skill
https://github.com/earthtojake/text-to-cad/blob/main/skills/dfam-check/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Pouvez-vous vérifier si ce fichier STL est imprimable et me dire quels surplombs posent problème ?”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'IA exécute un outil de mesure sur le maillage pour obtenir des faits, comme les angles de surplomb et l'épaisseur des parois. Elle les compare aux limites de chaque procédé d'impression et restitue les constats.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
DfAM Check
Use this skill to produce conservative, evidence-backed DfAM reports for mesh files before slicing or printing. It measures geometry facts locally and compares them against per-process design limits; it never slices, uploads, or starts print jobs.
Geometry Inspection
Use scripts/dfam_tool.py in the active project Python environment for all
geometry facts (install requirements.txt first — every run needs it). The tool is fact-only:
it reports measurements and never emits pass/fail or readiness statuses.
Comparisons and verdicts belong to this workflow. Do not estimate wall
thickness, overhang angles, or support volume by eye or from renders when the
tool can measure them.
python scripts/dfam_tool.py measure part.stl --angle-limit 45
python scripts/dfam_tool.py orientations part.stl --angle-limit 45
Set --angle-limit to the target process's self-supporting angle from
references/process-limits.md before measuring, and re-run when the target
process changes: the aggregate support-area facts are binned against it.
STEP/STP input is boundary-representation CAD, not a mesh: export an STL first,
then measure the STL here. For a text-to-cad model, cad export <id> part.stl writes one
(or cad export part.step part.stl from a STEP).
Report that remediation instead of attempting raw STEP parsing. measure
on a STEP exits 1 with {"error": "failed to load mesh: ..."}; that is the
wrong-input signal, not a missing dependency — do not install extra mesh
loaders to work around it.
A fact family that cannot compute returns {"error": ...} in its place rather
than costing the report its other measurements — wall_thickness does this when
the dependency set is incomplete, support_volume on geometry with no convex
hull. That report is PARTIAL: it carries "partial": true, names the families
in partial_sections, and the command exits 2 (0 is a complete report, 1 a
mesh that would not load at all). Treat every such object as an unmeasured fact
(❓ need more info), never as a measurement of zero, and reinstall
requirements.txt before comparing wall limits.
Workflow
- Collect print intent: target process, material, layer height, and any machine or material datasheet the user can provide. If the process is unknown, measure once with the default 45° limit, then present findings per candidate process rather than guessing a single verdict.
- Read
references/process-limits.mdand select the limit column for the target process. A user-provided machine/material datasheet overrides the defaults; cite whichever source is used for every comparison. - Run
measureon the exact upload file. Do not inspect only a generator script, source CAD model, or console summary of the file. - Run
orientationswhen the process requires supports and the measured support area is nonzero. Report any candidate that materially reduces support area, with its build-height tradeoff. - Compare each measured fact to the cited limit and report findings with
restrained status labels:
✅ pass: the measured fact satisfies the cited limit.❌ fail: a measured fact directly violates the cited limit.❓ need more info: missing process context, unmeasured geometry, sampling too sparse to trust, or tool limitations.
- Order findings by severity: watertightness first (blocks slicing for every process), then wall thickness, then overhangs/supports, then orientation and cost signals.
Comparison
Compare only trustworthy pairs of evidence.
- Cite the limit source (process-limits table row, or the user's datasheet field) and the measured fact (JSON field path) for every finding.
- Treat
p05_mmbelow the wall-thickness limit as a violation even whenmin_mmalone could be a sampling outlier; report both values. - On an assembly,
wall_thicknessreportsbody_countand aper_bodybreakdown. Attribute a violation to the body it belongs to; a thin figure pooled across bodies is not a finding against the part as a whole. - Do not apply support-angle findings to powder processes (SLS, MJF); the
relevant powder-process check is trapped-volume powder escape, which this
tool does not yet measure — report that as
❓ need more infowhen enclosed cavities are likely. - Do not silently rescale geometry.
scale.units_suspectis measured from the bounding-box diagonal: when it istrue, the source is probably in meters or inches, every dow
Questions fréquentes
La compétence tranche-t-elle le modèle ?
Non. Elle mesure seulement le maillage et signale les constats d'imprimabilité. Elle ne lance jamais une impression.
Peut-elle vérifier un fichier STEP ?
Exportez d'abord un STL. La compétence ne lit pas directement les fichiers STEP.
Quels procédés d'impression couvre-t-elle ?
FDM, SLS, SLA ou DLP, l'impression métal sur lit de poudre et MJF.
Détails
Description originale de l’auteur
Measure mesh files against Design for Additive Manufacturing (DfAM) rules and report printability findings per process (FDM, SLS, SLA/DLP, metal PBF, MJF). Use when the user asks whether a part is printable, wants overhang/wall-thickness/support analysis of an `.stl`, `.obj`, `.ply`, or `.3mf` mesh, wants a build-orientation recommendation, or wants DfAM redesign guidance before slicing or regenerating geometry. Measures meshes; it does not slice, print or edit the model.
repo: earthtojake/text-to-cad
Popularité
- Étoiles GitHub
- 25k
- Position au classement
- #10068
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
bambu-labs
25kAide votre agent à envoyer un modèle 3D tranché ou non tranché vers une imprimante Bambu Lab, via Bambu Connect ou Bambu Studio.
cad
25kAide votre agent à concevoir des pièces et assemblages 3D sous forme de scripts Python build123d, à les exporter en fichiers STEP ou STL, et à vérifier leurs mesures.
dfm
25kAide votre agent à relire une pièce pour la tôlerie, l'usinage CNC ou le moulage par injection, afin de vérifier si elle peut être fabriquée et ce qu'il faut modifier.
dxf
25kAide votre agent à créer et vérifier des dessins DXF 2D pour la découpe laser, plasma ou jet d'eau, à partir d'une description ou d'une pièce CAO.
Skills similaires
blucli
394kAide votre agent à trouver, lancer, mettre en pause, regrouper et régler le volume des enceintes Bluesound et NAD grâce à la commande blu.
camsnap
394kAide votre agent à prendre des instantanés, de courts extraits vidéo ou des événements de mouvement depuis les caméras réseau et webcams locales que vous avez configurées.
eightctl
394kAide votre agent à consulter et contrôler un boîtier Eight Sleep, y compris sa température, ses alarmes et ses programmes de sommeil.