Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 19:09, 15 January 2026 by Admin (talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

Author: Admin

Summary

F4 Compliance Logic describes how the F4 Application validates GD&T feature control frames against ASME rules and internal constraints.

Scope

F4 validation covers feature control frame structure, datum references, modifier legality, tolerance hierarchy, and feature-of-size requirements. Composite and MSS frames use additional segment rules.

Validation flow

  1. Parse the feature control frame and extract tolerance type, segments, datums, and modifiers.
  2. Run automated checks for structure, symbol validity, and modifier legality.
  3. Ask required user decisions when the standard requires interpretation (pattern application, feature type, true profile location).
  4. Emit compliance errors or warnings with standardized error codes.
  5. For composite and MSS frames, validate segment-by-segment once composite rules pass.

Manual decisions

Some checks require user input, such as:

  • Pattern application vs single feature.
  • Feature type (planar FOS, cylindrical FOS, or other).
  • True profile location using basic or toleranced dimensions.
  • Datum surface ambiguity for profile controls.

Error and warning reporting

F4 uses standardized error codes and decision IDs to make results traceable. Each validation page lists the rules that trigger errors and how F4 interprets each decision.

Sources of truth

  • ASME rule references live in `F4/tests/validators/asme_sections/`.
  • Validator implementations live in `F4/app/features/parts/services/validators/`.
  • Shared validation utilities live in `F4/crates/validation/`.

Related pages