step-examples/12-3c-faces/Tfa150.stp
Sources
- synthesized — no external source cited
Description
B-spline surface approximating a revolution (with a degree-3 apex profile) loads intact with both encoded circular-edge faces present; periodic-degenerate seam repair is never invoked on an ordinary read
Reproducer recipe
Expected kernel behavior
Accept: a degree-3 B-spline surface whose profile approximates a cone (including a genuinely degenerate apex row of control points) must load both faces and their circle-typed edges exactly as encoded, matching the v_degree, edge-orientation, and radius-5.0 assertions below, without attempting any analytic revolution-surface apex construction — that construction only applies to true SURFACE_OF_REVOLUTION entities and must never be attempted on B-spline geometry.
Notes
Corrected 2026-07-17 (truth-in-labeling audit): retitled/redescribed — original claimed periodic-degenerate seam repair's analytic-revolution assumption fails on this B-spline apex profile; that method is never invoked on an ordinary read, so no apex-construction attempt (successful or failed) is ever made. Part of the ~127-entry face-repair/small-face-check misnomer family — see `BACKLOG.md` Q14. Synonyms: "B-spline revolution apex profile loads intact", "apex construction never invoked on B-spline surface".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(5) ifc=schema_n/a
Tier-3 assertions
load == "ok"face[0].surface_type == "bspline"face[0].bspline.v_degree == 3face[0].edge_orientations.reversed == 1face[1].edge_orientations.forward == 1edge[0].curve_type == "circle"edge[0].analytic.radius == 5.0edge[1].curve_type == "circle"edge[1].analytic.radius == 5.0
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa150: CLOSED_SHELL: face[0] is ADVANCED_FACE on B_SPLINE_SURFACE_WITH_KNOTS approximating a cone (apex at origin, radius 5mm at z=10mm); apex row of control points all at (0,0,0) â degenerate; FixPeriodicDegenerated queries GetCone() which returns False for B-spline surface; algorithm bails out early instead of constructing apex curve; face wire: seam .T. (apexâtop), top_circle .T., seam .F. (topâapex); face[1] is valid top disc cap; defect IS on live CLOSED_SHELL traversal path */ 3HEADER; 4FILE_DESCRIPTION(('Tfa150'),'2;1'); 5FILE_NAME('Tfa150.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('',(0.0,0.0,0.0)); 12#3=CARTESIAN_POINT('',(0.0,0.0,0.0)); 13#4=CARTESIAN_POINT('',(0.0,0.0,0.0)); 14#5=CARTESIAN_POINT('',(5.0,0.0,10.0)); 15#6=CARTESIAN_POINT('',(0.0,5.0,10.0)); 16#7=CARTESIAN_POINT('',(-5.0,0.0,10.0)); 17#8=CARTESIAN_POINT('',(0.0,-5.0,10.0)); 18#9=B_SPLINE_SURFACE_WITH_KNOTS('',1,3,((#1,#2,#3,#4),(#5,#6,#7,#8)),.UNSPECIFIED.,.F.,.F.,.F.,(2,2),(4,4),(0.0,1.0),(0.0,1.0),.UNSPECIFIED.); 19#10=CARTESIAN_POINT('',(0.0,0.0,0.0)); 20#11=CARTESIAN_POINT('',(5.0,0.0,10.0)); 21#12=VERTEX_POINT('',#10); 22#13=VERTEX_POINT('',#11); 23#14=DIRECTION('',(0.0,0.0,1.0)); 24#15=VECTOR('',#14,10.0); 25#16=LINE('',#10,#15); 26#17=EDGE_CURVE('',#12,#13,#16,.T.); 27#18=CARTESIAN_POINT('',(0.0,0.0,10.0)); 28#19=DIRECTION('',(0.0,0.0,1.0)); 29#20=DIRECTION('',(1.0,0.0,0.0)); 30#21=AXIS2_PLACEMENT_3D('',#18,#19,#20); 31#22=CIRCLE('',#21,5.0); 32#23=EDGE_CURVE('',#13,#13,#22,.T.); 33#24=ORIENTED_EDGE('',$,$,#17,.T.); 34#25=ORIENTED_EDGE('',$,$,#23,.T.); 35#26=ORIENTED_EDGE('',$,$,#17,.F.); 36#27=EDGE_LOOP('',(#24,#25,#26)); 37#28=FACE_OUTER_BOUND('',#27,.T.); 38#29=ADVANCED_FACE('',(#28),#9,.T.); 39#30=DIRECTION('',(0.0,0.0,1.0)); 40#31=DIRECTION('',(1.0,0.0,0.0)); 41#32=AXIS2_PLACEMENT_3D('',#18,#30,#31); 42#33=PLANE('',#32); 43#34=ORIENTED_EDGE('',$,$,#23,.T.); 44#35=EDGE_LOOP('',(#34)); 45#36=FACE_OUTER_BOUND('',#35,.T.); 46#37=ADVANCED_FACE('',(#36),#33,.T.); 47#38=CLOSED_SHELL('',(#29,#37)); 48#39=MANIFOLD_SOLID_BREP('',#38); 49#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 50#9051=PRODUCT('Tfa150','Tfa150','',(#9050)); 51#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 52#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 53#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 54#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 55#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 56#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 57#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 58#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 59#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 60#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#39),#9060); 61#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 62ENDSEC; 63END-ISO-10303-21;