Twi300 — Edge trimmed onto an unbounded LINE by a vertex enormously far along the line's own direction

§12.3b wire-loop (sub-class: `stp-makeedge-validity-fallback`, PARTIAL, missing subvariant "a projected point has an infinite curve parameter")

P3 — cosmetic / metadata-only

topology

Sources

Description

STEP's `LINE` entity is unbounded by definition; OCCT represents an untrimmed `LINE`'s natural parameter domain using its own "infinite" sentinel (`Precision::Infinite()`, `1e100`) rather than a genuine finite range. When `BRepLib_MakeEdge` projects a vertex onto such a curve and the vertex sits far enough from the "intended" local segment, the computed/fallback parameter is effectively unbounded relative to the model's normal scale — a distinct classification from Gs029's "trim parameter out of the curve's own declared (finite, merely wrong) range".

Reproducer recipe

Triangular `ADVANCED_FACE` on a `PLANE` with vertices `(0,0,0)`, `far_along_unbounded_line_vertex(1e8,0,0)`, `(0,1,0)`; the edge from `(0,0,0)` to the far vertex sits on a `LINE` through the origin along `+X`, trimmed by a vertex `1e8` units out — one hundred million times the face's other ~1-unit edges.

Expected kernel behavior

force-build the edge from curve/vertices/parameters despite the effectively-infinite trim parameter, rather than aborting the edge's translation.

Notes

**See also**: Twi299, Gs029. Live-verified (this worktree, OCP/OCCT 7.8.1): reads to completion without aborting, `occt=shape(1)/shape(1)`, `brepcheck.valid=True`; the far edge's length reads back as exactly `1e8`, confirming the enormous parameter was successfully absorbed into a genuine (if extreme-aspect-ratio) edge rather than causing the read to abort or the edge to be dropped. Synonyms: "unbounded line trimmed far from origin", "vertex enormously far along line direction", "infinite curve parameter", "extreme aspect ratio edge from unbounded curve", "MakeEdge infinite parameter fallback". Provenance tier: bytes-sufficient.

Expected validation

occt=shape(1)/shape(1) gmsh=shape(7) 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

Twi299, Gs029

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Twi300: OPEN_SHELL with one ADVANCED_FACE on a PLANE (z=0, normal +Z); FACE_OUTER_BOUND references a 3-edge triangular EDGE_LOOP: e_far (v0(0,0,0) -> far_along_unbounded_line_vertex(1e8,0,0), a LINE along +X through the origin -- unbounded by STEP's own LINE semantics, trimmed by a vertex 1e8 units out, effectively an infinite curve parameter relative to the face's normal ~1-unit scale), e_diag (far_along_unbounded_line_vertex -> v2(0,1,0)), e_close (v2 -> v0); the enormous trim distance on e_far IS the mechanism (DecodeMakeEdgeError / MakeFromCurve3D fallback force-build, infinite-parameter classification); EDGE_LOOP IS wired into FACE_OUTER_BOUND, ADVANCED_FACE, OPEN_SHELL; never orphaned */
3HEADER;
4FILE_DESCRIPTION(('Twi300'),'2;1');
5FILE_NAME('Twi300.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('',(0.0,0.0,1.0));
12#3=DIRECTION('',(1.0,0.0,0.0));
13#4=AXIS2_PLACEMENT_3D('',#1,#2,#3);
14#5=PLANE('',#4);
15#6=CARTESIAN_POINT('',(0.0,0.0,0.0));
16#7=VERTEX_POINT('',#6);
17#8=CARTESIAN_POINT('',(100000000.0,0.0,0.0));
18#9=VERTEX_POINT('far_along_unbounded_line_vertex',#8);
19#10=CARTESIAN_POINT('',(0.0,1.0,0.0));
20#11=VERTEX_POINT('',#10);
21#12=DIRECTION('',(1.0,0.0,0.0));
22#13=VECTOR('',#12,100000000.0);
23#14=CARTESIAN_POINT('',(0.0,0.0,0.0));
24#15=LINE('',#14,#13);
25#16=EDGE_CURVE('',#7,#9,#15,.T.);
26#17=DIRECTION('',(-1.0,1.0E-08,0.0));
27#18=VECTOR('',#17,100000000.0);
28#19=CARTESIAN_POINT('',(100000000.0,0.0,0.0));
29#20=LINE('',#19,#18);
30#21=EDGE_CURVE('',#9,#11,#20,.T.);
31#22=DIRECTION('',(0.0,-1.0,0.0));
32#23=VECTOR('',#22,1.0);
33#24=CARTESIAN_POINT('',(0.0,1.0,0.0));
34#25=LINE('',#24,#23);
35#26=EDGE_CURVE('',#11,#7,#25,.T.);
36#27=ORIENTED_EDGE('',$,$,#16,.T.);
37#28=ORIENTED_EDGE('',$,$,#21,.T.);
38#29=ORIENTED_EDGE('',$,$,#26,.T.);
39#30=EDGE_LOOP('',(#27,#28,#29));
40#31=FACE_OUTER_BOUND('',#30,.T.);
41#32=ADVANCED_FACE('',(#31),#5,.T.);
42#33=OPEN_SHELL('',(#32));
43#34=SHELL_BASED_SURFACE_MODEL('',(#33));
44#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
45#9051=PRODUCT('Twi300','Twi300','',(#9050));
46#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
47#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
48#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
49#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
50#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
51#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
52#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
53#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
54#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
55#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#34),#9060);
56#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
57ENDSEC;
58END-ISO-10303-21;