Gs188 — Onshape `SURFACE_OF_REVOLUTION` micro-geometry (radius ≈ 2 μm) faulty self-import topology

§12.2c surfaces (sub-class: revolution-surface / micro-geometry near-coincident)

geometry

Sources

Description

STEP file containing a `CLOSED_SHELL` with an `ADVANCED_FACE` on a `SURFACE_OF_REVOLUTION` whose profile curve is a `TRIMMED_CURVE` over a circular arc of radius ≈ 0.002 mm (2 microns). The revolution axis is Z; the profile circle center is at (0.002, 0, 0) so the inner profile radius equals the offset, placing the innermost arc tangent to the Z axis. After 360° revolution this produces a torus-like closed surface where the inner hole radius is approximately zero — a degenerate near-coincident-with-axis case. The `VERTEX_POINT` coordinates at the profile endpoints are near-coincident in 3D space (all within the default OCCT tolerance zone). The file loads under OCCT (geometry healed to shape(1)), but `checkshape` may flag near-coincident vertices or degenerate seam edges; pre-fix Onshape self-import produced topology errors.

Reproducer recipe

`SURFACE_OF_REVOLUTION` with a `TRIMMED_CURVE` over a circle of radius 0.002 mm centered at (0.002, 0, 0); `AXIS1_PLACEMENT` on the Z axis; 360° revolution parameter domain; seam `EDGE_CURVE` from the profile endpoint to itself; `CLOSED_SHELL` + `MANIFOLD_SOLID_BREP`.

Expected kernel behavior

reject or flag degenerate near-coincident seam; `checkshape` must report near-coincident vertices (distance < tolerance) on the degenerate inner seam; receivers that accept the shape must widen tolerance to accommodate the micro-geometry and emit `W_NEAR_COINCIDENT_VERTEX`.

Notes

OCCT heals the micro-geometry by widening vertex tolerance; shape loads as shape(1) with 1 face on current OCCT. The defect class (sub-tolerance revolution surface) is important for interoperability testing with micro-scale STEP exports. Synonyms: "Onshape STEP micro-geometry self-import", "SURFACE_OF_REVOLUTION tiny radius faulty topology", "degenerate torus near-zero inner radius STEP", "revolution surface micro-scale vertex coincident", "STEP micro-geometry tolerance failure".

Expected validation

occt=shape(1)/shape(1) gmsh=shape(6) ifc=schema_n/a

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Gs188: SURFACE_OF_REVOLUTION profile is TRIMMED_CURVE over circle of radius ≈0.002 mm (2 microns) revolved 360° around Z axis; VERTEX_POINT coordinates near-coincident (distance < 1e-6 m); sub-tolerance micro-geometry causes faulty topology on Onshape self-import; checkshape should flag degenerate edges or near-coincident vertices; SURFACE_OF_REVOLUTION IS ADVANCED_FACE.face_geometry — OCC may yield shape(1) with healed tolerance or null */
3HEADER;
4FILE_DESCRIPTION(('Gs188'),'2;1');
5FILE_NAME('Gs188.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=DIRECTION('',(0.0,0.0,1.0));
12#3=AXIS1_PLACEMENT('gs188_axis',#1,#2);
13#4=CARTESIAN_POINT('',(0.002,0.0,0.0));
14#5=DIRECTION('',(0.0,1.0,0.0));
15#6=DIRECTION('',(1.0,0.0,0.0));
16#7=AXIS2_PLACEMENT_3D('',#4,#5,#6);
17#8=CIRCLE('gs188_profile',#7,0.002);
18#9=CARTESIAN_POINT('',(0.004,0.0,0.0));
19#10=CARTESIAN_POINT('',(0.004,0.0,0.0));
20#11=TRIMMED_CURVE('gs188_tc',#8,(PARAMETER_VALUE(0.)),(PARAMETER_VALUE(6.2831853072)),.T.,.PARAMETER.);
21#12=SURFACE_OF_REVOLUTION('gs188_sor',#11,#3);
22#13=VERTEX_POINT('',#9);
23#14=EDGE_CURVE('gs188_seam',#13,#13,#11,.T.);
24#15=ORIENTED_EDGE('',$,$,#14,.T.);
25#16=EDGE_LOOP('',(#15));
26#17=FACE_OUTER_BOUND('',#16,.T.);
27#18=ADVANCED_FACE('gs188_face',(#17),#12,.T.);
28#19=CLOSED_SHELL('gs188_shell',(#18));
29#20=MANIFOLD_SOLID_BREP('gs188_solid',#19);
30#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
31#9051=PRODUCT('Gs188','Gs188','',(#9050));
32#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
33#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
34#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
35#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
36#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
37#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
38#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
39#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
40#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
41#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#20),#9060);
42#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
43ENDSEC;
44END-ISO-10303-21;