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

Enhancement request: rewrite this as a Thumbnail Generator for Spotlight #1

Closed
DavidPhillipOster opened this issue Feb 4, 2023 · 4 comments

Comments

@DavidPhillipOster
Copy link
Owner

If this were a Thumbnail Generator for Spotlight then no change for PrusaSlicer would be needed and it would show the custom icon even if the .gcode file were moved to a EXFAT or FAT filesystem.

@matthewjschultz
Copy link

Understanding that I'm veering off the intended course… between OctoPrint and PrusaLink I find myself rarely generating .gcode files that live on my Mac. I just publish directly to the printer which means the .gcode files only live on the Mini's thumb drive. What would be helpful is generating previews for 3MF files. (Unless this happens already and my install isn't working as advertised.)

Just a thought.

@DavidPhillipOster
Copy link
Owner Author

Thank you. I've learned some things since I wrote the app.

PrusaSlicer .3MF files already contain a thumbnail. I will write a Spotlight Plugin that will cause Finder to show those thumbnail as icons.

That same spotlight plugin will allow gcode thumbnails to appear as Finder icons, even when the .gcode files are on the Mini's thumb drive.

Please be aware of prusa3d/PrusaSlicer#6322 : some Octoprint users have had problems with Octoprint timing out as it tries to skip large thumbnails.

@matthewjschultz
Copy link

David, That would be ah-maze-ing.

Thank you!

@DavidPhillipOster
Copy link
Owner Author

DavidPhillipOster commented Feb 5, 2023

Here's a working version: https://github.com/DavidPhillipOster/ThumbHost3mf - it works on my machine, and I want to learn if it works for other people. It will cause Finder to show all PrusaSlicer .3mf files with a custom icon, and .gcode files that contain thumbnail data will show with a custom icon

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

2 participants