J_BOOK_PLASTICS - Book DFM Plastics Expansion¶
Trigger: Activated by the selected plastics / injection-molding process
Rules in pack:5
Runtime status: Active forprocess_id: plastics; also shown through the Injection Molding / plastics rules bar.
This pack promotes the currently live book-grounded injection-molding boss and rib rules. It sits beside the shared G_BASELINE plastics rules, but focuses on concrete molded feature proportions and layout.
Rules¶
| Rule | Title | Severity | Current runtime coverage | Primary Part Facts |
|---|---|---|---|---|
DFBP-045 |
Support tall bosses with ribs instead of making the boss wall thicker | major | Implemented | boss_thickness_to_wall_ratio, boss_height_to_outer_diameter_ratio, tall_boss_supported_by_ribs, boss_instances |
DFMB-015 |
Space parallel ribs at least 2x nominal wall thickness apart | major | Implemented | rib_spacing_to_wall_ratio, rib_instances |
DFMB-017 |
Space bosses at least 2x nominal wall thickness apart | major | Implemented | boss_spacing_to_wall_ratio, boss_instances |
DFMB-021 |
Keep boss height less than 3x outer diameter | major | Implemented | boss_height_to_outer_diameter_ratio, boss_instances |
DFMB-025 |
Connect standalone bosses to the nearest sidewall | minor | Implemented | boss_connected_to_sidewall, boss_instances |
What Changed In April 2026¶
The pack used to exist in the backend bundle without a proper plastics process view in the rules bar. The active runtime now maps it into the Injection Molding rules bar under physics-first families:
- Molded wall mass and stiffness
- Rib and boss spacing and load paths
The Deep scan Part Facts path now emits richer boss/rib evidence: grouped boss, pin, and collar candidates; rib, web, and gusset candidates; spacing ratios; support-by-rib or sidewall-connection flags; bounding boxes; face indices; and sink/mass screening metrics.
Late April 2026 — language and rollup refinement¶
Follow-up branch codex/dfm-injection-molding-rules-bar-refinement (commit ec95bec)
rewrote the description and fix_template text for all five rules plus the
PLASTICS-TOOLING-GATE finding in design-engineer voice (lead with the symptom,
keep quantitative thresholds verbatim). Rule IDs, severities, and evidence fields are
unchanged.
The same branch landed a route-level family rollup on top of findings[]: review
responses now carry family_reviews[] with state/passing_rules[]/starved_rules[]
per family, and a route_gate payload for the tooling gate. The Injection Molding
review sidebar renders:
- Flagged findings inside the
Rib and boss spacing and load pathsandMolded wall mass and stiffnessfamilies. - Explicit OK rows under each family for rules that ran and passed — e.g.
DFMB-015 — Parallel ribs spaced 3.2x wall (above 2x minimum). - Families with no active rules (
Draft, ejection, and side actions,Mold tooling, cores, and shut-offs) showing a muted "Not yet covered" hint. - When the tooling gate fires, a single amber banner replaces the family list.
See dfm-review-family-rollup for the backend contract.
Current Limitations¶
These rules are implemented, but their detection quality still depends on CAD feature extraction. Deep scan is the intended mode for richer boss/rib evidence. Light scan keeps the first review fast and may surface fewer molded feature instances.
Sources¶
D:\02_Code\45_merged_macos_colabui_dfmanim\server\dfm\sources\rules\packs\j_book_plastics.jsonD:\02_Code\45_merged_macos_colabui_dfmanim\server\dfm\rule_library.jsonD:\02_Code\45_merged_macos_colabui_dfmanim\server\dfm\rule_activation.jsonD:\02_Code\45_merged_macos_colabui_dfmanim\server\dfm\ui_bindings.jsonD:\02_Code\45_merged_macos_colabui_dfmanim\server\dfm_review_v2.pyD:\02_Code\45_merged_macos_colabui_dfmanim\server\part_facts.py