Tsh070 — FixFaceOrientation Multiconnect-Edge Classification

§12.3a Shells

topology

Sources

Description

Three ADVANCED_FACEs (xy-plane triangles, xz-plane triangle) share a single edge (0,0,0)-(1,0,0), creating a multiconnect edge (3+ faces). ShapeFix_Shell.FixFaceOrientation multiconnect-edge classification at line 1428 fails to properly propagate orientation fixes when an edge connects more than 2 faces, making orientation propagation ambiguous.

Reproducer recipe

Load Tsh070.stp; invoke OCCT face orientation fixer; FixFaceOrientation should fail or produce inconsistent results when trying to propagate orientation across the 3-face multiconnect edge.

Expected kernel behavior

Kernel should either reject the non-manifold topology or use special handling for multiconnect edges; unambiguous orientation propagation is impossible without additional constraints.

Expected validation

occt=shape(1)/shape(1) gmsh=shape(14) 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/* Tsh070: OPEN_SHELL with 3 ADVANCED_FACEs; one EDGE_CURVE from (0,0,0) to (1,0,0) IS directly wired into all 3 EDGE_LOOPs; triple-incident multiconnect edge IS the mechanism; Face A (xy-plane triangle) uses shared edge forward; Face B (xy-plane triangle, flipped winding) uses it reversed; Face C (xz-plane triangle) uses it forward; 3-face multiconnect makes orientation propagation ambiguous; FixFaceOrientation at line 1428 fails to propagate consistently; fix: reject non-manifold topology or apply special multiconnect-edge handling; unambiguous orientation propagation requires additional constraints */
3HEADER;
4FILE_DESCRIPTION(('Tsh070'),'2;1');
5FILE_NAME('Tsh070.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('',(0.0,0.0,1.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,0.0,1.0));
23#14=DIRECTION('',(1.0,0.0,0.0));
24#15=AXIS2_PLACEMENT_3D('',#1,#13,#14);
25#16=PLANE('',#15);
26#17=DIRECTION('',(-1.0,1.0,0.0));
27#18=VECTOR('',#17,1.0);
28#19=LINE('',#2,#18);
29#20=EDGE_CURVE('',#6,#7,#19,.T.);
30#21=DIRECTION('',(0.0,-1.0,0.0));
31#22=VECTOR('',#21,1.0);
32#23=LINE('',#3,#22);
33#24=EDGE_CURVE('',#7,#5,#23,.T.);
34#25=ORIENTED_EDGE('',$,$,#12,.T.);
35#26=ORIENTED_EDGE('',$,$,#20,.T.);
36#27=ORIENTED_EDGE('',$,$,#24,.T.);
37#28=EDGE_LOOP('',(#25,#26,#27));
38#29=FACE_OUTER_BOUND('',#28,.T.);
39#30=ADVANCED_FACE('',(#29),#16,.T.);
40#31=DIRECTION('',(0.0,1.0,0.0));
41#32=VECTOR('',#31,1.0);
42#33=LINE('',#1,#32);
43#34=EDGE_CURVE('',#5,#7,#33,.T.);
44#35=DIRECTION('',(1.0,-1.0,0.0));
45#36=VECTOR('',#35,1.0);
46#37=LINE('',#3,#36);
47#38=EDGE_CURVE('',#7,#6,#37,.T.);
48#39=ORIENTED_EDGE('',$,$,#34,.T.);
49#40=ORIENTED_EDGE('',$,$,#38,.T.);
50#41=ORIENTED_EDGE('',$,$,#12,.F.);
51#42=EDGE_LOOP('',(#39,#40,#41));
52#43=FACE_OUTER_BOUND('',#42,.T.);
53#44=ADVANCED_FACE('',(#43),#16,.F.);
54#45=DIRECTION('',(0.0,-1.0,0.0));
55#46=DIRECTION('',(1.0,0.0,0.0));
56#47=AXIS2_PLACEMENT_3D('',#1,#45,#46);
57#48=PLANE('',#47);
58#49=DIRECTION('',(-1.0,0.0,1.0));
59#50=VECTOR('',#49,1.0);
60#51=LINE('',#2,#50);
61#52=EDGE_CURVE('',#6,#8,#51,.T.);
62#53=DIRECTION('',(0.0,0.0,-1.0));
63#54=VECTOR('',#53,1.0);
64#55=LINE('',#4,#54);
65#56=EDGE_CURVE('',#8,#5,#55,.T.);
66#57=ORIENTED_EDGE('',$,$,#12,.T.);
67#58=ORIENTED_EDGE('',$,$,#52,.T.);
68#59=ORIENTED_EDGE('',$,$,#56,.T.);
69#60=EDGE_LOOP('',(#57,#58,#59));
70#61=FACE_OUTER_BOUND('',#60,.T.);
71#62=ADVANCED_FACE('',(#61),#48,.T.);
72#63=OPEN_SHELL('',(#30,#44,#62));
73#64=SHELL_BASED_SURFACE_MODEL('',(#63));
74#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
75#9051=PRODUCT('Tsh070','Tsh070','',(#9050));
76#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
77#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
78#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
79#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
80#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
81#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
82#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
83#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
84#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
85#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#64),#9060);
86#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
87ENDSEC;
88END-ISO-10303-21;