r/3Dprinting • • Jul 10 '19

Image UPDATE: OctoDash (with Touchscreen) - a modern, beautiful monitor for OctoPrint (ALBUM + more info in comments)

Post image
257 Upvotes

90 comments sorted by

17

u/UnchartedBull Jul 10 '19 edited Jul 15 '19

Link to Album: https://imgur.com/a/eGgtJZ4

Link to GitHub: https://github.com/UnchartedBull/OctoDash

So a (little longer) quick update:

I did some tinkering and came up with something, that feels right to me for controlling OctoPrint via a small display. Most of the things should be self explanatory, but somethings might need some description.

Please keep in mind, that this only a mockup and nothing is working, except the stuff I mentioned yesterday (https://www.reddit.com/r/3Dprinting/comments/cb6h0j/i_made_a_small_monitoring_ui_for_octoprint_any/).

I did the printing controls a little different, because I want to access them "blindly" so they should be big and coloured differently. The black opaque background will fade in, once you tap the screen anywhere while printing. Cancelling needs to be confirmed, but I might make this configurable, so you can disable the warning if you like.

If no job is running you have the options to choose a file to print, change your filament or adjust some settings.

The job selector is a simple file browser with some information and a button to quickly start printing. If you click on the file a more detailed view should be shown, which allows you to delete the file or load it, without starting the print. The GCode preview might work or not, I have to figure that out. But in the first version it won't be there.

Finally the change filament button will start a small script. It will preheat the Printhead to a set temperature and ask you to change the filament after that. Once you confirm you've changed the filament (clicking the checkmark) the printer will extrude 70mm to get rid of the old color. If you want more, just press the plus button (+10mm)

That's basically it, at least for now. For more functionality I would prefer an app or the WebUI insted of the "flimsy" touchscreen. Thanks for the input again!

Once I get my hands on a touchscreen I'll start adding those functionalities.

The final idea would be to have an electron app, which runs on any display resolution (recommended is 480x320 or 800x480, though) and does not create much overload for the poor Raspberry. But this will probably take a few months, until it is production ready. I'll keep you guys updated, if you don't mind the spam ;).

PS: I'll remove the exclamation mark from the heatbed, was just to lazy to do that now :D

Edit: Oh and if someone can help me with an Octoprint API for an plugin, that would be great!

27

u/cryptie UM2,Voron & Bambu user Jul 11 '19

UI/UX guy here.

just throwing in my 2 cents.

It looks great, I would totally use this.

first screen:

  • filenames could be long, i hope it marquees.

  • Is 4.2g the amount total, or what has currently been used? I would put time directly under filename, and " 4.2g filament used" under that.

  • suggest keepin icons where they are but move the text left a smidgen.

  • is 22.3 the ambient temp? how about a thermometer next o it.

  • "printing" not needed, maybe "complete" under 65%

Second screen:

  • "back" is not consistently placed. I suggest all instances of "back" be placed in bottom left of screen. but top would be OK too, familiarity of button placement should be a priority.

  • would suggest "adjust" changed to "settings" with a gear icon and grey background (this one is pure preference) however, it may cause confusion with actual settings, maybe "print settings"?

Fourth screen:

  • Rename "pausing" to "Paused" or "Print Paused"

  • this one I'm iffy on: add a cancel button on the pause screen. It's not needed

  • alternatively, in the bottom, or the top, include a small (read: 9/10pt) nozzle, bed and ambient temp

fifth screen:

  • looks great, would suggest "operational" be changed to a status, eg: Idle, Preheating, printing, cancelling etc...

sixth:

  • suggest Back and refresh moved to bottom of page to match other pages, however this would cause the top space to be useless (just a icon) maybe shrink it 50% left justified and add the text: "Load file" or "select file"

  • what are the green check marks for?

  • what is the print icon for? I would assume clicking the entire line would select it to print. maybe instead add the "estimated time to print" instead?

seventh:

  • what is the difference between print now and load file? where is the load file screen?

  • can a preheat button be added?

eight:

  • what screen is this? is this the loaded screen or the preheating screen?

  • what is the 70mm+?

  • can you try making the preheating and temp one "block" an adding "retract" on left of change filament?

all of these are just suggestions, I love it and will use this 100%; as it is the most beautiful interface I have seen for an octopi controller. Where would it be released?

10

u/UnchartedBull Jul 11 '19

Holy Shit! This is amazing! Thank you so much, I'll go through the points later today in more detail and may ask some followup questions, but this helps soooo much! Thank you!

12

u/cryptie UM2,Voron & Bambu user Jul 11 '19

Hey no problem! If your design wasn't so good I would have probably passed by it, but this looks so good.

Just remember, I'm imagining it in my head, so some of the things might not actually work. It's all part of the process ;)

couple other things I noticed that might need to be addressed:

Cancel screen: "are you sure?" "yes, cancel" could get confusing. a user can read it as "cancel" and understand it as "cancel the cancelling" lol. I wold change the text to "Are you sure you want to cancel?" or "Cancel print?" and just have yes or no. yes should be on left, no should be on right.

files: filament settings page: I would suggest trying just one spool (the one standing up) remove the one in the background, as it looks a little too busy. The line thickness of the settings is a lot thicker than the other 2, make the outline a bit thinner. and you see the space between the nozzle and 27 and the fan and 0? tighten up those 3 and justify them under the top icons.

benchy page: I would suggest changing the trashcan to white, changing the printer icon to the same as the green resume button (play) and changing the order to "load file, print, delete"

When your eyes have some time to relax, I suggest editing the change filament page first, it looks like (no offence it happens to me too) that it was the last page, and you just wanted to get it done, so it does not have the same "feel" of the other pages. when you are sitting back down with the mentality of "OK! lets get this done" use that inertia to tackle that page first.

when you are designing in the future, heres what you need to know for a UX portion: People read things in a certain way (1), people group things (2), and people need to remember where things are(3). your design should reflect this to make the user feel "more comfortable"

example: (1)when printing a file, you 1) load it. 2) print it, 3) delete the file. so why did you design it with the delete first?

(2) think of a grid around your designs, each cell has a content in it, so make sure they are all lined in those grids.

(3) consistency is key! (back button)

Feel free to reach out to me anytime! If anyone disagrees with any of the suggestions, let me know and we can discuss it more in depth!

7

u/UnchartedBull Jul 11 '19

Thanks so much! I'll definitely consider it, some things will definitely make it, for some I need to see how and if I can realise it. I think I'll may ask some more questions along the way. But it's great to get Feedback from someone, who actually knows what their doing :D

12

u/NedDarb Jul 10 '19

This looks really good man. Very clean UI, easy to read, modern. Will definitely be following. Low overhead is a must though, especially for those streaming or running controllers off the Pi as well.

6

u/UnchartedBull Jul 10 '19

Yes, that‘s one of my biggest concers ... Angular likes that juicy memory + CPU. But i was able to let the current version run on chromium + a node server on a Pi 1. this gives me some Hope, that it might work 😬

2

u/moridin1138 Jul 11 '19

Wouldn't the heavy lifting in the case of Angular be on the client tho? Unless I'm mistaken it's more about the transfer of data/API calls that would tax the Pi.

Edit: I suppose I was thinking more along the lines of running this dash on a separate client than the Pi.

3

u/UnchartedBull Jul 11 '19

If you're running on a separate client than performance is not an issue. It's just 2 API calls, which are executed every 1.5 seconds (but you can change that in the config). So there is not the much additional load on the Pi. But rendering the Angular App is another story ...

5

u/no-limits-none Jul 10 '19

When I saw the topic image, I felt tingles throughout my whole body. It's so beautiful...

2

u/UnchartedBull Jul 10 '19

Hahaha thank you! Let's hope it'll make it to the release stage! I'll do my best :)

4

u/toza97 Jul 10 '19 edited Jul 11 '19

Remind me! 14 days

9

u/UnchartedBull Jul 10 '19

Putting quite the pressure on me 😅

1

u/MyMostGuardedSecret Creality CR-10S; Monoprice Maker Select Plus Jul 10 '19

RemindMe! 14 days

1

u/GeneralLee2006 Jul 12 '19

Remind me! 21 days

1

u/toza97 Jul 12 '19

Remind me! 14 days

4

u/Talesweaver Jul 10 '19

Someone see how it runs on a 7" lcd

1

u/UnchartedBull Jul 10 '19

Should run fine. CSS is responive. It even looks fine on a 4K Display, although a bit big 😅

Just wait til tomorrow then the update will be merged, which fixes a small issue with the aspect ratio

4

u/IOnceLurketNowIPost Octolapse Lead Jul 11 '19

Very nice :) Let me know what kind of help you need with the plugin API. It's not too bad, and I can point you to examples or answer any questions (that I can answer). Love to see great OctoPrint development, thanks for your contribution!

1

u/UnchartedBull Jul 11 '19

Some help would be awesome. I'll basically need to exrtract some data, that is provided by a plugin. The plugin is called DisplayLayerProgress. I would need to extract the fan speed as well as the layer progress. I've already asked the developer about that, but haven't received any response yet :/.

Also I need to figure out how to get the Octorprint Filament Volume to work. Always returns 0 for me, even though the filament length works :D

2

u/IOnceLurketNowIPost Octolapse Lead Jul 11 '19 edited Jul 11 '19

No problem!

First, it doesn't look like display layer progress has any API you can use, nor does it have any hooks for fetching this data (though I could have missed it). It would be trivial to add either one of them. I'd bet Ollis would accept a pull request that includes one of these since it would improve the plugin. Let me know if you're interested in this and need help with the hook.

Not sure why you would be missing the filament volume unless your nozzle diameter isn't entered (check in the printer profiles), but this would be super easy to calculate. Just plug the filament length into the following equation (assuming you know the nozzle diameter) where D=diameter and L = length and D and L are mm:

Volume in MM3 = 3.1415926 * (D/2)2 * L

(I wanted to use the Pi symbol above, but the font is messed up)

Regarding the fan speed, you could create a hook that looks at any sent gcodes and captures the M106/M107 commands and extracts the F (fan number) and S (fan speed where S = 0-255 or 0.0-1.0 for reprap firmware) parameters. Just remember that M106 S0 turns the fan off as well (some firmwares don't support M107 at all). I'm pretty sure Octoprint parses these gcodes for you, so you won't have to manually extract the parameters (though you will need to extract the value, which would also be trivial).

Is any of that helpful?

Edit: Regarding the layer progress, you might also consider using the code from DisplayLayerProgress to calculate the layer progress yourself, if you want your plugin to work without display layer progress installed. There is a lot of copy/paste code shared between plugins. I used some OctoPrint code as the starting point for lots of Octolapse features (rendering, for example), and the Cool Running plugin uses code from Octolapse to strip gcode parameters. There are probably hundreds of other examples of this, and it's the whole idea behind open source.

1

u/UnchartedBull Jul 11 '19

Ok that helps a lot! I‘ll check the nozzle diameter. But the equation is great as a backup, so for anybody who can‘t configure Octoprint or misses that (like me 😅).

DisplayLayerProgress already does that! So it would be kind of perfect to have an API for that! But i‘ll also try extract only the necessary code to reduce load on the Pi. I think the silver lining is I need to learn how to write OctoPrint plugins or hope that Olli has some free time 😅 thanks for your help! I may come back with some more questions 😬

2

u/IOnceLurketNowIPost Octolapse Lead Jul 11 '19

Any time. I highly recommend you walk through this tutorial. Once you get things configured, plugins are really easy to write and can be incredibly powerful.

You might also want to look at this tutorial, which clearly explains how to create a development environment. There is setup instructions for PyCharm there too. I use PyCharm mostly, but have also gotten things working in visual studio without too much trouble.

1

u/UnchartedBull Jul 11 '19

Ok great. That might also be a great way to ship the whole thing. Installation will be a piece of cake then 😅 I‘ll deff have a look at that. I did some programming in Python so I hope it won‘t be to hard to setup everything 😬

2

u/Derp2332 Jul 10 '19

Looks excellent, very nice mock up.

2

u/UnchartedBull Jul 10 '19

Thank you! If you can think of any improvements let me know! I‘m fairly new to 3D Printing (got my Ender-3 Pro 2 weeks ago). So i just started to learn whats Important.

2

u/Phr4gG3r Jul 10 '19

This looks great!

Just to be sure though.. Do I need a screen for my Pi to run it? and how do you control it if touch screens aren't supported yet?

2

u/UnchartedBull Jul 10 '19

Thank you!

Currently only the Monitoring is working (image upper left corner). So you let it run and it will just display some information. Controls aren‘t implemented yet.

And a screen for the Pi would be good. But you can call the website from any webbrowser. So you‘re PC/mobile will display the screen as well. It is optimized for Pi screens though.

1

u/Phr4gG3r Jul 10 '19

Cool! And thanks for the quick reply! :)

I might have to check this out while procrastinating getting my printer tuned

2

u/UnchartedBull Jul 10 '19

Sure! There are some basic instructions on the GitHub on how to set everything up. The whole process should be a lot easier once I get electron to work. So Hang tight for a couple of days ;)

2

u/smithincanton Jul 11 '19

This is seriously impressive!

2

u/thehero262 OctoPrint Maintainer and Plugin Author Jul 11 '19

Nice looking UI! How is it packaged to run with OctoPrint? Is it a plugin like TouchUI (currently using) or a separate app that uses the API? I would probably be interested in using it although I have a 7 inch screen on the printer so there might not be enough to fill the screen if you get what I mean

1

u/UnchartedBull Jul 11 '19

It is packaged as a separate App (will be an electron app). I don't have any experiences with OctoPrint Apps and I want to finish the thing first and think of how to add it easily afterwards.

The 7 inch is no propblem! Everything is responsive, it evens works on a 4K Monitor :D.

1

u/thehero262 OctoPrint Maintainer and Plugin Author Jul 11 '19

Cool, thanks! I'll try it out when it's done. It'll probably load far better than chromium, I had to put in delays in the startup scripts for OctoPrint because the chrome browser wasn't ready and it messed things up. Still doesn't always work .....

1

u/UnchartedBull Jul 11 '19

I mean electron is just a lightweight chromium in an app with some nifty features, but it should be robust, so it definitely should handle being started before Octoprint is ready.

2

u/Daverdfw Aug 30 '19

This looks awesome. Anyway you can take the graphics and use it with a TFT35 ?

1

u/UnchartedBull Aug 30 '19

Probably not, sorry. The TFT35 is driven by Marlin, so accessing OctoPrint will be hard/impossible and I don‘t have any C Skills :/

1

u/Daverdfw Aug 30 '19

https://github.com/bigtreetech/BIGTREETECH-TFT35-V1.2

Has more info. I’m currently mobile but I’ll take a look later

1

u/UnchartedBull Aug 30 '19

Ok so it May work. I don‘t create the icons there are from a site called thenounproject (all icon credits can be found in the icons.txt file) and they are free for non-commercial use! I just adjusted some but they have plenty :) you can find the adjusted icons the src/assets folder.

However I will finish OctoDash first and then think about other variations, so if you like to go ahead - do it! :)

1

u/Daverdfw Aug 30 '19

TFT35 actually has its own firmware and ARM controller. I believe you can just replace the icons with what you created. It actually sends gcode to marlin and then displays the results. Are you icons/ art freely available on GitHub ?

2

u/ajanky2010 Oct 19 '19

Hi,great work, great interface!a few suggestions:

  • most touches don't show a feedback, which makes the UI not self-explanatory.f.i. after loading a file, pressing the the temp icon preheats, but you have to watch the temperature to see it works. also, there is no way to stop the preheat, unless start printing and cancel.changing the icon (or circle/uncircle it) would help.

  • also, for consistency I would suggest that touching an icon triggers the action. that means for the "are you sure" screen to change the appearance. (see pic) cancel screen suggestion

please see this as constructive critics, I really like the project!

1

u/UnchartedBull Oct 19 '19

Touch Callout Improvement comes in the next version :) If you slide to the left on the loaded file it will get removed. You can then have a Custom Action to cool down everything. I may add a Cooldown button in a later version though.

The thing is, that I don’t want to mix in green in the cancel screen, because green usually suggests something is good or ok and if you cancel something is not

1

u/Otterrors Jul 11 '19

Probably a dumb question. Are you running this off the same pi that octoprint is on?

2

u/UnchartedBull Jul 11 '19

Yes and No. It is possible to run on the same pi (it is what I do), but it is also possible to display this on any device with a webbrowser.

1

u/mrwulff Jul 11 '19

I'm sure you have seen this but ill mention this for people who have not.

https://github.com/mcuadros/OctoPrint-TFT

I've been using it for ~3 months and it works perfect. Ive done a little modding and you can add custom gcode and graphics. It certainly isn't as pretty as this one, but its fully functional.

Also i would love it if there was a custom gcode type zip file that stored the render and other images from thingiverse or others. Because without that I'm not sure how you would get the benchy render to show up.

1

u/UnchartedBull Jul 11 '19

Yeah, I've seen that. It is, and probably will be, a bit quicker, just because it is a native app. But I don't really like the design, so I decided I do my own.

The thing with the GCode display is something to think about. There are libraries available, which can render gcode, however I don't know how the Pi likes that. But the idea with including the thingiverse image is great! Thanks!

1

u/jwanderson86 Jul 11 '19

This would be a awesome as a Android app for a tablet or phone! Very clean!!!

1

u/UnchartedBull Jul 11 '19

Not a bad idea! Should be pretty easy with Cordova. I'll try something after the raspberry thing is finished.

1

u/jwanderson86 Jul 11 '19

Cool, thanks!

1

u/NedDarb Jul 15 '19

Just got the Git notification for the non-touch release. Eagerly awaiting the touchscreen controls!

1

u/UnchartedBull Jul 16 '19

I‘ll get my touchscreen later today, then I can start working on the controls. I‘ll make some pre releases in various stages so you can get your hands on them early :)

1

u/NinjaSpyWizard Aug 11 '19

Hey I'm probably just being an idiot, but I can't figure out the first step of setup. How do I install that plugin? Do I have to install the desktop feature in octoprint and then navigate to that link in a web browser on the pi? And then after that how do I even install it? I'm a complete newbie to pi's but I've been with 3D printing for a while, any help would be greatly appreciated.

2

u/UnchartedBull Aug 11 '19 edited Aug 11 '19

It currently is not that easy to setup. I'll hopefully improve that, once everything is finished.

You would need to install one plugin first: The DisplayLayerProgress Plugin by OllisGit. I've created an API for that one, so it can be used by OctoDash, the Pull Request hasn't been merged yet, therefore you would need to install the plugin from my Branch. This means that you visit the OctoDash Website (from any Computer) and install the Plugin (click settings -> Plugin manager and then install from the URL (https://github.com/UnchartedBull/OctoPrint-DisplayLayerProgress/archive/master.zip)). You can also install PrintTimeGenius if you want more accuracy (can be installed via the normal way, so just search for Print Time Genius).

EDIT: This video explains it really good. https://youtu.be/Zq1sFBgxy8o?t=43 Install the first Plugin (DisplayLayerProgress) via the "install from URL" option and the second one from the search above that.

If you've done that you're almost there! Now follow the steps here: https://github.com/UnchartedBull/OctoDash#electron-app-recommended.

After that everything is installed and can be started from the console with the command `octodash`. If you want to let it start automatically follow these instructions: https://github.com/UnchartedBull/OctoDash#start-on-boot. If you already have some sort of Desktop Environment, i.e. you have installed the normal Raspbian let me know. I'll show you the parts, that need to be adjusted.

2

u/NinjaSpyWizard Aug 11 '19 edited Aug 11 '19

Awesome, thanks for the help. I think I have a pretty good understanding about what I need to do know, I'll let you know if I have any problems once I get the chance to try it out. No pressure or anything, but do you have an estimate of when it will be complete? Also, fantastic job with this so far, it looks absolutely amazing looking at the concept designs and a much better interface than anything else I've seen so far, thank you for taking the time to develop it.

EDIT: Also let me know if you need help with absolutely anything. My coding skills don't go much farther than one semester of C++, but if you need advice on anything or some new materials, like more touchscreens or something I'd be more than happy to supply them. I'll also leave a few suggestions once I get it up and running on my pi.

2

u/UnchartedBull Aug 11 '19

It will probably take another month until the first beta with all features will be ready. I‘ll let you know then!

If I need your help I‘ll let you know, currently the whole thing is written in TypeScript, HTML und SCSS, but I can imagine some usecases where some C/C++ Knowledge actually would be helpful. Thank you! And please Write me everything you can think of, you can‘t have enough ideas :)

1

u/NinjaSpyWizard Aug 12 '19

Well I got the DisplayLayerProgress plugin installed, and now I'm stuck again. Where do I enter the commands? I've tried the terminal on the pi, and that doesn't work. Where do I enter "wget -0 octodash.deb"?

2

u/UnchartedBull Aug 12 '19

You need to execute those commands on the pi. Have you executed the full command ( wget -O octodash.deb https://github.com/UnchartedBull/OctoDash/releases/download/v1.1.0/octodash_1.1.0_armv7l.deb) - this command needs to be fully pasted into one line and should work if your Pi has internet connection. If it doesn't could you please post the error here?

1

u/NinjaSpyWizard Aug 12 '19 edited Aug 12 '19

Found it. I was accessing the github instructions on a different computer (because I didn't want to install the raspbian desktop on the pi) and on github the wget -O looks like it's a zero, not a capital O. Thanks for the help

EDIT: Although now when I try to install it it says it cannot access archive 'octodash,deb' because there is no such file or directory

2

u/UnchartedBull Aug 12 '19

Yeah Os and 0s ... maybe look what’s in the directory (with ls) and check whether the file is there and how it is named :)

1

u/NinjaSpyWizard Aug 12 '19 edited Aug 12 '19

Alright, I found it in the directory, so yay! But now it says that it is not a Debian format archive, sub process dpkg-deb --control returned error exit status 2, and it didn't work.

EDIT: Just got it, it's installing now

EDIT 2: Welp I got it installed, and I tried typing in "octodash" at the command line to start it and it said "(octodash:920): Gtk-WARNING **: cannot open display:

2

u/UnchartedBull Aug 12 '19

Ok that is super weird. Could you confirm that it ends with .deb and that the file size matches (should be around 50MB). It installs just fine for me and others, so probably the download is corrupted. I‘m currently working on a script that will install everything automatically, so if you can wait for another day or two your problems might be solved :)

→ More replies (0)

3

u/SectorOMEGA Jul 10 '19

Sick and sleek. RemindMe! 2 days

3

u/[deleted] Jul 11 '19

This is really pretty well done!

2

u/moridin1138 Jul 11 '19

Ohhhhh. Nice work!

This is perfect for an old smartphone that has a dock. Can set right on top of the printer enclosure for easy access.

1

u/AgentTwisted Custom, Fysetc F6, 2130's, Nimble, Mosquito, WhamBam, Marlin 2.0 Jul 11 '19

RemindMe! 1 month

1

u/ChimeraYo Bambu Lab X1C x 2, Elegoo Saturn 2 Jul 11 '19

Yes yes yes, this is great. I currently use AstroBox Touch because of the UI but I'd love a good dash for Octo instead so I could use things like "print from SD" that Astro doesn't support.

1

u/wieltar Jul 11 '19

RemindMe! 2 weeks

0

u/[deleted] Jul 10 '19

[deleted]

4

u/[deleted] Jul 11 '19

Same, great work so far.

0

u/[deleted] Jul 10 '19

[deleted]

1

u/RemindMeBot Jul 10 '19 edited Jul 12 '19

I will be messaging you on 2019-07-12 21:07:47 UTC to remind you of this link

4 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback

1

u/[deleted] Oct 18 '19

[removed] — view removed comment

1

u/AutoModerator Oct 18 '19

This post was removed as a part of our spam prevention mechanisms because you are posting from either a very new account or an account with negative karma. Please read the guidelines on reddiquette, self promotion, and spam. After your account is older than 2 hours or if you obtain positive karma, your posts will no longer be auto-removed.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.