step-examples/12-3c-faces/Tfa066.stp
Sources
- OCCT MANTIS#0022586 (OCCT MANTIS tracker 502 as of 2026-05-02)
Description
A long thin pipe face (length ≫ width, e.g., 100 × 0.1 mm) has a seam edge from the closed surface. A "small face" detector classifies it as small because its bounding-box width is below threshold and removes it; losing a structurally significant part of the shell.
Reproducer recipe
Cylindrical face length 100 mm, radius 0.05 mm (so bbox width is 0.1 mm). A small-face detector with width threshold 0.5 mm flags it for removal.
Expected kernel behavior
Heal and accept: normalize small-face detection to use area, not bounding-box minor dimension; long thin features are not "small".
Notes
**See also**: Tfa040, Tfa042. Synonyms: "pipe face seam removed as small", "long thin pipe seam edge dropped", "small-edge filter eats seam edge", "pipe face loses periodic seam after cleanup".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(10) 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].surface_type == "cylinder"n_edges_total >= 5n_vertices_total >= 8brepcheck.valid == Falseface[0].quadric.radius == 0.05edge[0].curve_type == "circle"edge[0].analytic.radius == 0.05edge[2].curve_type == "circle"edge[2].analytic.radius == 0.05
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa066: CLOSED_SHELL: cylindrical pipe face length=100mm, radius=0.05mm; bounding-box width â 0.1mm < small-face width threshold 0.5mm; small-face detector classifies as 'small' by bbox width instead of area; seam EDGE_CURVE used .T. and .F. in same EDGE_LOOP (full revolution); face area â 2pi*0.05*100 â 31mm² â NOT small by area; ShapeFix_FixSmallFace must use area not bbox minor dimension; face[1,2] are valid bottom/top disc caps; defect IS on live cylindrical face traversal path */ 3HEADER; 4FILE_DESCRIPTION(('Tfa066'),'2;1'); 5FILE_NAME('Tfa066.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.05,0.0,0.0)); 11#2=CARTESIAN_POINT('',(0.05,0.0,100.0)); 12#3=VERTEX_POINT('',#1); 13#4=VERTEX_POINT('',#2); 14#5=DIRECTION('',(0.0,0.0,1.0)); 15#6=VECTOR('',#5,100.0); 16#7=LINE('',#1,#6); 17#8=EDGE_CURVE('',#3,#4,#7,.T.); 18#9=CARTESIAN_POINT('',(0.0,0.0,0.0)); 19#10=DIRECTION('',(0.0,0.0,-1.0)); 20#11=DIRECTION('',(1.0,0.0,0.0)); 21#12=AXIS2_PLACEMENT_3D('',#9,#10,#11); 22#13=CIRCLE('',#12,0.05); 23#14=EDGE_CURVE('',#3,#3,#13,.T.); 24#15=CARTESIAN_POINT('',(0.0,0.0,100.0)); 25#16=DIRECTION('',(0.0,0.0,1.0)); 26#17=DIRECTION('',(1.0,0.0,0.0)); 27#18=AXIS2_PLACEMENT_3D('',#15,#16,#17); 28#19=CIRCLE('',#18,0.05); 29#20=EDGE_CURVE('',#4,#4,#19,.T.); 30#21=CARTESIAN_POINT('',(0.0,0.0,0.0)); 31#22=DIRECTION('',(0.0,0.0,1.0)); 32#23=DIRECTION('',(1.0,0.0,0.0)); 33#24=AXIS2_PLACEMENT_3D('',#21,#22,#23); 34#25=CYLINDRICAL_SURFACE('',#24,0.05); 35#26=ORIENTED_EDGE('',$,$,#8,.T.); 36#27=ORIENTED_EDGE('',$,$,#20,.T.); 37#28=ORIENTED_EDGE('',$,$,#8,.F.); 38#29=ORIENTED_EDGE('',$,$,#14,.F.); 39#30=EDGE_LOOP('',(#26,#27,#28,#29)); 40#31=FACE_OUTER_BOUND('',#30,.T.); 41#32=ADVANCED_FACE('',(#31),#25,.T.); 42#33=ORIENTED_EDGE('',$,$,#14,.T.); 43#34=EDGE_LOOP('',(#33)); 44#35=FACE_OUTER_BOUND('',#34,.T.); 45#36=CARTESIAN_POINT('',(0.0,0.0,0.0)); 46#37=DIRECTION('',(0.0,0.0,-1.0)); 47#38=DIRECTION('',(1.0,0.0,0.0)); 48#39=AXIS2_PLACEMENT_3D('',#36,#37,#38); 49#40=PLANE('',#39); 50#41=ADVANCED_FACE('',(#35),#40,.T.); 51#42=ORIENTED_EDGE('',$,$,#20,.T.); 52#43=EDGE_LOOP('',(#42)); 53#44=FACE_OUTER_BOUND('',#43,.T.); 54#45=CARTESIAN_POINT('',(0.0,0.0,100.0)); 55#46=DIRECTION('',(0.0,0.0,1.0)); 56#47=DIRECTION('',(1.0,0.0,0.0)); 57#48=AXIS2_PLACEMENT_3D('',#45,#46,#47); 58#49=PLANE('',#48); 59#50=ADVANCED_FACE('',(#44),#49,.T.); 60#51=CLOSED_SHELL('',(#32,#41,#50)); 61#52=MANIFOLD_SOLID_BREP('',#51); 62#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 63#9051=PRODUCT('Tfa066','Tfa066','',(#9050)); 64#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 65#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 66#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 67#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 68#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 69#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 70#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 71#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 72#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 73#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#52),#9060); 74#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 75ENDSEC; 76END-ISO-10303-21;