step-examples/12-8-mixed/Os010.stp
Sources
- OCCT BRepOffsetAPI_ThruSections.cxx (ProfilesInconsistent) (uncovered class evidence)
Sender
deduced — OCCT uncovered-class sweep
Description
Two loft profiles are both closed wires but with different edge counts (3 edges vs 5 edges). The "ruled" lofting algorithm needs a 1-to-1 correspondence between profiles' edges. Bug-reporter language: "loft profiles inconsistent", "loft edge count mismatch".
Reproducer recipe
Profile 1: a triangle (3 edges). Profile 2: a pentagon (5 edges). Both closed.
Expected kernel behavior
Resample profiles to a common edge count, or reject.
Notes
Synonyms: "loft can't pair edges", "loft profiles inconsistent", "loft edge count mismatch", "ThruSections profiles have different edge counts". **See also**: Os009.
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'EDGE_LOOP')count_entity_def(b'EDGE_CURVE') == 8
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/* Os010: GEOMETRIC_CURVE_SET containing two closed-wire loft profiles; profile 1: triangle with 3 EDGE_CURVE edges in EDGE_LOOP at z=0; profile 2: pentagon with 5 EDGE_CURVE edges in EDGE_LOOP at z=5; ruled ThruSections requires 1-to-1 edge pairing (ProfilesInconsistent); GEOMETRIC_CURVE_SET IS model entity â OCC yields empty; no orphaned entities */ 3HEADER; 4FILE_DESCRIPTION(('Os010'),'2;1'); 5FILE_NAME('Os010.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,5.0,0.0)); 11#2=CARTESIAN_POINT('',(-4.33012701892,-2.5,0.0)); 12#3=CARTESIAN_POINT('',(4.33012701892,-2.5,0.0)); 13#4=VERTEX_POINT('',#1); 14#5=VERTEX_POINT('',#2); 15#6=VERTEX_POINT('',#3); 16#7=DIRECTION('',(-0.5,-0.866025403784,0.0)); 17#8=VECTOR('',#7,8.66025403784); 18#9=LINE('',#1,#8); 19#10=EDGE_CURVE('tri_edge_0',#4,#5,#9,.T.); 20#11=DIRECTION('',(1.0,0.0,0.0)); 21#12=VECTOR('',#11,8.66025403784); 22#13=LINE('',#2,#12); 23#14=EDGE_CURVE('tri_edge_1',#5,#6,#13,.T.); 24#15=DIRECTION('',(-0.5,0.866025403784,0.0)); 25#16=VECTOR('',#15,8.66025403784); 26#17=LINE('',#3,#16); 27#18=EDGE_CURVE('tri_edge_2',#6,#4,#17,.T.); 28#19=ORIENTED_EDGE('',*,*,#10,.T.); 29#20=ORIENTED_EDGE('',*,*,#14,.T.); 30#21=ORIENTED_EDGE('',*,*,#18,.T.); 31#22=EDGE_LOOP('triangle_profile',(#19,#20,#21)); 32#23=CARTESIAN_POINT('',(0.0,5.0,5.0)); 33#24=CARTESIAN_POINT('',(-4.75528258148,1.54508497187,5.0)); 34#25=CARTESIAN_POINT('',(-2.93892626146,-4.04508497187,5.0)); 35#26=CARTESIAN_POINT('',(2.93892626146,-4.04508497187,5.0)); 36#27=CARTESIAN_POINT('',(4.75528258148,1.54508497187,5.0)); 37#28=VERTEX_POINT('',#23); 38#29=VERTEX_POINT('',#24); 39#30=VERTEX_POINT('',#25); 40#31=VERTEX_POINT('',#26); 41#32=VERTEX_POINT('',#27); 42#33=DIRECTION('',(-0.809016994375,-0.587785252292,0.0)); 43#34=VECTOR('',#33,5.87785252292); 44#35=LINE('',#23,#34); 45#36=EDGE_CURVE('pent_edge_0',#28,#29,#35,.T.); 46#37=DIRECTION('',(0.309016994375,-0.951056516295,0.0)); 47#38=VECTOR('',#37,5.87785252292); 48#39=LINE('',#24,#38); 49#40=EDGE_CURVE('pent_edge_1',#29,#30,#39,.T.); 50#41=DIRECTION('',(1.0,0.0,0.0)); 51#42=VECTOR('',#41,5.87785252292); 52#43=LINE('',#25,#42); 53#44=EDGE_CURVE('pent_edge_2',#30,#31,#43,.T.); 54#45=DIRECTION('',(0.309016994375,0.951056516295,0.0)); 55#46=VECTOR('',#45,5.87785252292); 56#47=LINE('',#26,#46); 57#48=EDGE_CURVE('pent_edge_3',#31,#32,#47,.T.); 58#49=DIRECTION('',(-0.809016994375,0.587785252292,0.0)); 59#50=VECTOR('',#49,5.87785252292); 60#51=LINE('',#27,#50); 61#52=EDGE_CURVE('pent_edge_4',#32,#28,#51,.T.); 62#53=ORIENTED_EDGE('',*,*,#36,.T.); 63#54=ORIENTED_EDGE('',*,*,#40,.T.); 64#55=ORIENTED_EDGE('',*,*,#44,.T.); 65#56=ORIENTED_EDGE('',*,*,#48,.T.); 66#57=ORIENTED_EDGE('',*,*,#52,.T.); 67#58=EDGE_LOOP('pentagon_profile',(#53,#54,#55,#56,#57)); 68#59=GEOMETRIC_CURVE_SET('',(#22,#58)); 69#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 70#9051=PRODUCT('Os010','Os010','',(#9050)); 71#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 72#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 73#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 74#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 75#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 76#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 77#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 78#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 79#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 80#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#59),#9060); 81#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 82ENDSEC; 83END-ISO-10303-21;