step-examples/12-4-tolerance/N031.stp
Sources
- 17-standards-bodies M006 (LOTAR)
- 11-translator-vendors W014
- 15-academic L043
Description
G0/G1/G2 discontinuities introduced when neighbouring faces are re-parametrized into different surface types during translation. Tangent-plane jumps appear at shared edges that were smooth in the source. Translation re-fits surfaces independently; tangent agreement is not a constraint of the per-surface fit.
Reproducer recipe
Convert a Catia procedural blend to STEP — the blend often becomes several `B_SPLINE_SURFACE_WITH_KNOTS` patches whose tangent planes at shared edges differ by more than the resolution tolerance. (Real-world translators may emit `RATIONAL_B_SPLINE_SURFACE` patches; this fixture uses plain B-spline patches to isolate the G1-break defect without rationality as a confound.)
Expected kernel behavior
accept; report as quality warning; archive-stable only if validation properties (volume, area) still match within tolerance.
Notes
**See also**: M026, M027. Synonyms: "tangent jump at shared edge after translation", "G1 broken across faces after import", "smooth surfaces become creased on round-trip", "translator re-fits surfaces and loses tangent continuity".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(18) ifc=schema_n/a
Byte assertions
count_entity_def(b'B_SPLINE_SURFACE_WITH_KNOTS') == 2contains(b'1.0E-5')
Tier-3 assertions
shape_null == Falsen_faces_total == 2n_edges_total == 8n_vertices_total == 16face[0].surface_type == "bspline"face[1].surface_type == "bspline"
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* N031: two B_SPLINE_SURFACE_WITH_KNOTS patches; tangent planes at shared edge disagree after independent re-fit; G1 break > 1.0E-5; GEOMETRIC_CURVE_SET â OCC yields empty */ 3HEADER; 4FILE_DESCRIPTION(('N031'),'2;1'); 5FILE_NAME('N031.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','',''); 6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 7ENDSEC; 8DATA; 9#1=CARTESIAN_POINT('p00',(0.0,0.0,0.0)); 10#2=CARTESIAN_POINT('p10',(5.0,0.0,0.0)); 11#3=CARTESIAN_POINT('p01',(0.0,5.0,0.0)); 12#4=CARTESIAN_POINT('p11',(5.0,5.0,0.0)); 13#5=B_SPLINE_SURFACE_WITH_KNOTS('patch1',1,1,((#1,#2),(#3,#4)),.UNSPECIFIED.,.F.,.F.,.F.,(2,2),(2,2),(0.0,1.0),(0.0,1.0),.UNSPECIFIED.); 14#6=CARTESIAN_POINT('q00_shared',(5.0,0.0,0.0)); 15#7=CARTESIAN_POINT('q10_tilted',(10.0,0.0,0.0001)); 16#8=CARTESIAN_POINT('q01_shared',(5.0,5.0,0.0)); 17#9=CARTESIAN_POINT('q11_tilted',(10.0,5.0,0.0001)); 18#10=B_SPLINE_SURFACE_WITH_KNOTS('patch2',1,1,((#6,#7),(#8,#9)),.UNSPECIFIED.,.F.,.F.,.F.,(2,2),(2,2),(0.0,1.0),(0.0,1.0),.UNSPECIFIED.); 19#11=GEOMETRIC_CURVE_SET('g1_break',(#5,#10)); 20#12=APPLICATION_CONTEXT('automotive_design'); 21#13=PRODUCT_CONTEXT('',#12,'mechanical'); 22#14=PRODUCT('N031','N031','',(#13)); 23#15=PRODUCT_DEFINITION_FORMATION('','',#14); 24#16=PRODUCT_DEFINITION_CONTEXT('part definition',#12,'design'); 25#17=PRODUCT_DEFINITION('','',#15,#16); 26#18=PRODUCT_DEFINITION_SHAPE('','',#17); 27#19=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 28#20=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 29#21=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 30#22=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-5),#19,'distance_accuracy_value','tangent_continuity_threshold'); 31#23=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#22))GLOBAL_UNIT_ASSIGNED_CONTEXT((#19,#20,#21))REPRESENTATION_CONTEXT('ctx','3D')); 32#24=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#11),#23); 33#25=SHAPE_DEFINITION_REPRESENTATION(#18,#24); 34ENDSEC; 35END-ISO-10303-21;