step-examples/12-8-mixed/Os003.stp
Sources
- OCCT BRepOffset_Status.Reversed (uncovered class evidence)
Sender
deduced — OCCT uncovered-class sweep
Description
A cylindrical face of radius R is offset inward by R + δ (δ > 0). The offset surface is on the opposite side of the axis from the original; the face has been turned inside out.
Reproducer recipe
A cylinder of radius 5 mm. Request inward offset of 6 mm.
Expected kernel behavior
Reject as physically impossible, or accept and tag as reversed for the consumer to handle.
Notes
Synonyms: "negative offset", "flipped offset face", "offset reversed", "offset inside-out", "offset distance greater than radius". **See also**: Os002.
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'CYLINDRICAL_SURFACE')matches(rb'CYLINDRICAL_SURFACE\(\'cyl_r5\',#13,5\.0\)')
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/* Os003: GEOMETRIC_CURVE_SET containing ADVANCED_FACE; face references an OFFSET_SURFACE wrapping CYLINDRICAL_SURFACE('cyl_r5',#13,5.0); offset distance=-6.0 (inward by more than radius) inverts surface (inside-out); BRepOffset_Status.Reversed â result is physically impossible reversed face; GEOMETRIC_CURVE_SET IS model entity â OCC yields empty; no orphaned entities */ 3HEADER; 4FILE_DESCRIPTION(('Os003'),'2;1'); 5FILE_NAME('Os003.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=CARTESIAN_POINT('',(0.0,0.0,0.0)); 12#3=CARTESIAN_POINT('',(0.0,0.0,0.0)); 13#4=CARTESIAN_POINT('',(0.0,0.0,0.0)); 14#5=CARTESIAN_POINT('',(0.0,0.0,0.0)); 15#6=CARTESIAN_POINT('',(0.0,0.0,0.0)); 16#7=CARTESIAN_POINT('',(0.0,0.0,0.0)); 17#8=CARTESIAN_POINT('',(0.0,0.0,0.0)); 18#9=CARTESIAN_POINT('',(0.0,0.0,0.0)); 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=CYLINDRICAL_SURFACE('cyl_r5',#13,5.0); 24#15=OFFSET_SURFACE('',#14,-6.0,.F.); 25#16=CARTESIAN_POINT('',(0.0,0.0,0.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,5.0); 30#21=CARTESIAN_POINT('',(5.0,0.0,0.0)); 31#22=VERTEX_POINT('',#21); 32#23=EDGE_CURVE('bot_seam',#22,#22,#20,.T.); 33#24=ORIENTED_EDGE('',*,*,#23,.T.); 34#25=EDGE_LOOP('',(#24)); 35#26=FACE_OUTER_BOUND('',#25,.T.); 36#27=ADVANCED_FACE('inverted_offset_face',(#26),#15,.T.); 37#28=GEOMETRIC_CURVE_SET('',(#27)); 38#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 39#9051=PRODUCT('Os003','Os003','',(#9050)); 40#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 41#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 42#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 43#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 44#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 45#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 46#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 47#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 48#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 49#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#28),#9060); 50#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 51ENDSEC; 52END-ISO-10303-21;