step-examples/12-3c-faces/Hea004.stp
Sources
- OCCT `ShapeAnalysis_FreeBoundsProperties::CheckContours` (`ShapeAnalysis_FreeBoundsProperties.hxx:133`)
Description
An OPEN_SHELL with multiple free bounds (EDGE_LOOPs) where most are smooth but one has measurable defects. A precision parameter controls which contours are flagged for downstream healing (those whose defect magnitude exceeds the precision). Typical fixture: an EDGE_LOOP with a long side decomposed into many sub-segments, with intermediate VERTEX_POINTs wiggling by +/-1e-7 (well below typical tolerance); sub-precision noise encoded as separate ORIENTED_EDGEs.
Reproducer recipe
As Hea003 with an EDGE_LOOP whose perimeter has sub-precision wiggles (e.g., 13 ORIENTED_EDGEs where 10 sub-segments along one side encode a vertex wiggle of +/-1e-7 in one axis).
Expected kernel behavior
Heal and accept: filter contours by the supplied precision; emit only the problematic ones.
Notes
Companion to Hea003. Synonyms: "free bound has sub-precision wiggle vertices", "many short sub-segments below tolerance", "noise vertices on EDGE_LOOP", "wiggly contour with deviations under precision".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(27) 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 >= 13face[0].surface_type == "plane"n_vertices_total >= 24
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Hea004: OPEN_SHELL with 10x10 face on PLANE; bottom edge decomposed into 10 sub-segments (1.0 each) with intermediate vertices wiggling +/-1e-7 in Y (sub-precision noise); 13 total ORIENTED_EDGEs in outer EDGE_LOOP; ShapeAnalysis_FreeBoundsProperties::CheckContours filters by precision: wiggle only visible when precision < 1e-7; defect: sub-precision vertex noise on free-bound contour */ 3HEADER; 4FILE_DESCRIPTION(('Hea004'),'2;1'); 5FILE_NAME('Hea004.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('w0',(0.0,0.0,0.0)); 16#7=CARTESIAN_POINT('w1',(1.0,1.0E-07,0.0)); 17#8=CARTESIAN_POINT('w2',(2.0,-1.0E-07,0.0)); 18#9=CARTESIAN_POINT('w3',(3.0,1.0E-07,0.0)); 19#10=CARTESIAN_POINT('w4',(4.0,-1.0E-07,0.0)); 20#11=CARTESIAN_POINT('w5',(5.0,1.0E-07,0.0)); 21#12=CARTESIAN_POINT('w6',(6.0,-1.0E-07,0.0)); 22#13=CARTESIAN_POINT('w7',(7.0,1.0E-07,0.0)); 23#14=CARTESIAN_POINT('w8',(8.0,-1.0E-07,0.0)); 24#15=CARTESIAN_POINT('w9',(9.0,1.0E-07,0.0)); 25#16=CARTESIAN_POINT('w10',(10.0,0.0,0.0)); 26#17=VERTEX_POINT('',#6); 27#18=VERTEX_POINT('',#7); 28#19=VERTEX_POINT('',#8); 29#20=VERTEX_POINT('',#9); 30#21=VERTEX_POINT('',#10); 31#22=VERTEX_POINT('',#11); 32#23=VERTEX_POINT('',#12); 33#24=VERTEX_POINT('',#13); 34#25=VERTEX_POINT('',#14); 35#26=VERTEX_POINT('',#15); 36#27=VERTEX_POINT('',#16); 37#28=CARTESIAN_POINT('',(10.0,10.0,0.0)); 38#29=CARTESIAN_POINT('',(0.0,10.0,0.0)); 39#30=VERTEX_POINT('',#28); 40#31=VERTEX_POINT('',#29); 41#32=DIRECTION('',(1.0,1.0E-07,0.0)); 42#33=VECTOR('',#32,1.0); 43#34=LINE('',#6,#33); 44#35=EDGE_CURVE('wig_1',#17,#18,#34,.T.); 45#36=DIRECTION('',(1.0,-2.0E-07,0.0)); 46#37=VECTOR('',#36,1.0); 47#38=LINE('',#7,#37); 48#39=EDGE_CURVE('wig_2',#18,#19,#38,.T.); 49#40=DIRECTION('',(1.0,2.0E-07,0.0)); 50#41=VECTOR('',#40,1.0); 51#42=LINE('',#8,#41); 52#43=EDGE_CURVE('wig_3',#19,#20,#42,.T.); 53#44=DIRECTION('',(1.0,-2.0E-07,0.0)); 54#45=VECTOR('',#44,1.0); 55#46=LINE('',#9,#45); 56#47=EDGE_CURVE('wig_4',#20,#21,#46,.T.); 57#48=DIRECTION('',(1.0,2.0E-07,0.0)); 58#49=VECTOR('',#48,1.0); 59#50=LINE('',#10,#49); 60#51=EDGE_CURVE('wig_5',#21,#22,#50,.T.); 61#52=DIRECTION('',(1.0,-2.0E-07,0.0)); 62#53=VECTOR('',#52,1.0); 63#54=LINE('',#11,#53); 64#55=EDGE_CURVE('wig_6',#22,#23,#54,.T.); 65#56=DIRECTION('',(1.0,2.0E-07,0.0)); 66#57=VECTOR('',#56,1.0); 67#58=LINE('',#12,#57); 68#59=EDGE_CURVE('wig_7',#23,#24,#58,.T.); 69#60=DIRECTION('',(1.0,-2.0E-07,0.0)); 70#61=VECTOR('',#60,1.0); 71#62=LINE('',#13,#61); 72#63=EDGE_CURVE('wig_8',#24,#25,#62,.T.); 73#64=DIRECTION('',(1.0,2.0E-07,0.0)); 74#65=VECTOR('',#64,1.0); 75#66=LINE('',#14,#65); 76#67=EDGE_CURVE('wig_9',#25,#26,#66,.T.); 77#68=DIRECTION('',(1.0,-1.0E-07,0.0)); 78#69=VECTOR('',#68,1.0); 79#70=LINE('',#15,#69); 80#71=EDGE_CURVE('wig_10',#26,#27,#70,.T.); 81#72=DIRECTION('',(0.0,1.0,0.0)); 82#73=VECTOR('',#72,1.0); 83#74=LINE('',#16,#73); 84#75=EDGE_CURVE('right',#27,#30,#74,.T.); 85#76=DIRECTION('',(-1.0,0.0,0.0)); 86#77=VECTOR('',#76,1.0); 87#78=LINE('',#28,#77); 88#79=EDGE_CURVE('top',#30,#31,#78,.T.); 89#80=DIRECTION('',(0.0,-1.0,0.0)); 90#81=VECTOR('',#80,1.0); 91#82=LINE('',#29,#81); 92#83=EDGE_CURVE('left',#31,#17,#82,.T.); 93#84=ORIENTED_EDGE('',$,$,#35,.T.); 94#85=ORIENTED_EDGE('',$,$,#39,.T.); 95#86=ORIENTED_EDGE('',$,$,#43,.T.); 96#87=ORIENTED_EDGE('',$,$,#47,.T.); 97#88=ORIENTED_EDGE('',$,$,#51,.T.); 98#89=ORIENTED_EDGE('',$,$,#55,.T.); 99#90=ORIENTED_EDGE('',$,$,#59,.T.); 100#91=ORIENTED_EDGE('',$,$,#63,.T.); 101#92=ORIENTED_EDGE('',$,$,#67,.T.); 102#93=ORIENTED_EDGE('',$,$,#71,.T.); 103#94=ORIENTED_EDGE('',$,$,#75,.T.); 104#95=ORIENTED_EDGE('',$,$,#79,.T.); 105#96=ORIENTED_EDGE('',$,$,#83,.T.); 106#97=EDGE_LOOP('wiggly_perimeter',(#84,#85,#86,#87,#88,#89,#90,#91,#92,#93,#94,#95,#96)); 107#98=FACE_OUTER_BOUND('',#97,.T.); 108#99=ADVANCED_FACE('face_with_wiggle_bottom',(#98),#5,.T.); 109#100=OPEN_SHELL('shell_with_wiggle_contour',(#99)); 110#101=SHELL_BASED_SURFACE_MODEL('',(#100)); 111#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 112#9051=PRODUCT('Hea004','Hea004','',(#9050)); 113#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 114#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 115#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 116#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 117#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 118#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 119#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 120#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 121#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 122#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#101),#9060); 123#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 124ENDSEC; 125END-ISO-10303-21;