step-examples/12-3c-faces/Tfa048.stp
Sources
- OCCT `ShapeAnalysis_CheckSmallFace::CheckStripFace` (`ShapeAnalysis_CheckSmallFace.hxx:119`)
Description
A face that is a strip only at tolerances larger than its own edge tolerances. The caller supplies a tolerance band; the analyzer determines whether the face fits the band (its width is less than the supplied tolerance). Permits queries like "is this face a strip at 1mm tolerance?" independent of its own tolerance metadata.
Reproducer recipe
A 100x0.5 face whose edge tolerances are 1e-7 — only a strip at tolerances ≥ 0.5.
Expected kernel behavior
Heal and accept: parameterize / coerce the strip check with a caller-supplied tolerance; report the direction and bounding edges.
Notes
Generalization of Tfa047 with explicit tolerance. Synonyms: "is this face a strip at given tolerance", "strip detection at user tolerance band", "tolerance-parameterized strip query", "face is strip only above given tolerance".
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
face[0].sliver_aspect_max_min > 1e3n_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/* Tfa048: CLOSED_SHELL: face[0] is 100Ã0.001 strip ADVANCED_FACE on PLANE at z=0; strip width = 0.001 mm, aspect ratio = 1e5 > 1e3; face own edge tolerances = 1e-7 â strip only detectable at caller-supplied tol >= 0.001; ShapeAnalysis_CheckSmallFace::CheckStripFace accepts caller tolerance parameter; caller-supplied tol = 0.5 flags this face as strip; default tol does not; face[1..5] form valid prism sides (100x0.001x1 box) to make closed shell; defect IS on live CLOSED_SHELL traversal path */ 3HEADER; 4FILE_DESCRIPTION(('Tfa048'),'2;1'); 5FILE_NAME('Tfa048.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,0.001,0.0)); 13#4=CARTESIAN_POINT('',(0.0,0.001,0.0)); 14#5=CARTESIAN_POINT('',(0.0,0.0,1.0)); 15#6=CARTESIAN_POINT('',(100.0,0.0,1.0)); 16#7=CARTESIAN_POINT('',(100.0,0.001,1.0)); 17#8=CARTESIAN_POINT('',(0.0,0.001,1.0)); 18#9=VERTEX_POINT('',#1); 19#10=VERTEX_POINT('',#2); 20#11=VERTEX_POINT('',#3); 21#12=VERTEX_POINT('',#4); 22#13=VERTEX_POINT('',#5); 23#14=VERTEX_POINT('',#6); 24#15=VERTEX_POINT('',#7); 25#16=VERTEX_POINT('',#8); 26#17=DIRECTION('',(1.0,0.0,0.0)); 27#18=VECTOR('',#17,100.0); 28#19=LINE('',#1,#18); 29#20=EDGE_CURVE('',#9,#10,#19,.T.); 30#21=DIRECTION('',(0.0,1.0,0.0)); 31#22=VECTOR('',#21,0.001); 32#23=LINE('',#2,#22); 33#24=EDGE_CURVE('',#10,#11,#23,.T.); 34#25=DIRECTION('',(-1.0,0.0,0.0)); 35#26=VECTOR('',#25,100.0); 36#27=LINE('',#3,#26); 37#28=EDGE_CURVE('',#11,#12,#27,.T.); 38#29=DIRECTION('',(0.0,-1.0,0.0)); 39#30=VECTOR('',#29,0.001); 40#31=LINE('',#4,#30); 41#32=EDGE_CURVE('',#12,#9,#31,.T.); 42#33=DIRECTION('',(1.0,0.0,0.0)); 43#34=VECTOR('',#33,100.0); 44#35=LINE('',#5,#34); 45#36=EDGE_CURVE('',#13,#14,#35,.T.); 46#37=DIRECTION('',(0.0,1.0,0.0)); 47#38=VECTOR('',#37,0.001); 48#39=LINE('',#6,#38); 49#40=EDGE_CURVE('',#14,#15,#39,.T.); 50#41=DIRECTION('',(-1.0,0.0,0.0)); 51#42=VECTOR('',#41,100.0); 52#43=LINE('',#7,#42); 53#44=EDGE_CURVE('',#15,#16,#43,.T.); 54#45=DIRECTION('',(0.0,-1.0,0.0)); 55#46=VECTOR('',#45,0.001); 56#47=LINE('',#8,#46); 57#48=EDGE_CURVE('',#16,#13,#47,.T.); 58#49=DIRECTION('',(0.0,0.0,1.0)); 59#50=VECTOR('',#49,1.0); 60#51=LINE('',#1,#50); 61#52=EDGE_CURVE('',#9,#13,#51,.T.); 62#53=DIRECTION('',(0.0,0.0,1.0)); 63#54=VECTOR('',#53,1.0); 64#55=LINE('',#2,#54); 65#56=EDGE_CURVE('',#10,#14,#55,.T.); 66#57=DIRECTION('',(0.0,0.0,1.0)); 67#58=VECTOR('',#57,1.0); 68#59=LINE('',#3,#58); 69#60=EDGE_CURVE('',#11,#15,#59,.T.); 70#61=DIRECTION('',(0.0,0.0,1.0)); 71#62=VECTOR('',#61,1.0); 72#63=LINE('',#4,#62); 73#64=EDGE_CURVE('',#12,#16,#63,.T.); 74#65=ORIENTED_EDGE('',$,$,#20,.T.); 75#66=ORIENTED_EDGE('',$,$,#24,.T.); 76#67=ORIENTED_EDGE('',$,$,#28,.T.); 77#68=ORIENTED_EDGE('',$,$,#32,.T.); 78#69=EDGE_LOOP('',(#65,#66,#67,#68)); 79#70=DIRECTION('',(0.0,0.0,-1.0)); 80#71=DIRECTION('',(1.0,0.0,0.0)); 81#72=AXIS2_PLACEMENT_3D('',#1,#70,#71); 82#73=FACE_OUTER_BOUND('',#69,.T.); 83#74=PLANE('',#72); 84#75=ADVANCED_FACE('',(#73),#74,.T.); 85#76=ORIENTED_EDGE('',$,$,#36,.T.); 86#77=ORIENTED_EDGE('',$,$,#40,.T.); 87#78=ORIENTED_EDGE('',$,$,#44,.T.); 88#79=ORIENTED_EDGE('',$,$,#48,.T.); 89#80=EDGE_LOOP('',(#76,#77,#78,#79)); 90#81=DIRECTION('',(0.0,0.0,1.0)); 91#82=DIRECTION('',(1.0,0.0,0.0)); 92#83=AXIS2_PLACEMENT_3D('',#5,#81,#82); 93#84=FACE_OUTER_BOUND('',#80,.T.); 94#85=PLANE('',#83); 95#86=ADVANCED_FACE('',(#84),#85,.T.); 96#87=ORIENTED_EDGE('',$,$,#20,.T.); 97#88=ORIENTED_EDGE('',$,$,#56,.T.); 98#89=ORIENTED_EDGE('',$,$,#36,.F.); 99#90=ORIENTED_EDGE('',$,$,#52,.F.); 100#91=EDGE_LOOP('',(#87,#88,#89,#90)); 101#92=DIRECTION('',(0.0,-1.0,0.0)); 102#93=DIRECTION('',(1.0,0.0,0.0)); 103#94=AXIS2_PLACEMENT_3D('',#1,#92,#93); 104#95=FACE_OUTER_BOUND('',#91,.T.); 105#96=PLANE('',#94); 106#97=ADVANCED_FACE('',(#95),#96,.T.); 107#98=ORIENTED_EDGE('',$,$,#64,.T.); 108#99=ORIENTED_EDGE('',$,$,#44,.F.); 109#100=ORIENTED_EDGE('',$,$,#60,.F.); 110#101=ORIENTED_EDGE('',$,$,#28,.F.); 111#102=EDGE_LOOP('',(#98,#99,#100,#101)); 112#103=DIRECTION('',(0.0,1.0,0.0)); 113#104=DIRECTION('',(1.0,0.0,0.0)); 114#105=AXIS2_PLACEMENT_3D('',#4,#103,#104); 115#106=FACE_OUTER_BOUND('',#102,.T.); 116#107=PLANE('',#105); 117#108=ADVANCED_FACE('',(#106),#107,.T.); 118#109=ORIENTED_EDGE('',$,$,#52,.T.); 119#110=ORIENTED_EDGE('',$,$,#48,.F.); 120#111=ORIENTED_EDGE('',$,$,#64,.F.); 121#112=ORIENTED_EDGE('',$,$,#32,.F.); 122#113=EDGE_LOOP('',(#109,#110,#111,#112)); 123#114=DIRECTION('',(-1.0,0.0,0.0)); 124#115=DIRECTION('',(0.0,1.0,0.0)); 125#116=AXIS2_PLACEMENT_3D('',#1,#114,#115); 126#117=FACE_OUTER_BOUND('',#113,.T.); 127#118=PLANE('',#116); 128#119=ADVANCED_FACE('',(#117),#118,.T.); 129#120=ORIENTED_EDGE('',$,$,#24,.T.); 130#121=ORIENTED_EDGE('',$,$,#60,.T.); 131#122=ORIENTED_EDGE('',$,$,#40,.F.); 132#123=ORIENTED_EDGE('',$,$,#56,.F.); 133#124=EDGE_LOOP('',(#120,#121,#122,#123)); 134#125=DIRECTION('',(1.0,0.0,0.0)); 135#126=DIRECTION('',(0.0,1.0,0.0)); 136#127=AXIS2_PLACEMENT_3D('',#2,#125,#126); 137#128=FACE_OUTER_BOUND('',#124,.T.); 138#129=PLANE('',#127); 139#130=ADVANCED_FACE('',(#128),#129,.T.); 140#131=CLOSED_SHELL('',(#75,#86,#97,#108,#119,#130)); 141#132=MANIFOLD_SOLID_BREP('',#131); 142#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 143#9051=PRODUCT('Tfa048','Tfa048','',(#9050)); 144#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 145#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 146#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 147#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 148#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 149#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 150#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 151#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 152#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 153#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#132),#9060); 154#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 155ENDSEC; 156END-ISO-10303-21;