dfa_check
Grade and rank mechanical assembly variants by calculating part/fastener counts, handling difficulty, and assembly efficiency scores for design-for-assembly comparisons.
Instructions
Grade an assembly (Boothroyd-Dewhurst-lite). assembly_efficiency = theoretical_min/(part_count+fastener_count) (theoretical_min = unique_part_count or 1); assembly_score scales that by a handling penalty from insertion_axes/ symmetry and decreases monotonically as part/fastener count rises. The grade is an ordinal index for comparing variants (fidelity='correlation', band_pct=None) — rank with it, don't gate on the absolute value. Returns {part_count, fastener_count, insertion_axes, handling_difficulty, assembly_efficiency, assembly_score, symmetry_score, fidelity, band_pct}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part_count | Yes | ||
| fastener_count | No | ||
| insertion_axes | No | ||
| unique_part_count | No | ||
| symmetric_fraction | No |