This plugin adds support for Ultimaker Format Package (.ufp) files. Ultimaker Format Package files are based on Open Packaging Conventions (OPC) and contain compressed gcode and a preview thumbnail. This format will automatically be used by the OctoPrint Connection plugin in Cura (install via Marketplace) if this plugin is installed.
The preview thumbnail can be shown in OctoPrint from the files list by clicking the newly added image button.
The thumbnail will open in a modal window.
If enabled in settings the thumbnail can also be embedded as an inline thumbnail within the file list itself. If you use this option it's highly recommended to use Themify to make the file list taller and/or adjust the thumbnail's size. The css selector for setting the file list height should be
#files > div > div.gcode_files > div.scroll-wrapper and the css selector for the image should be
div.row-fluid.inline_thumbnail > img. For example to make a 100px wide centered image in the file list create the following css rules.
|#files > div > div.gcode_files > div.scroll-wrapper||height||800px|
|div.row-fluid.inline_thumbnail > img||width||100px|
|div.row-fluid.inline_thumbnail > img||display||block|
|div.row-fluid.inline_thumbnail > img||margin-left||auto|
|div.row-fluid.inline_thumbnail > img||margin-right||auto|
Install via the bundled Plugin Manager or manually using this URL:
Support My Efforts
I programmed this plugin for fun and do my best effort to support those that have issues with it, please return the favor and support me.