How can I detect if a generated STL model will need to be printed with supports?
Context: I have a pipeline which parametrically generates OpenSCAD models, generates the STL, and sends them to the printer. I would like to (a) automatically detect the cases where supports are necessary so that I can specify the appropriate flags to the slicer, and (b) attempt to rotate the generated model so that supports won't be necessary.