Tsh075 — Non-orientable Möbius shell

§12.3a (shells)

topology

Sources

Description

Orientation propagation fails to identify one-sided (non-orientable) surface arrangements. A shell with twisted topology escapes orientation checks, causing downstream healers to crash or produce corrupted geometry.

Reproducer recipe

Create an OPEN_SHELL with two ADVANCED_FACE entities sharing one edge but with a twist arrangement (both faces oriented forward across the shared edge, creating Möbius topology). Call ShapeAnalysis_Shell.CheckOrientedShells(). Healer crashes during propagation.

Expected kernel behavior

Kernel must detect non-orientable topology and either reject the shell or flag it for special handling.

Expected validation

occt=unknown/unknown gmsh=unknown 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/* Tsh075 - ShapeAnalysis_Shell non-orientable Möbius classification
3 * Defect: CheckOrientedShells fails to identify one-sided surface
4 * arrangement; non-orientable shell escapes orientation propagation
5 * checks and crashes downstream healer. Source: ShapeAnalysis_Shell
6 * .CheckOrientedShells line 142 (CheckOrientedShells_at142). */
7HEADER;
8FILE_DESCRIPTION(('Tsh075 test case','Non-orientable Möbius shell'),'2;1');
9FILE_NAME('Tsh075.stp','2026-06-16T00:00:00',('auto-generated'),(''),'auto-generated','','');
10FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
11ENDSEC;
12DATA;
13#1=APPLICATION_CONTEXT('automotive_design');
14#2=APPLICATION_PROTOCOL_DEFINITION('international standard','automotive_design',2000,#1);
15/* Two rectangular faces joined at one edge with twist (Möbius arrangement) */
16#100=CARTESIAN_POINT('',(0.0,0.0,0.0));
17#101=CARTESIAN_POINT('',(1.0,0.0,0.0));
18#102=CARTESIAN_POINT('',(1.0,1.0,0.0));
19#103=CARTESIAN_POINT('',(0.0,1.0,0.0));
20#104=CARTESIAN_POINT('',(1.0,0.0,1.0));
21#105=CARTESIAN_POINT('',(1.0,1.0,1.0));
22#106=CARTESIAN_POINT('',(0.0,0.0,1.0));
23#107=CARTESIAN_POINT('',(0.0,1.0,1.0));
24#110=VERTEX_POINT('',#100); #111=VERTEX_POINT('',#101);
25#112=VERTEX_POINT('',#102); #113=VERTEX_POINT('',#103);
26#114=VERTEX_POINT('',#104); #115=VERTEX_POINT('',#105);
27#116=VERTEX_POINT('',#106); #117=VERTEX_POINT('',#107);
28/* Two planes: z=0 and z=1 */
29#200=DIRECTION('',(0.0,0.0,1.0)); #201=DIRECTION('',(1.0,0.0,0.0));
30#210=AXIS2_PLACEMENT_3D('',#100,#200,#201); #220=PLANE('z0',#210);
31#230=AXIS2_PLACEMENT_3D('',#106,#200,#201); #240=PLANE('z1',#230);
32/* Edges for face 1 (z=0 plane) */
33#300=DIRECTION('',(1.0,0.0,0.0)); #301=VECTOR('',#300,1.0);
34#302=DIRECTION('',(0.0,1.0,0.0)); #303=VECTOR('',#302,1.0);
35#310=LINE('',#100,#301); #311=EDGE_CURVE('e0',#110,#111,#310,.T.);
36#312=LINE('',#101,#303); #313=EDGE_CURVE('e1_shared',#111,#112,#312,.T.);
37#314=LINE('',#103,#301); #315=EDGE_CURVE('e2',#113,#112,#314,.T.);
38#316=LINE('',#100,#303); #317=EDGE_CURVE('e3',#110,#113,#316,.T.);
39/* Edges for face 2 (z=1 plane, with twist at shared edge #313) */
40#318=LINE('',#104,#301); #319=EDGE_CURVE('e4',#114,#115,#318,.T.);
41#320=LINE('',#105,#303); #321=EDGE_CURVE('e5',#115,#117,#320,.T.);
42#322=LINE('',#106,#301); #323=EDGE_CURVE('e6',#116,#114,#322,.T.);
43#324=LINE('',#106,#303); #325=EDGE_CURVE('e7',#116,#117,#324,.T.);
44/* Face 1 - outward normal */
45#400=ORIENTED_EDGE('',*,*,#311,.T.); #401=ORIENTED_EDGE('',*,*,#313,.T.);
46#402=ORIENTED_EDGE('',*,*,#315,.F.); #403=ORIENTED_EDGE('',*,*,#317,.F.);
47#404=EDGE_LOOP('',(#400,#401,#402,#403)); #405=FACE_OUTER_BOUND('',#404,.T.);
48#406=ADVANCED_FACE('face1',(#405),#220,.T.);
49/* Defect: Face 2 shares edge #313 but oriented FORWARD (twist = Möbius arrangement) */
50#410=ORIENTED_EDGE('',*,*,#313,.T.); #411=ORIENTED_EDGE('',*,*,#319,.T.);
51#412=ORIENTED_EDGE('',*,*,#321,.T.); #413=ORIENTED_EDGE('',*,*,#323,.F.);
52#414=ORIENTED_EDGE('',*,*,#325,.F.);
53#415=EDGE_LOOP('',(#410,#411,#412,#413,#414)); #416=FACE_OUTER_BOUND('',#415,.T.);
54#417=ADVANCED_FACE('face2_mobius',(#416),#240,.T.);
55#500=OPEN_SHELL('shell_mobius',(#406,#417));
56/* PRODUCT chain */
57#9000=PRODUCT_CONTEXT('',#1,'mechanical');
58#9001=PRODUCT('Tsh075','Tsh075','',(#9000));
59#9002=PRODUCT_DEFINITION_FORMATION('','',#9001);
60#9003=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design');
61#9004=PRODUCT_DEFINITION('','',#9002,#9003);
62#9005=PRODUCT_DEFINITION_SHAPE('','',#9004);
63#9006=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
64#9007=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
65#9008=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
66#9009=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9006,'distance_accuracy_value','');
67#9010=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9009))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9006,#9007,#9008))REPRESENTATION_CONTEXT('','3D'));
68#9021=SHELL_BASED_SURFACE_MODEL('sbsm',(#500));
69#9022=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#9021),#9010);
70#9023=SHAPE_DEFINITION_REPRESENTATION(#9005,#9022);
71ENDSEC;
72END-ISO-10303-21;