vScriptValPointsConnect
Joins two point arrays into one path, alternating or appending, with an optional closing point.

vScriptValPointsConnect takes Input A and Input B and outputs one path. Alternate interleaves their points, Append puts the points of A first and then those of B.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| Mode | Dropdown | Alternate | Alternate (default) or Append. |
| Reverse B | Integer | 0 | Reverses the order of Input B first when on. Default off. |
| Connection | Float | 1 | Mix from the A point (0) to the B point (1) for each B entry. Range 0 to 1, default 1. |
| Hide Unconnected | Integer | 0 | Removes points that have no partner at the same index when on. Default off. |
| Close Loop | Integer | 0 | Adds a copy of the first point at the end when on. Default off. |
+3 more parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| Drop Duplicate Seam | Integer | 1 | Skips the added point if the last point already equals the first. Default on. Shown only when Close Loop is on. |
| Input A | DATATYPE | — | First input. |
| Input B | DATATYPE | — | Second input. |
Read the full description
In Alternate mode the path runs A1, B1, A2, B2 and so on, which draws rungs between two curves. In Append mode all points of A come first and then the points of B. Each B point is placed at A + (B - A) * Connection, so Connection 1 (default) uses B as it is and 0 repeats the A point. Reverse B reverses Input B first.
Hide Unconnected removes points that have no partner at the same index. Close Loop adds a copy of the first point at the end. With Drop Duplicate Seam on (default, shown only for Close Loop), the copy is skipped when the last point already equals the first. The longer array's extra points are kept unless Hide Unconnected is on.
Example Connections
- Connect two curves with rungs
- Append two grids
vScriptValPointsOnCircle.Output -> vScriptValPointsConnect.ArrayA
vScriptValPointsOnArc.Output -> vScriptValPointsConnect.ArrayB
vScriptValPointsConnect.Output -> vScriptValCameraProjection.ArrayA
vScriptValCameraProjection.Output -> vScriptValShapeRender.ArrayPoint
Background.Output -> vScriptValShapeRender.Input
vScriptValPointsOnGrid.Output -> vScriptValPointsConnect.ArrayA
vScriptValPointsOnRectangle.Output -> vScriptValPointsConnect.ArrayB
vScriptValPointsConnect.Output -> vScriptValTranslate.Input