Curves
Create and manipulate curves
Break Curves
Inputs
| Name | Type | Description |
|---|---|---|
| Curves | Geometry |
Geometry to delete elements from |
| Threshold | Float |
Outputs
| Name | Type | Description |
|---|---|---|
| Curves | Geometry |
|
| Original Index | Int |
Index of Spline before segments removed |
API Reference: nodes.geometry.BreakCurves
Cumulative Length
The length of the current point, added onto the cumulative length with all previous splines in the curve
Outputs
| Name | Type | Description |
|---|---|---|
| Length | Float |
The length along the current spline added to all previous spline lengths |
API Reference: nodes.geometry.CumulativeLength
Curve Custom Profile
Curve to Mesh but with the potential for a custom profile, with fields for custom rotations and scaling along the curve while generating the geometry
Inputs
| Name | Type | Description |
|---|---|---|
| Curve | Geometry |
|
| Subdivisions | Int |
|
| Profile Type | Menu |
|
| UV Map | Bool |
Compute and store the uv_map attribute on the Face Corner domain of the final mesh |
| U Component | Menu |
|
| Profile Rotation | Rotation |
|
| Profile Scale | Vector |
|
| Profile Curve | Geometry |
|
| Profile Resolution | Int |
|
| Profile Radius | Float |
|
| Profile Rotation | Float |
Outputs
| Name | Type | Description |
|---|---|---|
| Geometry | Geometry |
API Reference: nodes.geometry.CurveCustomProfile
Curve Endpoint Values
Output a different integer value for the endpoints of a curve and the middle of a curve
Integer values for the ends of splines, specifying the start and end sizes
Inputs
| Name | Type | Description |
|---|---|---|
| Start Size | Int |
The size of the starting points of the curve |
| Start Value | Int |
The value to output for the starting points of the curve |
| Other Value | Int |
The value for the points which aren’t part of the start or end points |
| End Size | Int |
The size of the end points |
| End Value | Int |
The value that is returned for the end points of the curve |
Outputs
| Name | Type | Description |
|---|---|---|
| Value | Int |
The value for the point, determined by the inputs if it is in the start, end or ‘other’ region |
| Start Selection | Bool |
The n points at the start of a spline determined by Start Size |
| End Selection | Bool |
The n points at the end of a spline determined by End Size |
API Reference: nodes.geometry.CurveEndpointValues
Curve Offset Dot
Calculate the dot product of the current point and another, using their Normal attributes. Also returns the dot producted thresholded for a particular cutoff
Inputs
| Name | Type | Description |
|---|---|---|
| Normal | Vector |
|
| Offset | Int |
|
| Threshold Direction | Menu |
|
| Threshold Cutoff | Float |
|
| Rotation Axis | Vector |
|
| Rotation Amount | Float |
Outputs
| Name | Type | Description |
|---|---|---|
| Thresholded | Bool |
|
| Leading | Int |
|
| Rotation | Rotation |
API Reference: nodes.geometry.CurveOffsetDot
Curve Rotation
Computes the rotation of the point on the curve, by default using the Normal attribute and the Tangent axis
The Rotation for the point, using the Normal and Tangent of the point
Inputs
| Name | Type | Description |
|---|---|---|
| Normal | Vector |
The default direction to use as the Secondary Axis / X axis when computing the rotation |
Outputs
| Name | Type | Description |
|---|---|---|
| Rotation | Rotation |
The computed rotation for the point on the curve |
API Reference: nodes.geometry.CurveRotation
Curve Transform
Calculates the transformation matrix for the point on the curve. Position is taken from the Position, Rotation is calculated from the Normal and Tangent values, and the Radius drives the scale
The transform for the point, combining the Position and Curve Rotation using Normal and Tangent
Outputs
| Name | Type | Description |
|---|---|---|
| Transform | Matrix |
The combine 4X4 transformation matrix for the point of the curve |
API Reference: nodes.geometry.CurveTransform
Curve Vectors
Vectors relevant to orientations on a curve: Normal, Tangent and Bitangent
Outputs
| Name | Type | Description |
|---|---|---|
| Normal | Vector |
The normal of the control point. Used for calculating the rotation for the point and when calculating Curve to Mesh |
| Tangent | Vector |
The tangent of the point, which is calculated as the direction from the previous point to the next point |
| Bitangent | Vector |
The cross product of the Normal and the Tangent |
API Reference: nodes.geometry.CurveVectors
Offset Point Along Curve
Offset along the current point’s curve, by a number of points. 1 offsets by a single point on the curve (regardless of how far away they are). 1.5 offsets to half way between Point Index + 1 and Point Index + 2, returning the Length and the Factor for this point on the curve
Return the Factor or Length of a point, when offset an amount of points along their curve. A value of 1.5 returns the Factor / Length that is half way between the two points that are +1 and +2 from the current Point Index, Useful for sampling the same curve, at a different point along the curve. Helps with interpolating along a bezier curve without having to evaluate to the intermediate points first
Inputs
| Name | Type | Description |
|---|---|---|
| Point Index | Int |
The field to evaluate at the given Index + Offset on the point domain |
| Offset | Float |
The offset to apply to the Index before evaluating the input field |
Outputs
| Name | Type | Description |
|---|---|---|
| Is Off Spline | Bool |
The field evaluated at the offset Index value |
| Factor | Float |
The field evaluated at the offset Index value |
| Length | Float |
The field evaluated at the offset Index value |
| Index A | Int |
The field evaluated at the offset Index value |
| Index B | Int |
The field evaluated at the offset Index value |
API Reference: nodes.geometry.OffsetPointAlongCurve