N023 — `EDGE_CURVE` based on `LINE` displaced from true vertex position

§12.4 (sub-class: working precision / edge geometry inconsistency)

P1 — silent data loss

topology

Sources

Sender

FPX Expert 2013 (PCB design system)

Description

STEP files emit an `EDGE_CURVE` whose underlying `LINE` is parallel-displaced from the line that actually passes through both vertex points. Direction is correct; position is offset. Translator must shift the line so it passes through both vertices, preserving direction.

Reproducer recipe

VERTEX_POINT A at `(0,0,0)`, VERTEX_POINT B at `(10,0,0)`, EDGE_CURVE referring to LINE whose `pnt`/`dir` give a parallel line offset by 0.001 mm.

Expected kernel behavior

heal; replace the line so it passes through both vertices, preserving original direction.

Notes

**See also**: Gs021. Synonyms: "edge LINE doesn't pass through its vertices", "line direction correct but offset", "translator must shift line to vertex points", "underlying line parallel to actual edge".

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Cross-references

Gs021

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* N023: EDGE_CURVE LINE starts at (0,0.001,0) not (0,0,0); vertex A at (0,0,0), B at (10,0,0); LINE direction correct but position offset 1.0E-3 mm in Y; GEOMETRIC_CURVE_SET — OCC yields empty */
3HEADER;
4FILE_DESCRIPTION(('N023'),'2;1');
5FILE_NAME('N023.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#1=CARTESIAN_POINT('vtx_a',(0.0,0.0,0.0));
10#2=CARTESIAN_POINT('vtx_b',(10.0,0.0,0.0));
11#3=VERTEX_POINT('v_a',#1);
12#4=VERTEX_POINT('v_b',#2);
13#5=CARTESIAN_POINT('line_start_displaced',(0.0,0.001,0.0));
14#6=DIRECTION('',(1.0,0.0,0.0));
15#7=VECTOR('',#6,10.0);
16#8=LINE('displaced_line',#5,#7);
17#9=EDGE_CURVE('edge_displaced_line',#3,#4,#8,.T.);
18#10=GEOMETRIC_CURVE_SET('edges',(#9));
19#11=APPLICATION_CONTEXT('automotive_design');
20#12=PRODUCT_CONTEXT('',#11,'mechanical');
21#13=PRODUCT('N023','N023','',(#12));
22#14=PRODUCT_DEFINITION_FORMATION('','',#13);
23#15=PRODUCT_DEFINITION_CONTEXT('part definition',#11,'design');
24#16=PRODUCT_DEFINITION('','',#14,#15);
25#17=PRODUCT_DEFINITION_SHAPE('','',#16);
26#18=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
27#19=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
28#20=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
29#21=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-6),#18,'distance_accuracy_value','model_precision');
30#22=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#21))GLOBAL_UNIT_ASSIGNED_CONTEXT((#18,#19,#20))REPRESENTATION_CONTEXT('ctx','3D'));
31#23=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#10),#22);
32#24=SHAPE_DEFINITION_REPRESENTATION(#17,#23);
33ENDSEC;
34END-ISO-10303-21;