I don't think that there is a plugin for OctoPrint that checks for those kind of things.
Depending on the size of the gcode file it could take a really long time to parse it on a Pi.
It's the job of the slicer to do that. I guess you should try it in a Slicer or SuperSlicer forum.
In Cura you set it up in the printer settings
Thanks! I agree that PrusaSlicer should provide some affordance for this, especially since it has presets for Prusa printers and should know what the stock dimensions of its parts are.
Thanks! Those options were missing from the UI on my system because it was only set to "advanced" and not "expert," even though the "complete individual objects" control was visible. This is an essential set of parameters for that option. Secondarily, it's a good example of why you grey things out that aren't applicable, instead of just making them disappear.