tedani
-
Posts
2 -
Joined
-
Last visited
Content Type
Forums
Events
3D Prints
Posts posted by tedani
-
-
On 6/21/2017 at 4:56 PM, ahoeben said:
There are some things you can change/fix by editing json files, but this is not one of them. Changing the start gcode in json has the exact same effect as changing the start gcode in Machine Settings.
CuraEngine checks if the start gcode contains commands to heat up the hotend and bed before the print is started. If the start gcode does not have command to do that, CuraEngine adds the three lines (M190, M104, M109) before your start gcode just to make sure that the hotend is not cold before starting the actual print.
If you don't want Cura to add these lines, make sure your start gcode contains lines which have {material_print_temperature} and {material_bed_temperature} in them respectively. eg:
M104 S{material_print_temperature} ;Start heating extruderM140 S{material_bed_temperature} ;Start heating bedM109 S{material_print_temperature} ;Wait for extruder to reach temp before proceedingM190 S{material_print_temperature} ;Wait for bed to reach temp before proceeding
NB: I agree with @Labern about the order of heating up the hotend and the bed.
Cura still add the default startup code even I added M104, M140, M109 and M190 in mine.
;FLAVOR:Marlin
;TIME:1263
;Filament used: 0.635584m
;Layer height: 0.2
;Generated with Cura_SteamEngine 3.2.1
M190 S90
M104 S190
M109 S190
M82 ;absolute extrusion mode
;Sliced at: Thu 08-03-2018 18:00:54
;Basic settings: Layer height: 0.2 Walls: 0.8 Fill: {fill_density}
;Print time: 00:21:03
;Filament used: [0.24]m [1.8956608984375]g
;Filament cost: [0]
M117 Preparing...
M140 S90 ;set bed temperature
M104 S190 ;Start heating extruder
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
G28 ;move X, Y, Z
G1 Z15.0 F150 ;move the platform down 15mm
G1 X50 F{travel_speed} ;move X to centre
G92 E0 ;zero the extruded length
;M106 S255 ;fan on
M109 S190 ;set extruder temperature and wait
M190 S90
..
.
Have I missed anything?
Thanks.
Changing Cura generated start code
in UltiMaker Cura
Posted
I got it work. Thanks a lot.
I used to use cura 15.04.6 which uses {print_temperature} and {print_bed_temperature} macros.