Skip to main content

CLI tool for use with Bambu Printers

Project description

bambu-cli

A command-line interface for controlling Bambu Lab 3D printers via MQTT and FTPS protocols.

Features

  • Connect to Bambu Lab printers over local network
  • Upload print files to printer
  • Trigger print and track progress
  • Pause, resume and cancel print in progress

Installation

Either as a Python library:

pip install bambu-cli

or as a Docker image:

docker pull thegeektechworkshop/bambu-cli 

Usage

If using the Docker image, it is recommended to create a shell script wrapper such as:

#!/usr/bin/env bash
docker run -it -v ~/.bambu-cli:/root/.bambu-cli -v $PWD:/root -w /root thegeektechworkshop/bambu-cli $@

First, add your printer configuration (ip, serial-number, access-code):

bambu add 192.168.1.100 01ABCD123456789 12345678 --name myP1S

Upload a file to print:

bambu upload myP1S my_print.gcode.3mf

Print the file

bambu print myP1S my_print.gcode.3mf

While print is in progress:

  • Press 'p' to pause the print job
  • Press 'r' to resume a paused print job
  • Press 'c' to cancel the print job
  • Press 'q' to exit the interface without affecting the print job

License

GNU 3.0 License - see LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bambu_cli-0.1.17.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bambu_cli-0.1.17-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

Details for the file bambu_cli-0.1.17.tar.gz.

File metadata

  • Download URL: bambu_cli-0.1.17.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.21.0 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for bambu_cli-0.1.17.tar.gz
Algorithm Hash digest
SHA256 6649a284e20132b09cbd2fb6e175730ae9e2577ce1cba45af86177ae363ffee6
MD5 de9150152148c56defe95290f2a12cd1
BLAKE2b-256 106a2791ee6e40833643d61b33d7524d49d7b4b68c36097a389170d979766bb4

See more details on using hashes here.

File details

Details for the file bambu_cli-0.1.17-py3-none-any.whl.

File metadata

  • Download URL: bambu_cli-0.1.17-py3-none-any.whl
  • Upload date:
  • Size: 26.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.21.0 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for bambu_cli-0.1.17-py3-none-any.whl
Algorithm Hash digest
SHA256 9d21e9d8feb93d37f6d640b9c7c6486afc239093da1af929092aae369bdbe0f7
MD5 18c1d8ea780e8c007a46e44ec1f1247b
BLAKE2b-256 27222722444d6e9a0cfa6d9c0b77ee275f8bcd35dfd7078d83822646d83bea71

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page