step-examples/12-3b-wires/Twi091.stp
Sources
- OCCT MANTIS#0028414 (OCCT MANTIS tracker 502 as of 2026-05-02)
Description
A face on a closed surface (cylinder, sphere, torus) has a single inner wire (`FACE_INNER_BOUND`) representing a hole, but no outer bound — under STEP semantics for closed surfaces, the natural surface boundary plays the role of outer bound. STEP reader does not synthesise the natural bound and reads the face as having only an inner wire — making it ill-formed (no outer boundary at all) or interpreted as a tiny disk rather than the cylinder-minus-hole.
Reproducer recipe
`ADVANCED_FACE` on a `CYLINDRICAL_SURFACE` with one `FACE_INNER_BOUND` (a circular wire on the cylinder representing a window cut-out) and no `FACE_OUTER_BOUND` element in the bounds list.
Expected kernel behavior
Heal and accept: when a face on a closed surface has no outer bound, normalize / coerce the entire surface (modulo seam handling) to the implicit outer bound; the inner wire then describes a hole through the natural face.
Notes
**See also**: Tfa038, Tsh001. Synonyms: "face on cylinder has hole but no outer bound", "natural surface bound not synthesized", "face read with no boundary at all", "inner wire on closed surface treated as disk", "cylinder face missing implicit outer boundary".
Expected validation
occt=signal(11)/signal(11) gmsh=signal(11) ifc=schema_n/a
Closure intent
sheet — the open shell is the intended final geometry; a solid-only kernel should cleanly refuse.
Byte assertions
contains(b'CYLINDRICAL_SURFACE(')contains(b'FACE_INNER_BOUND(')contains(b'no_outer_bound')
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/* Twi091 - Inner wire on closed surface lacks natural bound 3 * Defect: ADVANCED_FACE on CYLINDRICAL_SURFACE with one inner wire (window) and no outer bound; reader needs natural surface boundary */ 4HEADER; 5FILE_DESCRIPTION(('Twi091 - Inner wire on closed surface lacks natural bound: face read with no boundary','Inner wire on closed surface lacks natural bound'),'2;1'); 6FILE_NAME('Twi091.stp','2026-04-30T00:00:00',(''),(''),'cad-research-suite','',''); 7FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }')); 8ENDSEC; 9DATA; 10#1=APPLICATION_CONTEXT('automotive_design'); 11#2=APPLICATION_PROTOCOL_DEFINITION('international standard','automotive_design',2000,#1); 12#10=CARTESIAN_POINT('',(0.0,0.0,0.0)); 13#11=DIRECTION('',(0.0,0.0,1.0)); 14#12=DIRECTION('',(1.0,0.0,0.0)); 15#13=AXIS2_PLACEMENT_3D('',#10,#11,#12); 16#14=CYLINDRICAL_SURFACE('',#13,2.0); 17/* Single inner wire (window cut-out), no FACE_OUTER_BOUND */ 18#100=CARTESIAN_POINT('',(2.0,0.0,1.0));#101=VERTEX_POINT('',#100); 19#102=CARTESIAN_POINT('',(2.0,0.0,1.0));#103=AXIS2_PLACEMENT_3D('',#102,#11,#12); 20#104=CIRCLE('',#103,0.3); 21#105=EDGE_CURVE('window',#101,#101,#104,.T.); 22#106=ORIENTED_EDGE('',*,*,#105,.T.);#107=EDGE_LOOP('',(#106)); 23#108=FACE_INNER_BOUND('only_inner',#107,.T.); 24#109=ADVANCED_FACE('no_outer_bound',(#108),#14,.T.); 25/* Wrap: minimal PRODUCT chain so OCCT TransferRoots produces a shape. */ 26#9000=PRODUCT_CONTEXT('',#1,'mechanical'); 27#9001=PRODUCT('Twi091','Twi091','',(#9000)); 28#9002=PRODUCT_DEFINITION_FORMATION('','',#9001); 29#9003=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design'); 30#9004=PRODUCT_DEFINITION('','',#9002,#9003); 31#9005=PRODUCT_DEFINITION_SHAPE('','',#9004); 32#9006=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 33#9007=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 34#9008=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 35#9009=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9006,'distance_accuracy_value',''); 36#9010=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9009))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9006,#9007,#9008))REPRESENTATION_CONTEXT('','3D')); 37#9020=OPEN_SHELL('wrap_shell',(#109)); 38#9021=SHELL_BASED_SURFACE_MODEL('wrap_sbsm',(#9020)); 39#9022=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#9021),#9010); 40#9023=SHAPE_DEFINITION_REPRESENTATION(#9005,#9022); 41ENDSEC; 42END-ISO-10303-21;