step-examples/12-2b-nurbs/Gn007.stp
Sources
- 10-vendor-kbs.md (V035)
Sender
PTC Creo with default relative accuracy
Description
Long thin parts (e.g. 2.5 m extrusion with sub-mm helical features) export with visibly warped helical `B_SPLINE_CURVE_WITH_KNOTS` because Creo's relative accuracy tessellates surfaces too coarsely on export. Typical signature: a B-spline approximating a tall helix carries only ~16 control points across z=0.2500, the poles zig-zag in x sign and barely move radially; severe under-sampling, far fewer poles per turn than a faithful helix needs. Recommended workaround is absolute accuracy 1e-4 + disable surface simplification.
Reproducer recipe
Author a 2500 mm shaft with a 0.5 mm-pitch helical thread feature in Creo at default (relative) accuracy; export to STEP.
Expected kernel behavior
Heal and accept: writers should preserve authored B-spline degree/knot structure exactly; never resample/refit during export; consumers should warn-and-accept (report tessellation-induced distortion via `geometric_validation_property` mismatch).
Notes
Synonyms: "Creo helical thread under-sampled in STEP export", "B-spline approximation of helix has too few control points", "helix BSpline zigzags from coarse tessellation", "Creo relative-accuracy export warps long helix", "tall helical thread visibly distorted in STEP".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Byte assertions
contains(b'B_SPLINE_CURVE')
Tier-3 assertions
shape_null == Falsen_vertices_total == 1
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Gn007: Under-sampled B_SPLINE_CURVE_WITH_KNOTS for helical thread: Creo default relative accuracy exports a 2500 mm shaft helix with only ~16 control points; poles zig-zag in X sign and barely move radially; far fewer poles per turn than a faithful helix needs; heal: writers preserve authored degree/knot structure; consumers warn-and-accept on geometric_validation_property mismatch. The under-sampled curve sits in an unreferenced GEOMETRIC_CURVE_SET, so OCC loads only a 1-vertex stub; the under-sampling is byte-present but is a geometry-QUALITY property invisible to the load-time shape-count oracles (shape(1)), not a genuine load-time demonstration */ 3HEADER; 4FILE_DESCRIPTION(('Gn007'),'2;1'); 5FILE_NAME('Gn007.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=GEOMETRIC_CURVE_SET('',(#1)); 12#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 13#9051=PRODUCT('Gn007','Gn007','',(#9050)); 14#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 15#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 16#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 17#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 18#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 19#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 20#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 21#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 22#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 23#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#2),#9060); 24#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 25#9063=CARTESIAN_POINT('',(0.05,0.0,0.0)); 26#9064=CARTESIAN_POINT('',(-0.052103677462,0.0,0.0166666666667)); 27#9065=CARTESIAN_POINT('',(0.0522732435671,0.0,0.0333333333333)); 28#9066=CARTESIAN_POINT('',(-0.0503528000201,0.0,0.05)); 29#9067=CARTESIAN_POINT('',(0.0481079937617,0.0,0.0666666666667)); 30#9068=CARTESIAN_POINT('',(-0.0476026893133,0.0,0.0833333333333)); 31#9069=CARTESIAN_POINT('',(0.0493014612545,0.0,0.1)); 32#9070=CARTESIAN_POINT('',(-0.0516424664968,0.0,0.116666666667)); 33#9071=CARTESIAN_POINT('',(0.0524733956166,0.0,0.133333333333)); 34#9072=CARTESIAN_POINT('',(-0.0510302962131,0.0,0.15)); 35#9073=CARTESIAN_POINT('',(0.0486399472228,0.0,0.166666666667)); 36#9074=CARTESIAN_POINT('',(-0.0475000244836,0.0,0.183333333333)); 37#9075=CARTESIAN_POINT('',(0.048658567705,0.0,0.2)); 38#9076=CARTESIAN_POINT('',(-0.0510504175921,0.0,0.216666666667)); 39#9077=CARTESIAN_POINT('',(0.0524765183892,0.0,0.233333333333)); 40#9078=CARTESIAN_POINT('',(-0.0516257196004,0.0,0.25)); 41#9079=B_SPLINE_CURVE_WITH_KNOTS('helix_under_sampled',3,(#9063,#9064,#9065,#9066,#9067,#9068,#9069,#9070,#9071,#9072,#9073,#9074,#9075,#9076,#9077,#9078),.UNSPECIFIED.,.F.,.F.,(4,1,1,1,1,1,1,1,1,1,1,1,1,4),(0.000000,0.076923,0.153846,0.230769,0.307692,0.384615,0.461538,0.538462,0.615385,0.692308,0.769231,0.846154,0.923077,1.000000),.UNSPECIFIED.); 42ENDSEC; 43END-ISO-10303-21;