step-examples/12-4-tolerance/N079.stp
Sources
- synthesized — no external source cited
Description
ShapeAnalysis_Edge.CheckPointsAreOnEdges sphere-pole
Reproducer recipe
Expected kernel behavior
this model is a bare curve set — it carries no face and no shell — so returning no solid is CORRECT here and is not the defect. `heal` means the wire-level condition (sample points sitting at a surface pole) must be detected and reported; it does not mean geometry should appear. A kernel should diagnose that condition and continue processing the remaining entities rather than discarding the model without comment.
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/* N079: CheckPointsAreOnEdges sphere-pole: edge from north pole (0,0,10) to (0.1,0,9.99); singular U at pole causes false-negative on-edge check; GEOMETRIC_CURVE_SET â OCC yields empty */ 3HEADER; 4FILE_DESCRIPTION(('N079'),'2;1'); 5FILE_NAME('N079.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('sph_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=SPHERICAL_SURFACE('sphere',#4,10.0); 14#6=CARTESIAN_POINT('p_north_pole',(0.0,0.0,10.0)); 15#7=CARTESIAN_POINT('p_near_pole',(0.1,0.0,9.99)); 16#8=VERTEX_POINT('v_north_pole',#6); 17#9=VERTEX_POINT('v_near',#7); 18#10=DIRECTION('',(1.0,0.0,-0.1)); 19#11=VECTOR('',#10,0.1005); 20#12=LINE('pole_edge_approx',#6,#11); 21#13=EDGE_CURVE('pole_edge',#8,#9,#12,.T.); 22#14=GEOMETRIC_CURVE_SET('sphere_pole',(#5,#13)); 23#15=APPLICATION_CONTEXT('automotive_design'); 24#16=PRODUCT_CONTEXT('',#15,'mechanical'); 25#17=PRODUCT('N079','N079','',(#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;