bradcfisher / OctoPrint-ExcludeRegionPlugin

OctoPrint plugin that adds the ability to prevent printing within rectangular or circular regions of the currently active gcode file.
GNU Affero General Public License v3.0
55 stars 5 forks source link

Feature request: remove all regions #35

Open nhendin opened 4 years ago

nhendin commented 4 years ago

I am printing a full plate of parts and used this plugin to mask one of 34 of them where I had a bed adhesion issue, and it worked great! Thank you. This saved the remaining 33 parts --- which are face shield components for local medical centers, so I'd hate to waste the filament on cancelling the entire job.

Then I tried printing the same file from Octoprint again, and it still skipped the masked region on the next print. The object was complex in shape requiring about 15 small regions to mask it out, which had to be removed one by one.

Suggestion would be to allow deleting all regions, or asking if you want the regions to persist across prints, or not.

Thanks again for the great plugin.

bradcfisher commented 4 years ago

The current release (0.2.0) of the plugin has an option to enable/disable the feature of retaining the exclusion regions across prints. If "Clear Exclude Regions when Print Completes" is checked, the regions will be automatically cleared at the end of each print.

image

I'll consider adding a way to quickly clear all of the defined regions in the UI for a future release. In the mean time, a relatively quick way to accomplish that would be to select a different gcode file.
The plugin clears all regions whenever a new file is selected, so switching to a different file, and then back will effectively clear any regions you have selected. A bit of a hassle, but may be faster than individually deleting several regions.