Tsh165 — ShapeAnalysis_Shell.CheckOrientedShells multi-component

§12.3a

topology

Sources

Description

ShapeAnalysis_Shell.CheckOrientedShells multi-component

Reproducer recipe

Expected kernel behavior

Three faces, each in its own separate OPEN_SHELL (x=[0,1], x=[2,3], x=[4,5]), share no edges between any pair — three genuinely disjoint single-face shells wrapped in one SHELL_BASED_SURFACE_MODEL. An orientation check run per-shell must produce and report a verdict for every shell present, including the last one in the list; an accumulator or merge step that only covers shells up to but excluding the final index silently drops that shell's result from the reported verdict.

Expected validation

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

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Tsh165: THREE ADVANCED_FACEs each in its own disjoint OPEN_SHELL — IS the multi-component mechanism; Face0 (x=[0,1]) IS wired into OPEN_SHELL0 with same_sense=.T. — component 0; Face1 (x=[2,3]) IS wired into OPEN_SHELL1 with same_sense=.T. — component 1; Face2 (x=[4,5]) IS wired into OPEN_SHELL2 with same_sense=.T. — component 2; no edges are shared between any two shells — IS the disjoint topology; CheckOrientedShells traces orientation per OPEN_SHELL independently; verdict-merge accumulator off-by-one IS the defect: covers [0..n-2]; component 2 (OPEN_SHELL2 / Face2) IS the sub-shell lost from final verdict; fix: iterate verdict merge over [0..n-1] inclusive; emit E_CHECK_ORIENTED_MERGE_LOSS when sub-shell count exceeds verdict entries */
3HEADER;
4FILE_DESCRIPTION(('Tsh165'),'2;1');
5FILE_NAME('Tsh165.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('',(0.0,1.0,0.0));
13#4=CARTESIAN_POINT('',(1.0,1.0,0.0));
14#5=VERTEX_POINT('',#1);
15#6=VERTEX_POINT('',#2);
16#7=VERTEX_POINT('',#3);
17#8=VERTEX_POINT('',#4);
18#9=DIRECTION('',(1.0,0.0,0.0));
19#10=VECTOR('',#9,1.0);
20#11=LINE('',#1,#10);
21#12=EDGE_CURVE('',#5,#6,#11,.T.);
22#13=DIRECTION('',(0.0,1.0,0.0));
23#14=VECTOR('',#13,1.0);
24#15=LINE('',#2,#14);
25#16=EDGE_CURVE('',#6,#8,#15,.T.);
26#17=DIRECTION('',(1.0,0.0,0.0));
27#18=VECTOR('',#17,1.0);
28#19=LINE('',#3,#18);
29#20=EDGE_CURVE('',#7,#8,#19,.T.);
30#21=DIRECTION('',(0.0,1.0,0.0));
31#22=VECTOR('',#21,1.0);
32#23=LINE('',#1,#22);
33#24=EDGE_CURVE('',#5,#7,#23,.T.);
34#25=DIRECTION('',(0.0,0.0,1.0));
35#26=DIRECTION('',(1.0,0.0,0.0));
36#27=AXIS2_PLACEMENT_3D('',#1,#25,#26);
37#28=PLANE('',#27);
38#29=ORIENTED_EDGE('',$,$,#12,.T.);
39#30=ORIENTED_EDGE('',$,$,#16,.T.);
40#31=ORIENTED_EDGE('',$,$,#20,.F.);
41#32=ORIENTED_EDGE('',$,$,#24,.F.);
42#33=EDGE_LOOP('',(#29,#30,#31,#32));
43#34=FACE_OUTER_BOUND('',#33,.T.);
44#35=ADVANCED_FACE('',(#34),#28,.T.);
45#36=CARTESIAN_POINT('',(2.0,0.0,0.0));
46#37=CARTESIAN_POINT('',(3.0,0.0,0.0));
47#38=CARTESIAN_POINT('',(2.0,1.0,0.0));
48#39=CARTESIAN_POINT('',(3.0,1.0,0.0));
49#40=VERTEX_POINT('',#36);
50#41=VERTEX_POINT('',#37);
51#42=VERTEX_POINT('',#38);
52#43=VERTEX_POINT('',#39);
53#44=DIRECTION('',(1.0,0.0,0.0));
54#45=VECTOR('',#44,1.0);
55#46=LINE('',#36,#45);
56#47=EDGE_CURVE('',#40,#41,#46,.T.);
57#48=DIRECTION('',(0.0,1.0,0.0));
58#49=VECTOR('',#48,1.0);
59#50=LINE('',#37,#49);
60#51=EDGE_CURVE('',#41,#43,#50,.T.);
61#52=DIRECTION('',(1.0,0.0,0.0));
62#53=VECTOR('',#52,1.0);
63#54=LINE('',#38,#53);
64#55=EDGE_CURVE('',#42,#43,#54,.T.);
65#56=DIRECTION('',(0.0,1.0,0.0));
66#57=VECTOR('',#56,1.0);
67#58=LINE('',#36,#57);
68#59=EDGE_CURVE('',#40,#42,#58,.T.);
69#60=DIRECTION('',(0.0,0.0,1.0));
70#61=DIRECTION('',(1.0,0.0,0.0));
71#62=AXIS2_PLACEMENT_3D('',#36,#60,#61);
72#63=PLANE('',#62);
73#64=ORIENTED_EDGE('',$,$,#47,.T.);
74#65=ORIENTED_EDGE('',$,$,#51,.T.);
75#66=ORIENTED_EDGE('',$,$,#55,.F.);
76#67=ORIENTED_EDGE('',$,$,#59,.F.);
77#68=EDGE_LOOP('',(#64,#65,#66,#67));
78#69=FACE_OUTER_BOUND('',#68,.T.);
79#70=ADVANCED_FACE('',(#69),#63,.T.);
80#71=CARTESIAN_POINT('',(4.0,0.0,0.0));
81#72=CARTESIAN_POINT('',(5.0,0.0,0.0));
82#73=CARTESIAN_POINT('',(4.0,1.0,0.0));
83#74=CARTESIAN_POINT('',(5.0,1.0,0.0));
84#75=VERTEX_POINT('',#71);
85#76=VERTEX_POINT('',#72);
86#77=VERTEX_POINT('',#73);
87#78=VERTEX_POINT('',#74);
88#79=DIRECTION('',(1.0,0.0,0.0));
89#80=VECTOR('',#79,1.0);
90#81=LINE('',#71,#80);
91#82=EDGE_CURVE('',#75,#76,#81,.T.);
92#83=DIRECTION('',(0.0,1.0,0.0));
93#84=VECTOR('',#83,1.0);
94#85=LINE('',#72,#84);
95#86=EDGE_CURVE('',#76,#78,#85,.T.);
96#87=DIRECTION('',(1.0,0.0,0.0));
97#88=VECTOR('',#87,1.0);
98#89=LINE('',#73,#88);
99#90=EDGE_CURVE('',#77,#78,#89,.T.);
100#91=DIRECTION('',(0.0,1.0,0.0));
101#92=VECTOR('',#91,1.0);
102#93=LINE('',#71,#92);
103#94=EDGE_CURVE('',#75,#77,#93,.T.);
104#95=DIRECTION('',(0.0,0.0,1.0));
105#96=DIRECTION('',(1.0,0.0,0.0));
106#97=AXIS2_PLACEMENT_3D('',#71,#95,#96);
107#98=PLANE('',#97);
108#99=ORIENTED_EDGE('',$,$,#82,.T.);
109#100=ORIENTED_EDGE('',$,$,#86,.T.);
110#101=ORIENTED_EDGE('',$,$,#90,.F.);
111#102=ORIENTED_EDGE('',$,$,#94,.F.);
112#103=EDGE_LOOP('',(#99,#100,#101,#102));
113#104=FACE_OUTER_BOUND('',#103,.T.);
114#105=ADVANCED_FACE('',(#104),#98,.T.);
115#106=OPEN_SHELL('',(#35));
116#107=OPEN_SHELL('',(#70));
117#108=OPEN_SHELL('',(#105));
118#109=SHELL_BASED_SURFACE_MODEL('',(#106,#107,#108));
119#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
120#9051=PRODUCT('Tsh165','Tsh165','',(#9050));
121#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
122#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
123#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
124#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
125#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
126#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
127#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
128#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
129#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
130#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#109),#9060);
131#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
132ENDSEC;
133END-ISO-10303-21;