Tsh020 — Edge appearing only once or more than twice on faces (Q064 non-2-manifold)

§12.3a shell-orientation

P1 — silent data loss

topology

Sources

Description

For a 2-manifold solid, every edge must be incident to exactly two faces. Schema validation flags edges that appear on only one face (free / naked edge) or three or more faces (non-manifold T-junction). The receiver's edge-curve attribute reader checks the incidence count and warns or rejects.

Reproducer recipe

STEP file whose `EDGE_CURVE` is referenced by exactly one or three `FACE_BOUND` chains.

Expected kernel behavior

warn and reclassify; reject solid promotion when count != 2.

Notes

**See also**: Tsh019, Bo006. Synonyms: "edge appears on only one face", "free naked edge in solid", "edge incident to three or more faces", "face boundary edge usage count wrong", "non-2-manifold edge incidence".

Expected validation

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

Closure intent

sheet — the open shell is the intended final geometry; a solid-only kernel should cleanly refuse.

Byte assertions

Tier-3 assertions

Cross-references

Tsh019, Bo006

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Tsh020: Edge appearing 3 times across faces (T-junction non-manifold) */
3HEADER;
4FILE_DESCRIPTION(('Tsh020'),'2;1');
5FILE_NAME('Tsh020.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#9000=APPLICATION_CONTEXT('mechanical design');
10#1=CARTESIAN_POINT('',(0.0,0.0,0.0));
11#2=CARTESIAN_POINT('',(1.0,0.0,0.0));
12#3=CARTESIAN_POINT('',(1.0,1.0,0.0));
13#4=CARTESIAN_POINT('',(0.0,1.0,0.0));
14#5=CARTESIAN_POINT('',(2.0,0.0,0.0));
15#6=CARTESIAN_POINT('',(2.0,1.0,0.0));
16#7=CARTESIAN_POINT('',(1.0,-1.0,0.0));
17#8=CARTESIAN_POINT('',(2.0,-1.0,0.0));
18#9=VERTEX_POINT('',#2);
19#10=VERTEX_POINT('',#3);
20#11=DIRECTION('',(0.0,1.0,0.0));
21#12=VECTOR('',#11,1.0);
22#13=LINE('',#2,#12);
23#14=EDGE_CURVE('',#9,#10,#13,.T.);
24#15=VERTEX_POINT('',#1);
25#16=VERTEX_POINT('',#4);
26#17=DIRECTION('',(1.0,0.0,0.0));
27#18=VECTOR('',#17,1.0);
28#19=LINE('',#1,#18);
29#20=EDGE_CURVE('',#15,#9,#19,.T.);
30#21=DIRECTION('',(-1.0,0.0,0.0));
31#22=VECTOR('',#21,1.0);
32#23=LINE('',#3,#22);
33#24=EDGE_CURVE('',#10,#16,#23,.T.);
34#25=DIRECTION('',(0.0,-1.0,0.0));
35#26=VECTOR('',#25,1.0);
36#27=LINE('',#4,#26);
37#28=EDGE_CURVE('',#16,#15,#27,.T.);
38#29=ORIENTED_EDGE('',$,$,#20,.T.);
39#30=ORIENTED_EDGE('',$,$,#14,.T.);
40#31=ORIENTED_EDGE('',$,$,#24,.T.);
41#32=ORIENTED_EDGE('',$,$,#28,.T.);
42#33=EDGE_LOOP('',(#29,#30,#31,#32));
43#34=VERTEX_POINT('',#5);
44#35=VERTEX_POINT('',#6);
45#36=DIRECTION('',(1.0,0.0,0.0));
46#37=VECTOR('',#36,1.0);
47#38=LINE('',#2,#37);
48#39=EDGE_CURVE('',#9,#34,#38,.T.);
49#40=DIRECTION('',(0.0,1.0,0.0));
50#41=VECTOR('',#40,1.0);
51#42=LINE('',#5,#41);
52#43=EDGE_CURVE('',#34,#35,#42,.T.);
53#44=DIRECTION('',(-1.0,0.0,0.0));
54#45=VECTOR('',#44,1.0);
55#46=LINE('',#6,#45);
56#47=EDGE_CURVE('',#35,#10,#46,.T.);
57#48=ORIENTED_EDGE('',$,$,#39,.T.);
58#49=ORIENTED_EDGE('',$,$,#43,.T.);
59#50=ORIENTED_EDGE('',$,$,#47,.T.);
60#51=ORIENTED_EDGE('',$,$,#14,.F.);
61#52=EDGE_LOOP('',(#48,#49,#50,#51));
62#53=VERTEX_POINT('',#7);
63#54=VERTEX_POINT('',#8);
64#55=DIRECTION('',(1.0,0.0,0.0));
65#56=VECTOR('',#55,1.0);
66#57=LINE('',#7,#56);
67#58=EDGE_CURVE('',#53,#54,#57,.T.);
68#59=DIRECTION('',(0.0,1.0,0.0));
69#60=VECTOR('',#59,1.0);
70#61=LINE('',#8,#60);
71#62=EDGE_CURVE('',#54,#34,#61,.T.);
72#63=DIRECTION('',(-1.0,0.0,0.0));
73#64=VECTOR('',#63,1.0);
74#65=LINE('',#5,#64);
75#66=EDGE_CURVE('',#34,#9,#65,.T.);
76#67=DIRECTION('',(0.0,-1.0,0.0));
77#68=VECTOR('',#67,1.0);
78#69=LINE('',#2,#68);
79#70=EDGE_CURVE('',#9,#53,#69,.T.);
80#71=ORIENTED_EDGE('',$,$,#58,.T.);
81#72=ORIENTED_EDGE('',$,$,#62,.T.);
82#73=ORIENTED_EDGE('',$,$,#14,.F.);
83#74=ORIENTED_EDGE('',$,$,#70,.T.);
84#75=EDGE_LOOP('',(#71,#72,#73,#74));
85#76=CARTESIAN_POINT('',(0.0,0.0,0.0));
86#77=DIRECTION('',(0.0,0.0,1.0));
87#78=DIRECTION('',(1.0,0.0,0.0));
88#79=AXIS2_PLACEMENT_3D('',#76,#77,#78);
89#80=PLANE('',#79);
90#81=FACE_OUTER_BOUND('',#33,.T.);
91#82=ADVANCED_FACE('',(#81),#80,.T.);
92#83=FACE_OUTER_BOUND('',#52,.T.);
93#84=ADVANCED_FACE('',(#83),#80,.T.);
94#85=FACE_OUTER_BOUND('',#75,.T.);
95#86=ADVANCED_FACE('',(#85),#80,.T.);
96#87=OPEN_SHELL('',(#82,#84,#86));
97#88=SHELL_BASED_SURFACE_MODEL('',(#87));
98#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
99#9051=PRODUCT('Tsh020','Tsh020','',(#9050));
100#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
101#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
102#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
103#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
104#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
105#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
106#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
107#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
108#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
109#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#88),#9060);
110#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
111ENDSEC;
112END-ISO-10303-21;