Gp050 — ShapeFix_Edge.FixSameParameter recursive SameRange

§12.2a (pcurves)

geometry

Sources

Description

Edge with high-degree B-spline 3D curve (degree 3, 10 control points, 11-knot vector) paired with a simple degree-2 PCURVE B-spline (3 control points). The knot-domain mismatch triggers recursive SameRange refinement; on deep nesting the recursion consumes stack depth before convergence.

Reproducer recipe

see `step-examples/12-2a-pcurves/Gp050.stp`; the fixture file's top comment names the specific OCCT method and line range.

Expected kernel behavior

detect or heal per the named OCCT branch; the fixture demonstrates the buggy input pattern.

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/* Gp050: Degree-3 B-spline 3D curve with 10 CPs (knot domain [0,9]) paired with degree-2 pcurve B-spline with only 3 CPs (knot domain [0,1]); domain ratio 9:1 triggers FixSameParameter recursive SameRange refinement that consumes stack depth before convergence; defect IS in pcurve wired through PCURVE→SURFACE_CURVE→EDGE_CURVE */
3HEADER;
4FILE_DESCRIPTION(('Gp050'),'2;1');
5FILE_NAME('Gp050.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=DIRECTION('',(0.0,0.0,1.0));
12#3=DIRECTION('',(1.0,0.0,0.0));
13#4=AXIS2_PLACEMENT_3D('',#1,#2,#3);
14#5=PLANE('gp050_host',#4);
15#6=CARTESIAN_POINT('',(0.0,0.0,0.0));
16#7=CARTESIAN_POINT('',(1.0,0.3,0.0));
17#8=CARTESIAN_POINT('',(2.0,-0.2,0.0));
18#9=CARTESIAN_POINT('',(3.0,0.4,0.0));
19#10=CARTESIAN_POINT('',(4.0,-0.1,0.0));
20#11=CARTESIAN_POINT('',(5.0,0.3,0.0));
21#12=CARTESIAN_POINT('',(6.0,-0.2,0.0));
22#13=CARTESIAN_POINT('',(7.0,0.1,0.0));
23#14=CARTESIAN_POINT('',(8.0,-0.1,0.0));
24#15=CARTESIAN_POINT('',(9.0,0.0,0.0));
25#16=VERTEX_POINT('',#6);
26#17=VERTEX_POINT('',#15);
27#18=B_SPLINE_CURVE_WITH_KNOTS('gp050_3d_deg3_10cp',3,(#6,#7,#8,#9,#10,#11,#12,#13,#14,#15),.UNSPECIFIED.,.F.,.F.,(4,1,1,1,1,1,1,4),(0.0,1.0,2.0,3.0,4.0,5.0,6.0,9.0),.UNSPECIFIED.);
28#19=CARTESIAN_POINT('',(0.0,0.0));
29#20=CARTESIAN_POINT('',(0.5,0.0));
30#21=CARTESIAN_POINT('',(1.0,0.0));
31#22=B_SPLINE_CURVE_WITH_KNOTS('gp050_pcurve_deg2_3cp',2,(#19,#20,#21),.UNSPECIFIED.,.F.,.F.,(3,3),(0.0,1.0),.UNSPECIFIED.);
32#23=(GEOMETRIC_REPRESENTATION_CONTEXT(2)PARAMETRIC_REPRESENTATION_CONTEXT()REPRESENTATION_CONTEXT('UV','2D'));
33#24=DEFINITIONAL_REPRESENTATION('gp050_def',(#22),#23);
34#25=PCURVE('gp050_uv',#5,#24);
35#26=SURFACE_CURVE('gp050_sc',#18,(#25),.PCURVE_S1.);
36#27=EDGE_CURVE('gp050_edge',#16,#17,#26,.T.);
37#28=ORIENTED_EDGE('',$,$,#27,.T.);
38#29=EDGE_LOOP('',(#28));
39#30=FACE_OUTER_BOUND('',#29,.T.);
40#31=ADVANCED_FACE('',(#30),#5,.T.);
41#32=OPEN_SHELL('',(#31));
42#33=SHELL_BASED_SURFACE_MODEL('',(#32));
43#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
44#9051=PRODUCT('Gp050','Gp050','',(#9050));
45#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
46#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
47#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
48#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
49#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
50#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
51#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
52#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
53#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
54#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#33),#9060);
55#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
56ENDSEC;
57END-ISO-10303-21;