Đơn Giản Hóa Đường Cong (Sample Curve Node)
The Sample Curve calculates a point on a curve at a certain distance from the start of the curve, specified by the length or factor inputs. It also outputs data retrieved from that position on the curve. The sampled values are linearly interpolated from the values at the evaluated curve points at each side of the sampled point.
Ghi chú
When the curve contains multiple splines, the sample position is found based on the total accumulated length, including the lengths of all previous splines. The order of the splines is the same order as displayed in the Spreadsheet Editor.
Đầu Vào (Inputs)
- Curve (Đường Cong)
Standard geometry input with a curve component.
- Hệ Số (Factor)
The portion of the total length used to determine the sample position.
- Chiều Dài (Length)
A length in distance units used to determine how far along the curve to travel before sampling.
Tính Chất (Properties)
- Chế Độ (Mode)
How to find endpoint positions for the trimmed spline. The option acts the same as it does in the Nút Cắt Xén Đường Cong (Trim Curve Node).
- Hệ Số (Factor)
Find the endpoint positions using a factor of each spline's length. The input values should be between 0 or 1.
- Chiều Dài (Length)
Find the endpoint positions using a length from the start of each spline. The input values should be between 0 and the length of the splines.
Đầu Ra (Outputs)
- Vị Trí (Position)
Số lần nới rộng hình ảnh.
- Tangent (Tiếp Tuyến)
The normalized curve tangent at the sample.
Mẹo
This output can be combined with the (Align Euler to Vector Node) to create a rotation that lines up with direction of the curve. Including the Normal output in a second align node after can align the other rotation axis.
- Normal (Pháp tuyến)
The normalized curve normal at the sample.
Một Số Ví Dụ (Examples)
Here, the Count mode of the Một đường cong đơn giản (Resample Curve Node) is recreated, except a mesh is used for the result instead of a curve. The Z axis of the position can be used as the sample factor because the position is between zero and one for the entire line.