step-examples/12-4-tolerance/N026.stp
Sources
- 21-patents X003 (EP 0690416 A2 Computervision)
- 11-translator-vendors W001, W003, W013
- 13-quaoar B009
Description
The three production kernels (Parasolid, ACIS, CGM) define validity differently. ACIS may export a body with a tolerant edge of tolerance 5e-4; Parasolid demands geometric intersection within 1e-6 and rejects the edge. What was a single shared vertex in the source becomes two vertices in the target — or vice versa — depending on the receiving kernel's snap rules.
Reproducer recipe
Export an ACIS body that uses a tolerant edge with tolerance 5e-4 to STEP; import into a Parasolid pipeline that demands geometric intersection within 1e-6.
Expected kernel behavior
heal; tag every edge and vertex with a per-entity tolerance; rebuild face/edge adjacencies up to that tolerance; only error if re-intersection demonstrates the relation cannot be established.
Notes
**See also**: Tsh001. Synonyms: "body valid in ACIS but rejected by Parasolid", "kernel-specific tolerance bookkeeping", "tolerant edge accepted in source rejected in target", "kernels disagree on what counts as one vertex".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
count_entity_def(b'UNCERTAINTY_MEASURE_WITH_UNIT') == 2contains(b'1.0E-6') and contains(b'5.0E-4')
Tier-3 assertions
shape_null == True
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/* N026: ACIS tolerant edge tol 5.0E-4 vs Parasolid demand 1.0E-6; 2ÃUNCERTAINTY_MEASURE_WITH_UNIT encode both; shared vertex becomes two on import; GEOMETRIC_CURVE_SET â OCC yields empty */ 3HEADER; 4FILE_DESCRIPTION(('N026'),'2;1'); 5FILE_NAME('N026.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('p0',(0.0,0.0,0.0)); 10#2=CARTESIAN_POINT('p1_within_acis_tol',(0.0005,0.0,0.0)); 11#3=VERTEX_POINT('v0',#1); 12#4=VERTEX_POINT('v1_would_split_in_parasolid',#2); 13#5=DIRECTION('',(1.0,0.0,0.0)); 14#6=VECTOR('',#5,0.0005); 15#7=LINE('tolerant_edge_line',#1,#6); 16#8=EDGE_CURVE('tolerant_edge',#3,#4,#7,.T.); 17#9=GEOMETRIC_CURVE_SET('cross_kernel',(#8)); 18#10=APPLICATION_CONTEXT('automotive_design'); 19#11=PRODUCT_CONTEXT('',#10,'mechanical'); 20#12=PRODUCT('N026','N026','',(#11)); 21#13=PRODUCT_DEFINITION_FORMATION('','',#12); 22#14=PRODUCT_DEFINITION_CONTEXT('part definition',#10,'design'); 23#15=PRODUCT_DEFINITION('','',#13,#14); 24#16=PRODUCT_DEFINITION_SHAPE('','',#15); 25#17=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 26#18=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 27#19=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 28#20=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(5.0E-4),#17,'distance_accuracy_value','acis_tolerant_edge_tol'); 29#21=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-6),#17,'distance_accuracy_value','parasolid_required_precision'); 30#22=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#20,#21))GLOBAL_UNIT_ASSIGNED_CONTEXT((#17,#18,#19))REPRESENTATION_CONTEXT('ctx','3D')); 31#23=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#9),#22); 32#24=SHAPE_DEFINITION_REPRESENTATION(#16,#23); 33ENDSEC; 34END-ISO-10303-21;