step-examples/12-3c-faces/Tfa198.stp
Sources
- OCCT/ShapeAnalysis_FreeBoundsProperties.CheckNotches (gap-after-fix branch)
Description
Free bounds (unclosed edges after face healing) are analyzed for gaps and notches. The notch checker computes arc length between consecutive edge endpoints; a gap smaller than parametric precision but larger than geometric tolerance indicates a healing-recoverable discrepancy. Incomplete re-validation after healing may miss newly opened gaps.
Reproducer recipe
Expected kernel behavior
heal: re-check free bounds after each healing pass; reject: if gap persists beyond configured threshold
Notes
Notch detection depends on curve parameterization; gap magnitude in parameter-space may differ from 3D distance. Synonyms: "free bound gap post-healing", "notch revalidation skipped", "disconnected wire after face fix".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(18) ifc=schema_n/a
Tier-3 assertions
load == "ok"
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa198: CLOSED_SHELL: defective ADVANCED_FACE on PLANE at z=0; edge loop has topological gap: edge[2] end-vertex and edge[3] start-vertex are distinct VERTEX_POINT entities at the same 3D coordinate (0,0,0); CheckNotches detects the gap between consecutive free-bound edge endpoints; healing-pass re-validation skipped: gap persists undetected post-fix; companion valid face at z=1 ensures OCC loads shape(1); defect IS on live traversal path; no orphaned entities */ 3HEADER; 4FILE_DESCRIPTION(('Tfa198'),'2;1'); 5FILE_NAME('Tfa198.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('',(1.0,0.0,0.0)); 12#3=CARTESIAN_POINT('',(1.0,1.0,0.0)); 13#4=CARTESIAN_POINT('',(0.0,1.0,0.0)); 14#5=CARTESIAN_POINT('',(0.0,0.0,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,1.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,1.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,1.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,1.0); 34#25=LINE('',#4,#24); 35#26=EDGE_CURVE('',#9,#10,#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=FACE_OUTER_BOUND('',#31,.T.); 46#37=PLANE('',#35); 47#38=ADVANCED_FACE('',(#36),#37,.T.); 48#39=CARTESIAN_POINT('',(0.0,0.0,1.0)); 49#40=CARTESIAN_POINT('',(1.0,0.0,1.0)); 50#41=CARTESIAN_POINT('',(1.0,1.0,1.0)); 51#42=CARTESIAN_POINT('',(0.0,1.0,1.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,1.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,1.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,1.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,1.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=DIRECTION('',(0.0,0.0,1.0)); 78#69=DIRECTION('',(1.0,0.0,0.0)); 79#70=AXIS2_PLACEMENT_3D('',#39,#68,#69); 80#71=FACE_OUTER_BOUND('',#67,.T.); 81#72=PLANE('',#70); 82#73=ADVANCED_FACE('',(#71),#72,.T.); 83#74=CLOSED_SHELL('',(#38,#73)); 84#75=MANIFOLD_SOLID_BREP('',#74); 85#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 86#9051=PRODUCT('Tfa198','Tfa198','',(#9050)); 87#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 88#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 89#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 90#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 91#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 92#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 93#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 94#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 95#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 96#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#75),#9060); 97#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 98ENDSEC; 99END-ISO-10303-21;