Skip to content

Conversation

@franknoirot
Copy link
Contributor

  1. Adds Helices made from a cylinder for their axis to the ArtifactGraph, as they were excluded before
  2. Break out Sweep::Sweep from other Sweep subtypes in ModelingCmd-to-Artifact match, so that trajectory can be peeled off and a link can be made from Sweep::Sweep's to their Path or Helix trajectory

Demo

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_id and a valid (new) sweep_id.

Zoo Design Studio · 6 22pm · 01-16

@franknoirot franknoirot requested a review from a team as a code owner January 16, 2026 23:35
@vercel
Copy link

vercel bot commented Jan 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
modeling-app Ready Ready Preview, Comment Jan 17, 2026 0:27am

Request Review

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 16, 2026

CodSpeed Performance Report

Merging this PR will not alter performance

Comparing franknoirot/adhoc/add-helix-sweep-relationship (da0001e) with main (d60e8d6)

Summary

✅ 152 untouched benchmarks
⏩ 93 skipped benchmarks1

Footnotes

  1. 93 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

match trajectory_artifact {
Artifact::Path(path) => {
let mut new_path = path.clone();
new_path.sweep_id = Some(id);
Copy link
Contributor

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.

Copy link
Contributor Author

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

Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add link between Sweep::Sweep and trajectory Path or Helix, add Helix from Cylinder to Artifact Graph

3 participants