step-examples/12-3c-faces/Tfa222.stp
Sources
- synthesized — no external source cited
Description
missing-seam recovery.no-closure-early-exit
Reproducer recipe
Expected kernel behavior
the B-spline surface is open in both U and V, so there is no seam to insert. Check closure in at least one direction before attempting seam insertion and return early when the surface is open in both. Proceeding regardless means constructing a seam on a surface that has no periodic direction for it to lie on.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Tier-3 assertions
load == "ok"face[0].surface_type == "bspline"face[0].bspline.is_u_periodic == Falseface[0].bspline.is_v_periodic == False
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa222: CLOSED_SHELL: single ADVANCED_FACE on B_SPLINE_SURFACE_WITH_KNOTS; degree 2Ã2, 3Ã3 control grid; u_closed=False, v_closed=False (open surface); 2-edge EDGE_LOOP: both edges are B_SPLINE_CURVE_WITH_KNOTS degree 2; FixMissingSeam line 1732: early-exit when surface open in both U and V; without early return: kernel attempts seam insertion on non-closed surface; defect IS on live traversal path; no orphaned entities */ 3HEADER; 4FILE_DESCRIPTION(('Tfa222'),'2;1'); 5FILE_NAME('Tfa222.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.5,0.2)); 12#3=CARTESIAN_POINT('',(0.0,1.0,0.0)); 13#4=CARTESIAN_POINT('',(0.5,0.0,0.2)); 14#5=CARTESIAN_POINT('',(0.5,0.5,0.5)); 15#6=CARTESIAN_POINT('',(0.5,1.0,0.2)); 16#7=CARTESIAN_POINT('',(1.0,0.0,0.0)); 17#8=CARTESIAN_POINT('',(1.0,0.5,0.2)); 18#9=CARTESIAN_POINT('',(1.0,1.0,0.0)); 19#10=B_SPLINE_SURFACE_WITH_KNOTS('',2,2,((#1,#2,#3),(#4,#5,#6),(#7,#8,#9)),.UNSPECIFIED.,.F.,.F.,.F.,(3,3),(3,3),(0.0,1.0),(0.0,1.0),.UNSPECIFIED.); 20#11=CARTESIAN_POINT('',(0.0,0.0,0.0)); 21#12=CARTESIAN_POINT('',(0.5,0.0,0.3)); 22#13=CARTESIAN_POINT('',(1.0,0.0,0.0)); 23#14=B_SPLINE_CURVE_WITH_KNOTS('',2,(#11,#12,#13),.UNSPECIFIED.,.F.,.F.,(3,3),(0.0,1.0),.UNSPECIFIED.); 24#15=CARTESIAN_POINT('',(1.0,1.0,0.0)); 25#16=CARTESIAN_POINT('',(0.5,1.0,0.3)); 26#17=CARTESIAN_POINT('',(0.0,1.0,0.0)); 27#18=B_SPLINE_CURVE_WITH_KNOTS('',2,(#15,#16,#17),.UNSPECIFIED.,.F.,.F.,(3,3),(0.0,1.0),.UNSPECIFIED.); 28#19=VERTEX_POINT('',#11); 29#20=VERTEX_POINT('',#13); 30#21=VERTEX_POINT('',#15); 31#22=VERTEX_POINT('',#17); 32#23=EDGE_CURVE('',#19,#20,#14,.T.); 33#24=CARTESIAN_POINT('',(1.0,0.0,0.0)); 34#25=CARTESIAN_POINT('',(1.0,1.0,0.0)); 35#26=DIRECTION('',(0.0,1.0,0.0)); 36#27=VECTOR('',#26,1.0); 37#28=LINE('',#24,#27); 38#29=EDGE_CURVE('',#20,#21,#28,.T.); 39#30=EDGE_CURVE('',#21,#22,#18,.T.); 40#31=CARTESIAN_POINT('',(0.0,1.0,0.0)); 41#32=CARTESIAN_POINT('',(0.0,0.0,0.0)); 42#33=DIRECTION('',(0.0,-1.0,0.0)); 43#34=VECTOR('',#33,1.0); 44#35=LINE('',#31,#34); 45#36=EDGE_CURVE('',#22,#19,#35,.T.); 46#37=ORIENTED_EDGE('',$,$,#23,.T.); 47#38=ORIENTED_EDGE('',$,$,#29,.T.); 48#39=ORIENTED_EDGE('',$,$,#30,.T.); 49#40=ORIENTED_EDGE('',$,$,#36,.T.); 50#41=EDGE_LOOP('',(#37,#38,#39,#40)); 51#42=FACE_OUTER_BOUND('',#41,.T.); 52#43=ADVANCED_FACE('',(#42),#10,.T.); 53#44=CLOSED_SHELL('',(#43)); 54#45=MANIFOLD_SOLID_BREP('',#44); 55#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 56#9051=PRODUCT('Tfa222','Tfa222','',(#9050)); 57#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 58#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 59#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 60#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 61#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 62#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 63#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 64#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 65#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 66#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#45),#9060); 67#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 68ENDSEC; 69END-ISO-10303-21;