DavidPhillipOster / ThumbHost3mf

A macOS app that hosts a thumbnail provider that makes the Finder displays the thumbnails built in to some .gcode and .3mf files.
Apache License 2.0
115 stars 2 forks source link

ThumbHost3mf

A macOS app that hosts a thumbnail provider that makes the Finder displays the thumbnails built in to some .gcode, .bgcode, and .3mf files.

I got tired of my gcode and 3mf files looking like

when they could look like this:

IMPORTANT:

To Install:

To get previews in your GCode files, in PrusaSlicer, in Printer Settings, set the thumbnail size to something reasonable. (I use 128x128, but you may need other sizes.)

This will cause PrusaSlicer to append a base64-encoded 128x128 .png image of the gcode to near the start of the gcode file.

If you open the MINI_MINI+/3MF files and Save them, PrusaSlicer adds the thumbnails.

I'm posting this to get early feedback. In an ideal world, the thumbnail provider would be inside the PrusaSlicer app and this app would not be necessary. If this app does not break the world, I'll work on submitting a pull request on PrusaSlicer.

To Build in Xcode

In the project build setting, the DEVELOPER_PREFIX is set to com.example - change it to your actual prefix.

Currently, the project on Github has no DEVELOPMENT_TEAM you should set this in the Signing and Capabilities panel of the project's targets.

You may also need to set a current scheme.

Other

1/15/2024 is the day I learned that https://github.com/jkavalik/GcodeThumbnailExtension makes .gcode icons visible on Microsoft Windows. I haven't tried it so I can't comment on quality.

Versions

License

Apache 2 License