step-examples/12-8-mixed/Os011.stp
Sources
- OCCT BRepOffsetAPI_ThruSections.cxx:340, 357 (WrongUsage) (uncovered class evidence)
Sender
deduced — OCCT uncovered-class sweep
Description
ThruSections is invoked on input combinations the algorithm does not handle (e.g., one section is a single `VERTEX`, another is a wire; or sections are added after `Build()` was called). Bug-reporter language: "loft wrong usage", "loft section is a point".
Reproducer recipe
A loft pipeline that begins with a `VERTEX_POINT` profile and then a closed wire profile.
Expected kernel behavior
Detect at section-add time; reject or auto-promote vertex to a degenerate wire.
Notes
Synonyms: "point-to-wire loft", "loft wrong usage", "loft section is a point", "ThruSections used outside envelope", "loft from vertex to wire".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'VERTEX_POINT')contains(b'CIRCLE')
Tier-3 assertions
shape_null == True
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Os011: GEOMETRIC_CURVE_SET containing two loft profiles; profile 1: VERTEX_POINT at origin (point section â WrongUsage); profile 2: closed EDGE_LOOP with CIRCLE edge of radius 5 at z=5; ThruSections does not support point-to-wire loft; GEOMETRIC_CURVE_SET IS model entity â OCC yields empty; no orphaned entities */ 3HEADER; 4FILE_DESCRIPTION(('Os011'),'2;1'); 5FILE_NAME('Os011.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=VERTEX_POINT('',#1); 12#3=CARTESIAN_POINT('',(0.0,0.0,5.0)); 13#4=DIRECTION('',(0.0,0.0,1.0)); 14#5=DIRECTION('',(1.0,0.0,0.0)); 15#6=AXIS2_PLACEMENT_3D('',#3,#4,#5); 16#7=CIRCLE('',#6,5.0); 17#8=CARTESIAN_POINT('',(5.0,0.0,5.0)); 18#9=VERTEX_POINT('',#8); 19#10=EDGE_CURVE('circle_edge',#9,#9,#7,.T.); 20#11=ORIENTED_EDGE('',*,*,#10,.T.); 21#12=EDGE_LOOP('wire_profile',(#11)); 22#13=GEOMETRIC_CURVE_SET('',(#2,#12)); 23#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 24#9051=PRODUCT('Os011','Os011','',(#9050)); 25#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 26#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 27#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 28#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 29#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 30#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 31#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 32#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 33#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 34#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#13),#9060); 35#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 36ENDSEC; 37END-ISO-10303-21;