step-examples/12-3c-faces/Tfa110.stp
Sources
- synthesized — no external source cited
Description
Single-edge circular wire orientation ambiguity
Reproducer recipe
Expected kernel behavior
the face's outer boundary is a single closed circle whose start and end are the same vertex. Inside/outside cannot be decided by a winding test over a vertex sequence when there is only one vertex. Determine orientation from the surface normal and the curve's parametric direction instead; a polygon-winding assumption has no defined answer here and will return whatever the loop's arbitrary start happens to produce.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(10) ifc=schema_n/a
Tier-3 assertions
n_faces_total == 3face[0].surface_type == "cylinder"face[0].quadric.radius == 3.0edge[0].curve_type == "circle"edge[0].analytic.radius == 3.0edge[2].curve_type == "circle"edge[2].analytic.radius == 3.0
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa110: CLOSED_SHELL: top cap ADVANCED_FACE (z=5) bounded by single closed CIRCLE EDGE_CURVE (radius=3, start==end==v_seam_top); ShapeFix_Face::FixOrientation calls BRepClass_FaceClassifier on edge midpoints and vertices â all lie on the boundary circle so interior/exterior is undefined; defect IS on live CLOSED_SHELL traversal path */ 3HEADER; 4FILE_DESCRIPTION(('Tfa110'),'2;1'); 5FILE_NAME('Tfa110.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('',(3.0,0.0,0.0)); 11#2=CARTESIAN_POINT('',(3.0,0.0,5.0)); 12#3=VERTEX_POINT('',#1); 13#4=VERTEX_POINT('',#2); 14#5=DIRECTION('',(0.0,0.0,1.0)); 15#6=VECTOR('',#5,5.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,3.0); 23#14=EDGE_CURVE('',#3,#3,#13,.T.); 24#15=CARTESIAN_POINT('',(0.0,0.0,5.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,3.0); 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,3.0); 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=DIRECTION('',(0.0,0.0,-1.0)); 46#37=DIRECTION('',(1.0,0.0,0.0)); 47#38=AXIS2_PLACEMENT_3D('',#9,#36,#37); 48#39=PLANE('',#38); 49#40=ADVANCED_FACE('',(#35),#39,.T.); 50#41=ORIENTED_EDGE('',$,$,#20,.T.); 51#42=EDGE_LOOP('',(#41)); 52#43=FACE_OUTER_BOUND('',#42,.T.); 53#44=DIRECTION('',(0.0,0.0,1.0)); 54#45=DIRECTION('',(1.0,0.0,0.0)); 55#46=AXIS2_PLACEMENT_3D('',#15,#44,#45); 56#47=PLANE('',#46); 57#48=ADVANCED_FACE('',(#43),#47,.T.); 58#49=CLOSED_SHELL('',(#32,#40,#48)); 59#50=MANIFOLD_SOLID_BREP('',#49); 60#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 61#9051=PRODUCT('Tfa110','Tfa110','',(#9050)); 62#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 63#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 64#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 65#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 66#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 67#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 68#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 69#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 70#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 71#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#50),#9060); 72#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 73ENDSEC; 74END-ISO-10303-21;