使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/baratilab/mechanical-engineering-skills --skill dfm-review开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
DFM / DFA Review
Workflow
- Context. Find out the process (or pick one), annual volume, material, and critical functions. If the process isn't given, recommend one with
references/process_select.mdbefore reviewing. - Get the geometry facts. From a STEP file, measure with CadQuery: bounding box, minimum wall (sample with ray casts or offset tests), hole diameters and depths, internal corner radii, face normals (for undercuts and draft), and the number of distinct setup directions. From a drawing or images, read them off and list what you couldn't measure.
- Apply the rules for that process in
references/rules.md. For every violation, give:
Feature | Rule | Measured | Limit | Impact (cost/quality/infeasible) | Fix.
- Cost drivers. Rank the top 3: setups and orientations, tight tolerances, deep pockets or small tools, secondary operations, scrap rate, tooling complexity (side actions, lifters).
- DFA (for assemblies): count parts, mark each one as theoretically necessary or not (Boothroyd: does it move relative to others, does it need a different material, must it be separate for assembly or service?), and give the DFA index = 3 × N_min / total assembly time estimate. Suggest part consolidations and snap-fits in place of fasteners.
- Output: verdict (manufacturable as-is / with changes / wrong process) → violations table sorted by impact → cost-driver list → redesign suggestions with before/after sketches or CadQuery edits when useful.
Principles
- Every suggestion must keep the function. If a change trades off function, say so.
- Give numbers ("increase R0.5 to R3 so a Ø6 end mill can reach"), not general advice.
- Volume changes the answer: at 10 parts, CNC beats molding even with ugly geometry.