Line

Creates lines as NURBS curves.


Inputs

  • mode

    • Sets the mode in which the line is created. This can be centered (as defined by a center point vector and direction vector), origin + direction (as defined by a start point vector and direction vector), or point to point (as defined by start and end point vectors).
  • center

    • The vector value that defines the center of the output line when the mode input is set to center.
  • start point

    • The vector value that defines the start of the output line when the mode input is set to origin + direction or point to point.
  • end point

    • The vector value that defines the end of the output line when the mode input is set to point to point.
  • direction

    • The vector value that defines the direction of the output line when the mode input is set to origin + direction.
  • length

    • The value that defines the length of the output line when the mode input is set to origin + direction.
  • number of points

    • The value that defines the number of points within the output line.
  • order

    • The value that defines the order of the output line. See NURBS curve for more information.

Outputs

  • geometry

    • Output primitives.
  • points

    • The list of points of the output primitives.
  • points.x

    • The list of x values of the points of the output primitives.
  • points.y

    • The list of y values of the points of the output primitives.
  • points.z

    • The list of z values of the points of the output primitives.

Notes

  • Other names for this node include: Curve, and Polyline.

Examples