Just posted this little project to script batch processing of .stl to .obj or vice versa. It’s uncompiled so requires Xcode to build and run, but is fast and efficient because it uses the native RealityKit options:
https://github.com/krypted/3dconverter
It’s unlicensed, mostly ’cause if you finish it, I’ll just use yours 😉