step-examples/12-8-mixed/Os022.stp
Sources
- OCCT BRepOffsetAPI_FindContigousEdges (uncovered class evidence)
Sender
deduced — OCCT uncovered-class sweep
Description
A "find-contiguous-edges" pass identifies free edges that *would* match across faces, but the pairs have different parameter lengths even though their 3D extents are similar. Typical fixture: two LINE entities from the same origin — one with a unit-magnitude VECTOR along a unit DIRECTION, the other with a unit-magnitude VECTOR along a non-unit DIRECTION (e.g., (0.5,0,0)) — covering the same 3D extent but with different parameter lengths. Bug-reporter language: "contiguous edges mismatched length", "free edge pair length differ", "non-unit DIRECTION breaks parameterization".
Reproducer recipe
Two LINE/VECTOR pairs both running between the same two 3D points, one along a unit DIRECTION and one along a non-unit DIRECTION — so parameterized lengths differ even though 3D extents match.
Expected kernel behavior
Reparameterize the shorter edge; emit a warning.
Notes
Synonyms: "free edge pair length mismatch", "sewn edge pair parameter length differs", "non-unit DIRECTION on edge pair", "FindContigousEdges mismatch".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(2) ifc=schema_n/a
Byte assertions
count_entity_def(b'LINE') == 2
Tier-3 assertions
shape_null == Falsen_edges_total == 2
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Os022: GEOMETRIC_CURVE_SET containing exactly 2 LINE entities; LINE 1: VECTOR(DIRECTION(1,0,0), 10.0) â unit direction, param length=10; LINE 2: VECTOR(DIRECTION(0.5,0,0), 20.0) â non-unit direction, same 3D extent but param length=20 (magnitude*||dir||^-1 = 20/0.5 = 40 or 20 depending on convention); FindContigousEdges detects free-edge pair with mismatched param lengths; GEOMETRIC_CURVE_SET IS model entity â OCC yields empty; no orphaned entities */ 3HEADER; 4FILE_DESCRIPTION(('Os022'),'2;1'); 5FILE_NAME('Os022.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('',(1.0,0.0,0.0)); 12#3=VECTOR('',#2,10.0); 13#4=LINE('',#1,#3); 14#5=CARTESIAN_POINT('',(0.0,0.0,0.0)); 15#6=DIRECTION('',(0.5,0.0,0.0)); 16#7=VECTOR('',#6,20.0); 17#8=LINE('',#5,#7); 18#9=GEOMETRIC_CURVE_SET('',(#4,#8)); 19#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 20#9051=PRODUCT('Os022','Os022','',(#9050)); 21#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 22#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 23#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 24#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 25#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 26#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 27#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 28#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 29#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 30#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#9),#9060); 31#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 32ENDSEC; 33END-ISO-10303-21;