Skip to content

Instantly share code, notes, and snippets.

@maciekish
Last active September 21, 2024 10:47
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
@JCCasey
Copy link

JCCasey commented Jan 3, 2019

But he need the .json file. =( C:\Program Files\Ultimaker Cura 3.1\resources\definitions, where only .json files. Help please!

It's... C:\Users\YOUR_USER_NAME\AppData\Roaming\cura\3.XX\definition_changes

@Loadie150
Copy link

I have the newest version of Cura and can't find that file path at all to update the settings for the A6! Can someone please help?

@Rmadeye
Copy link

Rmadeye commented Jan 18, 2019

How to do so in Ubuntu 18.04?

@Kingten92
Copy link

Doesn't seem to be working. I've copied and replaced both files into the right directory, my Anet is properly put together, as i've tested with one of the stock files (pyramid) and it printer perfectly. Any ideas?

@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