-
Notifications
You must be signed in to change notification settings - Fork 99
Artifact graph: add link between Sweep::Sweep and trajectory Path or Helix, add Helix from Cylinder to Artifact Graph
#9724
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
Footnotes
|
| match trajectory_artifact { | ||
| Artifact::Path(path) => { | ||
| let mut new_path = path.clone(); | ||
| new_path.sweep_id = Some(id); |
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.
Do we want to do this? It kind of overloads the path's sweep_id to mean both that the path was swept and that it was swept along.
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.
Oh okay so would it be more prudent to add a new field that indicates the relationship is a trajectory specifically? The name sweep_id was already ambiguous to indicate a path was used as th profile to be swept imo
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.
I think it's more accurately modeling what's happening if we used a new field, yeah. But it all depends on how it's used, which I don't know.
Sweep::Sweepfrom other Sweep subtypes in ModelingCmd-to-Artifact match, so thattrajectorycan be peeled off and a link can be made fromSweep::Sweep's to theirPathorHelixtrajectoryDemo
In the screenshot below you can see that the artifact graph now shows this Helix that was both created from a cylinder and used in a subsequent Sweep has both a valid
axis_idand a valid (new)sweep_id.