step-examples/12-3c-faces/Tfa051.stp
Sources
- OCCT `ShapeUpgrade_FaceDivide::Perform` (`ShapeUpgrade_FaceDivide.hxx:73`)
Description
A face on a surface with internal C0 knots, large parameter span, or multiple analytic regions. Downstream tools handle smaller pieces better; meshers produce more uniform elements, Booleans avoid the C0 line, fillet engines find tangents. The face-divide pipeline produces a shell of replacement sub-faces.
Reproducer recipe
A square face whose underlying surface has a C0 line at U=0.5; the division must split the face into two sub-faces along that isoline.
Expected kernel behavior
emit a shell of sub-faces with consistent orientation, sharing edges along the cut, with re-stitched outer wires. The split criteria are kernel policy.
Notes
Face-side counterpart to Gp033 (curve split) and Gs049 (surface split). Synonyms: "B-spline surface with C0 knot ridge", "knot multiplicity equals degree creates C0 continuity", "rectangular boundary crosses C0 ridge", "face needs splitting at internal C0 knot", "sub-face division at parametric break", "face on multi-region NURBS surface".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(27) ifc=schema_n/a
Closure intent
ambiguous — the open shell is an incidental scaffold for a non-closure-related test.
Tier-3 assertions
n_edges_total >= 4face[0].surface_type == "bspline"n_vertices_total >= 8face[0].edge_orientations.reversed == 4face[2].edge_orientations.forward == 4
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa051: CLOSED_SHELL: face[0] is 10Ã10 ADVANCED_FACE on B_SPLINE_SURFACE_WITH_KNOTS (degree=2 in U, knots=[0,0.5,1], U-mults=[3,2,3]); internal U-multiplicity=2=degree at U=0.5 creates C0 crease (tangent discontinuity); surface is geometrically flat but parameterically C0-kinked at U=0.5; ShapeUpgrade_FaceDivide::Perform must split face[0] into two sub-faces at U=0.5; downstream meshers need smaller pieces; Booleans avoid C0 line; face[1..5] are plane faces forming closed 10Ã10Ã1 box; defect IS on live CLOSED_SHELL traversal path */ 3HEADER; 4FILE_DESCRIPTION(('Tfa051'),'2;1'); 5FILE_NAME('Tfa051.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('',(10.0,0.0,0.0)); 12#3=CARTESIAN_POINT('',(10.0,10.0,0.0)); 13#4=CARTESIAN_POINT('',(0.0,10.0,0.0)); 14#5=CARTESIAN_POINT('',(0.0,0.0,1.0)); 15#6=CARTESIAN_POINT('',(10.0,0.0,1.0)); 16#7=CARTESIAN_POINT('',(10.0,10.0,1.0)); 17#8=CARTESIAN_POINT('',(0.0,10.0,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,10.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,10.0); 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,10.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,10.0); 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,10.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,10.0); 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,10.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,10.0); 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=CARTESIAN_POINT('',(0.0,0.0,0.0)); 75#66=CARTESIAN_POINT('',(0.0,10.0,0.0)); 76#67=CARTESIAN_POINT('',(2.5,0.0,0.0)); 77#68=CARTESIAN_POINT('',(2.5,10.0,0.0)); 78#69=CARTESIAN_POINT('',(5.0,0.0,0.0)); 79#70=CARTESIAN_POINT('',(5.0,10.0,0.0)); 80#71=CARTESIAN_POINT('',(7.5,0.0,0.0)); 81#72=CARTESIAN_POINT('',(7.5,10.0,0.0)); 82#73=CARTESIAN_POINT('',(10.0,0.0,0.0)); 83#74=CARTESIAN_POINT('',(10.0,10.0,0.0)); 84#75=B_SPLINE_SURFACE_WITH_KNOTS('',2,1,((#65,#66),(#67,#68),(#69,#70),(#71,#72),(#73,#74)),.UNSPECIFIED.,.F.,.F.,.F.,(3,2,3),(2,2),(0.0,0.5,1.0),(0.0,1.0),.UNSPECIFIED.); 85#76=ORIENTED_EDGE('',$,$,#20,.T.); 86#77=ORIENTED_EDGE('',$,$,#24,.T.); 87#78=ORIENTED_EDGE('',$,$,#28,.T.); 88#79=ORIENTED_EDGE('',$,$,#32,.T.); 89#80=EDGE_LOOP('',(#76,#77,#78,#79)); 90#81=FACE_OUTER_BOUND('',#80,.T.); 91#82=ADVANCED_FACE('',(#81),#75,.T.); 92#83=ORIENTED_EDGE('',$,$,#36,.T.); 93#84=ORIENTED_EDGE('',$,$,#40,.T.); 94#85=ORIENTED_EDGE('',$,$,#44,.T.); 95#86=ORIENTED_EDGE('',$,$,#48,.T.); 96#87=EDGE_LOOP('',(#83,#84,#85,#86)); 97#88=DIRECTION('',(0.0,0.0,1.0)); 98#89=DIRECTION('',(1.0,0.0,0.0)); 99#90=AXIS2_PLACEMENT_3D('',#5,#88,#89); 100#91=FACE_OUTER_BOUND('',#87,.T.); 101#92=PLANE('',#90); 102#93=ADVANCED_FACE('',(#91),#92,.T.); 103#94=ORIENTED_EDGE('',$,$,#20,.T.); 104#95=ORIENTED_EDGE('',$,$,#56,.T.); 105#96=ORIENTED_EDGE('',$,$,#36,.F.); 106#97=ORIENTED_EDGE('',$,$,#52,.F.); 107#98=EDGE_LOOP('',(#94,#95,#96,#97)); 108#99=DIRECTION('',(0.0,-1.0,0.0)); 109#100=DIRECTION('',(1.0,0.0,0.0)); 110#101=AXIS2_PLACEMENT_3D('',#1,#99,#100); 111#102=FACE_OUTER_BOUND('',#98,.T.); 112#103=PLANE('',#101); 113#104=ADVANCED_FACE('',(#102),#103,.T.); 114#105=ORIENTED_EDGE('',$,$,#64,.T.); 115#106=ORIENTED_EDGE('',$,$,#44,.F.); 116#107=ORIENTED_EDGE('',$,$,#60,.F.); 117#108=ORIENTED_EDGE('',$,$,#28,.F.); 118#109=EDGE_LOOP('',(#105,#106,#107,#108)); 119#110=DIRECTION('',(0.0,1.0,0.0)); 120#111=DIRECTION('',(1.0,0.0,0.0)); 121#112=AXIS2_PLACEMENT_3D('',#4,#110,#111); 122#113=FACE_OUTER_BOUND('',#109,.T.); 123#114=PLANE('',#112); 124#115=ADVANCED_FACE('',(#113),#114,.T.); 125#116=ORIENTED_EDGE('',$,$,#52,.T.); 126#117=ORIENTED_EDGE('',$,$,#48,.F.); 127#118=ORIENTED_EDGE('',$,$,#64,.F.); 128#119=ORIENTED_EDGE('',$,$,#32,.F.); 129#120=EDGE_LOOP('',(#116,#117,#118,#119)); 130#121=DIRECTION('',(-1.0,0.0,0.0)); 131#122=DIRECTION('',(0.0,1.0,0.0)); 132#123=AXIS2_PLACEMENT_3D('',#1,#121,#122); 133#124=FACE_OUTER_BOUND('',#120,.T.); 134#125=PLANE('',#123); 135#126=ADVANCED_FACE('',(#124),#125,.T.); 136#127=ORIENTED_EDGE('',$,$,#24,.T.); 137#128=ORIENTED_EDGE('',$,$,#60,.T.); 138#129=ORIENTED_EDGE('',$,$,#40,.F.); 139#130=ORIENTED_EDGE('',$,$,#56,.F.); 140#131=EDGE_LOOP('',(#127,#128,#129,#130)); 141#132=DIRECTION('',(1.0,0.0,0.0)); 142#133=DIRECTION('',(0.0,1.0,0.0)); 143#134=AXIS2_PLACEMENT_3D('',#2,#132,#133); 144#135=FACE_OUTER_BOUND('',#131,.T.); 145#136=PLANE('',#134); 146#137=ADVANCED_FACE('',(#135),#136,.T.); 147#138=CLOSED_SHELL('',(#82,#93,#104,#115,#126,#137)); 148#139=MANIFOLD_SOLID_BREP('',#138); 149#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 150#9051=PRODUCT('Tfa051','Tfa051','',(#9050)); 151#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 152#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 153#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 154#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 155#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 156#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 157#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 158#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 159#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 160#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#139),#9060); 161#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 162ENDSEC; 163END-ISO-10303-21;