Profile node: Interpolation command #4776
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a new command,
@I
/@i
, to the syntax of Profile Mk3 node definitions.@I
/@i
command is an extension of SVG syntax. It defines a curve asinterpolating NURBS curve through the provided list of points. Current point,
at which the pen is located at the start of command, will be considered as
first point to be interpolated. If
z
is specified in the end, the curve willbe closed (cyclic); otherwise, this command will define an open curve. If
special keyword,
@smooth
, is specified, then, while computing interpolationcurve, this command will consider previous curve segment, defined by previous
command (C/c, S/s, Q/q, T/t), if it is of the same degree, and draw the curve
in such a way that in the starting point it will have the same tangent vector,
as previous curve had in the end point; in other words, at the meeting point of
segments, the curve will be smooth. Providing
z
and@smooth
for the same@i
command is not supported.Preflight checklist
Put an x letter in each brackets when you're done this item: