step-examples/12-2c-surfaces/Gs210.stp
Sources
- ISO 10303-42 `conical_surface` `WR1: radius >= 0.0`, read from the AP242 MIM LF EXPRESS schema (stepcode `data/ap242/242_mim_lf.exp`). Spec-driven — fifth fixture of the WHERE-rule-mining vein (siblings Gs206–209).
Description
A cone's reference (base) radius must be non-negative (WR1). Here the face's `face_geometry` is `CONICAL_SURFACE('',#plc,-1.0,0.4)` — a strictly **negative** radius, violating WR1. OCCT accepts the file (`part21_strict` accepts — a negative real is valid syntax; the structural linter is silent — this is a value constraint) but the negative-radius cone's face collapses: the `ADVANCED_FACE` is silently dropped, so OCCT returns a shell with **zero faces** (`shape(1)` whose only sub-shape is an empty shell), and gmsh returns nothing — a cross-oracle divergence on the same bytes.
Reproducer recipe
an `ADVANCED_FACE` whose `face_geometry` is a `CONICAL_SURFACE` with a negative reference `radius`, on an otherwise-valid cone shell.
Expected kernel behavior
reject a `CONICAL_SURFACE` whose `radius` is negative per WR1; never silently drop the face built on a negative-radius cone.
Notes
RUNTIME-VERIFIED (2026-08-14, OCP/OCCT 7.8.1): `occt=shape(1)/shape(1)` but the returned shell carries **0 faces** — the negative-radius cone's face is silently lost — while gmsh returns `empty`. part21 accepts, structural ok, so this is unrefusable pre-transfer. Distinct from Gs036 (zero-magnitude / all-zero DIRECTION / colinear axes — a direction/vector/placement degeneracy, not a surface radius sign), from Gs206 (negative VECTOR *magnitude*, which loads a full shape), and from Gs209 (zero-width `RECTANGULAR_TRIMMED_SURFACE`). Synonyms: "negative cone radius", "CONICAL_SURFACE radius below zero", "conical_surface WR1 violation", "negative-radius cone drops face". Provenance tier: bytes-sufficient.
Expected validation
occt=shape(1)/shape(1) gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'CONICAL_SURFACE')matches(rb"CONICAL_SURFACE\('',#\d+,-")
Tier-3 assertions
shape_null == False
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/* Gs210: the ADVANCED_FACE's face_geometry is a CONICAL_SURFACE with a strictly NEGATIVE reference radius (CONICAL_SURFACE('',#plc,-1.0,0.4)), violating ISO 10303-42 conical_surface WR1 (radius >= 0.0); OCCT accepts the file (part21 accepts, structural silent â a value constraint) but the negative-radius cone's face collapses: it is silently dropped and OCCT returns a shell with ZERO faces while gmsh returns nothing (cross-oracle divergence); distinct from Gs036 (direction/vector/axis degeneracy, not surface radius) and Gs206 (negative VECTOR magnitude, which loads a full shape); spec-driven, mined from the AP242 MIM conical_surface WHERE-rule; expected strict behavior: reject a cone whose radius is negative per WR1; synonyms: negative cone radius, CONICAL_SURFACE radius below zero, conical_surface WR1 violation, negative-radius cone drops face; the negative-radius CONICAL_SURFACE is the defect carrier */ 3HEADER; 4FILE_DESCRIPTION(('Gs210'),'2;1'); 5FILE_NAME('Gs210.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('',#1,#2,#3); 14#5=CONICAL_SURFACE('',#4,-1.0,0.4); 15#6=CARTESIAN_POINT('',(1.0,0.0,0.0)); 16#7=CARTESIAN_POINT('',(0.577206781262,0.0,1.0)); 17#8=VERTEX_POINT('',#6); 18#9=VERTEX_POINT('',#7); 19#10=CARTESIAN_POINT('',(0.0,0.0,0.0)); 20#11=DIRECTION('',(0.0,0.0,-1.0)); 21#12=DIRECTION('',(1.0,0.0,0.0)); 22#13=AXIS2_PLACEMENT_3D('',#10,#11,#12); 23#14=CIRCLE('',#13,1.0); 24#15=EDGE_CURVE('',#8,#8,#14,.T.); 25#16=CARTESIAN_POINT('',(0.0,0.0,1.0)); 26#17=DIRECTION('',(0.0,0.0,1.0)); 27#18=DIRECTION('',(1.0,0.0,0.0)); 28#19=AXIS2_PLACEMENT_3D('',#16,#17,#18); 29#20=CIRCLE('',#19,0.577206781262); 30#21=EDGE_CURVE('',#9,#9,#20,.T.); 31#22=DIRECTION('',(-0.389418342309,0.0,0.921060994003)); 32#23=VECTOR('',#22,1.08570442838); 33#24=LINE('',#6,#23); 34#25=EDGE_CURVE('',#8,#9,#24,.T.); 35#26=ORIENTED_EDGE('',$,$,#25,.T.); 36#27=ORIENTED_EDGE('',$,$,#21,.T.); 37#28=ORIENTED_EDGE('',$,$,#25,.F.); 38#29=ORIENTED_EDGE('',$,$,#15,.F.); 39#30=EDGE_LOOP('',(#26,#27,#28,#29)); 40#31=FACE_OUTER_BOUND('',#30,.T.); 41#32=ADVANCED_FACE('',(#31),#5,.T.); 42#33=CLOSED_SHELL('',(#32)); 43#34=MANIFOLD_SOLID_BREP('',#33); 44#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 45#9051=PRODUCT('Gs210','Gs210','',(#9050)); 46#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 47#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 48#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 49#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 50#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 51#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 52#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 53#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 54#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 55#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#34),#9060); 56#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 57ENDSEC; 58END-ISO-10303-21;