点 转换为 曲线¶
点转换为曲线 节点通过将所有点插入新曲线来生成曲线几何体。所有点的属性将被传递到曲线点。存储于点的内置曲线属性将被忽略。
Tip
To simplify thinking about points, attributes and their positions in each curve, The weight of each point in curve can be associated with a point attributes value. The sorting and grouping will be reflected on the attributes as like on the Weight and Group ID.
输入¶
- 点
点云几何组件。
- 曲线群组 ID
All points with the same Group ID value will be joined in the same curve. The value of Group ID can be any value (negative, zero, or infinity, etc.). All created curves must have at least a single point. The order of curves depends both on Group ID value and on the order of Group ID values in the Point Cloud.
- 权重
若曲线包含多个点,则通过排序利用各点的权重值确定曲线中所有点的顺序。排序的目标是使权重值最小的点位于曲线起始端,权重值最大的点位于末端。
Note
若曲线各点具有相同权重值,则其排序顺序与其原始相对位置一致。若未输入任何权重值及群组 ID,则各点在曲线中的编号将保持一致。
输出¶
- 曲线
包含点云中所有复制点并以曲线形式连接的曲线。其他所有组件均未保存。生成的曲线始终是非循环的。
示例¶
The above example creates a curve Array with connections between curves. This is created by duplicating the Arc primitive curve with the 复制元素. Each curve is shifted in a top direction based on its index value. All the curves are converted to the Point Cloud by the 曲线 转换为 点. Finally, the points are converted to curves by the Points to Curves node.
最终的曲线几何体的所有点均具有与初始弧形基本体上点相同的属性。