-
-
Notifications
You must be signed in to change notification settings - Fork 889
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
Feature issue 15583 spiral z hop #1995
base: main
Are you sure you want to change the base?
Feature issue 15583 spiral z hop #1995
Conversation
…into the gcode export.
…/NadineMik/CuraEngine into feature_issue-15583_spiral_z-hop
…/NadineMik/CuraEngine into feature_issue-15583_spiral_z-hop
Hi, Thank you for taking the time to contribute. We're in the progress of updating our Way-Of-Working with regards to PR's so I'm adding some label(s). That way we can prioritize our work-load and give your PR the love it deserves. Either I our one of my colleagues will pick this up in the near future |
EXPECT_EQ(arc_points[0].second, pt.second) << "The speed does not stay constant over the arc."; | ||
} | ||
EXPECT_NEAR(arc_points[0].second * (arc_length / total_distance), xy_speed, error_margin); | ||
EXPECT_LE(arc_points[0].second * (hop_height / total_distance), high_z_speed, error_margin); |
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.
https://github.com/Ultimaker/CuraEngine/actions/runs/8891872064/job/24414747014?pr=2076
Hey @NadineMik can you take a look into these benchmarks and why they are failing?
Hey @NadineMik ! I have created a branch and a PR based on your PR #2076, to test the feature. I'd like you to please take a look at the benchmarks. |
Hi @saumyaj3, |
Description
This pull requests adds a tangential spiral z-hop and thus fixes this issue.
It provides a smooth spiral z-hop after a retraction, where the beginning and the end of the spiral (or arc) is tangential to the previous and following movement. Additionally, a retraction can be performed throughout the spiral. The z-height increases linearly throughout the spiral and the speed in xy-direction is kept constant relative to the previous movement. After the following travel a normal unretract and vertical un-z-hop is performed.
The full documentation on this feature can be found over here.
This pull request is paired with a pull request in cura over here.
Type of change
Two new files were added into path planning for calculating the arc.
Inside the gcode export the arc is created and used to write a spiral z-hop (possibly with retraction).
In the layer plan the logic for which type of retraction is performed is changed depending on the UI settings and possibly adding a spiral z-hop to the gcode.
Added the spiral path to the gcode preview after slicing.
Added unit testing for the arc path calculation.
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Test Configuration:
Window 10
Checklist: