Tsh172 — ShapeFix_Shell.FixFaceOrientation with-3-faces-sharing-vertex

§12.3a

crash topology

Sources

Description

ShapeFix_Shell.FixFaceOrientation with-3-faces-sharing-vertex

Reproducer recipe

Expected kernel behavior

Live oracle measurement: OCCT crashes (SIGSEGV) reading this file, on both the heal-on and heal-off path. Three mutually perpendicular triangular faces (xy-, xz-, yz-plane) all share a single VERTEX_POINT at the origin, with no shared edges between any pair — a non-manifold vertex where three faces meet at a point rather than along an edge. A kernel must never crash on this input: an orientation-propagation algorithm written only in terms of edge-adjacent neighbour pairs has no defined notion of 'consistent' for three faces meeting only at a point, so this configuration must be detected and reported as a non-manifold vertex rather than fed into pairwise edge-based propagation logic that has nothing to propagate along.

Expected validation

occt=signal(11)/signal(11) gmsh=signal(11) ifc=schema_n/a

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Tsh172 - ShapeFix_Shell.FixFaceOrientation with-3-faces-sharing-vertex
3 * Defect: non-manifold vertex shared by 3 faces; orientation propagation
4 * produces 3 conflicting verdicts at shared vertex.
5 * Tests: three faces meeting at a single vertex (non-manifold). */
6HEADER;
7FILE_DESCRIPTION(('Tsh172 test case','ShapeFix_Shell non-manifold-vertex'),'2;1');
8FILE_NAME('Tsh172.stp','2026-06-15T00:00:00',(''),(''),'auto-generated','','');
9FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
10ENDSEC;
11DATA;
12#1=APPLICATION_CONTEXT('automotive_design');
13#2=APPLICATION_PROTOCOL_DEFINITION('international standard','automotive_design',2000,#1);
14/* Shared central vertex */
15#100=CARTESIAN_POINT('shared',(0.0,0.0,0.0));
16#110=VERTEX_POINT('',#100);
17/* Face 1: triangle in xy-plane; normal = +z */
18#111=CARTESIAN_POINT('f1p1',(1.0,0.0,0.0));
19#112=CARTESIAN_POINT('f1p2',(0.0,1.0,0.0));
20#121=VERTEX_POINT('',#111);
21#122=VERTEX_POINT('',#112);
22/* Face 2: triangle in xz-plane; normal = +y */
23#113=CARTESIAN_POINT('f2p1',(1.0,0.0,0.0));
24#114=CARTESIAN_POINT('f2p2',(0.0,0.0,1.0));
25#123=VERTEX_POINT('',#113);
26#124=VERTEX_POINT('',#114);
27/* Face 3: triangle in yz-plane; normal = +x */
28#115=CARTESIAN_POINT('f3p1',(0.0,1.0,0.0));
29#116=CARTESIAN_POINT('f3p2',(0.0,0.0,1.0));
30#125=VERTEX_POINT('',#115);
31#126=VERTEX_POINT('',#116);
32/* Plane definitions */
33#200=DIRECTION('z',(0.0,0.0,1.0));
34#201=DIRECTION('x',(1.0,0.0,0.0));
35#210=CARTESIAN_POINT('',(0.3,0.3,0.0));
36#211=AXIS2_PLACEMENT_3D('',#210,#200,#201);
37#212=PLANE('plane_xy',#211);
38#220=DIRECTION('y',(0.0,1.0,0.0));
39#221=AXIS2_PLACEMENT_3D('',#210,#220,#201);
40#222=PLANE('plane_xz',#221);
41#230=DIRECTION('x',(1.0,0.0,0.0));
42#231=AXIS2_PLACEMENT_3D('',#210,#230,#220);
43#232=PLANE('plane_yz',#231);
44/* Face 1 edges (xy-plane) */
45#300=DIRECTION('x',(1.0,0.0,0.0));
46#301=VECTOR('',#300,1.0);
47#302=DIRECTION('y',(0.0,1.0,0.0));
48#303=VECTOR('',#302,1.0);
49#310=LINE('',#100,#301); #311=EDGE_CURVE('',#110,#121,#310,.T.);
50#312=LINE('',#111,#303); #313=EDGE_CURVE('',#121,#122,#312,.F.);
51#314=LINE('',#100,#302); #315=EDGE_CURVE('',#110,#122,#314,.T.);
52/* Face 2 edges (xz-plane) */
53#320=LINE('',#100,#301); #321=EDGE_CURVE('',#110,#123,#320,.T.);
54#322=DIRECTION('z',(0.0,0.0,1.0));
55#323=VECTOR('',#322,1.0);
56#324=LINE('',#113,#323); #325=EDGE_CURVE('',#123,#124,#324,.T.);
57#326=LINE('',#100,#323); #327=EDGE_CURVE('',#110,#124,#326,.T.);
58/* Face 3 edges (yz-plane) */
59#330=LINE('',#100,#302); #331=EDGE_CURVE('',#110,#125,#330,.T.);
60#332=LINE('',#115,#323); #333=EDGE_CURVE('',#125,#126,#332,.T.);
61#334=LINE('',#100,#323); #335=EDGE_CURVE('',#110,#126,#334,.T.);
62/* Face 1: triangle (shared vertex #110) */
63#400=ORIENTED_EDGE('',*,*,#311,.T.);
64#401=ORIENTED_EDGE('',*,*,#313,.T.);
65#402=ORIENTED_EDGE('',*,*,#315,.F.);
66#404=EDGE_LOOP('',(#400,#401,#402));
67#405=FACE_OUTER_BOUND('',#404,.T.);
68#406=ADVANCED_FACE('',(#405),#212,.T.);
69/* Face 2: triangle (shared vertex #110) */
70#410=ORIENTED_EDGE('',*,*,#321,.T.);
71#411=ORIENTED_EDGE('',*,*,#325,.T.);
72#412=ORIENTED_EDGE('',*,*,#327,.F.);
73#414=EDGE_LOOP('',(#410,#411,#412));
74#415=FACE_OUTER_BOUND('',#414,.T.);
75#416=ADVANCED_FACE('',(#415),#222,.T.);
76/* Face 3: triangle (shared vertex #110) */
77#420=ORIENTED_EDGE('',*,*,#331,.T.);
78#421=ORIENTED_EDGE('',*,*,#333,.T.);
79#422=ORIENTED_EDGE('',*,*,#335,.F.);
80#424=EDGE_LOOP('',(#420,#421,#422));
81#425=FACE_OUTER_BOUND('',#424,.T.);
82#426=ADVANCED_FACE('',(#425),#232,.T.);
83/* Open shell with three faces sharing a vertex */
84#500=OPEN_SHELL('shell_nonmanifold',(#406,#416,#426));
85#9000=PRODUCT_CONTEXT('',#1,'mechanical');
86#9001=PRODUCT('Tsh172','Tsh172','',(#9000));
87#9002=PRODUCT_DEFINITION_FORMATION('','',#9001);
88#9003=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design');
89#9004=PRODUCT_DEFINITION('','',#9002,#9003);
90#9005=PRODUCT_DEFINITION_SHAPE('','',#9004);
91#9006=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
92#9007=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
93#9008=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
94#9009=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9006,'distance_accuracy_value','');
95#9010=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9009))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9006,#9007,#9008))REPRESENTATION_CONTEXT('','3D'));
96#9021=SHELL_BASED_SURFACE_MODEL('sbsm',(#500));
97#9022=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#9021),#9010);
98#9023=SHAPE_DEFINITION_REPRESENTATION(#9005,#9022);
99ENDSEC;
100END-ISO-10303-21;