PrusaOwners / Marlin

Optimized firmware for RepRap 3D printers based on the Arduino platform.
http://www.marlinfw.org/
GNU General Public License v3.0
15 stars 4 forks source link

More temperature profiles #10

Open matthew-humphrey opened 5 years ago

matthew-humphrey commented 5 years ago

Marlin supports two temperature profiles, PLA and ABS, that appear in the LCD menu. We should investigate how difficult it would be to add more, and what the impact might be on re-integration with Marlin. If not do onerous, we should add ones for PETG and maybe other filaments.

CapitaineCrunche commented 5 years ago

For temperature profiles is easy to add more but it will impact Marlin because we need to add lines in many libraries. i can do it in my fork of Marlin. PLA, ABS and PETG and what else?

matthew-humphrey commented 5 years ago

Can you elaborate on where this code is in Marlin? I want to look and see if there's a way to make it more modular.

CapitaineCrunche commented 5 years ago

line 1895 in configuration_store.cpp, line 1267 in configuration.h, line 115 in language_en.h(and other language) and the rest in ultralcd.cpp.

CapitaineCrunche commented 5 years ago

maybe this will be more simple way to do it: MENU_ITEM(gcode,MSG_PREHEAT_3, PSTR( "M104 S240\n" "M140 S85" )); then add in language_en.h what MSG_PREHEAT_3 mean for LCD maybe if we can do #define PREHEAT_HOTEND_3 240 in configuration.h so we can replace M104 S215 to be more like M104 S[PREHEAT_HOTEND_3].