Skip to content
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

Bypass GlobalCurve in sweep algorithm #1111

Merged
merged 2 commits into from
Sep 19, 2022
Merged

Bypass GlobalCurve in sweep algorithm #1111

merged 2 commits into from
Sep 19, 2022

Conversation

hannobraun
Copy link
Owner

Once #1079 is implemented, it will no longer be possible for GlobalCurve to support the previous sweep implementation (see that issue for context). This pull request takes completely bypasses GlobalCurve in the sweep code, paving the way for #1079.

This exposes a limitation in the sweep algorithm, namely that it's not possible to sweep from a sketch that is defined in a curved surface. Please note that...

  • ...this isn't a new limitation. It's just one that has become obvious, now that the sweep code bypasses the more limited GlobalCurve representation.
  • ...that this doesn't affect Fornjot models, as those currently can't specify the surface that a sketch is defined in.

I'm going to open a new issue after merging this, to track this limitation.

I'm working on changes to `GlobalCurve`. Once those changes come to
fruition, it will no longer be able to support that `Sweep`
implementation.
@hannobraun hannobraun merged commit 7812594 into main Sep 19, 2022
@hannobraun hannobraun deleted the sweep branch September 19, 2022 15:00
@hannobraun hannobraun mentioned this pull request Sep 19, 2022
6 tasks
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.

1 participant