Blender Git Loki

Git Commits -> Revision e7a800c

Revision e7a800c by Angus Stanton (master)
July 18, 2021, 18:09 (GMT)
Geometry Nodes: Curve Trim Node

This node implements shortening each spline in the curve based on
either a length from the start of each spline, or a factor of the
total length of each spline, similar to the "Start & End Mapping"
panel of curve properties.

For Bezier curves, the first and last control points are adjusted
to maintain the shape of the curve, but NURB splines are currently
implicitly converted to poly splines.

The node is implemented to avoid copying where possible, so it outputs
a changed version of the input curve rather than a new one.

Differential Revision: https://developer.blender.org/D11901

Commit Details:

Full Hash: e7a800c52f0766b372bd3a035432eade165e4cb3
Parent Commit: 24801e0
Committed By: Hans Goudey
Lines Changed: +449, -0

1 Added Path:

/source/blender/nodes/geometry/nodes/node_geo_curve_trim.cc (+407, -0) (View)

8 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+26, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/NOD_geometry.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021