step-examples/12-3c-faces/Tfa237.stp
Sources
- synthesized — no external source cited
Description
face-repair.SplitEdge (line-2653)
Reproducer recipe
Expected kernel behavior
an edge is divided using a B-spline spine that spans the cylindrical seam. Splitting an edge whose curve crosses a seam must also split it AT the seam: a single resulting edge that straddles the seam has no single valid pcurve, because the parameterisation is discontinuous exactly where the edge continues.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(7) ifc=schema_n/a
Tier-3 assertions
load == "ok"face[0].surface_type == "cylinder"face[0].quadric.radius == 1.0edge[1].curve_type == "circle"edge[1].analytic.radius == 1.0edge[3].curve_type == "circle"edge[3].analytic.radius == 1.0
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa237: B-spline spine dividing cylindrical-surface edge at seam */ 3HEADER; 4FILE_DESCRIPTION(('Tfa237'),'2;1'); 5FILE_NAME('Tfa237.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=CYLINDRICAL_SURFACE('cyl',#4,1.0); 15#6=CARTESIAN_POINT('',(1.0,0.0,0.0)); 16#7=CARTESIAN_POINT('',(1.0,0.0,1.0)); 17#8=CARTESIAN_POINT('',(1.0,0.0,2.0)); 18#9=B_SPLINE_CURVE_WITH_KNOTS('vertical_spine',2,(#6,#7,#8),.UNSPECIFIED.,.F.,.F.,(3,3),(0.0,1.0),.UNSPECIFIED.); 19#10=VERTEX_POINT('',#6); 20#11=VERTEX_POINT('',#8); 21#12=EDGE_CURVE('',#10,#11,#9,.T.); 22#13=CARTESIAN_POINT('',(0.0,0.0,2.0)); 23#14=AXIS2_PLACEMENT_3D('',#13,#2,#3); 24#15=CIRCLE('top',#14,1.0); 25#16=EDGE_CURVE('',#11,#11,#15,.T.); 26#17=AXIS2_PLACEMENT_3D('',#1,#2,#3); 27#18=CIRCLE('bot',#17,1.0); 28#19=EDGE_CURVE('',#10,#10,#18,.T.); 29#20=ORIENTED_EDGE('',$,$,#19,.T.); 30#21=ORIENTED_EDGE('',$,$,#12,.T.); 31#22=ORIENTED_EDGE('',$,$,#16,.T.); 32#23=ORIENTED_EDGE('',$,$,#12,.F.); 33#24=EDGE_LOOP('',(#20,#21,#22,#23)); 34#25=FACE_OUTER_BOUND('',#24,.T.); 35#26=ADVANCED_FACE('',(#25),#5,.T.); 36#27=OPEN_SHELL('',(#26)); 37#28=SHELL_BASED_SURFACE_MODEL('',(#27)); 38#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 39#9051=PRODUCT('Tfa237','Tfa237','',(#9050)); 40#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 41#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 42#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 43#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 44#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 45#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 46#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 47#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 48#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 49#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#28),#9060); 50#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 51ENDSEC; 52END-ISO-10303-21;