step-examples/12-3c-faces/Tfa045.stp
Sources
- OCCT `ShapeFix_IntersectionTool::FixIntersectingWires` (`ShapeFix_IntersectionTool.hxx:75`)
- see also Tfa039 for the crossing variant.
Description
A face has two inner wires that touch at a single point in UV (tangent rather than crossing). The face boundary is technically simple (no edges cross) but the wires are kissing; under tolerance perturbations the kissing point becomes an actual crossing or a separation.
Reproducer recipe
Two triangle wires inside a square face, both having a vertex at `(5,5)` and otherwise non-overlapping. The shared vertex is the kissing point.
Expected kernel behavior
distinguish tangent kiss from crossing; either merge the two wires at the shared point, leave the kiss alone if topology permits (kernel-policy), or reject.
Notes
Distinct from Tfa039 because the tangency-vs-crossing decision is a different kernel branch. **OCC behavior**: the validity-checker does not flag this defect; tier-3 valid-flag should be ignored for this entry. The reader most likely silently fixes or ignores the kissing-wires case on import. Synonyms: "two inner wires kiss at single point", "tangentially touching wires", "wires share a vertex but don't cross", "kissing inner wires on face".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(20) 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
n_edges_total >= 4face[0].surface_type == "plane"n_vertices_total >= 8
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa045: OPEN_SHELL: face[0] is 12Ã12 PLANE with outer FACE_OUTER_BOUND plus two inner FACE_BOUND triangle wires kissing at shared VERTEX_POINT (5,5,0); wire_a: (2,2)â(5,5)â(2,8)âback; wire_b: (10,2)â(5,5)â(10,8)âback; wires are tangent (kiss) rather than crossing; FixIntersectingWires must distinguish tangent kiss from crossing; defect IS on live OPEN_SHELL traversal path */ 3HEADER; 4FILE_DESCRIPTION(('Tfa045'),'2;1'); 5FILE_NAME('Tfa045.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('',(5.0,5.0,0.0)); 11#2=VERTEX_POINT('',#1); 12#3=CARTESIAN_POINT('',(0.0,0.0,0.0)); 13#4=CARTESIAN_POINT('',(12.0,0.0,0.0)); 14#5=CARTESIAN_POINT('',(12.0,12.0,0.0)); 15#6=CARTESIAN_POINT('',(0.0,12.0,0.0)); 16#7=VERTEX_POINT('',#3); 17#8=VERTEX_POINT('',#4); 18#9=VERTEX_POINT('',#5); 19#10=VERTEX_POINT('',#6); 20#11=DIRECTION('',(1.0,0.0,0.0)); 21#12=VECTOR('',#11,12.0); 22#13=LINE('',#3,#12); 23#14=EDGE_CURVE('',#7,#8,#13,.T.); 24#15=DIRECTION('',(0.0,1.0,0.0)); 25#16=VECTOR('',#15,12.0); 26#17=LINE('',#4,#16); 27#18=EDGE_CURVE('',#8,#9,#17,.T.); 28#19=DIRECTION('',(-1.0,0.0,0.0)); 29#20=VECTOR('',#19,12.0); 30#21=LINE('',#5,#20); 31#22=EDGE_CURVE('',#9,#10,#21,.T.); 32#23=DIRECTION('',(0.0,-1.0,0.0)); 33#24=VECTOR('',#23,12.0); 34#25=LINE('',#6,#24); 35#26=EDGE_CURVE('',#10,#7,#25,.T.); 36#27=ORIENTED_EDGE('',$,$,#14,.T.); 37#28=ORIENTED_EDGE('',$,$,#18,.T.); 38#29=ORIENTED_EDGE('',$,$,#22,.T.); 39#30=ORIENTED_EDGE('',$,$,#26,.T.); 40#31=EDGE_LOOP('',(#27,#28,#29,#30)); 41#32=CARTESIAN_POINT('',(2.0,2.0,0.0)); 42#33=CARTESIAN_POINT('',(2.0,8.0,0.0)); 43#34=VERTEX_POINT('',#32); 44#35=VERTEX_POINT('',#33); 45#36=DIRECTION('',(0.707106781187,0.707106781187,0.0)); 46#37=VECTOR('',#36,4.24264068712); 47#38=LINE('',#32,#37); 48#39=EDGE_CURVE('',#34,#2,#38,.T.); 49#40=DIRECTION('',(-0.707106781187,0.707106781187,0.0)); 50#41=VECTOR('',#40,4.24264068712); 51#42=LINE('',#1,#41); 52#43=EDGE_CURVE('',#2,#35,#42,.T.); 53#44=DIRECTION('',(0.0,-1.0,0.0)); 54#45=VECTOR('',#44,6.0); 55#46=LINE('',#33,#45); 56#47=EDGE_CURVE('',#35,#34,#46,.T.); 57#48=ORIENTED_EDGE('',$,$,#39,.T.); 58#49=ORIENTED_EDGE('',$,$,#43,.T.); 59#50=ORIENTED_EDGE('',$,$,#47,.T.); 60#51=EDGE_LOOP('',(#48,#49,#50)); 61#52=CARTESIAN_POINT('',(10.0,2.0,0.0)); 62#53=CARTESIAN_POINT('',(10.0,8.0,0.0)); 63#54=VERTEX_POINT('',#52); 64#55=VERTEX_POINT('',#53); 65#56=DIRECTION('',(-0.857492925713,0.514495755428,0.0)); 66#57=VECTOR('',#56,5.83095189485); 67#58=LINE('',#52,#57); 68#59=EDGE_CURVE('',#54,#2,#58,.T.); 69#60=DIRECTION('',(0.857492925713,0.514495755428,0.0)); 70#61=VECTOR('',#60,5.83095189485); 71#62=LINE('',#1,#61); 72#63=EDGE_CURVE('',#2,#55,#62,.T.); 73#64=DIRECTION('',(0.0,-1.0,0.0)); 74#65=VECTOR('',#64,6.0); 75#66=LINE('',#53,#65); 76#67=EDGE_CURVE('',#55,#54,#66,.T.); 77#68=ORIENTED_EDGE('',$,$,#59,.T.); 78#69=ORIENTED_EDGE('',$,$,#63,.T.); 79#70=ORIENTED_EDGE('',$,$,#67,.T.); 80#71=EDGE_LOOP('',(#68,#69,#70)); 81#72=CARTESIAN_POINT('',(0.0,0.0,0.0)); 82#73=DIRECTION('',(0.0,0.0,1.0)); 83#74=DIRECTION('',(1.0,0.0,0.0)); 84#75=AXIS2_PLACEMENT_3D('',#72,#73,#74); 85#76=PLANE('',#75); 86#77=FACE_OUTER_BOUND('',#31,.T.); 87#78=FACE_BOUND('',#51,.F.); 88#79=FACE_BOUND('',#71,.F.); 89#80=ADVANCED_FACE('',(#77,#78,#79),#76,.T.); 90#81=OPEN_SHELL('',(#80)); 91#82=SHELL_BASED_SURFACE_MODEL('',(#81)); 92#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 93#9051=PRODUCT('Tfa045','Tfa045','',(#9050)); 94#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 95#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 96#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 97#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 98#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 99#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 100#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 101#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 102#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 103#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#82),#9060); 104#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 105ENDSEC; 106END-ISO-10303-21;