FormerLurker / Octolapse

Stabilized timelapses for Octoprint
GNU Affero General Public License v3.0
638 stars 99 forks source link

2 in one solution to petg clogging, take timelapse while cleaning nozzle #768

Open xjustbmw opened 3 years ago

xjustbmw commented 3 years ago

I print mostly petg, and the nozzle sometimes get clogged and damages the print, I even had a blob that moved the glass bed once :) I tried a lot of retraction settings, drying the filament, issue still persists, randomly on big prints.

So, as a bandaid, I added a brush on the z axys so the nozzle goes there and slides on it twice on each layer change to auto clean. This nozzle cleaning is done through cura experimental feature and it works like this , it also avoids zhops : gecode generated by cura below:

;WIPE_SCRIPT_BEGIN G1 F1500 E13.81205 G0 F7800 X234 Y124.596 G0 X248 Y124.596 G0 X234 Y124.596 G0 X248 Y124.596 G0 X115.635 Y124.596 G1 F1500 E18.68732 ;WIPE_SCRIPT_END

is there anyway to have octolapse take the snapshot when this happens without modifing any of the gcode that is sent to the printer ? thanks

FormerLurker commented 3 years ago

So, you can disable stabilization and use the gcode trigger to have Octolapse just take a pic. Basically you just need to add an @Octolapse Take-Snapshot command and use the gocde trigger.

Also, it WILL slightly modify the gcode by sending an M400 + M114 so it knows when the commands in the planner are complete before taking a snapshot, then it will resume printing. You'll also have to change your printer profile's slicer configuration to manual (select your slicer and fill in the settings) making sure you set zhop and retraction to 0 to disable those. I've been planning to add overrides for zhop and retraction so they are not based on the current slicer configuration, but that's not implemented yet, so this is sort of a workaround.

make sense, or am I not getting something?

xjustbmw commented 3 years ago

Sounds quite good to me. by slicer configuration you mean the slicer cofiguration inside the octolapse ? search/replace script in cura doesnt seem to support regex at the moment will figure out how to send the take-the shot command when the printhead is cleaning (between X234 and X248)