Closed JamieS01 closed 4 years ago
The OctoPrint Connection plugin applies the same flips and rotation that is configured in OctoPrint. Is your camera showing in the right orientation in the OctoPrint webinterface?
It shows correctly in the octoprint interface, but not in the plugin.
Please visit http://[address of your octoprint instance]/api/settings?apikey=[your api key]
and post the webcam
section of the file you get, which looks like this:
{
"webcam": {
"bitrate": "10000k",
"ffmpegPath": "/usr/bin/ffmpeg",
"ffmpegThreads": 1,
"ffmpegVideoCodec": "mpeg2video",
"flipH": true,
"flipV": true,
"rotate90": false,
"snapshotSslValidation": true,
"snapshotTimeout": 10,
"snapshotUrl": "http://localhost:8080/?action=snapshot",
"streamRatio": "4:3",
"streamTimeout": 5,
"streamUrl": "/webcam/?action=stream",
"timelapseEnabled": true,
"watermark": false,
"webcamEnabled": true
}
}
I can't reproduce this with the current version of Cura. I refactored the camera handling to clean up the code and support multiple cameras a little while ago. Could you test this development snapshot? Download the file, and drop it onto the buildplate in Cura as if you were opening a 3d model through drag and drop.
Seems to be working with that snapshot! Is there any other information that I can provide which may help?
Seems to be working with that snapshot!
Well, it seems I am going in the right direction then. I will add a "fixed" label to this issue, but will keep the issue open until a version containing this fix is available in the Marketplace.
The OctoPrint Connection plugin applies the same flips and rotation that is configured in OctoPrint. Is your camera showing in the right orientation in the OctoPrint webinterface?