Saltar al contenido
Skillpedia
Varios25 mil · #10068

dfam-check

Qué hace

Esta skill mide archivos de malla 3D como STL frente a reglas de diseño para varios procesos de impresión 3D. Está pensada para makers e ingenieros que quieren revisar una pieza antes de imprimirla.

Cuándo usarla

  • ✓Cuando preguntas si un modelo 3D es imprimible.
  • ✓Cuando quieres una sugerencia de orientación de construcción para imprimir una pieza.
  • ✓Cuando necesitas orientación para rediseñar una pieza antes de cortarla.

Link de la skill

https://github.com/earthtojake/text-to-cad/blob/main/skills/dfam-check/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/earthtojake/text-to-cad/blob/main/skills/dfam-check/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Puedes comprobar si este archivo STL es imprimible y decirme qué voladizos son un problema?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La IA ejecuta una herramienta de medición sobre la malla para obtener datos como los ángulos de voladizo y el grosor de pared. Después los compara con los límites de cada proceso de impresión e informa de los hallazgos.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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

  1. 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.
  2. Read references/process-limits.md and 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.
  3. Run measure on the exact upload file. Do not inspect only a generator script, source CAD model, or console summary of the file.
  4. Run orientations when the process requires supports and the measured support area is nonzero. Report any candidate that materially reduces support area, with its build-height tradeoff.
  5. 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.
  6. 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_mm below the wall-thickness limit as a violation even when min_mm alone could be a sampling outlier; report both values.
  • On an assembly, wall_thickness reports body_count and a per_body breakdown. 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 info when enclosed cavities are likely.
  • Do not silently rescale geometry. scale.units_suspect is measured from the bounding-box diagonal: when it is true, the source is probably in meters or inches, every dow
Preguntas frecuentes

¿Corta el modelo?

No. Solo mide la malla e informa de los hallazgos de imprimibilidad. Nunca inicia una impresión.

¿Puede revisar un archivo STEP?

Exporta primero un STL. La skill no lee archivos STEP directamente.

¿Qué procesos de impresión cubre?

FDM, SLS, SLA o DLP, impresión de lecho de polvo metálico y MJF.

Detalles

Descripción original del autor

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

Popularidad

Estrellas en GitHub
25 mil
Posición en el ranking
#10068
Licencia
MIT
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas