step-examples/12-4-tolerance/N096.stp
Sources
- synthesized — no external source cited
Description
BRepLib.UpdateInnerTolerances cone-apex-singularity
Reproducer recipe
Expected kernel behavior
accept: the edge runs through a genuine `CONICAL_SURFACE` apex (0,0,0, half-angle 30 deg) from a base point; the file is a well-formed wireframe container declaring 1.0E-7mm tolerance. Curvature diverging at a cone apex is a real, well-known removable singularity; a correct kernel must special-case apex-touching parameters (assign a bounded, sane tolerance) rather than letting a generic curvature-based sampler blow up there -- this holds whether or not OCCT's own wireframe-container transfer happens to build a shape from this particular file.
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Tier-3 assertions
shape_null == True
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* N096: UpdateInnerTolerances cone-apex-singularity: CONICAL_SURFACE 30-deg; edge from base (5,0,0) through apex (0,0,0); curvatureâinf at apex; GEOMETRIC_CURVE_SET â OCC yields empty */ 3HEADER; 4FILE_DESCRIPTION(('N096'),'2;1'); 5FILE_NAME('N096.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('cone_orig',(0.0,0.0,0.0)); 10#2=DIRECTION('',(0.0,0.0,1.0)); 11#3=DIRECTION('',(1.0,0.0,0.0)); 12#4=AXIS2_PLACEMENT_3D('',#1,#2,#3); 13#5=CONICAL_SURFACE('cone',#4,0.5235987756); 14#6=CARTESIAN_POINT('p_base',(5.0,0.0,0.0)); 15#7=CARTESIAN_POINT('p_apex',(0.0,0.0,0.0)); 16#8=VERTEX_POINT('v_base',#6); 17#9=VERTEX_POINT('v_apex',#7); 18#10=DIRECTION('',(-1.0,0.0,0.0)); 19#11=VECTOR('',#10,5.0); 20#12=LINE('line_to_apex',#6,#11); 21#13=EDGE_CURVE('edge_through_apex',#8,#9,#12,.T.); 22#14=GEOMETRIC_CURVE_SET('cone_apex',(#5,#13)); 23#15=APPLICATION_CONTEXT('automotive_design'); 24#16=PRODUCT_CONTEXT('',#15,'mechanical'); 25#17=PRODUCT('N096','N096','',(#16)); 26#18=PRODUCT_DEFINITION_FORMATION('','',#17); 27#19=PRODUCT_DEFINITION_CONTEXT('part definition',#15,'design'); 28#20=PRODUCT_DEFINITION('','',#18,#19); 29#21=PRODUCT_DEFINITION_SHAPE('','',#20); 30#22=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 31#23=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 32#24=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 33#25=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#22,'distance_accuracy_value','model_precision'); 34#26=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#25))GLOBAL_UNIT_ASSIGNED_CONTEXT((#22,#23,#24))REPRESENTATION_CONTEXT('ctx','3D')); 35#27=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#14),#26); 36#28=SHAPE_DEFINITION_REPRESENTATION(#21,#27); 37ENDSEC; 38END-ISO-10303-21;