-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DYN-7923] CurveMapper node #15863
[DYN-7923] CurveMapper node #15863
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-7923
if (ResetButton.ToolTip is ToolTip resetTooltip) | ||
{ | ||
resetTooltip.Content = curveMapperNodeModel.IsLocked | ||
? "The curve has been locked and cannot be reset. Please unlock the curve first." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These need to be moved to resources, so that it can be localized.
|
||
namespace DSCore.CurveMapper | ||
{ | ||
public class PerlinNoiseCurve : CurveBase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ivaylo-matov Thank you for adding detailed comments, can we add a class summary to the different curve models used in this node. Would be useful as they are exposed as public.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @reddyashish, I've added the summaries.
The resorces and localization will come in the next PR. Hope that's okay.
Looks good overall, can merge and get it to testing once the comment is addressed. |
@reddyashish , locally only one of those tests fails. The fail is not related to CurveMapper though, as it fails with or without it. |
Merging this PR to get the testing started on the new node. |
Purpose
This PR addresses DYN-7923. It implements the Graph Map node from Celery as a built-in Dynamo node.
The new CurveMapper node redistributes a series of numbers based on predefined curve equations. The available curve types include Linear, Bezier, Sine, Cosine, Parabolic, Perlin Noise, Gaussian, Power, and Square Root. Users can adjust the curves interactively using interactive handles. Additional controls allow users to lock curves, reset them, and resize the node.
The UI, styling, and tooltips align with the design specifications outlined in Figma.
As agreed, resources and unit tests will be included in subsequent PRs.
Declarations
Check these if you believe they are true
*.resx
filesRelease Notes
This PR addresses DYN-7923. It implements the Graph Map node from Celery as a built-in Dynamo node.
The new CurveMapper node redistributes a series of numbers based on predefined curve equations. The available curve types include Linear, Bezier, Sine, Cosine, Parabolic, Perlin Noise, Gaussian, Power, and Square Root. Users can adjust the curves interactively using interactive handles. Additional controls allow users to lock curves, reset them, and resize the node.
The UI, styling, and tooltips align with the design specifications outlined in Figma.
As agreed, resources and unit tests will be included in subsequent PRs.
Reviewers
@QilongTang
@reddyashish
FYIs
@dnenov
@achintyabhat