Tsh114 — wedge near-tangent dihedral angle

§12.3a

crash topology

Sources

Description

wedge near-tangent dihedral angle

Reproducer recipe

Expected kernel behavior

Live oracle measurement: OCCT crashes (SIGSEGV) reading this file, on both the heal-on and heal-off path. The two triangular faces share edge e01 exactly but their third vertices are only 0.0005mm apart in z (5.0,5.0,0.005 vs 5.0,5.0,0.0055) against a declared 1e-7 tolerance — well outside it, so the faces are genuinely distinct, not a coincidence to merge, but the dihedral angle between them is only ~0.001 rad. A kernel must handle near-tangent (small but nonzero) dihedral angles without special casing that assumes a minimum angle; reject or accept the faces as authored, but never let a near-zero-angle comparison run out of numerical range and crash.

Notes

RUNTIME-VERIFIED 2026-08-09 — this file's recorded `signal(11)` is driven by an inline entity instance written directly inside another entity's argument list (a vector constructor carrying a bare coordinate list where a direction reference belongs). A conforming exchange file may only define entity instances as top-level numbered statements, so the reader cannot bind the inline construct, the attribute resolves to null, and the abort happens during loading — before any repair routine runs. Full census in `BACKLOG.md` (M.18).

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/* Tsh114 - near-tangent wedge dihedral angle
3 * Defect: two faces meeting at a wedge with near-zero dihedral angle (~0.001 rad);
4 * sewing tolerance triggers, producing phantom faces near the wedge tip. */
5HEADER;
6FILE_DESCRIPTION(('Tsh114 - wedge near-tangent dihedral','wave 20'),'2;1');
7FILE_NAME('Tsh114.stp','2026-06-15T00:00:00',(''),(''),'heal coverage','','');
8FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
9ENDSEC;
10DATA;
11#1=APPLICATION_CONTEXT('automotive_design');
12#2=APPLICATION_PROTOCOL_DEFINITION('international standard','automotive_design',2000,#1);
13
14/* Two triangular faces meeting at a wedge (nearly coplanar, ~0.001 rad angle) */
15
16/* Face 1 triangle (lower) */
17#10=CARTESIAN_POINT('',(0,0,0));
18#11=CARTESIAN_POINT('',(10.0,0,0));
19#12=CARTESIAN_POINT('',(5.0,5.0,0.005));
20
21/* Face 2 triangle (upper, tiny tilt) */
22#13=CARTESIAN_POINT('',(0,0,0));
23#14=CARTESIAN_POINT('',(10.0,0,0));
24#15=CARTESIAN_POINT('',(5.0,5.0,0.0055));
25
26/* Vertices */
27#20=VERTEX_POINT('',#10);
28#21=VERTEX_POINT('',#11);
29#22=VERTEX_POINT('',#12);
30#23=VERTEX_POINT('',#13);
31#24=VERTEX_POINT('',#14);
32#25=VERTEX_POINT('',#15);
33
34/* Planes (nearly coincident) */
35#30=AXIS2_PLACEMENT_3D('plane1',#10,DIRECTION('',(0,0,1)),DIRECTION('',(1,0,0)));
36#31=PLANE('',#30);
37#32=AXIS2_PLACEMENT_3D('plane2',#13,DIRECTION('',(0.0005,0,0.9999999)),DIRECTION('',(1,0,0)));
38#33=PLANE('',#32);
39
40/* Face 1 edges */
41#40=LINE('',#10,VECTOR('',(1,0,0),10.0));
42#41=EDGE_CURVE('f1_e1',#20,#21,#40,.T.);
43#42=LINE('',#11,VECTOR('',(-0.5,0.5,0.0005),7.0710678));
44#43=EDGE_CURVE('f1_e2',#21,#22,#42,.T.);
45#44=LINE('',#12,VECTOR('',(-0.5,-0.5,-0.0005),7.0710678));
46#45=EDGE_CURVE('f1_e3',#22,#20,#44,.T.);
47
48/* Face 2 edges (shared edge #41 with face 1) */
49#46=LINE('',#14,VECTOR('',(-0.5,0.5,0.0055),7.0710678));
50#47=EDGE_CURVE('f2_e2',#24,#25,#46,.T.);
51#48=LINE('',#15,VECTOR('',(-0.5,-0.5,-0.0055),7.0710678));
52#49=EDGE_CURVE('f2_e3',#25,#23,#48,.T.);
53
54/* Edge loops */
55#50=ORIENTED_EDGE('',*,*,#41,.T.);
56#51=ORIENTED_EDGE('',*,*,#43,.T.);
57#52=ORIENTED_EDGE('',*,*,#45,.T.);
58#53=EDGE_LOOP('f1_loop',(#50,#51,#52));
59
60#54=ORIENTED_EDGE('',*,*,#41,.F.);
61#55=ORIENTED_EDGE('',*,*,#47,.T.);
62#56=ORIENTED_EDGE('',*,*,#49,.T.);
63#57=EDGE_LOOP('f2_loop',(#54,#55,#56));
64
65/* Face bounds */
66#60=FACE_OUTER_BOUND('',#53,.T.);
67#61=FACE_OUTER_BOUND('',#57,.T.);
68
69/* Faces */
70#70=ADVANCED_FACE('face1',(#60),#31,.T.);
71#71=ADVANCED_FACE('face2',(#61),#33,.T.);
72
73/* Shell */
74#80=OPEN_SHELL('wedge_shell',(#70,#71));
75
76/* Mandatory PRODUCT chain */
77#9000=PRODUCT_CONTEXT('',#1,'mechanical');
78#9001=PRODUCT('Tsh114','Tsh114','',(#9000));
79#9002=PRODUCT_DEFINITION_FORMATION('','',#9001);
80#9003=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design');
81#9004=PRODUCT_DEFINITION('','',#9002,#9003);
82#9005=PRODUCT_DEFINITION_SHAPE('','',#9004);
83#9006=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
84#9007=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
85#9008=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
86#9009=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9006,'distance_accuracy_value','');
87#9010=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9009))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9006,#9007,#9008))REPRESENTATION_CONTEXT('','3D'));
88#9021=SHELL_BASED_SURFACE_MODEL('sbsm',(#80));
89#9022=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#9021),#9010);
90#9023=SHAPE_DEFINITION_REPRESENTATION(#9005,#9022);
91ENDSEC;
92END-ISO-10303-21;