step-examples/12-2c-surfaces/Gs039.stp
Sources
- M024, I023, I024, I027, I066
Sender
cadquery hemisphere+cylindrical-cut, helix sweep build123d, Workplane revolve+offset
Description
Specific feature kinds that exist in source CAD vanish after STEP export — typically because writer's BRep decomposition fails on multi-blend intersections, helical sweeps, or variable-radius blends and silently emits an incomplete shell (zero-volume, missing faces, or only end caps surviving). Common signature: a `SHELL_BASED_SURFACE_MODEL` carries only one face — a `SPHERICAL_SURFACE` cap whose `FACE_OUTER_BOUND` is a degenerate `VERTEX_LOOP` at a single equator vertex (one point covers the whole sphere) — with the side walls and other caps missing.
Reproducer recipe
Round-trip a model containing variable-radius blend or helix-on-circle sweep through a STEP writer that doesn't support full G2 NURBS reconstruction of the blend.
Expected kernel behavior
accept what is present; rely on validation properties (volume, area, centroid checksums) to detect loss; never silently emit zero-volume body.
Notes
**See also**: Tsh004, Tsh006. **OCC behavior**: silently imports the cap-only shell as a zero-volume body without surfacing a checksum-mismatch diagnostic; kernel mishandling; the catalog above forbids silent zero-volume acceptance. Synonyms: "helical sweep silently emitted as incomplete shell", "variable-radius blend missing from STEP", "cap-only face on SPHERICAL_SURFACE with VERTEX_LOOP", "writer drops side walls of helix sweep", "feature kind vanishes after STEP export".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(6) ifc=schema_n/a
Closure intent
ambiguous — the open shell is an incidental scaffold for a non-closure-related test.
Byte assertions
contains(b'SPHERICAL_SURFACE(')contains(b'VERTEX_LOOP(')contains(b'OPEN_SHELL(')
Tier-3 assertions
load == "ok"face[0].surface_type == "sphere"face[0].quadric.radius == 5.0edge[0].curve_type == "circle"edge[0].analytic.radius == 5.0edge[2].curve_type == "circle"edge[2].analytic.radius == 5.0
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/* Gs039: SPHERICAL_SURFACE IS ADVANCED_FACE.face_geometry; VERTEX_LOOP (single degenerate equator point) IS FACE_OUTER_BOUND; cap-only OPEN_SHELL with zero volume; degenerate VERTEX_LOOP IS wired into face topology; shape(1) (live OCC heals) */ 3HEADER; 4FILE_DESCRIPTION(('Gs039'),'2;1'); 5FILE_NAME('Gs039.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=DIRECTION('',(1.0,0.0,0.0)); 13#4=AXIS2_PLACEMENT_3D('gs039_ax',#1,#2,#3); 14#5=SPHERICAL_SURFACE('gs039_sphere',#4,5.0); 15#6=CARTESIAN_POINT('',(5.0,0.0,0.0)); 16#7=VERTEX_POINT('',#6); 17#8=VERTEX_LOOP('gs039_vloop',#7); 18#9=FACE_OUTER_BOUND('',#8,.T.); 19#10=ADVANCED_FACE('gs039_cap',(#9),#5,.T.); 20#11=OPEN_SHELL('gs039_shell',(#10)); 21#12=SHELL_BASED_SURFACE_MODEL('gs039_sbsm',(#11)); 22#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 23#9051=PRODUCT('Gs039','Gs039','',(#9050)); 24#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 25#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 26#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 27#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 28#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 29#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 30#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 31#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 32#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 33#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#12),#9060); 34#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 35ENDSEC; 36END-ISO-10303-21;