Geometry Nodes: Curve Primitive Line

This node creates a poly spline line in one of 2 modes:
 - Line between two points
 - Start Point, Direction, and Length

Both modes create splines with only start and endpoints.
A resample node can be used afterward to increase the point count.

Differential Revision: https://developer.blender.org/D11769
This commit is contained in:
Johnny Matthews
2021-07-05 12:27:12 -05:00
committed by Hans Goudey
parent de70bcbb36
commit 29d6750134
9 changed files with 188 additions and 0 deletions

View File

@@ -510,6 +510,7 @@ geometry_node_categories = [
NodeItem("GeometryNodeCurveReverse"),
]),
GeometryNodeCategory("GEO_PRIMITIVES_CURVE", "Curve Primitives", items=[
NodeItem("GeometryNodeCurvePrimitiveLine"),
NodeItem("GeometryNodeCurvePrimitiveCircle"),
NodeItem("GeometryNodeCurveStar"),
NodeItem("GeometryNodeCurveSpiral"),