GithubHelp home page GithubHelp logo

theguydanish / farm-upload Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opulo-inc/farm-upload

0.0 0.0 0.0 1.53 MB

A bulk file uploading tool for 3D printer farms.

Home Page: https://opulo.io/

License: Other

Python 100.00%

farm-upload's Introduction

FarmUpload

A bulk file uploading tool for 3D printers.

Modern 3D printer slicers are excellent, but lack some print farm specific features. Some printers have an open FTP server running that allows clients to upload files. This application takes advantage of that feature to bulk upload pre-sliced gcode to every printer in a print farm. It's on the roadmap to support Moonraker and Octoprint file sending via HTTP POST requests.

The application is a very lightweight wrapper around Python's ftplib module, adding support for implicit TLS required by BambuLab P1P printers, and a tiny UI for adding a JSON of printer connection settings and selecting your folder to upload.

Installation

Mac .app

There is currently only a Mac .app pre-built for this application. Just download the .app file from the latest release and run as an application.

From Source

Make sure you have Python 3 installed:

python3 --version
> Python 3.9.19

If not, download and install it.

Clone the repo to your computer:

git clone https://github.com/opulo-inc/farm-upload.git

Inside the new farm-upload folder, you'll find a settings-example.json file. Duplicate it and rename it settings.json.

Open settings.json in a text editor. Update the IP addresses and passwords to match the "IP" and "Access Code" in your printer's UI. The "name" field can be whatever you'd like. You can add more printers by extending the JSON "printers" array.

To run the application, from the farm-upload folder, do:

python3 src/FarmUpload.py

Usage

When the application has booted, click on the "Choose Settings JSON File" to select the settings.json file you made previously.

Click on "Choose Folder to Upload" to select a folder where all your pre-sliced gcode that you'd like to send to the farm resides.

Hit "Send to Farm" to upload all files in the folder to your print farm. The log will notify you of success or failure.

Todo

  • Test on printers other than BambuLab P1P
  • Support deleting existing files from the printer's SD
  • Handle uploading files that share a name with an existing file on the SD

farm-upload's People

Contributors

sphawes avatar theguydanish avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.