Strange that you don't see the profiles. Anyway, here is what's currently in my Startup gcode:
;Profil Homepage: https://github.com/NilsRo/Cura_Anycubic_MegaS_Profile
;Slicer Information - (Support for OctoPrint Slicer Estimator)
;Slicer info:material_guid;{material_guid}
;Slicer info:material_id;{material_id}
;Slicer info:material_brand;{material_brand}
;Slicer info:material_name;{material_name}
;Slicer info:filament_cost;{filament_cost}
;Slicer info:material_bed_temperature;{material_bed_temperature}
;Slicer info:material_bed_temperature_layer_0;{material_bed_temperature_layer_0}
;Slicer info:material_print_temperature;{material_print_temperature}
;Slicer info:material_print_temperature_layer_0;{material_print_temperature_layer_0}
;Slicer info:material_flow;{material_flow}
;Slicer info:layer_height;{layer_height}
;Slicer info:machine_nozzle_size;{machine_nozzle_size}
;Slicer info:wall_thickness;{wall_thickness}
;Slicer info:speed_print;{speed_print}
;Slicer info:speed_topbottom;{speed_topbottom}
;Slicer info:travel_speed;{travel_speed}
;Slicer info:support;{support}
;Slicer info:retraction_speed;{retraction_speed}
;Slicer info:retraction_amount;{retraction_amount}
;Slicer info:layer_height;{layer_height}
;Slicer info:infill_pattern;{infill_pattern}
;Slicer info:infill_sparse_density;{infill_sparse_density}
;Slicer info:cool_fan_enabled;{cool_fan_enabled}
;Slicer info:cool_fan_speed;{cool_fan_speed}
;Slicer info:sliced_at;{day} {date} {time}
G21 ; metric values
G90 ; absolute positioning
M82 ; set extruder to absolute mode
M900 K0 ; disable lin. adv. if not set in GCODE
M107 ; start with the fan off
M140 S{material_bed_temperature_layer_0} ; Start heating the bed
G4 S30 ; wait 45 seconds
M104 S{material_print_temperature_layer_0} ; start heating the hot end
M190 S{material_bed_temperature_layer_0} ; wait for bed
M109 S{material_print_temperature_layer_0} ; wait for hotend
M300 S1000 P500 ; BEEP heating done
G28 X0 Y10 Z0 ; move X/Y to min endstops
M420 S1 ; Enable leveling
M420 Z2.0 ; Set leveling fading height to 2 mm
G0 Z0.15 ; lift nozzle a bit
G92 E0 ; zero the extruded length
G1 X50 E20 F500 ; Extrude 20mm of filament in a 5cm line.
G92 E0 ; zero the extruded length again
G1 E-2 F500 ; Retract a little
G1 X50 F500 ; wipe away from the filament line
G1 X100 F9000 ; Quickly wipe away from the filament line
I see from the comments at the end which lines are responsible for the behaviour. I presume all I want to do is add a command before the 5 cm line extrusion to move it in Y by 5 mm or something, yes?
edit: G0 X5 Y5? That simple? Or even just edit the G0 Z0.15 line to include the X and Y moves?
Edited by Shorty-CM
Recommended Posts
GregValiant 1,408
I was going to compare the StartUp Gcode from an earlier version to 5.3.1.
I just looked in 5.3.1 and I don't see a Mega S. Same with 4.13.1 - no Mega S.
So I got stuck.
If you post an old gcode that you liked and a new gcode that you hate (clearly named of course) it only takes a minute to straighten it out. Less time than it takes to explain for sure.
In Cura go to Settings/Printers/Manage Printers and then Machine Settings. In the lower left is the StartUp Gcode and that's where your problem is. The best thing to do is get familiar with it yourself.
The Marlin gcode commands are HERE. A little light reading can go a long ways. There is no need to memorize them but being familiar with the ones that are used a lot can really help you understand what's going on.
Link to post
Share on other sites