Tsh139 — ShapeFix_Shell.FixFaceOrientation cylindrical-shell

§12.3a

crash topology

Sources

Description

ShapeFix_Shell.FixFaceOrientation cylindrical-shell

Reproducer recipe

Expected kernel behavior

The closed shell's three faces share no edges at all: each cap is bounded by a single full-period `CIRCLE` edge whose start and end vertex coincide, while the cylindrical wall's loop is closed by straight lines from (-50,0,100) to (50,0,100) and from (-50,0,0) to (50,0,0) — chords through the axis that do not lie on the radius-50 surface. Do not trust the closed-shell declaration: split each full-period closed edge at a parametric break so it can be matched to a neighbour, recompute the free boundaries, and if the wall boundary still cannot be matched to the cap circles, report the shell as open and name the unmatched faces rather than emitting a solid. One `EDGE_CURVE` also names a `VERTEX_POINT` in its curve slot; reject that entity with a diagnostic instead of dereferencing it as geometry.

Notes

RUNTIME-VERIFIED 2026-08-08 — the recorded crash comes from this file's straight-line direction argument, which references a plain direction where the schema declares a vector carrying a magnitude; repairing that one reference makes the file load, so the titled condition is never reached. See BACKLOG (M).

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;
2HEADER;
3FILE_DESCRIPTION(('Tsh139 - ShapeFix_Shell.FixFaceOrientation cylindrical-shell'),'2;1');
4FILE_NAME('Tsh139.stp','2026-06-15T00:00:00',(''),(''),
5  'Open CASCADE STEP processor 7.7','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#1=PLANE('',#2,(0.,0.,0.));
10#2=AXIS2_PLACEMENT_3D('',#3,#4,#5);
11#3=CARTESIAN_POINT('',(0.,0.,0.));
12#4=DIRECTION('',(0.,0.,1.));
13#5=DIRECTION('',(1.,0.,0.));
14#6=CYLINDRICAL_SURFACE('',#7,50.);
15#7=AXIS2_PLACEMENT_3D('',#8,#9,#10);
16#8=CARTESIAN_POINT('',(0.,0.,0.));
17#9=DIRECTION('',(0.,0.,1.));
18#10=DIRECTION('',(1.,0.,0.));
19#11=FACE_OUTER_BOUND('',#12,.T.);
20#12=EDGE_LOOP('',(#13,#14,#15,#16));
21#13=ORIENTED_EDGE('',*,*,#17,.F.);
22#14=ORIENTED_EDGE('',*,*,#18,.T.);
23#15=ORIENTED_EDGE('',*,*,#19,.F.);
24#16=ORIENTED_EDGE('',*,*,#20,.T.);
25#17=EDGE_CURVE('',#21,#22,#23,.T.);
26#18=EDGE_CURVE('',#22,#24,#25,.T.);
27#19=EDGE_CURVE('',#24,#25,#26,.T.);
28#20=EDGE_CURVE('',#25,#21,#27,.T.);
29#21=VERTEX_POINT('',#28);
30#22=VERTEX_POINT('',#29);
31#23=LINE('',#30,#31);
32#24=VERTEX_POINT('',#32);
33#25=VERTEX_POINT('',#33);
34#26=LINE('',#34,#35);
35#27=LINE('',#36,#37);
36#28=CARTESIAN_POINT('',(50.,0.,0.));
37#29=CARTESIAN_POINT('',(50.,0.,100.));
38#30=CARTESIAN_POINT('',(50.,0.,0.));
39#31=DIRECTION('',(0.,0.,1.));
40#32=CARTESIAN_POINT('',(-50.,0.,100.));
41#33=CARTESIAN_POINT('',(-50.,0.,0.));
42#34=CARTESIAN_POINT('',(-50.,0.,100.));
43#35=DIRECTION('',(0.,0.,-1.));
44#36=CARTESIAN_POINT('',(-50.,0.,0.));
45#37=DIRECTION('',(1.,0.,0.));
46#38=PLANE('',#39,(0.,0.,100.));
47#39=AXIS2_PLACEMENT_3D('',#40,#41,#42);
48#40=CARTESIAN_POINT('',(0.,0.,100.));
49#41=DIRECTION('',(0.,0.,1.));
50#42=DIRECTION('',(1.,0.,0.));
51#43=FACE_OUTER_BOUND('',#44,.T.);
52#44=EDGE_LOOP('',(#45));
53#45=ORIENTED_EDGE('',*,*,#46,.F.);
54#46=EDGE_CURVE('',#47,#48,#49,.T.);
55#47=VERTEX_POINT('',#50);
56#48=VERTEX_POINT('',#51);
57#49=CIRCLE('',#52,50.);
58#50=CARTESIAN_POINT('',(50.,0.,100.));
59#51=CARTESIAN_POINT('',(50.,0.,100.));
60#52=AXIS2_PLACEMENT_3D('',#53,#54,#55);
61#53=CARTESIAN_POINT('',(0.,0.,100.));
62#54=DIRECTION('',(0.,0.,1.));
63#55=DIRECTION('',(1.,0.,0.));
64#56=PLANE('',#57,(0.,0.,0.));
65#57=AXIS2_PLACEMENT_3D('',#58,#59,#60);
66#58=CARTESIAN_POINT('',(0.,0.,0.));
67#59=DIRECTION('',(0.,0.,1.));
68#60=DIRECTION('',(1.,0.,0.));
69#61=FACE_OUTER_BOUND('',#62,.T.);
70#62=EDGE_LOOP('',(#63));
71#63=ORIENTED_EDGE('',*,*,#64,.T.);
72#64=EDGE_CURVE('',#65,#66,#67,.T.);
73#65=VERTEX_POINT('',#68);
74#66=VERTEX_POINT('',#69);
75#67=CIRCLE('',#70,50.);
76#68=CARTESIAN_POINT('',(50.,0.,0.));
77#69=CARTESIAN_POINT('',(50.,0.,0.));
78#70=AXIS2_PLACEMENT_3D('',#71,#72,#73);
79#71=CARTESIAN_POINT('',(0.,0.,0.));
80#72=DIRECTION('',(0.,0.,1.));
81#73=DIRECTION('',(1.,0.,0.));
82#74=ADVANCED_FACE('',(#11),#6,.T.);
83#75=ADVANCED_FACE('',(#43),#38,.T.);
84#76=ADVANCED_FACE('',(#61),#56,.T.);
85#77=CLOSED_SHELL('',(#74,#75,#76));
86#9000=PRODUCT_CONTEXT('',#1,'mechanical');
87#9001=PRODUCT('Tsh139','Tsh139','',(#9000));
88#9002=PRODUCT_DEFINITION_FORMATION('','',#9001);
89#9003=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design');
90#9004=PRODUCT_DEFINITION('','',#9002,#9003);
91#9005=PRODUCT_DEFINITION_SHAPE('','',#9004);
92#9006=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
93#9007=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
94#9008=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
95#9009=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9006,'distance_accuracy_value','');
96#9010=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9009))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9006,#9007,#9008))REPRESENTATION_CONTEXT('','3D'));
97#9021=SHELL_BASED_SURFACE_MODEL('sbsm',(#77));
98#9022=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#9021),#9010);
99#9023=SHAPE_DEFINITION_REPRESENTATION(#9005,#9022);
100ENDSEC;
101END-ISO-10303-21;