mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 07:12:05 +08:00
#450 use M204 P for reprap & sprinter in gcodewriter, to be in line with the print_machine_envelope
This commit is contained in:
parent
15385c45ee
commit
31dfe949a7
@ -218,7 +218,7 @@ std::string GCodeWriter::write_acceleration(){
|
||||
if (FLAVOR_IS(gcfRepetier)) {
|
||||
// M201: Set max printing acceleration
|
||||
gcode << "M201 X" << m_current_acceleration << " Y" << m_current_acceleration;
|
||||
} else if(FLAVOR_IS(gcfMarlin) || FLAVOR_IS(gcfLerdge)){
|
||||
} else if(FLAVOR_IS(gcfMarlin) || FLAVOR_IS(gcfLerdge) || FLAVOR_IS(gcfRepRap) || FLAVOR_IS(gcfSprinter)){
|
||||
// M204: Set printing acceleration
|
||||
gcode << "M204 P" << m_current_acceleration;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user