CreativeInquiry / PEmbroider

Embroidery Library for Processing
Other
443 stars 28 forks source link

Put file name or sketch name in PES file #81

Closed golanlevin closed 3 years ago

golanlevin commented 3 years ago

Per Alex Penman on Slack, let's not use the word "Untitled" in the PES files, since this is what is displayed on the Embroidery machines. Instead, use a copy of the PES filename itself.

LingDong- commented 3 years ago

Now fixed to use the filename: 69ea0fd0a0788a97ff6c7764ca4f1ead612c7f92 In the binary, PEC format restricts the filename to 8 characters though, so most of our examples will show up as PEmbroid 🤷

golanlevin commented 3 years ago

Ok, the 8-character limit is an interesting situation. What if there were a new function, E.setTitle("tinyName") which was specifically for the title displayed on machine LCDs? This would override the use of the long PES filename, if called. This is analogous to setTitle() in Processing, https://processing.org/reference/setTitle_.html.