https://github.com/offerrall/bambushot
https://github.com/offerrall/bambushot
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/offerrall/bambushot
- Owner: offerrall
- License: mit
- Created: 2026-04-20T21:29:51.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-04-21T21:35:43.000Z (2 months ago)
- Last Synced: 2026-04-21T23:29:48.891Z (2 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# bambushot
Fire prints on Bambu Lab printers (LAN mode) without re-uploading every time.
Cache files on the printer's SD once, trigger prints in ~600ms forever after.
## Install
```
pip install git+https://github.com/offerrall/bambushot.git
```
`curl` must be in PATH (preinstalled on Windows 10/11, macOS and most Linux).
## Use
```python
from bambushot import BambuPrinter
printer = BambuPrinter(ip='192.168.1.100', access_code='12345678', serial='01P00A...')
printer.upload_gcode('part.gcode.3mf') # slow, once
printer.print_file('part.gcode.3mf') # instant, forever
```
## API
```python
printer.list_files() # what's on the SD
printer.upload_gcode(local_file) # upload a .gcode.3mf
printer.delete_file(name) # remove from SD
printer.print_file(name) # start printing
```
`.gcode.3mf` files must contain exactly one sliced plate (export with *Export plate sliced file*).
For monitoring (progress, camera, temps) use **Bambu Handy**.
## License
MIT