Os019 — Middle-path computation between two wires fails

§12.8 (sub-class: middle path)

P1 — silent data loss

topology

Sources

Sender

deduced — OCCT uncovered-class sweep

Description

A medial-axis-style "middle path" between two boundary wires of a thin region cannot be computed because the wires diverge or the region is non-simply-connected. Bug-reporter language: "middle path fails", "centerline of strip can't be computed".

Reproducer recipe

Two diverging wires (a fan shape) whose envelope is not strip-like.

Expected kernel behavior

Reject with "non-strip region" diagnostic.

Notes

Synonyms: "centerline failure", "middle path fails", "centerline of strip can't be computed", "medial axis between wires fails".

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Os019: GEOMETRIC_CURVE_SET containing two open EDGE_LOOPs (fan shape); wire 1: horizontal from (0,0,0) to (10,0,0); wire 2: diverging from (0,0,0) to (10,5,0); wires diverge — region is not strip-like; BRepOffsetAPI_MiddlePath non-strip-region; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty; no orphaned entities */
3HEADER;
4FILE_DESCRIPTION(('Os019'),'2;1');
5FILE_NAME('Os019.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('',(10.0,0.0,0.0));
12#3=VERTEX_POINT('',#1);
13#4=VERTEX_POINT('',#2);
14#5=DIRECTION('',(1.0,0.0,0.0));
15#6=VECTOR('',#5,10.0);
16#7=LINE('',#1,#6);
17#8=EDGE_CURVE('wire1_edge',#3,#4,#7,.T.);
18#9=ORIENTED_EDGE('',*,*,#8,.T.);
19#10=EDGE_LOOP('wire1',(#9));
20#11=CARTESIAN_POINT('',(0.0,0.0,0.0));
21#12=CARTESIAN_POINT('',(10.0,5.0,0.0));
22#13=VERTEX_POINT('',#11);
23#14=VERTEX_POINT('',#12);
24#15=DIRECTION('',(0.894427191,0.4472135955,0.0));
25#16=VECTOR('',#15,11.1803398875);
26#17=LINE('',#11,#16);
27#18=EDGE_CURVE('wire2_edge',#13,#14,#17,.T.);
28#19=ORIENTED_EDGE('',*,*,#18,.T.);
29#20=EDGE_LOOP('wire2',(#19));
30#21=GEOMETRIC_CURVE_SET('',(#10,#20));
31#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
32#9051=PRODUCT('Os019','Os019','',(#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;