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

Cannot set Z speed independently. #2945

Closed
DarkAlchy opened this issue Sep 18, 2019 · 14 comments
Closed

Cannot set Z speed independently. #2945

DarkAlchy opened this issue Sep 18, 2019 · 14 comments

Comments

@DarkAlchy
Copy link

Version is all of them because in S3D I can set Z axis movement speed but in Prusa Slicer Z is tied to travel moves so treats Z moves the same as X and Y. This dates back to Slic3r itself and was fine back then but Marlin 2.0 no longer caps the speed you set in the configuration.h. They are changing that thanks to we who begged them as they were opposed to it. Anyway for now people with Marlin 2.0 will slice with your slicer and have the travel moves at 130mm/s and Z will do some ugly nasty things as it did to me.

@woodencase01
Copy link

I second that. I had a lot of trouble searching for a clue with Z skipping, after realizing that the gcode generated from Prusa Slicer called a F12000 on the Z axis...

@liftbag
Copy link

liftbag commented Sep 23, 2019

I second that too. I'm not sure if the limits set in the firmware of my machine can mitigate an excessive speed set by the gcode.
Recently I redesigned and built the entire extruder of my Cartesian, making it much lighter. This allows me to set high XY travel speeds. But the print bed is always the same, and I doubt it can move at the speed of the extruder's XY axes.
In our telegram group where we discuss prusaslicers, we all noticed a bit better performance of the walls with S3D than in PrusaSlicer. At this point, I wonder if this is due to the fact that S3D separates the travel speeds between XY and Z axes.
Diversifying the XY and Z travel speeds seems like a great idea.

@szaghi
Copy link

szaghi commented Sep 23, 2019

I agree, it is really helpful to be able to set Z speed freely from XY one.

@rtyr rtyr changed the title Cannot set Z speed independantly. Cannot set Z speed independently. Mar 22, 2020
@adenbley
Copy link

I'm having the same problem with an Ender5. Is there any workaround other than writing a post-processing script or manually editing the gcode every time?

@DarkAlchy
Copy link
Author

I'm having the same problem with an Ender5. Is there any workaround other than writing a post-processing script or manually editing the gcode every time?

Nope, so I insert my own custom gcode to handle this issue.

Depending on which slicer you use determines how it is written but the end result is as such:

M201 X1500 Y1500 Z25 E200
M203 X245 Y245 Z3 E100
M204 P1500 R1500 T1500

@lordwimsey
Copy link

Hello,

I have the same issue, missing steps when my z axis tries to follow the too fast feedrate.
May I kindly asked, whether this issue is being worked on and if there might be a fix anytime soon?

Thanks in advance!

@DarkAlchy
Copy link
Author

Hello,

I have the same issue, missing steps when my z axis tries to follow the too fast feedrate.
May I kindly asked, whether this issue is being worked on and if there might be a fix anytime soon?

Thanks in advance!

Doubtful since there has been no signs, or a proper response, to this plus it can be set by you in the header gcode as I laid out above. A bit sad but to be expected out of Josef.

@lordwimsey
Copy link

lordwimsey commented Oct 27, 2020

Doubtful since there has been no signs, or a proper response, to this plus it can be set by you in the header gcode as I laid out above. A bit sad but to be expected out of Josef.

Thanks for your reply!
I doubt it will help, since M503 show me values even lower than yours:

Recv: echo:Maximum feedrates (units/s):
Recv: echo: M203 X150.00 Y150.00 Z6.00 E120.00
Recv: echo:Maximum Acceleration (units/s2):
Recv: echo: M201 X2000 Y2000 Z300 E10000
Recv: echo:Acceleration (units/s2): P<print_accel> R<retract_accel> T<travel_accel>
Recv: echo: M204 P1500.00 R1500.00 T1500.00

EDIT:
I tried it anyways and one print (~3h) turned out fine... maybe I need to explicitly load those values at the beginning of the program... but why? I'll keep an eye on my z-axis ;-)

@DarkAlchy
Copy link
Author

Yes, this is what I said you need to set them in the user defined section of the gcode and make it send them each time.

bubnikv added a commit that referenced this issue Jan 19, 2021
fixing "percent first layer speed was not applied over autospeed." GH upstream Slic3r #2945
our GH issue First Layer Speed Percentage not applying (#5829)
@ipa64
Copy link

ipa64 commented Mar 28, 2021

Hi, nothing news about that ?

@martinbudden
Copy link
Contributor

I've made a PR to address this issue, see #6369

@DarkAlchy
Copy link
Author

Excellent.

@martinbudden
Copy link
Contributor

martinbudden commented Apr 20, 2021

In the meantime, here are regular expressions you can use to edit the gcode:

replace (\nG1 Z[\d\.]+ +)F[\d\.]+(.*\n) with $1F720$2

This will set the feed rate for the Z axis moves to 720. Or replace F720 in the second regular expression with whatever value you desire.

@lukasmatena
Copy link
Collaborator

lukasmatena commented May 31, 2021

Implemented in master for 2.4.0 release (413bce4).
Thanks @martinbudden for his PR (#6369).
Closing.

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

No branches or pull requests

10 participants