Tfa225 — missing-seam recovery.seam-boundary-clamping

§12.3c

topology

Sources

Description

missing-seam recovery.seam-boundary-clamping

Reproducer recipe

Expected kernel behavior

a two-edge loop on a U-closed surface places a seam beyond the period, at u=2 where the period is 2. Seam parameters must be reduced into the period before use. An out-of-range seam produces a parameter interval that does not correspond to any part of the surface, and the range check that would have caught it is the one being bypassed.

Expected validation

occt=shape(1)/shape(1) gmsh=reject ifc=schema_n/a

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Tfa225: CLOSED_SHELL: single ADVANCED_FACE on B_SPLINE_SURFACE_WITH_KNOTS; degree 1×2, 2×3 control grid; u_closed=True (period-wrap in U); 2-edge EDGE_LOOP: seam at u=0 and u=period boundary with period-wrap geometry; FixMissingSeam line 2224: seam-boundary clamping via AdjustToPeriod; seam at u=full-period: out-of-bounds without clamping; invalid parameter range when AdjustToPeriod bypassed; defect IS on live traversal path; no orphaned entities */
3HEADER;
4FILE_DESCRIPTION(('Tfa225'),'2;1');
5FILE_NAME('Tfa225.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('',(1.0,0.0,0.0));
14#5=CARTESIAN_POINT('',(1.0,0.5,0.2));
15#6=CARTESIAN_POINT('',(1.0,1.0,0.0));
16#7=B_SPLINE_SURFACE_WITH_KNOTS('',1,2,((#1,#2,#3),(#4,#5,#6)),.UNSPECIFIED.,.T.,.F.,.F.,(2,2),(3,3),(0.0,1.0),(0.0,1.0),.UNSPECIFIED.);
17#8=CARTESIAN_POINT('',(0.0,0.0,0.0));
18#9=CARTESIAN_POINT('',(1.0,0.0,0.0));
19#10=VERTEX_POINT('',#8);
20#11=VERTEX_POINT('',#9);
21#12=DIRECTION('',(1.0,0.0,0.0));
22#13=VECTOR('',#12,1.0);
23#14=LINE('',#8,#13);
24#15=EDGE_CURVE('',#10,#11,#14,.T.);
25#16=DIRECTION('',(-1.0,0.0,0.0));
26#17=VECTOR('',#16,1.0);
27#18=LINE('',#9,#17);
28#19=EDGE_CURVE('',#11,#10,#18,.T.);
29#20=ORIENTED_EDGE('',$,$,#15,.T.);
30#21=ORIENTED_EDGE('',$,$,#19,.T.);
31#22=EDGE_LOOP('',(#20,#21));
32#23=FACE_OUTER_BOUND('',#22,.T.);
33#24=ADVANCED_FACE('',(#23),#7,.T.);
34#25=CLOSED_SHELL('',(#24));
35#26=MANIFOLD_SOLID_BREP('',#25);
36#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
37#9051=PRODUCT('Tfa225','Tfa225','',(#9050));
38#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
39#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
40#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
41#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
42#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
43#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
44#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
45#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
46#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
47#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#26),#9060);
48#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
49ENDSEC;
50END-ISO-10303-21;