step-examples/12-3c-faces/Tfa016.stp
Sources
- 03-occt-tests R019 (bug28228), R033 (UnifySameDomain stability), R074 (bopcheck after USD)
- 05-occt-shapefix F055
- 08-occt-gitlog G068, G103
- 09-healing-menus H071, H087
- 13-quaoar B024 (maximize-faces)
- 18-other-issues I040, I052
Description
Two or more coplanar (or co-cylindrical, co-conical, co-spherical, co-toroidal) faces from a Boolean union remain separate even though they share one underlying surface, joined by an artificial internal edge that does not separate distinct geometry. Feature recognition and CAM/FEA pipelines see redundant topology where the input was a single feature.
Reproducer recipe
Boolean-fuse two boxes sharing a face; result has two coplanar faces on the shared plane separated by a useless internal edge.
Expected kernel behavior
merge adjacent faces that share one underlying surface and have collinear shared edges, leaving the topology with one face per geometric region. The merge must respect periodic directions; do not merge across a cylinder/torus seam.
Notes
**See also**: Tfa017, Tfa018, Tfa032. Synonyms: "coplanar faces left as separate entities", "two faces on same plane joined by fake edge", "redundant internal edge between coplanar faces", "feature recognition sees split where input was one face", "boolean union didn't merge coplanar pair".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(15) ifc=schema_n/a
Closure intent
sheet — the open shell is the intended final geometry; a solid-only kernel should cleanly refuse.
Tier-3 assertions
face[0].surface_type == "plane"n_edges_total >= 8face[1].surface_type == "plane"n_vertices_total >= 16
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa016: OPEN_SHELL: two 10Ã10 coplanar ADVANCED_FACEs sharing one PLANE entity; face[0] left square (x:0â10), face[1] right square (x:10â20); artificial internal edge at x=10 shared by both loops (EDGE_CURVE #71 used .T. in face[0] and .F. in face[1] â the redundant internal edge); UnifySameDomain healer must dissolve this edge and merge both faces; defect is live on face traversal path â same PLANE entity referenced by both faces */ 3HEADER; 4FILE_DESCRIPTION(('Tfa016'),'2;1'); 5FILE_NAME('Tfa016.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('',#4); 15#6=CARTESIAN_POINT('',(0.0,0.0,0.0)); 16#7=CARTESIAN_POINT('',(10.0,0.0,0.0)); 17#8=CARTESIAN_POINT('',(10.0,10.0,0.0)); 18#9=CARTESIAN_POINT('',(0.0,10.0,0.0)); 19#10=CARTESIAN_POINT('',(20.0,0.0,0.0)); 20#11=CARTESIAN_POINT('',(20.0,10.0,0.0)); 21#12=VERTEX_POINT('',#6); 22#13=VERTEX_POINT('',#7); 23#14=VERTEX_POINT('',#8); 24#15=VERTEX_POINT('',#9); 25#16=VERTEX_POINT('',#10); 26#17=VERTEX_POINT('',#11); 27#18=DIRECTION('',(1.0,0.0,0.0)); 28#19=VECTOR('',#18,10.0); 29#20=LINE('',#6,#19); 30#21=EDGE_CURVE('',#12,#13,#20,.T.); 31#22=DIRECTION('',(0.0,1.0,0.0)); 32#23=VECTOR('',#22,10.0); 33#24=LINE('',#7,#23); 34#25=EDGE_CURVE('',#13,#14,#24,.T.); 35#26=DIRECTION('',(-1.0,0.0,0.0)); 36#27=VECTOR('',#26,10.0); 37#28=LINE('',#8,#27); 38#29=EDGE_CURVE('',#14,#15,#28,.T.); 39#30=DIRECTION('',(0.0,-1.0,0.0)); 40#31=VECTOR('',#30,10.0); 41#32=LINE('',#9,#31); 42#33=EDGE_CURVE('',#15,#12,#32,.T.); 43#34=DIRECTION('',(1.0,0.0,0.0)); 44#35=VECTOR('',#34,10.0); 45#36=LINE('',#7,#35); 46#37=EDGE_CURVE('',#13,#16,#36,.T.); 47#38=DIRECTION('',(0.0,1.0,0.0)); 48#39=VECTOR('',#38,10.0); 49#40=LINE('',#10,#39); 50#41=EDGE_CURVE('',#16,#17,#40,.T.); 51#42=DIRECTION('',(-1.0,0.0,0.0)); 52#43=VECTOR('',#42,10.0); 53#44=LINE('',#11,#43); 54#45=EDGE_CURVE('',#17,#14,#44,.T.); 55#46=ORIENTED_EDGE('',$,$,#21,.T.); 56#47=ORIENTED_EDGE('',$,$,#25,.T.); 57#48=ORIENTED_EDGE('',$,$,#29,.T.); 58#49=ORIENTED_EDGE('',$,$,#33,.T.); 59#50=EDGE_LOOP('',(#46,#47,#48,#49)); 60#51=FACE_OUTER_BOUND('',#50,.T.); 61#52=ADVANCED_FACE('',(#51),#5,.T.); 62#53=ORIENTED_EDGE('',$,$,#37,.T.); 63#54=ORIENTED_EDGE('',$,$,#41,.T.); 64#55=ORIENTED_EDGE('',$,$,#45,.T.); 65#56=ORIENTED_EDGE('',$,$,#25,.F.); 66#57=EDGE_LOOP('',(#53,#54,#55,#56)); 67#58=FACE_OUTER_BOUND('',#57,.T.); 68#59=ADVANCED_FACE('',(#58),#5,.T.); 69#60=OPEN_SHELL('',(#52,#59)); 70#61=SHELL_BASED_SURFACE_MODEL('',(#60)); 71#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 72#9051=PRODUCT('Tfa016','Tfa016','',(#9050)); 73#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 74#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 75#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 76#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 77#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 78#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 79#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 80#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 81#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 82#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#61),#9060); 83#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 84ENDSEC; 85END-ISO-10303-21;