step-examples/12-3c-faces/Hea005.stp
Sources
- OCCT `ShapeAnalysis_FreeBoundsProperties::CheckNotches` (`ShapeAnalysis_FreeBoundsProperties.hxx:135`)
Description
A free-bound contour (EDGE_LOOP / outer wire) has one or more notches; sharp inward triangular detours where a straight side has been broken into 3+ ORIENTED_EDGEs through extra VERTEX_POINTs offset perpendicular to the main side (typical detour: (0,0,0)->(4.5,0,0)->(5.0,0.05,0)->(5.5,0,0)->(10,0,0)). The check must report each with width and depth so the user can decide whether to flatten or split the host face.
Reproducer recipe
An OPEN_SHELL whose face's outer EDGE_LOOP has the notched-wire defect from Twi054 — vertices V_notch_a, V_notch_apex, V_notch_b interrupt an otherwise straight side.
Expected kernel behavior
Heal and accept: per-notch (location, width, depth) report; do not modify.
Notes
Free-bound-level counterpart of Twi054. Synonyms: "triangular notch in straight side", "side broken into 3 segments by tiny notch", "perpendicular bump on free-bound contour", "notch detection with width and depth".
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
n_edges_total >= 7face[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/* Hea005: OPEN_SHELL with 10x10 face on PLANE; bottom edge replaced by triangular notch detour: V1(0,0)->V_notch_a(4.5,0)->V_notch_apex(5.0,0.05)->V_notch_b(5.5,0)->V2(10,0); 7 total ORIENTED_EDGEs; ShapeAnalysis_FreeBoundsProperties::CheckNotches must report notch with width~1.0 and depth~0.05; defect: triangular bump on free-bound contour bottom side */ 3HEADER; 4FILE_DESCRIPTION(('Hea005'),'2;1'); 5FILE_NAME('Hea005.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('',(4.5,0.0,0.0)); 17#8=CARTESIAN_POINT('notch_apex_inward',(5.0,0.05,0.0)); 18#9=CARTESIAN_POINT('',(5.5,0.0,0.0)); 19#10=CARTESIAN_POINT('',(10.0,0.0,0.0)); 20#11=CARTESIAN_POINT('',(10.0,10.0,0.0)); 21#12=CARTESIAN_POINT('',(0.0,10.0,0.0)); 22#13=VERTEX_POINT('V1',#6); 23#14=VERTEX_POINT('V_notch_a',#7); 24#15=VERTEX_POINT('V_notch_apex',#8); 25#16=VERTEX_POINT('V_notch_b',#9); 26#17=VERTEX_POINT('V2',#10); 27#18=VERTEX_POINT('V3',#11); 28#19=VERTEX_POINT('V4',#12); 29#20=DIRECTION('',(1.0,0.0,0.0)); 30#21=VECTOR('',#20,1.0); 31#22=LINE('',#6,#21); 32#23=EDGE_CURVE('b1',#13,#14,#22,.T.); 33#24=DIRECTION('',(0.99503719021,0.099503719021,0.0)); 34#25=VECTOR('',#24,0.502493781056); 35#26=LINE('',#7,#25); 36#27=EDGE_CURVE('notch_up',#14,#15,#26,.T.); 37#28=DIRECTION('',(0.99503719021,-0.099503719021,0.0)); 38#29=VECTOR('',#28,0.502493781056); 39#30=LINE('',#8,#29); 40#31=EDGE_CURVE('notch_down',#15,#16,#30,.T.); 41#32=DIRECTION('',(1.0,0.0,0.0)); 42#33=VECTOR('',#32,1.0); 43#34=LINE('',#9,#33); 44#35=EDGE_CURVE('b2',#16,#17,#34,.T.); 45#36=DIRECTION('',(0.0,1.0,0.0)); 46#37=VECTOR('',#36,1.0); 47#38=LINE('',#10,#37); 48#39=EDGE_CURVE('right',#17,#18,#38,.T.); 49#40=DIRECTION('',(-1.0,0.0,0.0)); 50#41=VECTOR('',#40,1.0); 51#42=LINE('',#11,#41); 52#43=EDGE_CURVE('top',#18,#19,#42,.T.); 53#44=DIRECTION('',(0.0,-1.0,0.0)); 54#45=VECTOR('',#44,1.0); 55#46=LINE('',#12,#45); 56#47=EDGE_CURVE('left',#19,#13,#46,.T.); 57#48=ORIENTED_EDGE('',$,$,#23,.T.); 58#49=ORIENTED_EDGE('',$,$,#27,.T.); 59#50=ORIENTED_EDGE('',$,$,#31,.T.); 60#51=ORIENTED_EDGE('',$,$,#35,.T.); 61#52=ORIENTED_EDGE('',$,$,#39,.T.); 62#53=ORIENTED_EDGE('',$,$,#43,.T.); 63#54=ORIENTED_EDGE('',$,$,#47,.T.); 64#55=EDGE_LOOP('outer_with_notch',(#48,#49,#50,#51,#52,#53,#54)); 65#56=FACE_OUTER_BOUND('',#55,.T.); 66#57=ADVANCED_FACE('face_with_notch',(#56),#5,.T.); 67#58=OPEN_SHELL('shell_with_notch_contour',(#57)); 68#59=SHELL_BASED_SURFACE_MODEL('',(#58)); 69#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 70#9051=PRODUCT('Hea005','Hea005','',(#9050)); 71#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 72#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 73#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 74#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 75#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 76#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 77#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 78#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 79#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 80#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#59),#9060); 81#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 82ENDSEC; 83END-ISO-10303-21;