I need the index of current layer in my plugin. I found that I could calculate it from the layers data of the file analysis, what's not there by default. When I run the analyzer manually with "--layers" arg, I can see what I need.
Do you know why "--layers" arg is not added to analysis command of GcodeAnalysisQueue  by default?
What would be the best way to get layers info for every print inside a plugin?
I can rerun analysis with the extra arg from the plugin, but if you have a better idea, please tell.