smith3d / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. | Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.

Home Page:http://marlinfw.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FR] Add Additional Preheat options

eblieb opened this issue · comments

Would be nice to be able to set and have preheat options for PETG and PLA+ along with PLA and ABS. According to Marlin support the firmware should already be able to support up to 5 preheat options.

I'm not entirely sure but look in a few areas:

In the dwin files there's two functions in there "HMI_PLAPreheatSetting" and "HMI_ABSPreheatSetting". You'll obviously have to add the menu items as well but looks to be a decent start for programming the menu options.

Additionally it looks like the values themselves are stored/set in configuration.h file. Search for "#define preheat_1_xxxxx", the marlin LCD materials presets is where I found that. Looks like there's two set by default. Later in the file the "#if PREHEAT_COUNT" define actually loads any of the defined presets into the materials preset portions of the marlin UI class.