You can try this tool, which connects the printer from the command line and also supports S3D OctoPrint mode.
sm2uploader