Tfa050 — Pin face (long thin triangular ADVANCED_FACE) produces edge-correspondence map for healing

§12.3c faces / sewing / free bounds (sub-class: pin diagnostic)

topology

Sources

Description

As Tfa049 but additionally builds a map from old edges to new edges that result from snipping the pin. Healing relies on this map to splice the trimmed face back into its incident shell without leaving naked edges. Typical fixture: same long thin triangular ADVANCED_FACE outer EDGE_LOOP as Tfa049 (e.g., vertices (0,0,0), (10,0.001,0), (10,-0.001,0)).

Reproducer recipe

As Tfa044 / Tfa049 — a triangular pin face whose analyzer produces a 2-entry edge map for the two long edges that get split.

Expected kernel behavior

Heal and accept: build / normalize the edge correspondence; do not modify (repair) the shape; let the caller apply the edits.

Notes

Diagnostic counterpart of FixPinFace with a richer return type. Synonyms: "pin face healing needs edge correspondence map", "pin trim leaves edges that need rejoin", "edge correspondence after pin snip", "pin removal must splice edges back".

Expected validation

occt=shape(1)/shape(1) gmsh=shape(21) 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

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Tfa050: CLOSED_SHELL: face[0] is triangular pin ADVANCED_FACE on PLANE at z=0; pin tip at (0,0,0); base vertices at (10,0.001,0) and (10,-0.001,0); aspect ratio ≈ 10/0.001 = 1e4 > 1e3 (pin face criterion); ShapeAnalysis_CheckSmallFace::CheckPinFace builds 2-entry edge map; map captures: long-edge-tip-top → split-edges-A, long-edge-tip-bot → split-edges-B; caller uses map to splice trimmed face back into shell without naked edges; prism extruded 1mm in Z to form closed shell; defect IS on live CLOSED_SHELL traversal path */
3HEADER;
4FILE_DESCRIPTION(('Tfa050'),'2;1');
5FILE_NAME('Tfa050.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=CARTESIAN_POINT('',(10.0,0.001,0.0));
12#3=CARTESIAN_POINT('',(10.0,-0.001,0.0));
13#4=CARTESIAN_POINT('',(0.0,0.0,1.0));
14#5=CARTESIAN_POINT('',(10.0,0.001,1.0));
15#6=CARTESIAN_POINT('',(10.0,-0.001,1.0));
16#7=VERTEX_POINT('',#1);
17#8=VERTEX_POINT('',#2);
18#9=VERTEX_POINT('',#3);
19#10=VERTEX_POINT('',#4);
20#11=VERTEX_POINT('',#5);
21#12=VERTEX_POINT('',#6);
22#13=DIRECTION('',(0.999999995,9.99999995E-05,0.0));
23#14=VECTOR('',#13,10.00000005);
24#15=LINE('',#1,#14);
25#16=EDGE_CURVE('',#7,#8,#15,.T.);
26#17=DIRECTION('',(0.0,-1.0,0.0));
27#18=VECTOR('',#17,0.002);
28#19=LINE('',#2,#18);
29#20=EDGE_CURVE('',#8,#9,#19,.T.);
30#21=DIRECTION('',(-0.999999995,9.99999995E-05,0.0));
31#22=VECTOR('',#21,10.00000005);
32#23=LINE('',#3,#22);
33#24=EDGE_CURVE('',#9,#7,#23,.T.);
34#25=DIRECTION('',(0.999999995,9.99999995E-05,0.0));
35#26=VECTOR('',#25,10.00000005);
36#27=LINE('',#4,#26);
37#28=EDGE_CURVE('',#10,#11,#27,.T.);
38#29=DIRECTION('',(0.0,-1.0,0.0));
39#30=VECTOR('',#29,0.002);
40#31=LINE('',#5,#30);
41#32=EDGE_CURVE('',#11,#12,#31,.T.);
42#33=DIRECTION('',(-0.999999995,9.99999995E-05,0.0));
43#34=VECTOR('',#33,10.00000005);
44#35=LINE('',#6,#34);
45#36=EDGE_CURVE('',#12,#10,#35,.T.);
46#37=DIRECTION('',(0.0,0.0,1.0));
47#38=VECTOR('',#37,1.0);
48#39=LINE('',#1,#38);
49#40=EDGE_CURVE('',#7,#10,#39,.T.);
50#41=DIRECTION('',(0.0,0.0,1.0));
51#42=VECTOR('',#41,1.0);
52#43=LINE('',#2,#42);
53#44=EDGE_CURVE('',#8,#11,#43,.T.);
54#45=DIRECTION('',(0.0,0.0,1.0));
55#46=VECTOR('',#45,1.0);
56#47=LINE('',#3,#46);
57#48=EDGE_CURVE('',#9,#12,#47,.T.);
58#49=ORIENTED_EDGE('',$,$,#16,.T.);
59#50=ORIENTED_EDGE('',$,$,#20,.T.);
60#51=ORIENTED_EDGE('',$,$,#24,.T.);
61#52=EDGE_LOOP('',(#49,#50,#51));
62#53=DIRECTION('',(0.0,0.0,-1.0));
63#54=DIRECTION('',(1.0,0.0,0.0));
64#55=AXIS2_PLACEMENT_3D('',#1,#53,#54);
65#56=FACE_OUTER_BOUND('',#52,.T.);
66#57=PLANE('',#55);
67#58=ADVANCED_FACE('',(#56),#57,.T.);
68#59=ORIENTED_EDGE('',$,$,#28,.T.);
69#60=ORIENTED_EDGE('',$,$,#32,.T.);
70#61=ORIENTED_EDGE('',$,$,#36,.T.);
71#62=EDGE_LOOP('',(#59,#60,#61));
72#63=DIRECTION('',(0.0,0.0,1.0));
73#64=DIRECTION('',(1.0,0.0,0.0));
74#65=AXIS2_PLACEMENT_3D('',#4,#63,#64);
75#66=FACE_OUTER_BOUND('',#62,.T.);
76#67=PLANE('',#65);
77#68=ADVANCED_FACE('',(#66),#67,.T.);
78#69=ORIENTED_EDGE('',$,$,#16,.T.);
79#70=ORIENTED_EDGE('',$,$,#44,.T.);
80#71=ORIENTED_EDGE('',$,$,#28,.F.);
81#72=ORIENTED_EDGE('',$,$,#40,.F.);
82#73=EDGE_LOOP('',(#69,#70,#71,#72));
83#74=DIRECTION('',(9.99999995E-05,-0.999999995,0.0));
84#75=DIRECTION('',(0.999999995,9.99999995E-05,0.0));
85#76=AXIS2_PLACEMENT_3D('',#1,#74,#75);
86#77=FACE_OUTER_BOUND('',#73,.T.);
87#78=PLANE('',#76);
88#79=ADVANCED_FACE('',(#77),#78,.T.);
89#80=ORIENTED_EDGE('',$,$,#24,.T.);
90#81=ORIENTED_EDGE('',$,$,#40,.T.);
91#82=ORIENTED_EDGE('',$,$,#36,.F.);
92#83=ORIENTED_EDGE('',$,$,#48,.F.);
93#84=EDGE_LOOP('',(#80,#81,#82,#83));
94#85=DIRECTION('',(9.99999995E-05,0.999999995,0.0));
95#86=DIRECTION('',(-0.999999995,9.99999995E-05,0.0));
96#87=AXIS2_PLACEMENT_3D('',#3,#85,#86);
97#88=FACE_OUTER_BOUND('',#84,.T.);
98#89=PLANE('',#87);
99#90=ADVANCED_FACE('',(#88),#89,.T.);
100#91=ORIENTED_EDGE('',$,$,#20,.T.);
101#92=ORIENTED_EDGE('',$,$,#48,.T.);
102#93=ORIENTED_EDGE('',$,$,#32,.F.);
103#94=ORIENTED_EDGE('',$,$,#44,.F.);
104#95=EDGE_LOOP('',(#91,#92,#93,#94));
105#96=DIRECTION('',(1.0,0.0,0.0));
106#97=DIRECTION('',(0.0,1.0,0.0));
107#98=AXIS2_PLACEMENT_3D('',#2,#96,#97);
108#99=FACE_OUTER_BOUND('',#95,.T.);
109#100=PLANE('',#98);
110#101=ADVANCED_FACE('',(#99),#100,.T.);
111#102=CLOSED_SHELL('',(#58,#68,#79,#90,#101));
112#103=MANIFOLD_SOLID_BREP('',#102);
113#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
114#9051=PRODUCT('Tfa050','Tfa050','',(#9050));
115#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
116#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
117#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
118#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
119#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
120#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
121#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
122#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
123#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
124#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#103),#9060);
125#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
126ENDSEC;
127END-ISO-10303-21;