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

The printer maximum acceleration when extruding value limits all other print accelerations #4237

Open
eschulma opened this issue May 13, 2020 · 3 comments

Comments

@eschulma
Copy link

eschulma commented May 13, 2020

1prusa-nl-PROBLEM.gcode.txt
1prusa-nl.gcode.txt

Version 2.2.0
Windows 10
Ender 3 Pro, running Marlin 2.0 firmware

Prusa Slicer uses Machine Limits -> Maximum acceleration when extruding to set the initial default acceleration and to cap all other accelerations. If that value is lower than the other accelerations, including the x,y,z, or the ones set in the Print settings, the slicer will add an M204 at the beginning of the file and ignore anything that was set higher. Needless to say this makes the prints much slower.

I am attaching two 3mf files with gcode. Note that the print default acceleration should be 1000, and infill 1500. If I set the Machine Limits -> Maximum acceleration when extruding to 500, I get an M204 500 right before the print begins, which is too low, and it does not change for the infill either.

If I If I set the Machine Limits -> Maximum acceleration when extruding to 1500, I get an M204 S1000 at the start of the print (expect from my settings), and M204 S1500 for the start of the infill, as expected.

This slows this print from 1hr 30 to 1hr 49 minutes, and the effect is worse for longer prints. I am attaching the relevant configuration files.

For the PROBLEM gcode, note the following section in particular:

;AFTER_LAYER_CHANGE
;0.35
G1 X22.397 Y46.611
G1 E6.00000 F2400.00000
M204 S500

PROBLEM config.ini.txt

working config.ini.txt

1prusa-nl-PROBLEM.gcode.txt

1prusa-nl.gcode.txt

@rtyr
Copy link
Collaborator

rtyr commented May 13, 2020

This is basically a duplicate of #3443. I agree that these settings needs some rework mainly to respect current Marlin M204 format. (see #1089). Your example seems like expected behavior with the current implementation in PS. "Maximum acceleration when extruding" might not have the proper meaning according to Marlin implementation, but still it is a limit.

@eschulma
Copy link
Author

It's related to but not the same as #3443 . That one correctly points out the confusion. But here the setting is silently SLOWING THE PRINT which is more serious, imho. At a minimum, if you set print accelerations that are greater than this limit, there should be a warning similar to the one you get when setting a layer height greater than the extruder limit.

@bubnikv
Copy link
Collaborator

bubnikv commented Jul 29, 2021

PrusaSlicer 2.4.0-alpha1 will implement M204 PRT the Marlin 2 way for the new Marlin 2 firmware flavor, thus we have split the acceleration while extruding from the acceleration while traveling. Please test with the upcoming PrusaSlicer 2.4.0-alpha1 and let us know whether you are fine with the solution.

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

No branches or pull requests

3 participants