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

WIP Added travel_speed_z. #1231

Merged
merged 5 commits into from
Jun 3, 2021

Conversation

martinbudden
Copy link

@martinbudden martinbudden commented Jun 3, 2021

Addresses #1154

@@ -3741,6 +3741,8 @@ std::string GCode::_before_extrude(const ExtrusionPath &path, const std::string
speed = m_config.get_abs_value("ironing_speed");
} else if (path.role() == erNone) {
speed = m_config.get_abs_value("travel_speed");
} else if (path.role() == erNone) {
speed = m_config.get_abs_value("travel_speed_z");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't you also test the path to check taht it contains only z-move? and put the if before the travel_spedd one or it will never tigger

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually this is not required at all, since the speed is set in GCodeWriter::_travel_to_z.

@supermerill
Copy link
Owner

you also have to add the travel_speed_z to preset.cpp and to resources/ui_layout/print.ui

@martinbudden
Copy link
Author

you also have to add the travel_speed_z to preset.cpp and to resources/ui_layout/print.ui

Changes to preset.cpp were in the first commit. I'd made the changes resources/ui_layout/print.ui to but I'd omitted to git add them. Now corrected.

@supermerill supermerill changed the base branch from master to merill-master June 3, 2021 13:17
@supermerill supermerill changed the base branch from merill-master to master June 3, 2021 13:18
@supermerill supermerill merged commit 6fd8043 into supermerill:master Jun 3, 2021
supermerill pushed a commit that referenced this pull request Jun 3, 2021
@martinbudden martinbudden deleted the ss_travel_speed_z branch June 3, 2021 14:42
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.

2 participants