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.18.tar.gz (22.9 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.18-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bambu_cli-0.1.18.tar.gz
  • Upload date:
  • Size: 22.9 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.18.tar.gz
Algorithm Hash digest
SHA256 628064accdcce9b5ff537f832e9e97ccf6bddb8d2b5d3b4cdaaa4cd348b902f8
MD5 8f791d8b9a6275a3313ea5ea7d980851
BLAKE2b-256 b4fd431a8195ab487c807634d12d43210d969ef95d8930d1d769867ebee39147

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bambu_cli-0.1.18-py3-none-any.whl
  • Upload date:
  • Size: 26.8 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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 203328e5e5042d94083d70a1e3ed8141e5ef4582dc2a38f94c1fca0d9b3381ae
MD5 fc44d4c1be654b4a2e6470980ba81b30
BLAKE2b-256 42b90561cdc0a7510472da9ab9f436b25629fe86d51fc21631d9ee181a5e5a8b

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