Lh054 — I-DEAS closing shell that is actually merged: closing edges are separate records sharing the open shell's edge names

§12.1b header (sub-class: `stp-ideas-shell-closing`)

P3 — cosmetic / metadata-only

syntax

Sources

Description

An I-DEAS-authored file represents one closed solid boundary as several separate OPEN shells: a "main" open shell plus extra shells made entirely of shared edges that exist only to close the gap. This fixture supplies that pattern in the encoding the receiver can actually act on. A unit cube's bottom and four sides form `main_open_shell` (5 faces, genuinely open — no lid); the lid forms `closing_shell` (1 face) whose four boundary edges are four NEW `EDGE_CURVE` records whose names `e_lid_1`..`e_lid_4` are byte-equal to the four top edges already used by the side faces. Separate edge records matched by name is the real I-DEAS authoring shape — and the only one that marks the closing shell's edges as shared, which is the precondition for it to be treated as a closing candidate. Lh031 supplies only the header trigger (no shell topology at all); Lh053 supplies real open+closing topology but reuses the same `EDGE_CURVE` entities, which is exactly why no merge was ever observed for it. A second, unrelated representation item is also required: with a single item the merge runs but its result is discarded before binding.

Reproducer recipe

`FILE_NAME('Lh054.stp',...,'I-DEAS Master Series 11','','');`. Unit cube, consistently outward-oriented. `OPEN_SHELL('main_open_shell',(#bottom,#front,#right,#back,#left))`; four new `EDGE_CURVE('e_lid_1',...)`..`('e_lid_4',...)` duplicating the names (not the entity ids) of the side faces' top edges; `ADVANCED_FACE('top_closing',...)` on those four; `OPEN_SHELL('closing_shell',(#top_closing))`; `SHELL_BASED_SURFACE_MODEL('ideas_shells',(#main_open_shell,#closing_shell))`. Second item: one open square face → `OPEN_SHELL('second_item_shell',...)` → `SHELL_BASED_SURFACE_MODEL('second_item_model',...)`. Both models listed as the two items of one `MANIFOLD_SURFACE_SHAPE_REPRESENTATION`.

Expected kernel behavior

with non-manifold reading and I-DEAS post-processing enabled, recognise the lid shell as a closing candidate for the open shell, merge its face in, confirm the merged shell is closed, prune any closing face not needed for closure, and promote the now-closed shell to a solid — leaving unrelated open shells untouched.

Notes

**See also**: Lh031 (header-only trigger), Lh053 (real topology in the same-entity encoding that cannot fire — this entry is its working counterpart, not a duplicate), Tsh258 (documents the same single-item binding shortcut for shell-to-solid promotion). Live-verified (2026-07-31, this worktree, OCP/OCCT 7.8.1). Under this corpus's default oracle settings the file reads verbatim — 7 faces, 3 shells, 0 solids, 20 unique edges, brepcheck valid — because the whole pipeline is gated behind two opt-in reader parameters. Driving `read.step.nonmanifold=1` AND `read.step.ideas=1` (BOTH required; either alone leaves the result unchanged) the merge is directly observed: 1 SOLID appears, the unique-edge count drops 20 → 16 as the lid's four name-matched edges resolve to the main shell's own edges, and the shell count drops 3 → 2 (the merged, now-closed cube shell inside the solid, plus the second item's untouched open shell); brepcheck stays valid. Perturbation control (byte-level A/B): repointing the lid face's four `ORIENTED_EDGE`s at the main shell's own `EDGE_CURVE` entities — four reference numbers changed, Lh053's encoding, nothing else touched — gives 0 solids and 3 shells under those same parameters. **Reader-configuration finding, recorded because it invalidates earlier negative results for this class**: setting these two parameters through `Interface_Static` alone does NOT reach the transfer in this OCP build; they must be carried in a `StepData_ConfParameters` handed to `ReadFile(path, params)`. Verified independently by a control on an unrelated fixture whose behaviour changes only under the parameters-object route. Synonyms: "I-DEAS closing shell merged", "open shell closed by adjacent non-manifold shell", "closing face pruned after closure", "same edge name different edge record", "I-DEAS non-manifold post processing". Provenance tier: bytes-sufficient.

Expected validation

occt=shape(1)/shape(1) gmsh=shape(27) ifc=schema_n/a

Byte assertions

Tier-3 assertions

Cross-references

Lh031, Lh053, Tsh258

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Lh054: FILE_NAME.preprocessor_version 'I-DEAS Master Series 11' engages the preprocessor-substring auto-detect, PLUS the I-DEAS closing topology in its ONLY workable encoding: a unit cube whose bottom and 4 sides form 'main_open_shell' (5 faces, genuinely open) and whose lid forms 'closing_shell' (1 face) built on FOUR NEW EDGE_CURVE entities whose names 'e_lid_1'..'e_lid_4' duplicate the main shell's own top-edge names -- distinct records matched by name, the real I-DEAS authoring shape, and the only encoding that reaches the non-manifold-edge registration that the pure-non-manifold-shell test requires (reusing the SAME EDGE_CURVE entities, as Lh053 does, short-circuits earlier and registers nothing). A second unrelated representation item, 'second_item_model', is present because a single-item representation makes the reader bind the pre-merge per-item shape and discard the merged compound. Both shells ARE items of the shape representation via SHELL_BASED_SURFACE_MODEL; never orphaned */
3HEADER;
4FILE_DESCRIPTION(('Lh054'),'2;1');
5FILE_NAME('Lh054.stp','2026-06-17T00:00:00',(''),(''),'I-DEAS Master Series 11','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#9000=APPLICATION_CONTEXT('mechanical design');
10#1=CARTESIAN_POINT('',(0.0,0.0,0.0));
11#2=CARTESIAN_POINT('',(1.0,0.0,0.0));
12#3=CARTESIAN_POINT('',(1.0,1.0,0.0));
13#4=CARTESIAN_POINT('',(0.0,1.0,0.0));
14#5=CARTESIAN_POINT('',(0.0,0.0,1.0));
15#6=CARTESIAN_POINT('',(1.0,0.0,1.0));
16#7=CARTESIAN_POINT('',(1.0,1.0,1.0));
17#8=CARTESIAN_POINT('',(0.0,1.0,1.0));
18#9=VERTEX_POINT('',#1);
19#10=VERTEX_POINT('',#2);
20#11=VERTEX_POINT('',#3);
21#12=VERTEX_POINT('',#4);
22#13=VERTEX_POINT('',#5);
23#14=VERTEX_POINT('',#6);
24#15=VERTEX_POINT('',#7);
25#16=VERTEX_POINT('',#8);
26#17=DIRECTION('',(1.0,0.0,0.0));
27#18=VECTOR('',#17,1.0);
28#19=LINE('',#1,#18);
29#20=EDGE_CURVE('e_bot_1',#9,#10,#19,.T.);
30#21=DIRECTION('',(0.0,1.0,0.0));
31#22=VECTOR('',#21,1.0);
32#23=LINE('',#2,#22);
33#24=EDGE_CURVE('e_bot_2',#10,#11,#23,.T.);
34#25=DIRECTION('',(-1.0,0.0,0.0));
35#26=VECTOR('',#25,1.0);
36#27=LINE('',#3,#26);
37#28=EDGE_CURVE('e_bot_3',#11,#12,#27,.T.);
38#29=DIRECTION('',(0.0,-1.0,0.0));
39#30=VECTOR('',#29,1.0);
40#31=LINE('',#4,#30);
41#32=EDGE_CURVE('e_bot_4',#12,#9,#31,.T.);
42#33=DIRECTION('',(0.0,0.0,1.0));
43#34=VECTOR('',#33,1.0);
44#35=LINE('',#1,#34);
45#36=EDGE_CURVE('e_vert_1',#9,#13,#35,.T.);
46#37=DIRECTION('',(0.0,0.0,1.0));
47#38=VECTOR('',#37,1.0);
48#39=LINE('',#2,#38);
49#40=EDGE_CURVE('e_vert_2',#10,#14,#39,.T.);
50#41=DIRECTION('',(0.0,0.0,1.0));
51#42=VECTOR('',#41,1.0);
52#43=LINE('',#3,#42);
53#44=EDGE_CURVE('e_vert_3',#11,#15,#43,.T.);
54#45=DIRECTION('',(0.0,0.0,1.0));
55#46=VECTOR('',#45,1.0);
56#47=LINE('',#4,#46);
57#48=EDGE_CURVE('e_vert_4',#12,#16,#47,.T.);
58#49=DIRECTION('',(1.0,0.0,0.0));
59#50=VECTOR('',#49,1.0);
60#51=LINE('',#5,#50);
61#52=EDGE_CURVE('e_lid_1',#13,#14,#51,.T.);
62#53=DIRECTION('',(0.0,1.0,0.0));
63#54=VECTOR('',#53,1.0);
64#55=LINE('',#6,#54);
65#56=EDGE_CURVE('e_lid_2',#14,#15,#55,.T.);
66#57=DIRECTION('',(-1.0,0.0,0.0));
67#58=VECTOR('',#57,1.0);
68#59=LINE('',#7,#58);
69#60=EDGE_CURVE('e_lid_3',#15,#16,#59,.T.);
70#61=DIRECTION('',(0.0,-1.0,0.0));
71#62=VECTOR('',#61,1.0);
72#63=LINE('',#8,#62);
73#64=EDGE_CURVE('e_lid_4',#16,#13,#63,.T.);
74#65=DIRECTION('',(0.0,0.0,-1.0));
75#66=DIRECTION('',(1.0,0.0,0.0));
76#67=AXIS2_PLACEMENT_3D('',#1,#65,#66);
77#68=PLANE('',#67);
78#69=ORIENTED_EDGE('',$,$,#32,.F.);
79#70=ORIENTED_EDGE('',$,$,#28,.F.);
80#71=ORIENTED_EDGE('',$,$,#24,.F.);
81#72=ORIENTED_EDGE('',$,$,#20,.F.);
82#73=EDGE_LOOP('',(#69,#70,#71,#72));
83#74=FACE_OUTER_BOUND('',#73,.T.);
84#75=ADVANCED_FACE('bottom',(#74),#68,.T.);
85#76=DIRECTION('',(0.0,-1.0,0.0));
86#77=DIRECTION('',(1.0,0.0,0.0));
87#78=AXIS2_PLACEMENT_3D('',#1,#76,#77);
88#79=PLANE('',#78);
89#80=ORIENTED_EDGE('',$,$,#20,.T.);
90#81=ORIENTED_EDGE('',$,$,#40,.T.);
91#82=ORIENTED_EDGE('',$,$,#52,.F.);
92#83=ORIENTED_EDGE('',$,$,#36,.F.);
93#84=EDGE_LOOP('',(#80,#81,#82,#83));
94#85=FACE_OUTER_BOUND('',#84,.T.);
95#86=ADVANCED_FACE('front',(#85),#79,.T.);
96#87=DIRECTION('',(1.0,0.0,0.0));
97#88=DIRECTION('',(0.0,1.0,0.0));
98#89=AXIS2_PLACEMENT_3D('',#2,#87,#88);
99#90=PLANE('',#89);
100#91=ORIENTED_EDGE('',$,$,#24,.T.);
101#92=ORIENTED_EDGE('',$,$,#44,.T.);
102#93=ORIENTED_EDGE('',$,$,#56,.F.);
103#94=ORIENTED_EDGE('',$,$,#40,.F.);
104#95=EDGE_LOOP('',(#91,#92,#93,#94));
105#96=FACE_OUTER_BOUND('',#95,.T.);
106#97=ADVANCED_FACE('right',(#96),#90,.T.);
107#98=DIRECTION('',(0.0,1.0,0.0));
108#99=DIRECTION('',(-1.0,0.0,0.0));
109#100=AXIS2_PLACEMENT_3D('',#3,#98,#99);
110#101=PLANE('',#100);
111#102=ORIENTED_EDGE('',$,$,#28,.T.);
112#103=ORIENTED_EDGE('',$,$,#48,.T.);
113#104=ORIENTED_EDGE('',$,$,#60,.F.);
114#105=ORIENTED_EDGE('',$,$,#44,.F.);
115#106=EDGE_LOOP('',(#102,#103,#104,#105));
116#107=FACE_OUTER_BOUND('',#106,.T.);
117#108=ADVANCED_FACE('back',(#107),#101,.T.);
118#109=DIRECTION('',(-1.0,0.0,0.0));
119#110=DIRECTION('',(0.0,-1.0,0.0));
120#111=AXIS2_PLACEMENT_3D('',#1,#109,#110);
121#112=PLANE('',#111);
122#113=ORIENTED_EDGE('',$,$,#32,.T.);
123#114=ORIENTED_EDGE('',$,$,#36,.T.);
124#115=ORIENTED_EDGE('',$,$,#64,.F.);
125#116=ORIENTED_EDGE('',$,$,#48,.F.);
126#117=EDGE_LOOP('',(#113,#114,#115,#116));
127#118=FACE_OUTER_BOUND('',#117,.T.);
128#119=ADVANCED_FACE('left',(#118),#112,.T.);
129#120=OPEN_SHELL('main_open_shell',(#75,#86,#97,#108,#119));
130#121=DIRECTION('',(1.0,0.0,0.0));
131#122=VECTOR('',#121,1.0);
132#123=LINE('',#5,#122);
133#124=EDGE_CURVE('e_lid_1',#13,#14,#123,.T.);
134#125=DIRECTION('',(0.0,1.0,0.0));
135#126=VECTOR('',#125,1.0);
136#127=LINE('',#6,#126);
137#128=EDGE_CURVE('e_lid_2',#14,#15,#127,.T.);
138#129=DIRECTION('',(-1.0,0.0,0.0));
139#130=VECTOR('',#129,1.0);
140#131=LINE('',#7,#130);
141#132=EDGE_CURVE('e_lid_3',#15,#16,#131,.T.);
142#133=DIRECTION('',(0.0,-1.0,0.0));
143#134=VECTOR('',#133,1.0);
144#135=LINE('',#8,#134);
145#136=EDGE_CURVE('e_lid_4',#16,#13,#135,.T.);
146#137=DIRECTION('',(0.0,0.0,1.0));
147#138=DIRECTION('',(1.0,0.0,0.0));
148#139=AXIS2_PLACEMENT_3D('',#5,#137,#138);
149#140=PLANE('',#139);
150#141=ORIENTED_EDGE('',$,$,#124,.T.);
151#142=ORIENTED_EDGE('',$,$,#128,.T.);
152#143=ORIENTED_EDGE('',$,$,#132,.T.);
153#144=ORIENTED_EDGE('',$,$,#136,.T.);
154#145=EDGE_LOOP('',(#141,#142,#143,#144));
155#146=FACE_OUTER_BOUND('',#145,.T.);
156#147=ADVANCED_FACE('top_closing',(#146),#140,.T.);
157#148=OPEN_SHELL('closing_shell',(#147));
158#149=SHELL_BASED_SURFACE_MODEL('ideas_shells',(#120,#148));
159#150=CARTESIAN_POINT('',(5.0,0.0,0.0));
160#151=CARTESIAN_POINT('',(6.0,0.0,0.0));
161#152=CARTESIAN_POINT('',(6.0,1.0,0.0));
162#153=CARTESIAN_POINT('',(5.0,1.0,0.0));
163#154=VERTEX_POINT('',#150);
164#155=VERTEX_POINT('',#151);
165#156=VERTEX_POINT('',#152);
166#157=VERTEX_POINT('',#153);
167#158=DIRECTION('',(1.0,0.0,0.0));
168#159=VECTOR('',#158,1.0);
169#160=LINE('',#150,#159);
170#161=EDGE_CURVE('second_item_e1',#154,#155,#160,.T.);
171#162=DIRECTION('',(0.0,1.0,0.0));
172#163=VECTOR('',#162,1.0);
173#164=LINE('',#151,#163);
174#165=EDGE_CURVE('second_item_e2',#155,#156,#164,.T.);
175#166=DIRECTION('',(-1.0,0.0,0.0));
176#167=VECTOR('',#166,1.0);
177#168=LINE('',#152,#167);
178#169=EDGE_CURVE('second_item_e3',#156,#157,#168,.T.);
179#170=DIRECTION('',(0.0,-1.0,0.0));
180#171=VECTOR('',#170,1.0);
181#172=LINE('',#153,#171);
182#173=EDGE_CURVE('second_item_e4',#157,#154,#172,.T.);
183#174=DIRECTION('',(0.0,0.0,1.0));
184#175=DIRECTION('',(1.0,0.0,0.0));
185#176=AXIS2_PLACEMENT_3D('',#150,#174,#175);
186#177=PLANE('',#176);
187#178=ORIENTED_EDGE('',$,$,#161,.T.);
188#179=ORIENTED_EDGE('',$,$,#165,.T.);
189#180=ORIENTED_EDGE('',$,$,#169,.T.);
190#181=ORIENTED_EDGE('',$,$,#173,.T.);
191#182=EDGE_LOOP('',(#178,#179,#180,#181));
192#183=FACE_OUTER_BOUND('',#182,.T.);
193#184=ADVANCED_FACE('second_item_face',(#183),#177,.T.);
194#185=OPEN_SHELL('second_item_shell',(#184));
195#186=SHELL_BASED_SURFACE_MODEL('second_item_model',(#185));
196#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
197#9051=PRODUCT('Lh054','Lh054','',(#9050));
198#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
199#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
200#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
201#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
202#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
203#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
204#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
205#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
206#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
207#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#149,#186),#9060);
208#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
209ENDSEC;
210END-ISO-10303-21;