#swapping to prusa slicer
1 messages · Page 1 of 1 (latest)
end gcode cura:
G1 E-2 F2700 ;Retract a bit
G1 E-2 Z0.2 F2400 ;Retract and raise Z
G1 X5 Y5 F3000 ;Wipe out
G1 Z10 ;Raise Z more
G90 ;Absolute positioning
G1 X0 Y{machine_depth} ;Present print
M106 S0 ;Turn-off fan
M104 S0 ;Turn-off hotend
M140 S0 ;Turn-off bed
M84 X Y E ;Disable all steppers but Z
end gcode prusa:
G1 X5 Y{print_bed_max[1]*0.85} F{travel_speed*60} ; present print
{if max_layer_z < max_print_height-10}G1 Z{z_offset+min(max_layer_z+70, max_print_height-10)} F600 ; Move print head further up{endif}
{if max_layer_z < max_print_height*0.6}G1 Z{max_print_height*0.6} F600 ; Move print head further up{endif}
M140 S0 ; turn off heatbed
M104 S0 ; turn off temperature
M107 ; turn off fan
M84 X Y E ; disable motors```
The choice of G-code setup depends on your specific printer and personal preferences. Both of the provided setups are commonly used for the Ender 3 and Prusa printers, respectively. You can try either setup and see which one works better for your needs. Make sure to review and modify the specific temperature and speed settings according to your filament and printer specifications.
For troubleshooting or further assistance, please provide more details about the specific problem you are facing.
if someone is able to merge the two so i can keep all my features and whatnot
and also how do i set it so it auto makes the gcode file name include the type of filament its using
I would personally recommend going with the one from prusa