grasshopper2 Rhinorhino3d.com
ComponentCurve
Line 2 Points
00000000-2dc1-4223-9ebd-f20a3d8d7256
object preview

Create a finite line segment connecting two points. This is the most fundamental way to create a line, as it mirrors the way lines are defined in Rhinoceros.

If the points are coincident, a zero-length line segment will be created, which may be invalid in certain contexts since it lacks a tangent direction.

Tip: in order to create a succession of line segments through a set of consecutive points, it may be easier to rely on the polyline component instead and explode the result, rather than trying to wrangle the input points into separate lists to be consumed by this component.

1
1
2
3
Example file Line2Points.ghz.Interactive in Grasshopper 2
Create a line from a point whose (x,y) coordinates are manually specified and a fixed point.
1
1
2
3
Example file LinesFromFibonacci.ghz.Interactive in Grasshopper 2
Create lines between a point whose elevation is manually picked, and a Fibonacci distribution within a circle.