Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add new preheat row? #10

Open
Alfiegerner opened this issue Oct 23, 2021 · 0 comments
Open

How to add new preheat row? #10

Alfiegerner opened this issue Oct 23, 2021 · 0 comments

Comments

@Alfiegerner
Copy link

Does anybody know how to add a new Preheat line, e.g. for PETG?

I can see you can change the values for PLA or ABS in code, but would like to add a third.

The main bit I think I'm missing is how characters are created or copied, so for ABS we do:


	def Item_Prepare_ABS(self, row):
		self.lcd.Frame_AreaCopy(1, 107, 76, 156, 86, self.LBLX, self.MBASE(row))  # "Preheat"
		self.lcd.Frame_AreaCopy(1, 172, 76, 198, 86, self.LBLX + 52, self.MBASE(row))  # "ABS"
		self.Draw_Menu_Line(row, self.ICON_ABSPreheat)

How do I find out what position (e.g. 172, 76 above for ABS) holds string 'PETG' or if it's just not available?

@Alfiegerner Alfiegerner changed the title How to add new preheat row How to add new preheat row? Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant