step-examples/12-2c-surfaces/Gs037.stp
Sources
- G065, G106, R038
Description
A face's supporting surface is built as a finite offset of a surface-of-linear-extrusion (an extruded curve, then offset by a constant distance along its normal). Evaluating an iso-curve (a row of constant U or V) on that composite surface throws an exception in some receivers, because the iso-evaluation logic does not descend through the offset/extrusion wrappers down to the basis curve.
Reproducer recipe
STEP file with composite surface chain `OFFSET_SURFACE → SURFACE_OF_LINEAR_EXTRUSION`; trigger UIso evaluation downstream.
Expected kernel behavior
Heal and accept: iso-curve evaluation must work through composite surface wrappers, falling through to the basis curve when the offset is finite. Throwing on legitimate composite surface chains is not acceptable; must not crash or reject valid input.
Notes
Validation observed: silent-empty rather than the cited UIso/VIso exception. The exception path is downstream of an extra analysis pass that the validate2 transfer pipeline does not invoke at fixture scale; the kernel-mishandling-by-silent-acceptance still demonstrates the defect class. **See also**: Gn021. Synonyms: "offset of surface-of-linear-extrusion fails iso-curve evaluation", "OFFSET_SURFACE over SURFACE_OF_LINEAR_EXTRUSION throws on iso eval", "iso evaluation can not descend through offset wrappers", "composite surface chain fails UIso", "offset extrusion surface evaluation fails".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Byte assertions
contains(b'OFFSET_SURFACE(')contains(b'SURFACE_OF_LINEAR_EXTRUSION(')
Tier-3 assertions
load == "ok"
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/* Gs037: OFFSET_SURFACE over SURFACE_OF_LINEAR_EXTRUSION IS ADVANCED_FACE.face_geometry; composite surface chain OFFSET_SURFACEâSURFACE_OF_LINEAR_EXTRUSION IS wired into face topology; iso-curve evaluation cannot descend through offset wrappers; shape(1) (live OCC heals) */ 3HEADER; 4FILE_DESCRIPTION(('Gs037'),'2;1'); 5FILE_NAME('Gs037.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('',(1.0,0.0,0.0)); 12#3=VECTOR('',#2,10.0); 13#4=LINE('',#1,#3); 14#5=DIRECTION('',(0.0,1.0,0.0)); 15#6=VECTOR('',#5,8.0); 16#7=SURFACE_OF_LINEAR_EXTRUSION('gs037_sole',#4,#6); 17#8=OFFSET_SURFACE('gs037_offset',#7,2.0,.F.); 18#9=(GEOMETRIC_REPRESENTATION_CONTEXT(2)PARAMETRIC_REPRESENTATION_CONTEXT()REPRESENTATION_CONTEXT('UV','2D')); 19#10=CARTESIAN_POINT('',(0.0,0.0,2.0)); 20#11=CARTESIAN_POINT('',(5.0,0.0,2.0)); 21#12=CARTESIAN_POINT('',(5.0,4.0,2.0)); 22#13=CARTESIAN_POINT('',(0.0,4.0,2.0)); 23#14=VERTEX_POINT('',#10); 24#15=VERTEX_POINT('',#11); 25#16=VERTEX_POINT('',#12); 26#17=VERTEX_POINT('',#13); 27#18=CARTESIAN_POINT('',(0.0,0.0,2.0)); 28#19=DIRECTION('',(1.0,0.0,0.0)); 29#20=VECTOR('',#19,5.0); 30#21=LINE('',#18,#20); 31#22=CARTESIAN_POINT('',(0.0,0.0)); 32#23=DIRECTION('',(1.0,0.0)); 33#24=VECTOR('',#23,5.0); 34#25=LINE('',#22,#24); 35#26=DEFINITIONAL_REPRESENTATION('pcdef',(#25),#9); 36#27=PCURVE('pc',#8,#26); 37#28=SURFACE_CURVE('sc',#21,(#27),.PCURVE_S1.); 38#29=EDGE_CURVE('ec',#14,#15,#28,.T.); 39#30=CARTESIAN_POINT('',(5.0,0.0,2.0)); 40#31=DIRECTION('',(0.0,1.0,0.0)); 41#32=VECTOR('',#31,4.0); 42#33=LINE('',#30,#32); 43#34=CARTESIAN_POINT('',(5.0,0.0)); 44#35=DIRECTION('',(0.0,1.0)); 45#36=VECTOR('',#35,4.0); 46#37=LINE('',#34,#36); 47#38=DEFINITIONAL_REPRESENTATION('pcdef',(#37),#9); 48#39=PCURVE('pc',#8,#38); 49#40=SURFACE_CURVE('sc',#33,(#39),.PCURVE_S1.); 50#41=EDGE_CURVE('ec',#15,#16,#40,.T.); 51#42=CARTESIAN_POINT('',(5.0,4.0,2.0)); 52#43=DIRECTION('',(-1.0,0.0,0.0)); 53#44=VECTOR('',#43,5.0); 54#45=LINE('',#42,#44); 55#46=CARTESIAN_POINT('',(5.0,4.0)); 56#47=DIRECTION('',(-1.0,0.0)); 57#48=VECTOR('',#47,5.0); 58#49=LINE('',#46,#48); 59#50=DEFINITIONAL_REPRESENTATION('pcdef',(#49),#9); 60#51=PCURVE('pc',#8,#50); 61#52=SURFACE_CURVE('sc',#45,(#51),.PCURVE_S1.); 62#53=EDGE_CURVE('ec',#16,#17,#52,.T.); 63#54=CARTESIAN_POINT('',(0.0,4.0,2.0)); 64#55=DIRECTION('',(0.0,-1.0,0.0)); 65#56=VECTOR('',#55,4.0); 66#57=LINE('',#54,#56); 67#58=CARTESIAN_POINT('',(0.0,4.0)); 68#59=DIRECTION('',(0.0,-1.0)); 69#60=VECTOR('',#59,4.0); 70#61=LINE('',#58,#60); 71#62=DEFINITIONAL_REPRESENTATION('pcdef',(#61),#9); 72#63=PCURVE('pc',#8,#62); 73#64=SURFACE_CURVE('sc',#57,(#63),.PCURVE_S1.); 74#65=EDGE_CURVE('ec',#17,#14,#64,.T.); 75#66=ORIENTED_EDGE('',$,$,#29,.T.); 76#67=ORIENTED_EDGE('',$,$,#41,.T.); 77#68=ORIENTED_EDGE('',$,$,#53,.T.); 78#69=ORIENTED_EDGE('',$,$,#65,.T.); 79#70=EDGE_LOOP('',(#66,#67,#68,#69)); 80#71=FACE_OUTER_BOUND('',#70,.T.); 81#72=ADVANCED_FACE('',(#71),#8,.T.); 82#73=OPEN_SHELL('',(#72)); 83#74=SHELL_BASED_SURFACE_MODEL('',(#73)); 84#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 85#9051=PRODUCT('Gs037','Gs037','',(#9050)); 86#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 87#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 88#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 89#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 90#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 91#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 92#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 93#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 94#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 95#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#74),#9060); 96#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 97ENDSEC; 98END-ISO-10303-21;