NX Automations · Check-Mate tests (NX Open Python)
Fastener Edge Distance, Pitch and Gaps
Download 1.1.1On every fastener stack in an assembly, measures each fastener's edge distance in every structure part, its pitch to the nearest fastener in a shared part, and the gaps between the parts it clamps, and grades them against the joint design limits.
Verification passing on NX 2606.5001 · 2026-11-13 · repo bfb1d77
| Check | Test | Fails when |
|---|---|---|
| ED | Fastener Edge Distance and Pitch | e < EdgeMinED x D + EdgeAdd in any structure part (default 2D) |
| P | Fastener Edge Distance and Pitch | distance to the nearest parallel fastener in a shared part < PitchMinD x D (default 4D, D the larger); > PitchMaxD x D when set |
| G | Fay Surface Gaps | gap > GapLiquidMax (.030: solid shim); parts overlap by more than InterferenceTol (.001). Gaps over GapNoShim (.005) are WARNING (liquid shim) |
- Stacks. The fasteners, their parts and their axes come from the grip check's stack finder (part attributes, the fastener data table, or the nomenclature's first word), so both tests see exactly the stacks the grip check grades.
- The part's plane and centre. For each structure part, the faces the outer ring of axis-parallel rays enters give the part's normal at the hole; the centre is where the fastener axis meets the part's mid-surface. A fastener a few degrees off square is measured in the part's plane, not square to the fastener.
- Edge distance. In 36 directions in that plane, refined to 0.1 deg around the nearest edge, the part is followed outward from the hole by rays through its thickness every D/2, tracking its surface. A void that material re-enters within 3D is another hole; the edge is the first void with nothing within 3D after it, found to 0.00002 in by bisection. Inside or outside is read from each face's outward normal, so a ray that grazes a face cannot flip it. The search reaches twice the required distance (at least 4D); a part with no edge that near reports that reach, a PASS.
- Pitch. Measured between the two holes in the part both fasteners pass through, and only when they sit side by side in it: two fasteners on one line through different flanges of a channel are not a pitch.
- Gaps. On each ray of the rings around the axis, the next part's entry minus this part's exit; the median over the rays. Bushings are left out (their barrel sits inside the part around it by design).
- Exclusions per check (
Joint_Check_<ED|P|G>_exclusions.txt, DESC:/PN: regexes), none by default.