step-examples/12-3b-wires/Twi085.stp
Sources
- OCCT BRepLib_MakeEdge EdgeError.DifferentsPointAndParameter (uncovered class evidence)
Sender
deduced — OCCT uncovered-class sweep
Description
An edge's start vertex is at coordinates that, when projected onto the underlying curve, yield parameter `t1`. The edge's declared start parameter is `t0 ≠ t1`, and `curve(t0)` is significantly distant from the vertex point. The vertex and the parameter disagree about where the edge actually starts. Bug-reporter language: "vertex doesn't match edge parameter", "edge start parameter wrong".
Reproducer recipe
A `LINE` from (0,0,0) along (1,0,0). `EDGE_CURVE` with `edge_start = #V` at (5,0,0). The line's natural parameterization makes `t=5` the right value, but the edge declares `same_parameter` with a parameter range starting at `t=2`.
Expected kernel behavior
Reproject the vertex onto the curve to recover the correct parameter, or reject the edge.
Notes
Distinct from Twi082 (which is about same_range); this one is about a single boundary mismatch. Synonyms: "vertex coordinate doesn't match curve at declared parameter", "edge boundary parameter wrong for vertex", "edge start parameter inconsistent with start vertex", "vertex projects to different parameter than declared".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'vertex_at_t5')contains(b'(5.0,0.0,0.0)')contains(b'point_param_mismatch')
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/* Twi085: GEOMETRIC_CURVE_SET containing EDGE_LOOP 'point_param_mismatch'; LINE from (0,0,0) along (1,0,0); EDGE_CURVE edge_start = VERTEX_POINT 'vertex_at_t5' at (5,0,0); line natural parameterization: t=5 maps to (5,0,0) (vertex location); but edge declared parameter range starts at t=2 â curve(2)=(2,0,0) â (5,0,0); vertex coordinate and declared start parameter disagree by 3 units; BRepLib_MakeEdge DifferentsPointAndParameter triggered; GEOMETRIC_CURVE_SET IS model entity â OCC yields empty; EDGE_CURVE IS wired into EDGE_LOOP; never orphaned */ 3HEADER; 4FILE_DESCRIPTION(('Twi085'),'2;1'); 5FILE_NAME('Twi085.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('',(5.0,0.0,0.0)); 15#6=VERTEX_POINT('vertex_at_t5',#5); 16#7=CARTESIAN_POINT('',(8.0,0.0,0.0)); 17#8=VERTEX_POINT('',#7); 18#9=EDGE_CURVE('',#6,#8,#4,.T.); 19#10=ORIENTED_EDGE('',*,*,#9,.T.); 20#11=EDGE_LOOP('point_param_mismatch',(#10)); 21#12=GEOMETRIC_CURVE_SET('',(#11)); 22#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 23#9051=PRODUCT('Twi085','Twi085','',(#9050)); 24#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 25#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 26#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 27#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 28#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 29#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 30#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 31#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 32#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 33#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#12),#9060); 34#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 35ENDSEC; 36END-ISO-10303-21;