step-examples/12-3c-faces/Tfa239.stp
Sources
- synthesized — no external source cited
Description
Ordinary bilinear RATIONAL_B_SPLINE_SURFACE face with one properly-closed, non-touching interior hole; loads as ONE valid face, no split, no defect
Reproducer recipe
Expected kernel behavior
A properly closed hole wire that does not touch the outer boundary yields exactly one face carrying two bounds — do not split it. Splitting a face applies only when its wires bound disjoint regions (more than one wire acting as an outer boundary), and the containment test that decides this must be purely geometric: a rational B-spline host surface and its control-point weights must not change the outcome relative to the same wires on a plane.
Notes
Corrected 2026-07-16 (truth-in-labeling audit): retitled/redescribed — original claimed a face-splitting repair multi-wire split path with "rational B-spline weights introducing NURBS bias in containment check"; live-oracle confirms `n_faces_total == 1`, no split, no containment ambiguity. As encoded, this file demonstrates no defect — it is a valid multi-hole face on a rational B-spline surface (useful as a NURBS-surface analog of Tfa210, not as a healing-defect fixture). **See also**: Tfa210 (same "no defect, ordinary multi-hole face" finding on a `PLANE` instead of NURBS). Synonyms: "valid hole on rational B-spline face", "bilinear NURBS face with non-touching interior bound".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(17) ifc=schema_n/a
Tier-3 assertions
load == "ok"face[0].surface_type == "bspline"face[0].bspline.is_rational == True
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa239: CLOSED_SHELL: single ADVANCED_FACE on RATIONAL_B_SPLINE_SURFACE (NURBS); degree 1Ã1, 2Ã2 control grid, uniform knots; bilinear weights: corner=1.0, mid-edge=0.9 (slight bias); outer FACE_OUTER_BOUND: 2Ã2 square CCW; inner FACE_BOUND: 0.5Ã0.5 hole at center, CW (hole convention); ShapeFix_Face::FixSplitFace (line 2908): multi-wire split path; inner-loop containment test â sub-face reconstruction via outer+inner; rational B-spline weights introduce NURBS bias in containment check; defect IS on live traversal path; no orphaned entities */ 3HEADER; 4FILE_DESCRIPTION(('Tfa239'),'2;1'); 5FILE_NAME('Tfa239.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,2.0,0.0)); 12#3=CARTESIAN_POINT('',(2.0,0.0,0.0)); 13#4=CARTESIAN_POINT('',(2.0,2.0,0.0)); 14#5=(B_SPLINE_SURFACE(1,1,((#1,#2),(#3,#4)),.UNSPECIFIED.,.F.,.F.,.F.)B_SPLINE_SURFACE_WITH_KNOTS((2,2),(2,2),(0.0,1.0),(0.0,1.0),.UNSPECIFIED.)BOUNDED_SURFACE()GEOMETRIC_REPRESENTATION_ITEM()RATIONAL_B_SPLINE_SURFACE(((1.0,0.9),(0.9,1.0)))REPRESENTATION_ITEM('')SURFACE()); 15#6=CARTESIAN_POINT('',(0.0,0.0,0.0)); 16#7=VERTEX_POINT('',#6); 17#8=CARTESIAN_POINT('',(2.0,0.0,0.0)); 18#9=VERTEX_POINT('',#8); 19#10=CARTESIAN_POINT('',(2.0,2.0,0.0)); 20#11=VERTEX_POINT('',#10); 21#12=CARTESIAN_POINT('',(0.0,2.0,0.0)); 22#13=VERTEX_POINT('',#12); 23#14=DIRECTION('',(1.0,0.0,0.0)); 24#15=CARTESIAN_POINT('',(0.0,0.0,0.0)); 25#16=VECTOR('',#14,2.0); 26#17=LINE('',#15,#16); 27#18=EDGE_CURVE('',#7,#9,#17,.T.); 28#19=DIRECTION('',(0.0,1.0,0.0)); 29#20=CARTESIAN_POINT('',(2.0,0.0,0.0)); 30#21=VECTOR('',#19,2.0); 31#22=LINE('',#20,#21); 32#23=EDGE_CURVE('',#9,#11,#22,.T.); 33#24=DIRECTION('',(-1.0,0.0,0.0)); 34#25=CARTESIAN_POINT('',(2.0,2.0,0.0)); 35#26=VECTOR('',#24,2.0); 36#27=LINE('',#25,#26); 37#28=EDGE_CURVE('',#11,#13,#27,.T.); 38#29=DIRECTION('',(0.0,-1.0,0.0)); 39#30=CARTESIAN_POINT('',(0.0,2.0,0.0)); 40#31=VECTOR('',#29,2.0); 41#32=LINE('',#30,#31); 42#33=EDGE_CURVE('',#13,#7,#32,.T.); 43#34=ORIENTED_EDGE('',$,$,#18,.T.); 44#35=ORIENTED_EDGE('',$,$,#23,.T.); 45#36=ORIENTED_EDGE('',$,$,#28,.T.); 46#37=ORIENTED_EDGE('',$,$,#33,.T.); 47#38=EDGE_LOOP('',(#34,#35,#36,#37)); 48#39=FACE_OUTER_BOUND('',#38,.T.); 49#40=CARTESIAN_POINT('',(0.75,0.75,0.0)); 50#41=VERTEX_POINT('',#40); 51#42=CARTESIAN_POINT('',(0.75,1.25,0.0)); 52#43=VERTEX_POINT('',#42); 53#44=CARTESIAN_POINT('',(1.25,1.25,0.0)); 54#45=VERTEX_POINT('',#44); 55#46=CARTESIAN_POINT('',(1.25,0.75,0.0)); 56#47=VERTEX_POINT('',#46); 57#48=DIRECTION('',(0.0,1.0,0.0)); 58#49=CARTESIAN_POINT('',(0.75,0.75,0.0)); 59#50=VECTOR('',#48,0.5); 60#51=LINE('',#49,#50); 61#52=EDGE_CURVE('',#41,#43,#51,.T.); 62#53=DIRECTION('',(1.0,0.0,0.0)); 63#54=CARTESIAN_POINT('',(0.75,1.25,0.0)); 64#55=VECTOR('',#53,0.5); 65#56=LINE('',#54,#55); 66#57=EDGE_CURVE('',#43,#45,#56,.T.); 67#58=DIRECTION('',(0.0,-1.0,0.0)); 68#59=CARTESIAN_POINT('',(1.25,1.25,0.0)); 69#60=VECTOR('',#58,0.5); 70#61=LINE('',#59,#60); 71#62=EDGE_CURVE('',#45,#47,#61,.T.); 72#63=DIRECTION('',(-1.0,0.0,0.0)); 73#64=CARTESIAN_POINT('',(1.25,0.75,0.0)); 74#65=VECTOR('',#63,0.5); 75#66=LINE('',#64,#65); 76#67=EDGE_CURVE('',#47,#41,#66,.T.); 77#68=ORIENTED_EDGE('',$,$,#52,.T.); 78#69=ORIENTED_EDGE('',$,$,#57,.T.); 79#70=ORIENTED_EDGE('',$,$,#62,.T.); 80#71=ORIENTED_EDGE('',$,$,#67,.T.); 81#72=EDGE_LOOP('',(#68,#69,#70,#71)); 82#73=FACE_BOUND('',#72,.F.); 83#74=ADVANCED_FACE('',(#39,#73),#5,.T.); 84#75=CLOSED_SHELL('',(#74)); 85#76=MANIFOLD_SOLID_BREP('',#75); 86#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 87#9051=PRODUCT('Tfa239','Tfa239','',(#9050)); 88#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 89#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 90#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 91#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 92#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 93#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 94#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 95#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 96#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 97#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#76),#9060); 98#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 99ENDSEC; 100END-ISO-10303-21;