step-examples/12-8-mixed/Os008.stp
Sources
- OCCT BRepOffset_MakeOffset.cxx:880 (MixedConnectivity) (uncovered class evidence)
Sender
deduced — OCCT uncovered-class sweep
Description
Two faces meet along a shared edge that is C0 (a sharp crease) on part of its length and G1 (smooth) on the rest. Offset must produce different surface types for each subsection.
Reproducer recipe
Two B-spline faces sharing an edge whose tangent jump is zero on `t∈[0,0.5]` and non-zero on `t∈[0.5,1]`.
Expected kernel behavior
Split the edge at the regularity transition; offset each segment independently.
Notes
Synonyms: "C0/G1 split edge", "mixed connectivity offset", "edge partly smooth partly sharp", "offset can't decide regularity", "shared edge has tangent discontinuity".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(15) ifc=schema_n/a
Closure intent
sheet — the open shell is the intended final geometry; a solid-only kernel should cleanly refuse.
Tier-3 assertions
n_edges_total >= 4face[0].surface_type == "bspline"face[1].surface_type == "bspline"
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Os008: OPEN_SHELL with two B-spline ADVANCED_FACEs sharing an edge whose underlying B_SPLINE_CURVE_WITH_KNOTS has a knot of multiplicity=degree at the midpoint (t=0.5), creating C0/G1 mixed connectivity; offset must split at the discontinuity â BRepOffset_MakeOffset MixedConnectivity; OCC loads (heals); conservative kernels reject */ 3HEADER; 4FILE_DESCRIPTION(('Os008'),'2;1'); 5FILE_NAME('Os008.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('',(2.5,0.0,0.5)); 12#3=CARTESIAN_POINT('',(5.0,0.0,1.0)); 13#4=CARTESIAN_POINT('',(7.5,0.0,0.5)); 14#5=CARTESIAN_POINT('',(10.0,0.0,0.0)); 15#6=B_SPLINE_CURVE_WITH_KNOTS('shared_c0_edge',2,(#1,#2,#3,#4,#5),.UNSPECIFIED.,.F.,.F.,(3,2,3),(0.0,0.5,1.0),.UNSPECIFIED.); 16#7=VERTEX_POINT('',#1); 17#8=VERTEX_POINT('',#5); 18#9=EDGE_CURVE('shared_edge',#7,#8,#6,.T.); 19#10=CARTESIAN_POINT('',(0.0,0.0,0.0)); 20#11=CARTESIAN_POINT('',(10.0,0.0,0.0)); 21#12=CARTESIAN_POINT('',(0.0,5.0,0.0)); 22#13=CARTESIAN_POINT('',(10.0,5.0,0.0)); 23#14=B_SPLINE_SURFACE_WITH_KNOTS('bspline_surf_a',1,1,((#10,#12),(#11,#13)),.UNSPECIFIED.,.F.,.F.,.F.,(2,2),(2,2),(0.0,1.0),(0.0,1.0),.UNSPECIFIED.); 24#15=CARTESIAN_POINT('',(0.0,5.0,0.0)); 25#16=VERTEX_POINT('',#15); 26#17=CARTESIAN_POINT('',(10.0,5.0,0.0)); 27#18=VERTEX_POINT('',#17); 28#19=DIRECTION('',(0.0,1.0,0.0)); 29#20=VECTOR('',#19,5.0); 30#21=LINE('',#1,#20); 31#22=EDGE_CURVE('a_left',#7,#16,#21,.T.); 32#23=DIRECTION('',(1.0,0.0,0.0)); 33#24=VECTOR('',#23,10.0); 34#25=LINE('',#15,#24); 35#26=EDGE_CURVE('a_top',#16,#18,#25,.T.); 36#27=DIRECTION('',(0.0,1.0,0.0)); 37#28=VECTOR('',#27,5.0); 38#29=LINE('',#5,#28); 39#30=EDGE_CURVE('a_right',#8,#18,#29,.T.); 40#31=ORIENTED_EDGE('',$,$,#9,.T.); 41#32=ORIENTED_EDGE('',$,$,#30,.T.); 42#33=ORIENTED_EDGE('',$,$,#26,.F.); 43#34=ORIENTED_EDGE('',$,$,#22,.F.); 44#35=EDGE_LOOP('',(#31,#32,#33,#34)); 45#36=FACE_OUTER_BOUND('',#35,.T.); 46#37=ADVANCED_FACE('',(#36),#14,.T.); 47#38=CARTESIAN_POINT('',(0.0,0.0,0.0)); 48#39=CARTESIAN_POINT('',(10.0,0.0,0.0)); 49#40=CARTESIAN_POINT('',(0.0,-5.0,0.0)); 50#41=CARTESIAN_POINT('',(10.0,-5.0,0.0)); 51#42=B_SPLINE_SURFACE_WITH_KNOTS('bspline_surf_b',1,1,((#38,#40),(#39,#41)),.UNSPECIFIED.,.F.,.F.,.F.,(2,2),(2,2),(0.0,1.0),(0.0,1.0),.UNSPECIFIED.); 52#43=CARTESIAN_POINT('',(0.0,-5.0,0.0)); 53#44=VERTEX_POINT('',#43); 54#45=CARTESIAN_POINT('',(10.0,-5.0,0.0)); 55#46=VERTEX_POINT('',#45); 56#47=DIRECTION('',(0.0,-1.0,0.0)); 57#48=VECTOR('',#47,5.0); 58#49=LINE('',#1,#48); 59#50=EDGE_CURVE('b_left',#7,#44,#49,.T.); 60#51=DIRECTION('',(1.0,0.0,0.0)); 61#52=VECTOR('',#51,10.0); 62#53=LINE('',#43,#52); 63#54=EDGE_CURVE('b_bot',#44,#46,#53,.T.); 64#55=DIRECTION('',(0.0,-1.0,0.0)); 65#56=VECTOR('',#55,5.0); 66#57=LINE('',#5,#56); 67#58=EDGE_CURVE('b_right',#8,#46,#57,.T.); 68#59=ORIENTED_EDGE('',$,$,#9,.F.); 69#60=ORIENTED_EDGE('',$,$,#50,.T.); 70#61=ORIENTED_EDGE('',$,$,#54,.T.); 71#62=ORIENTED_EDGE('',$,$,#58,.F.); 72#63=EDGE_LOOP('',(#59,#60,#61,#62)); 73#64=FACE_OUTER_BOUND('',#63,.T.); 74#65=ADVANCED_FACE('',(#64),#42,.T.); 75#66=OPEN_SHELL('os008_mixed_c0g1',(#37,#65)); 76#67=SHELL_BASED_SURFACE_MODEL('os008_sbsm',(#66)); 77#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 78#9051=PRODUCT('Os008','Os008','',(#9050)); 79#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 80#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 81#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 82#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 83#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 84#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 85#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 86#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 87#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 88#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#67),#9060); 89#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 90ENDSEC; 91END-ISO-10303-21;