Prusaslicer: Add thumbnails in settings GUI

Created on 22 Apr 2020  Â·  33Comments  Â·  Source: prusa3d/PrusaSlicer

I just discovered PrusaSlicer can export thumbnails since 2.1.1… But I can't find the settings anywhere in the GUI.
I can edit the printer .ini file by hand, and the thumbnail is correctly exported, but that's not really a "user-friendly" way ;)

A workaround until it is implemented

  • Menu > Help >Show configuration directory
  • Close PrusaSlicer to prevent any rewrite of the config files
  • Edit your printer file (printer/my_printer_name.ini)
  • Add a line containing thumbnails = 160x160 (change the resolution at your will)
  • Restart PrusaSlicer to load the new settings
feature request

Most helpful comment

Hi, more information not needed, thumbnails aren't in settings GUI right now. Let's make this the feature request.

All 33 comments

Hi @Salamandar, could you please elaborate? What's wrong with the thumbnail export?
Please provide all the information that you can when creating a new issue. Pictures will also surely help.

Hi, more information not needed, thumbnails aren't in settings GUI right now. Let's make this the feature request.

More info: Thumbnails are currently dependent on the Printer capabilities and printer settings. Printers like the MINI will cause PrusaSlicer to output thumbnails into the gcode which makes sense since the printer can display it. Printers like the MK3S this didn't make sense in the past as they can't display it on the screen.

Software like OctoPrint and Octodash can display these thumbnails while sorting through gcode files or even while printing them.

Currently to make use of this functionality you need to define a new printer and edit the ini file manually or edit PrusaResearch.ini directly and add the thumbnail directive.

This would be best to have as a setting. I actually came here to make precisely this request. Good work @Salamandar for beating me to the punch.

Yeah, I guessed this is a feature activated by printer name or whatnot. I wanted to try editing the Printer Notes to add other PRINTER_* and PRINTER_VENDOR_* to see if that changed anything but I was too lazy to search which "keywords" are enabled when using an "official" Prusa printer.

@Salamandar It's not hard. Open up %appdata%\PrusaSlicer\vendor\PrusaResearch.ini

Look for [printer: model] in my case it's [printer:Original Prusa i3 MK3S]
add "thumbnails = 16x16,220x124"
save and done.

It's just a pain that any update that Prusa issue will clobber these changes since on an update they are re-written.

@thegarbz Never said it was hard. I even said I did it. I said it's not user friendly. If you want to edit config files by hand, just call PrusaSlicer in command line and non-interactive mode ;)

I fully agree, will be more user friendly for sure, I opened a similar issue halve a year ago, but it was closed - pending proof of implementations. See #3488 . Since the "proof is there now" I asked to reopen it or create a new issue, or: (the best) implement it in the settings on e.g. the "general" tab. Hope it will get done, it does not sound to difficult, given the implementation of the feature is already there!

I'll try and do a PR. As @ruedli says, that'd be a great "newby PR" for me.

Well, that's more difficult than I thought. Whatever I do, i get

terminate called without an active exception
[1]    19597 abort (core dumped)  ./src/prusa-slicer

I tried to add

        optgroup->append_single_option_line("thumbnails", 0);

in Tab.cpp:1984.

Well, Mouse3dController doesn't have a destructor. That's not normal.

Well, Mouse3dController doesn't have a destructor. That's not normal.

Could you please be more constructive and tell us what the problem in the code is (if you can reproduce it on master branch)? Thanks.

@lukasmatena I'm going to do a PR first, that's not the correct place for such discussion ;)

@Salamandar It's not hard. Open up %appdata%\PrusaSlicer\vendor\PrusaResearch.ini

Look for [printer: model] in my case it's [printer:Original Prusa i3 MK3S]
add "thumbnails = 16x16,220x124"
save and done.

It's just a pain that any update that Prusa issue will clobber these changes since on an update they are re-written.

Thanks for your more detailed instructions compared to what was given on the plugin site. Finally got it to work after following our instructions! Much appreciated, Thanks!

It's just a pain that any update that Prusa issue will clobber these changes since on an update they are re-written.

Exactly the reason the plugin page doesn't have the instructions written out like that. Every time there was an update it would break your settings. Creating a copy of the default profile in Prusa and modifying the custom one prevents that from happening. Really this should be a setting now that we've proven not just the Mini has the capability but any printer that is paired with OctoPrint can as well.

Thanks for the clarification.

On Thu, May 14, 2020 at 12:27 AM jneilliii notifications@github.com wrote:

It's just a pain that any update that Prusa issue will clobber these
changes since on an update they are re-written.

Exactly the reason the plugin page doesn't have the instructions written
out like that. Every time there was an update it would break your settings.
Creating a copy of the default profile in Prusa and modifying the custom
one prevents that from happening. Really this should be a setting now that
we've proven not just the Mini has the capability but any printer that is
paired with OctoPrint can as well.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/prusa3d/PrusaSlicer/issues/4112#issuecomment-628378832,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMN7K3QMRS4NCNKUEFELDPTRRNXLJANCNFSM4MOBYHYA
.

>

Kelvin Goon
Cell: 703 362-3011

Adding my vote to enable this by default and make the option visible in the Settings.

Yep I'd love to have this for my mk2.5S; I agree it should be off by default for these printers but enable-able through the GUI

@ciaranmcnulty Why off by default? These printers ignore any Gcode starting with a preceding ; and there is already discussion of using M26 so the SD card doesn't even parse the selected code. Why would you disable it by default?

@thegarbz because the generated gcode files are bigger.

Well, I tried to implement something but I couldn't get any code to run, and I don't have enough time on my hands for the moment :(

Yep just for size

I don't see how 50KB in what is usually a multi-megabyte file is even remotely relevant enough to justify making something off by default, and that's 50KB with with a 256x256 thumbnail, you could always default to 128x128.

Just for fun I checked the smallest thing I've ever printed and it was 40KB. I can't remember what it was because the filename wasn't descriptive enough "spacer" and it didn't have a thumbnail (ironically that would help here). But looking at the gcode it appears at somepoint I printed 4 tiny squares 0.5mm high. As a user I could not care less if that file was 90KB. Actually in this case it would have outright helped me.

The next smallest file I have is 178KB, also sans thumbnail, no idea what "clip" was.

So personally I do not remotely see size as a justification for this to be disabled by default.

Last night's print was 23.8MB. I guess 23.75MB if it didn't have a thumbnail.

Yes, and even more helpful is the preview and show as an icon in Windows
explorer (and Finder?), like for stl already. Super convenient...

Op vr 12 jun. 2020 12:09 schreef thegarbz notifications@github.com:

I don't see how 50KB in what is usually a multi-megabyte file is even
remotely relevant enough to justify making something off by default, and
that's 50KB with with a 256x256 thumbnail, you could always default to
128x128.

Just for fun I checked the smallest thing I've ever printed and it was
40KB. I can't remember what it was because the filename wasn't descriptive
enough "spacer" and it didn't have a thumbnail (ironically that would help
here). But looking at the gcode it appears at somepoint I printed 4 tiny
squares 0.5mm high. As a user I could not care less if that file was 90KB.
Actually in this case it would have outright helped me.

The next smallest file I have is 178KB, also sans thumbnail, no idea what
"clip" was.

So personally I do not remotely see size as a justification for this to be
disabled by default.

Last night's print was 23.8MB. I guess 23.75MB if it didn't have a
thumbnail.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/prusa3d/PrusaSlicer/issues/4112#issuecomment-643191907,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGGYOGUN4S5E5R37ZM4KG3RWH5G5ANCNFSM4MOBYHYA
.

I don't see how 50KB in what is usually a multi-megabyte file is even remotely relevant enough to justify making something off by default, and that's 50KB with with a 256x256 thumbnail, you could always default to 128x128.

Just for fun I checked the smallest thing I've ever printed and it was 40KB. I can't remember what it was because the filename wasn't descriptive enough "spacer" and it didn't have a thumbnail (ironically that would help here). But looking at the gcode it appears at somepoint I printed 4 tiny squares 0.5mm high. As a user I could not care less if that file was 90KB. Actually in this case it would have outright helped me.

The next smallest file I have is 178KB, also sans thumbnail, no idea what "clip" was.

So personally I do not remotely see size as a justification for this to be disabled by default.

Last night's print was 23.8MB. I guess 23.75MB if it didn't have a thumbnail.

This so we'll said and a great point. 100% agree!

I agree, having the ability to turn on thumbnails as part of the default profiles would be fantastic

I'd love this for my MK3s.

+1

Now available in the latest version of Super Slicer. There’s options under the printer settings for off and 2 different thumbnail sizes, so once you turn it on and save it for that printer it gets output.

Thanks @neophyl I'll be updating my repo and official plugin repository listing with links to SuperSlicer.

Who is SuperSlicer? Is is a fork of PrusaSlicer?

Just found it! Nicely done! Is the intention to stay as a fork and keep merging things from PrusaSlicer as needed while evolving on its own?

You would have to confirm with Merrill but from comments I have read then yes the plan is to continue building it against the current release of Prusa Slicer. So eventually the 2.3 will make its way in when released.

Dumb noob question. If a copy of the base profile is created and modified to add the thumbnail previews, does one have to create another copy each time the base profile is updated by Prusa or an update to Prusaslicer is released?

Agreed. Would really appreciate this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

i-make-robots picture i-make-robots  Â·  3Comments

DROBORD picture DROBORD  Â·  3Comments

Foxtrek64 picture Foxtrek64  Â·  4Comments

sebastianha picture sebastianha  Â·  4Comments

rackley096794 picture rackley096794  Â·  3Comments