step-examples/12-3c-faces/Tfa121.stp
Sources
- synthesized — no external source cited
Description
Two ADVANCED_FACEs (on different offset planes, sharing a coincident 3D edge) are wrapped together in a GEOMETRIC_CURVE_SET; the reader never builds either face at all (shape comes back empty)
Reproducer recipe
Expected kernel behavior
Accept: an ADVANCED_FACE wrapped inside a GEOMETRIC_CURVE_SET is, per the schema, a geometric-curve-set model entity rather than a face-topology entity, so a read correctly yields an empty shape (shape.IsNull() == True, n_faces == 0) for both wrapped faces — there is no coincident-edge merging to perform because neither face is ever built from the curve-set wrapper, and this empty result must not be treated as a translation failure to work around.
Notes
Corrected 2026-07-17 (truth-in-labeling audit): retitled/redescribed — original claimed coincident-edge wire merging checks only 3D coincidence and misses the cross-surface mismatch when merging; that method is never invoked because neither face survives translation (the `GEOMETRIC_CURVE_SET` wrapper is a type the builder dispatch skips). The `shape_null == True` / `occt=empty/empty` Expected-validation line below was already correct; only the mechanism attribution was wrong. Part of the ~127-entry face-repair/small-face-check misnomer family — see `BACKLOG.md` Q14. **See also**: Tfa160, Tfa169 (same `GEOMETRIC_CURVE_SET`-orphaning pattern). Synonyms: "two offset-plane faces wrapped in curve set never translate", "orphaned dual-face curve set yields empty shape".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Tier-3 assertions
shape_null == True
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa121: GEOMETRIC_CURVE_SET containing two ADVANCED_FACEs on different PLANE instances; face_A on PLANE at z=0, face_B on PLANE at z=0.001 (offset 0.001 in Z); both faces share an edge at x=5, y=[0,10] in 3D (same 3D coordinates); FixWiresTwoCoincEdges finds 3D-coincident edges and merges them; but merge ignores host-surface mismatch â edge belongs to two different surfaces; merged edge has undefined surface membership; kernel must check surface identity; GEOMETRIC_CURVE_SET IS model entity â OCC yields empty; no orphaned entities */ 3HEADER; 4FILE_DESCRIPTION(('Tfa121'),'2;1'); 5FILE_NAME('Tfa121.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','',''); 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=DIRECTION('',(0.0,0.0,1.0)); 12#3=DIRECTION('',(1.0,0.0,0.0)); 13#4=AXIS2_PLACEMENT_3D('',#1,#2,#3); 14#5=PLANE('host_plane_z0',#4); 15#6=CARTESIAN_POINT('',(0.0,0.0,0.001)); 16#7=DIRECTION('',(0.0,0.0,1.0)); 17#8=DIRECTION('',(1.0,0.0,0.0)); 18#9=AXIS2_PLACEMENT_3D('',#6,#7,#8); 19#10=PLANE('host_plane_z0001',#9); 20#11=CARTESIAN_POINT('',(0.0,0.0,0.0)); 21#12=CARTESIAN_POINT('',(5.0,0.0,0.0)); 22#13=CARTESIAN_POINT('',(5.0,10.0,0.0)); 23#14=CARTESIAN_POINT('',(0.0,10.0,0.0)); 24#15=VERTEX_POINT('',#11); 25#16=VERTEX_POINT('',#12); 26#17=VERTEX_POINT('',#13); 27#18=VERTEX_POINT('',#14); 28#19=DIRECTION('',(1.0,0.0,0.0)); 29#20=VECTOR('',#19,5.0); 30#21=LINE('',#11,#20); 31#22=EDGE_CURVE('',#15,#16,#21,.T.); 32#23=DIRECTION('',(0.0,1.0,0.0)); 33#24=VECTOR('',#23,10.0); 34#25=LINE('',#12,#24); 35#26=EDGE_CURVE('',#16,#17,#25,.T.); 36#27=DIRECTION('',(-1.0,0.0,0.0)); 37#28=VECTOR('',#27,5.0); 38#29=LINE('',#13,#28); 39#30=EDGE_CURVE('',#17,#18,#29,.T.); 40#31=DIRECTION('',(0.0,-1.0,0.0)); 41#32=VECTOR('',#31,10.0); 42#33=LINE('',#14,#32); 43#34=EDGE_CURVE('',#18,#15,#33,.T.); 44#35=ORIENTED_EDGE('',*,*,#22,.T.); 45#36=ORIENTED_EDGE('',*,*,#26,.T.); 46#37=ORIENTED_EDGE('',*,*,#30,.T.); 47#38=ORIENTED_EDGE('',*,*,#34,.T.); 48#39=EDGE_LOOP('',(#35,#36,#37,#38)); 49#40=FACE_OUTER_BOUND('',#39,.T.); 50#41=ADVANCED_FACE('face_A_z0',(#40),#5,.T.); 51#42=CARTESIAN_POINT('',(5.0,0.0,0.001)); 52#43=CARTESIAN_POINT('',(10.0,0.0,0.001)); 53#44=CARTESIAN_POINT('',(10.0,10.0,0.001)); 54#45=CARTESIAN_POINT('',(5.0,10.0,0.001)); 55#46=VERTEX_POINT('',#42); 56#47=VERTEX_POINT('',#43); 57#48=VERTEX_POINT('',#44); 58#49=VERTEX_POINT('',#45); 59#50=DIRECTION('',(1.0,0.0,0.0)); 60#51=VECTOR('',#50,5.0); 61#52=LINE('',#42,#51); 62#53=EDGE_CURVE('',#46,#47,#52,.T.); 63#54=DIRECTION('',(0.0,1.0,0.0)); 64#55=VECTOR('',#54,10.0); 65#56=LINE('',#43,#55); 66#57=EDGE_CURVE('',#47,#48,#56,.T.); 67#58=DIRECTION('',(-1.0,0.0,0.0)); 68#59=VECTOR('',#58,5.0); 69#60=LINE('',#44,#59); 70#61=EDGE_CURVE('',#48,#49,#60,.T.); 71#62=DIRECTION('',(0.0,-1.0,0.0)); 72#63=VECTOR('',#62,10.0); 73#64=LINE('',#45,#63); 74#65=EDGE_CURVE('',#49,#46,#64,.T.); 75#66=ORIENTED_EDGE('',*,*,#53,.T.); 76#67=ORIENTED_EDGE('',*,*,#57,.T.); 77#68=ORIENTED_EDGE('',*,*,#61,.T.); 78#69=ORIENTED_EDGE('',*,*,#65,.T.); 79#70=EDGE_LOOP('',(#66,#67,#68,#69)); 80#71=FACE_OUTER_BOUND('',#70,.T.); 81#72=ADVANCED_FACE('face_B_z0001',(#71),#10,.T.); 82#73=GEOMETRIC_CURVE_SET('',( #41,#72)); 83#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 84#9051=PRODUCT('Tfa121','Tfa121','',(#9050)); 85#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 86#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 87#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 88#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 89#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 90#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 91#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 92#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 93#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 94#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#73),#9060); 95#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 96ENDSEC; 97END-ISO-10303-21;