Hey there. I'm working on a service that works with Octoprint, and currently rely on it to analyze the gcode file for print dimensions and filament usage. This process is often very slow though, so I was wondering if it could be possible to use the Octoprint metadata analysis code on my server instead, and whether or not that'd improve the while thing time-wise?
I'm not an GCODE expert, so I don't wanna throw myself into writing a custom analyser, but I also don't wanna go through too much trouble with trying to "extract" the Octoprint one, if it relies too heavily on a lot of other Octoprint components and classes from other parts of Octoprint...
Do you guys think it's something I should try to do? Or are there some open sourced gcode analysis libraries out there that I'm just missing, that would be better to use?
Just an idea I had that I'm now looking for a little bit of feedback on, from people who know more about Octoprint than me