-
Notifications
You must be signed in to change notification settings - Fork 1
Need similar plugin, can you maybe help? #14
Description
Hi, apologies if this is a little cheeky, but I need a similar kind of plugin and I wondered if you could give me some direction or maybe even help (I am a coder, but I have never done an Octoprint plugin before).
I have an IDEX printer and want a plugin that will change all instances of E0 to E1 - such that, if I have a GCode file which is sliced for Extruder 1, instead have it print using Extruder 2 (Because the filament I want is already loaded into extruder 2).
Your plugin already does a lot more complex stuff - I just need to work out what bits I need to change to make it a unique plugin, and where my entry point is. I guess essentially what you are doing is registering some hook - you get passed each line of Gcode and do some string manipulation, then write it out.
If you could give me a leg up, I would really appreciate it.