step-examples/12-3c-faces/Tfa065.stp
Sources
- OCCT MANTIS#0026620
- OCCT MANTIS#0027122 (OCCT MANTIS tracker 502 as of 2026-05-02)
Description
A face whose constituent edges have native tolerance ~1e-7 goes through a healing pass that inflates the face-level tolerance to ~1e-1 to absorb a single localised gap. The bloated tolerance then contaminates all downstream operations on the face.
Reproducer recipe
Rectangular face with three good edges (tolerance 1e-7) and one edge with a 1e-3 gap to its neighbour. After healing the face tolerance is set to 1e-1 (>> the worst gap) rather than 1.5e-3.
Expected kernel behavior
Heal and accept: normalize face / shell tolerance to the maximum measured deviation across constituent edges, not orders of magnitude above; do not inflate tolerance preemptively.
Notes
**See also**: Tfa017, N040. Synonyms: "healed face overuses inflated tolerance", "tolerance inflated even where original gap was tiny", "healer applies global tolerance bump per-vertex", "small EDGE_LOOP gap causes whole-face tolerance bloat".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(18) 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/* Tfa065: OPEN_SHELL: face[0] on PLANE at z=0; outer EDGE_LOOP: three good edges (tol~1e-7); fourth edge starts at (0.0, 100.001, 0.0) â 1e-3 gap from prev edge end (0.0, 100.0, 0.0); healer inflates face-level tolerance to ~1e-1 to absorb 1e-3 gap (orders of magnitude above measured max deviation); ShapeUpgrade_UnifySameDomain tolerance pollution condition; face[1] valid 100x100 plane at z=-10 ensures shape(1); defect IS on live OPEN_SHELL traversal path */ 3HEADER; 4FILE_DESCRIPTION(('Tfa065'),'2;1'); 5FILE_NAME('Tfa065.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('',(100.0,0.0,0.0)); 12#3=CARTESIAN_POINT('',(100.0,100.0,0.0)); 13#4=CARTESIAN_POINT('',(0.0,100.0,0.0)); 14#5=CARTESIAN_POINT('',(0.0,100.001,0.0)); 15#6=VERTEX_POINT('',#1); 16#7=VERTEX_POINT('',#2); 17#8=VERTEX_POINT('',#3); 18#9=VERTEX_POINT('',#4); 19#10=VERTEX_POINT('',#5); 20#11=DIRECTION('',(1.0,0.0,0.0)); 21#12=VECTOR('',#11,100.0); 22#13=LINE('',#1,#12); 23#14=EDGE_CURVE('',#6,#7,#13,.T.); 24#15=DIRECTION('',(0.0,1.0,0.0)); 25#16=VECTOR('',#15,100.0); 26#17=LINE('',#2,#16); 27#18=EDGE_CURVE('',#7,#8,#17,.T.); 28#19=DIRECTION('',(-1.0,0.0,0.0)); 29#20=VECTOR('',#19,100.0); 30#21=LINE('',#3,#20); 31#22=EDGE_CURVE('',#8,#9,#21,.T.); 32#23=DIRECTION('',(0.0,-1.0,0.0)); 33#24=VECTOR('',#23,100.001); 34#25=LINE('',#5,#24); 35#26=EDGE_CURVE('',#10,#6,#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('',(0.0,0.0,0.0)); 42#33=DIRECTION('',(0.0,0.0,1.0)); 43#34=DIRECTION('',(1.0,0.0,0.0)); 44#35=AXIS2_PLACEMENT_3D('',#32,#33,#34); 45#36=PLANE('',#35); 46#37=FACE_OUTER_BOUND('',#31,.T.); 47#38=ADVANCED_FACE('',(#37),#36,.T.); 48#39=CARTESIAN_POINT('',(0.0,0.0,-10.0)); 49#40=CARTESIAN_POINT('',(100.0,0.0,-10.0)); 50#41=CARTESIAN_POINT('',(100.0,100.0,-10.0)); 51#42=CARTESIAN_POINT('',(0.0,100.0,-10.0)); 52#43=VERTEX_POINT('',#39); 53#44=VERTEX_POINT('',#40); 54#45=VERTEX_POINT('',#41); 55#46=VERTEX_POINT('',#42); 56#47=DIRECTION('',(1.0,0.0,0.0)); 57#48=VECTOR('',#47,100.0); 58#49=LINE('',#39,#48); 59#50=EDGE_CURVE('',#43,#44,#49,.T.); 60#51=DIRECTION('',(0.0,1.0,0.0)); 61#52=VECTOR('',#51,100.0); 62#53=LINE('',#40,#52); 63#54=EDGE_CURVE('',#44,#45,#53,.T.); 64#55=DIRECTION('',(-1.0,0.0,0.0)); 65#56=VECTOR('',#55,100.0); 66#57=LINE('',#41,#56); 67#58=EDGE_CURVE('',#45,#46,#57,.T.); 68#59=DIRECTION('',(0.0,-1.0,0.0)); 69#60=VECTOR('',#59,100.0); 70#61=LINE('',#42,#60); 71#62=EDGE_CURVE('',#46,#43,#61,.T.); 72#63=ORIENTED_EDGE('',$,$,#50,.T.); 73#64=ORIENTED_EDGE('',$,$,#54,.T.); 74#65=ORIENTED_EDGE('',$,$,#58,.T.); 75#66=ORIENTED_EDGE('',$,$,#62,.T.); 76#67=EDGE_LOOP('',(#63,#64,#65,#66)); 77#68=CARTESIAN_POINT('',(0.0,0.0,-10.0)); 78#69=DIRECTION('',(0.0,0.0,1.0)); 79#70=DIRECTION('',(1.0,0.0,0.0)); 80#71=AXIS2_PLACEMENT_3D('',#68,#69,#70); 81#72=PLANE('',#71); 82#73=FACE_OUTER_BOUND('',#67,.T.); 83#74=ADVANCED_FACE('',(#73),#72,.T.); 84#75=OPEN_SHELL('',(#38,#74)); 85#76=SHELL_BASED_SURFACE_MODEL('',(#75)); 86#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 87#9051=PRODUCT('Tfa065','Tfa065','',(#9050)); 88#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 89#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 90#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 91#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 92#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 93#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 94#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 95#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 96#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 97#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#76),#9060); 98#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 99ENDSEC; 100END-ISO-10303-21;