step-examples/12-8-mixed/Os009.stp
Sources
- OCCT BRepOffsetAPI_ThruSections.cxx (NotSameTopology) (uncovered class evidence)
Sender
deduced — OCCT uncovered-class sweep
Description
A loft (ThruSections) is requested between two profiles: profile 1 is a closed wire (a circle), profile 2 is an open wire (an arc). The loft algorithm needs both endpoints free or both joined; mixing them is unsupported.
Reproducer recipe
Two `WIRE` entities (one a `CIRCLE`-edge wire, closed; one a single-`LINE`-edge wire, open) submitted as ThruSections profiles.
Expected kernel behavior
Reject with topology-mismatch diagnostic, or close the open profile by adding endpoints.
Notes
Synonyms: "loft topology mismatch", "open and closed loft profile", "ThruSections mixed open/closed wires", "loft profile boundary inconsistent". **See also**: Os010.
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'CIRCLE')contains(b'LINE')
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/* Os009: GEOMETRIC_CURVE_SET containing two loft profiles; profile 1: closed WIRE â single CIRCLE edge (v_seam to v_seam); profile 2: open WIRE â single LINE edge (v0 to v1) at z=5; mixing closed and open profiles breaks ThruSections topology; GEOMETRIC_CURVE_SET IS model entity â OCC yields empty; no orphaned entities */ 3HEADER; 4FILE_DESCRIPTION(('Os009'),'2;1'); 5FILE_NAME('Os009.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=CIRCLE('',#4,5.0); 15#6=CARTESIAN_POINT('',(5.0,0.0,0.0)); 16#7=VERTEX_POINT('',#6); 17#8=EDGE_CURVE('circle_edge',#7,#7,#5,.T.); 18#9=ORIENTED_EDGE('',*,*,#8,.T.); 19#10=EDGE_LOOP('closed_profile',(#9)); 20#11=CARTESIAN_POINT('',(-5.0,0.0,5.0)); 21#12=CARTESIAN_POINT('',(5.0,0.0,5.0)); 22#13=VERTEX_POINT('',#11); 23#14=VERTEX_POINT('',#12); 24#15=DIRECTION('',(1.0,0.0,0.0)); 25#16=VECTOR('',#15,10.0); 26#17=LINE('',#11,#16); 27#18=EDGE_CURVE('open_edge',#13,#14,#17,.T.); 28#19=ORIENTED_EDGE('',*,*,#18,.T.); 29#20=EDGE_LOOP('open_profile',(#19)); 30#21=GEOMETRIC_CURVE_SET('',(#10,#20)); 31#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 32#9051=PRODUCT('Os009','Os009','',(#9050)); 33#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 34#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 35#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 36#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 37#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 38#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 39#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 40#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 41#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 42#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#21),#9060); 43#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 44ENDSEC; 45END-ISO-10303-21;