wgcv / RewriteM600

12 stars 13 forks source link

Fix resume functionality and z-positioning #12

Closed Travja closed 7 months ago

Travja commented 2 years ago

I've sort of reworked how the plugin handles returning back to the correct position by caching it manually by interpreting the result of a M114 call. Additionally, I've changed a little bit of how it moves to prep for the filament swap. Hopefully the code all makes sense. Basically I'm mimicking the behavior of Cura and how it slices the last little bit of the GCode to scrape the nozzle a little to prevent a spike of filament. Anyway, the code should all make sense for anyone wanting to experiment and use this.