I'm currently writing on a Plugin that wraps the STL-Tweaker (autorotation module) and the Slic3r and it should be external.
https://github.com/ChristophSchranz/Octoprint-PrePrintService (no doc yet)
It works, but I still have problems to handle the gcode_name path. I look for an API to fetch the name from the slic3r html, with the profile it runs with:
profile_dict, display_name, description = self._load_profile(profile_path)
At the moment I send a request.post to the external server, that processes the file and request.post back the gcode (with a default name now). Afterwards a second .gco-file is created, which is a one-liner..
Is there a smoother way to only return a single file that has the correct name?