Getting z-height in python

Hi,

I'am currently programming a bit in python (pycharm IDE) and I need while printing the current z-height of the 3d Print. Is there a way to get this value from repetier host or the 3d printer?

Thanks in Advance!
Michi

Comments

  • WIth Repetier-Host you can not do that. You would need to add a plugin to the host that has access to the information, but that would be c# programming.

    One solution would be to print over Repetier-Server instead (host can connect to it). The server has a web API so you can query and send commands easily. The API is documented on www.repetier-server.com
  • Thanks for the tipps!

    With Repetier-Server it was pretty easy to get the current layer. I just used Websocket stateList command to get it.
Sign In or Register to comment.