fieldOfView / Cura-OctoPrintPlugin

Cura plugin which enables printing directly to OctoPrint and monitoring the process
GNU Affero General Public License v3.0
493 stars 74 forks source link

Allow to set upload name based on slicing parameters #193

Closed ayufan closed 4 years ago

ayufan commented 4 years ago

This adds an additional option to Connect OctoPrint allowing to have a upload name with a different parameters, like: date or material used.

This makes it possible to quite easily when used with Octoprint effectively be able to store all uploads with adding date and time, or clearly annotate names with likely most common settings.

This also fixes support for presliced files, since the name and material support is affected by this. We cannot send them in UFP format, as we cannot generate image for them, and thus Octoprint returns 500 Internal server error.

Screenshot 2020-09-23 at 19 51 48 Screenshot 2020-09-23 at 19 52 01
ayufan commented 4 years ago

@fieldOfView Can you take a look at this?

fieldOfView commented 4 years ago

There is a separate plugin for setting the name (and path) of the printjob: https://marketplace.ultimaker.com/app/cura/plugins/fieldofview/CustomJobPrefix I will not duplicate that functionality inside the OctoPrint plugin.

Please open a separate issue for printing presliced gcode conflicting with the UFP functionality

peta commented 3 years ago

@ayufan Anyway, thank you for your effort and contribution. I am in the need of the exact same feature and did neither know about the CustomJobPrefix plugin. Will give it a spin though and hope that it is similarly well integrated like your solution.