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
@fjaviermolinero
Copy link

Hi, Is this valid for Linux cura 2.7?
I save into /usr/share/cura/resource/definition/ but nothing happends after restart cura. Ideas?
Thanks

@maciekish
Copy link
Author

Updated for Cura 3.1

@FranzSw
Copy link

FranzSw commented Dec 21, 2017

Does not work in Cura 3.1 for me.
I upgraded from 2.7 and deleted all old files, but Cura does not show an Anet printer, when the file is in definition_changes :(
Any idea whats wrong? Is it working for anyone?

@Dexter145
Copy link

Not working for me. Clean install, copied both files and restart. Printer not showing in list.

Copy link

ghost commented Dec 28, 2017

didn't work for me, but used values to enter into custom values prompt. thanks!

@FranzSw
Copy link

FranzSw commented Dec 29, 2017

Yes, me too 😄
just wanted to check if I'm the only one

@HiBoU974
Copy link

HiBoU974 commented Jan 5, 2018

It works, open cura, add a printer(Custom), name it A6, close Cura, edit the file AppData\Roaming\cura\3.1\definition_changes\A6, save the file, open Cura.

Thanks

@PetrSeredenko
Copy link

PetrSeredenko commented Jan 26, 2018

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

@jimdelabar
Copy link

works perfectly for me on Cura 3.2.1 and using Marlin 2.9.1 firmware thanks

@maciekish
Copy link
Author

Updated for Cura 3.5.1

@w852x
Copy link

w852x commented Dec 27, 2018

Do i need an update for Cura 3.6.0 ?
My Anet is a 1.5
Best regards

@fluxkompensatorausderzukunft

This worked for me with Cura 3.6! Thanks a lot!

@w852x
Copy link

w852x commented Jan 1, 2019

@fluxkompensatorau : Thank you for response

@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