样条线参数#

样条线参数。

样条线参数 节点输出控制点沿每个样条有多远。 系数 输出与编号除以控制点总数不同,因为控制点可能无法沿着曲线等距。

第一个值为零,因此输出对应于控制点处的长度,而不是包括以下段的长度。

当在样条域上使用时,节点输出曲线的总长度的一部分(包括所有样条)已经在每个样条开始时横穿。曲线样条顺序在 电子表格编辑器 中可见 。

Warning

For NURBS and Bézier spline curves, keep in mind that the value retrieved from this node is the value at every control point, which may not correspond to the visible evaluated points. For NURBS splines the difference may be even more pronounced and the result may not be as expected. A 重采样曲线 node can be used to create a poly spline, where there is a control point for every evaluated point.

Note

长度 为零时, 因子 是任意的。在这种情况下,将结果除以指数除以控制点或曲线的总数,即为例外。

输入#

该节点没有输入项。

属性#

该节点没有属性。

输出#

系数

当节点在点域上使用时,该值是每个控制点处的样条总长度的部分。在样条域上,它是曲线总长度在样条开始时的部分。

长度

当节点在点域上使用时,值是沿样条线到每个控制点的距离。在样条域上,它是在样条开始时沿着整个曲线的长度。

编号

Each control point's index on its spline. This is different from the output of the index node, which also counts the control points in all previous splines.

示例#

../../../../_images/modeling_geometry-nodes_curve_curve-parameter_example.png

用于控制曲线半径的参数。样条起点半径为0 ,终点半径为1。