Approximate Bezier Curve¶
Dependencies¶
This node requires SciPy library to work.
Functionality¶
This node builds a Bezier Curve object, which approximate the given set of points, i.e. goes as close to them as possible while remaining a smooth curve.
Inputs¶
This node has the following inputs:
Vertices. The points to be approximated. This input is mandatory.
Degree. Degree of the curve to be build. The default value is 3.
Parameters¶
This node has the following parameter:
Metric. This parameter is available in the N panel only. It defines the metric to be used for calculation of curve’s T parameter which correspond to specified vertices. The default value is Euclidean. Usually you do not have to adjust this parameter.
Outputs¶
This node has the following outputs:
Curve. The generated Bezier Curve object.
ControlPoints. Control points of the generated curve.
Example of usage¶
Take points from Greasepencil drawing and approximate them with a smooth curve (Annotations):
BPY Data-> Object ID Selector+
Modifiers->Modifier Make-> UV Connection
Viz-> Viewer Draw
Viz-> Viewer Draw Curve