Get Spline Samples¶
This node will return n number of points along with their tangent vectors where n is the Amount input, Those points are points on the spline in the input interval that are distributed based on the evaluation option—Uniform or Resolution.
- Uniform - This option samples the points regardless of the geometry of the spline.
- Resolution - This option samples the points based on the geometry of the spline.
To understand this better lets look at the following example:
The above example shows 2 identical splines where the upper one uses Uniform and the other uses Resolution. If one were to sample some points at regular intervals on both splines, He would observe that:
- Points on Uniform are regularly distributed.
- Points on Resolution are dense at some areas and spaced at others.
So we notice that Resolution care about the geometry of the spline and so a regularly spaced parameters will be closer at parts of the spline where it has dense geometry and spaced at relaxed parts.
Uniform on the other hand will yield results based on the actual distance along the spline, however, it is much slower to compute.
- Spline - A spline to evaluate.
- Amount - The amount of point to return.
- Start - The starting point of the interval.
- End - The ending point of the interval.
- Positions - A vector list that contains the evaluated points positions.
- Tangent - A vector list that contains vectors that are aligned with the tangent line to the evaluated points.
Advanced Node Settings¶
- Resolution - It is the quality of the evaluated spline, in other words, it is the number of handles in the spline used in evaluation.