-
-
Notifications
You must be signed in to change notification settings - Fork 890
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
CURA-11978 Retract and unretract in a travel #2204
base: main
Are you sure you want to change the base?
Conversation
CURA-11978 Unretraction during travel computed but not applied yet
…-in-a-travel' into CURA-11978_retract-and-unretract-in-a-travel
…d-unretract-in-a-travel
…-in-a-travel' into CURA-11978_retract-and-unretract-in-a-travel
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.
Overal it looks good and well thought out, a couple of minor remarks and suggestions. But I do suggest adding some UT
given the complexity of splitting travel moves into multiple phases, maybe add unit and integration tests that cover:
- A travel move with enough duration for all retraction/priming to happen during travel.
- A travel move where extra stationary time is required.
- Edge cases with only one travel segment.
- Both “forward” (retraction) and “reversed” (priming) computations.
…-in-a-travel' into CURA-11978_retract-and-unretract-in-a-travel
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.
LGTM
Applies retraction and priming during travel move, partially or completely according to the given settings.
Most calculations are done according to durations, because we want to respect both the travel speed and the retraction/prime speed. If we don't have enough time to process the retraction/prime during travel, we will make a stationary retraction/prime irregardless of the setting, because there is no other way to respect the speeds.
Requires Ultimaker/Cura#20240
CURA-11978