prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.76k stars 1.93k forks source link

G10 used as opposed to M104 for setting extruder target temperature #5934

Closed Droniac75 closed 3 years ago

Droniac75 commented 3 years ago

Version

Version 2.3.0+

Operating system type + version

macOS High Sierra 10.13.6

3D printer brand / version + firmware version (if known)

Highly modified Ender3 BTT E3mini V2 with Klipper RepRapFirmware flavor

Behavior

;

; external perimeters extrusion width = 0.40mm ; perimeters extrusion width = 0.40mm ; infill extrusion width = 0.40mm ; solid infill extrusion width = 0.40mm ; top infill extrusion width = 0.40mm ; first layer extrusion width = 0.35mm

M107 M140 S60 ; set bed temperature and wait for it to be reached G10 S200 ; set temperature

;TYPE:Custom START_PRINT SET_GCODE_OFFSET Z_ADJUST=0.07 G10 S200 ; set temperature M116 ; wait for temperature to be reached G21 ; set units to millimeters G90 ; use absolute coordinates M83 ; use relative distances for extrusion ;LAYER_CHANGE ;Z:0.2 ;HEIGHT:0.2 ;BEFORE_LAYER_CHANGE ;0.2

gcode project.3mf.zip

lukasmatena commented 3 years ago

This is exactly what it should do according to RRF documentation: https://duet3d.dozuki.com/Wiki/Gcode. New versions of RRF have deprecated M104/M109 in favor of G10 with some parameters. See also https://github.com/prusa3d/PrusaSlicer/pull/4553.

If you want the old behaviour, select RepRap/Sprinter firmware flavor. It should work the same as before

If you want to know why the change was necessary, ask the authors of RRF. Closing.