Over the Course of the past Months i was able to work for the Kompetenzzentrum Uni Siegen with 3D Printers and Gameengines, sadly mostly under Unity and less under my favourite Gameengine Godot 😀 now i can proudly announce, it’s all public under MIT License.
On the one Hand there is a small Interface for Octoprint, based on the REST-API and websockets the Interface attaches itself to the local Network and reads the Status of a 3D Printer for use in a Gameengine. This way a 3D Printer can be seen live in VR, i also build such an Interface in godot and tested it.
The only difficulty was, that i could not get a Mesh out of my GCODE, this was fixed in my second Project. It visualizes GCODE in Unity3D as a mesh and simplifies it for ease of use in the Hololens for example. The Visualization only works on the Cura slicer dialect due to me using the Cura-specific comments to split layers and GCODE-parts.