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: Detect IDEX/dual extruder unretract in excluded region #74

Open thigger opened 1 year ago

thigger commented 1 year ago

Using an IDEX printer (Tenlog D3 Pro) - when switching tools it's recommended to do a major retract (I have 15mm) prior to a tool change to get filament out of the hot zone. This is then unretracted, along with a bit extra to account for leakage, when the tool starts to print. If that occurs in an excluded region after a tool change, the unretract doesn't happen and there is a major delay before real extrusion starts, ruining other areas of the print. Is it possible to detect these and allow them to still occur? I appreciate they'll look a lot like normal unretractions but assume there's some logic already to try to match these. I'm not yet familiar with the code but I'll have a look to see if I can spot anything that might work.