Twi060 — Vertex 3D point and edge pcurve endpoint disagree beyond tolerance

§12.3b wires / loops / edges (sub-class: vertex-pcurve matching)

P1 — silent data loss

topology

Sources

Description

As Twi059 but the disagreement is between the 3D vertex and the pcurve evaluated through the host surface. Both representations claim the same endpoint; in fact they don't agree. Common when senders regenerate one representation independently of the other.

Reproducer recipe

As Twi048 but additionally the host surface evaluation of the pcurve at parameter t=0 differs from the vertex by 5e-3.

Expected kernel behavior

report which representation (3D curve, pcurve, or both) disagrees with the vertex; inflate tolerance, reproject the pcurve, or reject. Kernels with both representations available can cross-check.

Notes

Pcurve-counterpart of Twi059. Synonyms: "vertex disagrees with parametric curve endpoint", "lifted pcurve doesn't land at vertex", "parametric trace endpoint off from vertex", "vertex doesn't match where parametric curve ends".

Expected validation

occt=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a

Closure intent

sheet — the open shell is the intended final geometry; a solid-only kernel should cleanly refuse.

Byte assertions

Tier-3 assertions

Cross-references

Twi059

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Twi060: ADVANCED_FACE on a PLANE (10x10 square); the right edge uses a SURFACE_CURVE with a 3D LINE plus a PCURVE in UV; the PCURVE evaluates (via the PLANE surface) to (10.0, 10.0, 0.0) at t=1 — but the declared end VERTEX_POINT is at (10.005, 10.0, 0.0); the pcurve-endpoint vs 3D-vertex disagreement of 0.005 exceeds declared tolerance 1e-6; CheckVerticesWithPCurve reports the mismatch; pcurve-counterpart of Twi059: pcurve is correct, vertex is the outlier; the vertex/pcurve-endpoint disagreement IS the mechanism; all EDGE_CURVEs ARE wired into EDGE_LOOP → FACE_OUTER_BOUND → ADVANCED_FACE in CLOSED_SHELL — never orphaned */
3HEADER;
4FILE_DESCRIPTION(('Twi060'),'2;1');
5FILE_NAME('Twi060.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=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-06),#*,'distance_accuracy_value','');
11#2=CARTESIAN_POINT('',(0.0,0.0,0.0));
12#3=DIRECTION('',(0.0,0.0,1.0));
13#4=DIRECTION('',(1.0,0.0,0.0));
14#5=AXIS2_PLACEMENT_3D('',#2,#3,#4);
15#6=PLANE('',#5);
16#7=CARTESIAN_POINT('',(0.0,0.0,0.0));
17#8=VERTEX_POINT('',#7);
18#9=CARTESIAN_POINT('',(10.0,0.0,0.0));
19#10=VERTEX_POINT('',#9);
20#11=CARTESIAN_POINT('',(10.005,10.0,0.0));
21#12=VERTEX_POINT('',#11);
22#13=CARTESIAN_POINT('',(0.0,10.0,0.0));
23#14=VERTEX_POINT('',#13);
24#15=CARTESIAN_POINT('',(0.0,0.0,0.0));
25#16=DIRECTION('',(1.0,0.0,0.0));
26#17=VECTOR('',#16,10.0);
27#18=LINE('',#15,#17);
28#19=EDGE_CURVE('',#8,#10,#18,.T.);
29#20=ORIENTED_EDGE('',$,$,#19,.T.);
30#21=CARTESIAN_POINT('',(10.0,0.0,0.0));
31#22=DIRECTION('',(0.0,1.0,0.0));
32#23=VECTOR('',#22,10.0);
33#24=LINE('',#21,#23);
34#25=CARTESIAN_POINT('',(10.0,0.0));
35#26=DIRECTION('',(0.0,1.0));
36#27=VECTOR('',#26,10.0);
37#28=LINE('',#25,#27);
38#29=DEFINITIONAL_REPRESENTATION('',(#28),#*);
39#30=PCURVE('',#6,#29);
40#31=SURFACE_CURVE('',#24,(#30),.PCURVE_S1.);
41#32=EDGE_CURVE('',#10,#12,#31,.T.);
42#33=ORIENTED_EDGE('',*,*,#32,.T.);
43#34=CARTESIAN_POINT('',(10.005,10.0,0.0));
44#35=DIRECTION('',(-1.0,0.0,0.0));
45#36=VECTOR('',#35,10.005);
46#37=LINE('',#34,#36);
47#38=EDGE_CURVE('',#12,#14,#37,.T.);
48#39=ORIENTED_EDGE('',$,$,#38,.T.);
49#40=CARTESIAN_POINT('',(0.0,10.0,0.0));
50#41=DIRECTION('',(0.0,-1.0,0.0));
51#42=VECTOR('',#41,10.0);
52#43=LINE('',#40,#42);
53#44=EDGE_CURVE('',#14,#8,#43,.T.);
54#45=ORIENTED_EDGE('',$,$,#44,.T.);
55#46=EDGE_LOOP('',(#20,#33,#39,#45));
56#47=FACE_OUTER_BOUND('',#46,.T.);
57#48=ADVANCED_FACE('',(#47),#6,.T.);
58#49=CLOSED_SHELL('',(#48));
59#50=SHELL_BASED_SURFACE_MODEL('',(#49));
60#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
61#9051=PRODUCT('Twi060','Twi060','',(#9050));
62#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
63#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
64#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
65#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
66#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
67#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
68#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
69#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.000000E-06),#9056,'distance_accuracy_value','');
70#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
71#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#50),#9060);
72#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
73ENDSEC;
74END-ISO-10303-21;