Curve to polyline

Subdivides curves into polylines.


Inputs

  • geometry

    • Accepts a single geometry connection (unless the SHIFT key is held).
  • mode

    • The mode in which input curves are subdivided. This can be # of segments (divides the input curve into equal length segments), segment length (divides the input curve into segments of specified length), or approx segment length (divides the input curve into equal lengths closest to the specified approximate length).
  • segments

    • The value that defines the number of segments the input curves are subdivided into when the mode input is set to # of primitives.
  • length

    • The value that defines the length of the segments the input curves are subdivided into.
  • accuracy

    • The value that defines the number of u coordinates sampled per segment.
  • per order 2 segment

    • Sets whether to subdivide the existing segments of the input curves, or the curve as a whole.

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.
  • u coordinates

    • The list of U coordinates where the curve was subdivided.
  • curve lengths

    • The list of lengths of the subdivided curves (full curve lengths, not curve segment lengths).

Notes

  • If the mode input is set to segment length and the input value does not evenly divide the curve, the last segment length will be the remainder.

  • Other names for this node include: TessellateCurve, Tessellate curve, Redraw, and Divide curve.

Examples