step-examples/12-1b-header/Lh053.stp
Sources
- occt-coverage PARTIAL audit, `exchange/problems.json` `stp-ideas-shell-closing`
- `STEPControl_ActorRead::Transfer`, STEPControl_ActorRead.cxx:305-334 @ bd2a789f15235755ce4d1a3b07379a2e062fdc2e (I-DEAS substring detection)
- `STEPControl_ActorRead::computeIDEASClosings`/`closeIDEASShell`, STEPControl_ActorRead.cxx:958-984, 1997-2086
- `StepToTopoDS_NMTool::IsSuspectedAsClosing`/`IsPureNMShell`, StepToTopoDS_NMTool.cxx:148-197.
Sender
deduced — OCCT uncovered-class sweep
Description
`FILE_NAME.preprocessor_version` contains `'I-DEAS Master Series 11'`, which unconditionally sets `myNMTool.SetIDEASCase(True)`. The DATA section contains real shell topology behind that trigger: a unit cube's bottom+4 side faces form one `OPEN_SHELL` (missing its top face); the 6th (top) face forms a SECOND shell whose 4 boundary `EDGE_CURVE`s are the SAME entities already used by the 4 side faces' top edges — genuine cross-shell entity reuse, the exact structural precondition `IsPureNMShell`/`IsSuspectedAsClosing` require of a candidate closing shell for `computeIDEASClosings`/`closeIDEASShell` to merge it into the open shell and prune any now-redundant face.
Reproducer recipe
`FILE_NAME('...',...,'I-DEAS Master Series 11','','')`; a `SHELL_BASED_SURFACE_MODEL` with two `OPEN_SHELL`s — one missing a face, the other containing exactly that missing face and reusing the same boundary `EDGE_CURVE` entities as the first shell's adjacent faces.
Expected kernel behavior
detect non-manifold/closable structure from the entity graph itself (shared-edge adjacency between shells), not from a header substring; merge genuinely-closing adjacent shells by default rather than gating the repair behind both a brittle header heuristic AND an opt-in reader flag.
Notes
Fixes Lh031's gap: Lh031 triggers the substring auto-detect but its DATA section is only a two-point `GEOMETRIC_CURVE_SET` — no open shells, no closing shells, no real topology for `computeIDEASClosings`/`closeIDEASShell` to act on at all. This fixture supplies that missing topology. Live-verified (2026-07-12, OCP 7.8.1, direct probing — not mirrored/guessed): under this corpus's own default `validate2` oracle settings, the reader loads the two shells VERBATIM (`shape_null=False`, 6 faces, 2 shells, 0 solids — not merged), matching Lh031's own established finding that OCCT's default transfer never engages non-manifold-specific processing. Explicitly driving `read.step.nonmanifold=1` and `read.step.ideas=1` through `Interface_Static` before `ReadFile`/`TransferRoots` on this exact construction was ALSO checked and did not observably merge the shells either (still 2 shells / 0 solids) — recorded honestly (cf. N173's identical finding pattern for a different opt-in mechanism) rather than mirroring an unverified auto-merge claim; what this fixture delivers and live-verifies is the concrete structural precondition (real, adjacent, genuinely edge-sharing open/closing shell topology behind the header trigger) that Lh031 lacked, plus the exact OCCT source call sites a correctly-wired non-manifold transfer path would invoke against this precise topology. Provenance tier: bytes-sufficient. **See also**: Lh031 (header-only precedent this fixture adds real topology behind). Synonyms: "I-DEAS shell closing", "computeIDEASClosings merge", "closeIDEASShell prune", "non-manifold closing shell adjacent to open shell", "I-DEAS preprocessor substring trigger real topology".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(26) ifc=schema_n/a
Byte assertions
contains(b'I-DEAS')matches(rb"FILE_NAME\([^;]*'I-DEAS")
Tier-3 assertions
shape_null == Falsen_faces_total == 6
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Lh053: FILE_NAME preprocessor_version contains 'I-DEAS', PLUS real open-shell + */ 3/* adjacent, genuinely edge-sharing closing-shell topology (not Lh031's header-only probe) */ 4/* DEFECT: computeIDEASClosings/closeIDEASShell (opt-in via read.step.nonmanifold) would */ 5/* merge the closing shell's face into the open shell and prune it if redundant; under */ 6/* this corpus's default oracle settings the two shells load verbatim, unmerged */ 7HEADER; 8FILE_DESCRIPTION(('Lh053: I-DEAS header trigger with real open+closing shell topology'),'2;1'); 9FILE_NAME('Lh053.stp','2026-07-12T00:00:00',(''),(''),'I-DEAS Master Series 11','',''); 10FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 11ENDSEC; 12DATA; 13#9000=APPLICATION_CONTEXT('mechanical design'); 14#1=CARTESIAN_POINT('',(0.0,0.0,0.0)); 15#2=CARTESIAN_POINT('',(1.0,0.0,0.0)); 16#3=CARTESIAN_POINT('',(1.0,1.0,0.0)); 17#4=CARTESIAN_POINT('',(0.0,1.0,0.0)); 18#5=CARTESIAN_POINT('',(0.0,0.0,1.0)); 19#6=CARTESIAN_POINT('',(1.0,0.0,1.0)); 20#7=CARTESIAN_POINT('',(1.0,1.0,1.0)); 21#8=CARTESIAN_POINT('',(0.0,1.0,1.0)); 22#9=VERTEX_POINT('',#1); 23#10=VERTEX_POINT('',#2); 24#11=VERTEX_POINT('',#3); 25#12=VERTEX_POINT('',#4); 26#13=VERTEX_POINT('',#5); 27#14=VERTEX_POINT('',#6); 28#15=VERTEX_POINT('',#7); 29#16=VERTEX_POINT('',#8); 30#17=DIRECTION('',(1.0,0.0,0.0)); 31#18=VECTOR('',#17,1.0); 32#19=LINE('',#1,#18); 33#20=EDGE_CURVE('e_bottom1',#9,#10,#19,.T.); 34#21=DIRECTION('',(0.0,1.0,0.0)); 35#22=VECTOR('',#21,1.0); 36#23=LINE('',#2,#22); 37#24=EDGE_CURVE('e_bottom2',#10,#11,#23,.T.); 38#25=DIRECTION('',(-1.0,0.0,0.0)); 39#26=VECTOR('',#25,1.0); 40#27=LINE('',#3,#26); 41#28=EDGE_CURVE('e_bottom3',#11,#12,#27,.T.); 42#29=DIRECTION('',(0.0,-1.0,0.0)); 43#30=VECTOR('',#29,1.0); 44#31=LINE('',#4,#30); 45#32=EDGE_CURVE('e_bottom4',#12,#9,#31,.T.); 46#33=DIRECTION('',(0.0,0.0,1.0)); 47#34=VECTOR('',#33,1.0); 48#35=LINE('',#1,#34); 49#36=EDGE_CURVE('e_vert1',#9,#13,#35,.T.); 50#37=DIRECTION('',(0.0,0.0,1.0)); 51#38=VECTOR('',#37,1.0); 52#39=LINE('',#2,#38); 53#40=EDGE_CURVE('e_vert2',#10,#14,#39,.T.); 54#41=DIRECTION('',(0.0,0.0,1.0)); 55#42=VECTOR('',#41,1.0); 56#43=LINE('',#3,#42); 57#44=EDGE_CURVE('e_vert3',#11,#15,#43,.T.); 58#45=DIRECTION('',(0.0,0.0,1.0)); 59#46=VECTOR('',#45,1.0); 60#47=LINE('',#4,#46); 61#48=EDGE_CURVE('e_vert4',#12,#16,#47,.T.); 62/* DEFECT: these 4 top-square edges are the SAME EDGE_CURVE entities reused by BOTH the 4 */ 63/* side faces' top boundary (main shell) AND the closing shell's single top face below */ 64#49=DIRECTION('',(1.0,0.0,0.0)); 65#50=VECTOR('',#49,1.0); 66#51=LINE('',#5,#50); 67#52=EDGE_CURVE('e_top1_shared',#13,#14,#51,.T.); 68#53=DIRECTION('',(0.0,1.0,0.0)); 69#54=VECTOR('',#53,1.0); 70#55=LINE('',#6,#54); 71#56=EDGE_CURVE('e_top2_shared',#14,#15,#55,.T.); 72#57=DIRECTION('',(-1.0,0.0,0.0)); 73#58=VECTOR('',#57,1.0); 74#59=LINE('',#7,#58); 75#60=EDGE_CURVE('e_top3_shared',#15,#16,#59,.T.); 76#61=DIRECTION('',(0.0,-1.0,0.0)); 77#62=VECTOR('',#61,1.0); 78#63=LINE('',#8,#62); 79#64=EDGE_CURVE('e_top4_shared',#16,#13,#63,.T.); 80#65=DIRECTION('',(0.0,0.0,1.0)); 81#66=DIRECTION('',(0.0,0.0,-1.0)); 82#67=DIRECTION('',(1.0,0.0,0.0)); 83#68=DIRECTION('',(-1.0,0.0,0.0)); 84#69=DIRECTION('',(0.0,1.0,0.0)); 85#70=DIRECTION('',(0.0,-1.0,0.0)); 86/* Bottom face (normal -Z) */ 87#71=AXIS2_PLACEMENT_3D('',#1,#66,#67); 88#72=PLANE('',#71); 89#73=ORIENTED_EDGE('',$,$,#20,.F.); 90#74=ORIENTED_EDGE('',$,$,#32,.T.); 91#75=ORIENTED_EDGE('',$,$,#28,.F.); 92#76=ORIENTED_EDGE('',$,$,#24,.F.); 93#77=EDGE_LOOP('',(#73,#74,#75,#76)); 94#78=FACE_OUTER_BOUND('',#77,.T.); 95#79=ADVANCED_FACE('bottom',(#78),#72,.F.); 96/* Front face (y=0) */ 97#80=AXIS2_PLACEMENT_3D('',#1,#70,#67); 98#81=PLANE('',#80); 99#82=ORIENTED_EDGE('',$,$,#20,.T.); 100#83=ORIENTED_EDGE('',$,$,#40,.T.); 101#84=ORIENTED_EDGE('',$,$,#52,.F.); 102#85=ORIENTED_EDGE('',$,$,#36,.F.); 103#86=EDGE_LOOP('',(#82,#83,#84,#85)); 104#87=FACE_OUTER_BOUND('',#86,.T.); 105#88=ADVANCED_FACE('front',(#87),#81,.T.); 106/* Right face (x=1) */ 107#89=AXIS2_PLACEMENT_3D('',#2,#67,#69); 108#90=PLANE('',#89); 109#91=ORIENTED_EDGE('',$,$,#24,.T.); 110#92=ORIENTED_EDGE('',$,$,#44,.T.); 111#93=ORIENTED_EDGE('',$,$,#56,.F.); 112#94=ORIENTED_EDGE('',$,$,#40,.F.); 113#95=EDGE_LOOP('',(#91,#92,#93,#94)); 114#96=FACE_OUTER_BOUND('',#95,.T.); 115#97=ADVANCED_FACE('right',(#96),#90,.T.); 116/* Back face (y=1) */ 117#98=AXIS2_PLACEMENT_3D('',#3,#69,#68); 118#99=PLANE('',#98); 119#100=ORIENTED_EDGE('',$,$,#28,.T.); 120#101=ORIENTED_EDGE('',$,$,#48,.T.); 121#102=ORIENTED_EDGE('',$,$,#60,.F.); 122#103=ORIENTED_EDGE('',$,$,#44,.F.); 123#104=EDGE_LOOP('',(#100,#101,#102,#103)); 124#105=FACE_OUTER_BOUND('',#104,.T.); 125#106=ADVANCED_FACE('back',(#105),#99,.T.); 126/* Left face (x=0) */ 127#107=AXIS2_PLACEMENT_3D('',#4,#68,#70); 128#108=PLANE('',#107); 129#109=ORIENTED_EDGE('',$,$,#32,.T.); 130#110=ORIENTED_EDGE('',$,$,#36,.T.); 131#111=ORIENTED_EDGE('',$,$,#64,.F.); 132#112=ORIENTED_EDGE('',$,$,#48,.F.); 133#113=EDGE_LOOP('',(#109,#110,#111,#112)); 134#114=FACE_OUTER_BOUND('',#113,.T.); 135#115=ADVANCED_FACE('left',(#114),#108,.T.); 136/* Main shell: bottom + 4 sides -- OPEN (missing the top face) */ 137#125=OPEN_SHELL('main_open_shell',(#79,#88,#97,#106,#115)); 138/* Top (closing) face -- reuses the SAME e_top1..4_shared EDGE_CURVE entities already used */ 139/* by the 4 side faces above; genuine cross-shell entity sharing, not duplicated geometry */ 140#116=AXIS2_PLACEMENT_3D('',#5,#65,#67); 141#117=PLANE('',#116); 142#118=ORIENTED_EDGE('',$,$,#52,.T.); 143#119=ORIENTED_EDGE('',$,$,#56,.T.); 144#120=ORIENTED_EDGE('',$,$,#60,.T.); 145#121=ORIENTED_EDGE('',$,$,#64,.T.); 146#122=EDGE_LOOP('',(#118,#119,#120,#121)); 147#123=FACE_OUTER_BOUND('',#122,.T.); 148#124=ADVANCED_FACE('top_closing',(#123),#117,.T.); 149#126=OPEN_SHELL('closing_shell',(#124)); 150#127=SHELL_BASED_SURFACE_MODEL('ideas_shells',(#125,#126)); 151#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 152#9051=PRODUCT('Lh053','Lh053','',(#9050)); 153#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 154#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 155#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 156#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 157#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 158#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 159#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 160#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 161#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 162#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#127),#9060); 163#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 164ENDSEC; 165END-ISO-10303-21;