1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

S3D + Octopi automation

Discussion in 'Software' started by TomerO, May 7, 2016.

  1. TomerO

    TomerO Member

    Joined:
    May 2, 2016
    Messages:
    97
    Likes Received:
    48
    Hey guys,
    After a lot of time I only used other people's resources I decided its time to start sharing some =]

    This is nothing big, just a python script I wrote to automate my printing a bit more.
    I lunch it with S3D after I save the gcode file.
    Currently it does the following:
    - Upload the file to the pi
    - Cancel the current job
    - Select and print the newly uploaded file

    The way to run in (in S3D) is:
    _PATH_TO_PYTHON_ _PATH_TO_SCRIPT_ [output_filepath] _HOST_ _USERNAME_ _PASSWORD_ _API_KEY_

    I really hope this helps someone.

    P.S: Its written pretty generically so it can also be used for other things.
     

    Attached Files:

    LumpyDVC and Geof like this.

Share This Page