Bo027 — Per-vertex normals supplied for a triangulated face are inconsistent across smooth edges

§12.3a (sub-class: triangulation normals)

topology

Sources

Sender

deduced — OCCT uncovered-class sweep

Description

A triangulated face (AP242 ed.2 `TRIANGULATED_FACE`) declares per-node normals, and at a smooth-edge node shared with the neighbour face, the two face's per-node normals point in noticeably different directions. Bug-reporter language: "vertex normals don't match across edge", "normal inconsistency", "lighting seam in tessellation".

Reproducer recipe

Two adjacent `TRIANGULATED_FACE`s sharing a node `#N`; face A reports normal (0,0,1) at that node, face B reports (0.7,0,0.7).

Expected kernel behavior

Average normals across smooth edges, or recompute from surface gradients.

Notes

Shows up as visible shading seams in renderers. **OCC behavior**: accepts and loads shape(1) — an empty OPEN_SHELL (v0 f0 sh1), valid=False, identically for base, clean (faceB normals set to (0,0,1)) and huge (wild normals): OCC never builds the COMPLEX_TRIANGULATED_FACEs into BRep faces, so the per-node normal inconsistency is oracle-invisible (shape_counts) and the empty invalid shell is unrelated to the normals claim; not a proven kernel bug for the declared defect. Synonyms: "vertex normals don't match across edge", "normal inconsistency", "lighting seam in tessellation", "per-vertex normal mismatch on shared node", "triangulation has shading discontinuity".

Expected validation

occt=shape(1)/shape(1) gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Bo027: Two COMPLEX_TRIANGULATED_FACEs sharing node at origin: faceA normal (0,0,1), faceB normal (0.7,0,0.7) at same node — inconsistent per-vertex normals IS wired into shell/face topology; OCCT silently drops (empty result); catalog asks for heal or reject */
3HEADER;
4FILE_DESCRIPTION(('Bo027'),'2;1');
5FILE_NAME('Bo027.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AP242_MANAGED_MODEL_BASED_3D_ENGINEERING_MIM_LF { 1 0 10303 442 1 1 4 }'));
7ENDSEC;
8DATA;
9#9000=APPLICATION_CONTEXT('mechanical design');
10#1=COORDINATES_LIST('faceA_coords',3,((0.,0.,0.),(1.,0.,0.),(0.,1.,0.)));
11#2=COORDINATES_LIST('faceA_normals',3,((0.,0.,1.),(0.,0.,1.),(0.,0.,1.)));
12#3=COMPLEX_TRIANGULATED_FACE('faceA',#1,((0,1,2)),.T.,#2);
13#4=COORDINATES_LIST('faceB_coords',3,((0.,0.,0.),(1.,0.,0.),(0.,0.,1.)));
14#5=COORDINATES_LIST('faceB_normals',3,((0.7071067811865476,0.,0.7071067811865476),(0.7071067811865476,0.,0.7071067811865476),(0.7071067811865476,0.,0.7071067811865476)));
15#6=COMPLEX_TRIANGULATED_FACE('faceB',#4,((0,1,2)),.T.,#5);
16#7=OPEN_SHELL('bo027_shell',(#3,#6));
17#8=SHELL_BASED_SURFACE_MODEL('bo027',(#7));
18#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
19#9051=PRODUCT('Bo027','Bo027','',(#9050));
20#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
21#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
22#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
23#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
24#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
25#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
26#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
27#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
28#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
29#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#8),#9060);
30#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
31ENDSEC;
32END-ISO-10303-21;