dfam-check
하는 일
이 스킬은 STL 같은 3D 메시 파일을 여러 3D 프린팅 방식의 설계 규칙에 비추어 측정합니다. 출력 전에 부품을 점검하려는 메이커와 엔지니어를 위한 스킬입니다.
사용하는 경우
- ✓3D 모델을 출력할 수 있는지 묻고 싶을 때.
- ✓부품을 출력하기 위한 빌드 방향 제안이 필요할 때.
- ✓슬라이스하기 전에 부품을 다시 설계하는 지침이 필요할 때.
스킬 링크
https://github.com/earthtojake/text-to-cad/blob/main/skills/dfam-check/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 STL 파일을 출력할 수 있는지 확인하고, 어떤 오버행이 문제인지 알려 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 메시에 측정 도구를 실행해 오버행 각도와 벽 두께 같은 사실을 얻습니다. 그다음 각 출력 공정의 한계와 비교하고 발견 사항을 보고합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
모델을 슬라이스하나요?
아니요. 메시만 측정하고 출력 가능성에 대한 발견 사항을 보고하며, 출력을 시작하지는 않습니다.
STEP 파일을 확인할 수 있나요?
먼저 STL로 내보내세요. 이 스킬은 STEP 파일을 직접 읽지 않습니다.
어떤 출력 방식을 다루나요?
FDM, SLS, SLA 또는 DLP, 금속 분말 베드 출력, MJF입니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 25k
- 순위
- #10068
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
bambu-labs
25k에이전트가 Bambu Connect나 Bambu Studio를 통해 슬라이스된 또는 슬라이스되지 않은 3D 모델을 Bambu Lab 프린터로 보내도록 돕습니다.
cad
25k에이전트가 3D 부품과 조립품을 Python build123d 스크립트로 설계하고, STEP이나 STL 파일로 내보내며, 치수를 확인하도록 돕습니다.
dfm
25k에이전트가 부품을 판금, CNC 가공, 사출 성형으로 만들 수 있는지 검토하고, 무엇을 바꿔야 하는지 확인하도록 돕습니다.
dxf
25k에이전트가 설명이나 CAD 부품으로부터 레이저, 플라즈마, 워터젯 절단용 2D DXF 도면을 만들고 확인하도록 돕습니다.