DFM Rules Handbook
Derived from: D:\02_Code\45_merged_macos_colabui_dfmanim\server\dfm
Bundle version: 1.3.0
Current runtime note: The active RapidDraft integration repo now carries the promoted book packs for CNC, plastics, and sheet metal. Older rows on some generated rule pages may still reflect the March 182-rule snapshot; use the current-runtime notes on this page and the physics-family maps for April 2026 status.
What This Handbook Covers
This handbook turns the backend DFM bundle into a readable map of the system: the pack structure, the rule catalog, standards traceability, and the recurring rule shapes that make later simplification possible.
Quick Stats
| Item |
Value |
| Source bundle |
D:\02_Code\45_merged_macos_colabui_dfmanim\server\dfm |
| Bundle version |
1.3.0 |
| Bundle generated_at |
2026-03-30T16:37:53Z |
| Documentation refreshed |
2026-04-21 |
| Rules |
195 |
| References |
56 |
| Process families |
6 |
| Overlays |
9 |
| Roles |
5 |
| Templates |
5 |
| UI screens |
2 |
Validation Against Manifest
| Entity |
Expected |
Actual |
Status |
| Rules |
195 |
195 |
Match |
| References |
56 |
56 |
Match |
| Roles |
5 |
5 |
Match |
| Templates |
5 |
5 |
Match |
| A_DRAWING |
25 |
25 |
Match |
| G_BASELINE |
12 |
12 |
Match |
| B_CNC |
25 |
25 |
Match |
| I_BOOK_CNC |
4 |
4 |
Match |
| J_BOOK_PLASTICS |
5 |
5 |
Match |
| K_BOOK_SHEET |
4 |
4 |
Match |
| C_SHEET |
20 |
20 |
Match |
| D_WELD |
15 |
15 |
Match |
| E_ASSEMBLY |
15 |
15 |
Match |
| F_OVERLAY |
70 |
70 |
Match |
Pack Summary
| Pack |
Label |
Trigger |
Expected rules |
Actual rules |
Description |
A_DRAWING |
Drawing and Specification Completeness |
Always-on base pack |
25 |
25 |
Drawing communication, GPS/GD&T, callouts, and spec integrity checks. |
G_BASELINE |
DFM Baseline Codex |
Shared across multiple manufacturing routes |
12 |
12 |
Book-grounded, physics-first baseline heuristics written in plain language for early manufacturability review. |
B_CNC |
CNC Machining DFM |
Activated by the selected manufacturing process |
25 |
25 |
Milling and turning manufacturability checks from CAD and linked specs. |
I_BOOK_CNC |
Book DFM CNC Expansion |
Activated by CNC milling and turning |
4 |
4 |
Book-promoted CNC checks added through process activation. |
J_BOOK_PLASTICS |
Book DFM Plastics Expansion |
Activated by plastics / injection molding |
5 |
5 |
Book-promoted injection-molding boss and rib checks now active in the plastics route. |
K_BOOK_SHEET |
Book DFM Sheet Expansion |
Activated by sheet metal |
4 |
4 |
Book-promoted sheet-metal checks added through process activation. |
C_SHEET |
Sheet Metal DFM |
Activated by the selected manufacturing process |
20 |
20 |
Bend, flange, relief, and flat-pattern manufacturability checks. |
D_WELD |
Weldment and Fabrication DFM |
Activated by the selected manufacturing process |
15 |
15 |
Weld specification completeness plus weldability and distortion risk checks. |
E_ASSEMBLY |
Assembly, Fixture, and Serviceability |
Shared across multiple manufacturing routes |
15 |
15 |
DFA, fixture repeatability, and service access checks. |
F_OVERLAY |
Industry Overlay and Compliance |
Activated when a compliance/industry overlay is selected |
70 |
70 |
Domain overlays that add compliance/risk documentation constraints. |
Current Reviewer Runtime Notes
- CNC and injection molding now both use reviewer-facing physics-family rule maps rather than only flat pack order.
- The Injection Molding rules bar resolves
plastics and injection_molding to the plastics process view.
- The plastics view has 12 active rules: 6 cataloged as implemented and 6 cataloged as heuristic screening rules.
J_BOOK_PLASTICS is activated for process_id: plastics and contributes five boss/rib rules to the live review route.
- Part Facts now carries a scan-depth-aware path: Light scan for fast wall/hole/basic molded evidence, Deep scan for richer ribs, bosses, draft, side actions, sink-risk screening, and tooling/product gating.
Handbook Map
- System Map shows how process families, packs, overlays, roles, templates, and UI bindings fit together.
- CNC Physics Family Rule Map shows the current reviewer-facing CNC family model, the active versus planned rule split, and the main missing-input blockers.
- Injection Molding Physics Family Rule Map shows the physics-first injection families, the active rule anchors, and the current evidence-input gaps.
- Rule Inventory gives the complete catalog and pack-level browsing links.
- Pack Index lists the active packs, including DFM Baseline Codex and Book DFM Plastics Expansion.
- Rule Index gives a direct, pack-grouped rule list, including
DBC-001 through DBC-012.
- Traceability maps rules to standards and references.
- Rule Shapes groups the rules by severity, logic style, evidence profile, and trigger type.
- Authoring Model collapses the runtime bundle into reusable rule-shape and fix-template families.
- Simplification Candidates flags recurring patterns worth simplifying later.
Sources
D:\02_Code\45_merged_macos_colabui_dfmanim\server\dfm\manifest.json
D:\02_Code\45_merged_macos_colabui_dfmanim\server\dfm\rule_library.json
D:\02_Code\45_merged_macos_colabui_dfmanim\server\dfm\rule_activation.json
D:\02_Code\45_merged_macos_colabui_dfmanim\server\dfm\ui_bindings.json
D:\02_Code\45_merged_macos_colabui_dfmanim\server\dfm_review_v2.py
D:\02_Code\45_merged_macos_colabui_dfmanim\server\part_facts.py