Skip to content

Instantly share code, notes, and snippets.

@maciekish
Last active August 1, 2023 14:08
Show Gist options
  • Save maciekish/feea6748338dc0bc001bc20423ac3a73 to your computer and use it in GitHub Desktop.
Save maciekish/feea6748338dc0bc001bc20423ac3a73 to your computer and use it in GitHub Desktop.
Anet A6 profile for Cura 3.5. Start Cura once, create a custom printer called "Anet A6" without changing any of the settings and close Cura. Save and overwrite both files in "AppData\Roaming\cura\3.1\definition_changes" and start Cura again.
[general]
version = 4
name = Anet A6_settings
definition = custom
[metadata]
setting_version = 5
type = definition_changes
[values]
extruders_enabled_count = 1
gantry_height = 55
machine_depth = 220
machine_end_gcode = M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+4 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
G1 Y210 F9000 ;move out to get part off
M84 ;steppers off
G90 ;absolute positioning
machine_heated_bed = True
machine_height = 250
machine_start_gcode = G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
M84 ;steppers off
M0 S12 ;wait 12 seconds
M17 ;turn steppers on
G1 Z10.0 F300 ;move the platform down 10mm
G92 E0 ;zero the extruded length
G1 F200 E8 ;extrude 8mm of feed stock
G92 E0 ;zero the extruded length again
M0 S5 ;wait 5 seconds
G1 F9000
;Put printing message on LCD screen
M117 Printing...
machine_width = 220
material_diameter = 1.75
[general]
version = 4
name = custom_extruder_1 #2_settings
definition = custom_extruder_1
[metadata]
setting_version = 5
type = definition_changes
[values]
material_diameter = 1.75
@spocky35
Copy link

spocky35 commented Mar 2, 2021

It's working with cura 4.8.
I created a new file in the specified folder (Appdata...) named Anet+A6_settings.inst.cfg , then copied/pasted the code in, and saved. Once cura running, the printer was there with the parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment