On P2S/H series there’s dedicated g-code for travel to chute and wipe, G150.3 and G150.1, but X1C doesn’t slice and errors out when using these.
The goal is just a mid print wipe every X layers then continue. The problem with a manual pause, the print head does go to chute and perform a wipe on resume, is it occurs during a layer and always pics up a little filament/never resumes cleanly and those bits becomes blemises/blobs/bigger issues. So I need it to occur on layer change so it’s done cleanly.
I already have the panda brush, which wipes well enough, I just need the working g-code.
I’ve grabbed a copy of the SteinWipe code block and am working on modifying that, moving to chute and wiping is the easy part, it’s getting the extruder going again after as it thinks it’s in an unsafe state.
I’ve just realised Steinwipe uses different style move commands, not the G1 commands I was using so I’m working through that.
Plus I don’t want to insert from template manually at each layer where I want the wipe, I want the if layer = part so I can just do it every X layers, say 500, and save that for the model and not have to insert it each time.
Thanks, the wipe every layer part is already sorted. It was just returning to extrusion that was the issue. As above, I realised I was changing the move commands which upsets the last know position status and upsets extrusion so I’ll sort that next and it will effectively be what you’re suggesting here.
I should add I don’t mind fiddling to learn as I’ve not played with g-code prior to this.