---
title: Bambu Labをハックする
date: 2024-12-11T01:08:58.000Z
updated: 2026-01-08T14:50:58.146Z
tags:
  - addsub
url: https://baku89.com/Bambu_Lab%E3%82%92%E3%83%8F%E3%83%83%E3%82%AF%E3%81%99%E3%82%8B
---

# Bambu Labをハックする

![](https://wp.baku89.com/wp-content/uploads/2026/07/scrapbox-6697d82aab88b6001c17f2c7.png)

- 現状、SDカードやWi-Fi越しにしかGコードを送れない
- どのようにGコードを逐次的に送出したり、実行を一時停止できるようカスタマイズできるか

* Fork: Slic3r → Prusa Slicer → Bambu Studio → Orca Slicer

### API解析

[GitHub - Doridian/OpenBambuAPI: Bambu API docs](https://github.com/Doridian/OpenBambuAPI)

#### [Bambu Lab Specific G-Code](/Bambu_Lab_Specific_G-Code)

### 最終案: Bambu Connectを色々弄る

[GitHub - mattcar15/bambu-connect: Connect to the stats, controls, and camera of your bambu printer](https://github.com/mattcar15/bambu-connect)

- Pythonから触る
- でけた！！！
- そして[Bambu Lab Specific G-Code](/Bambu_Lab_Specific_G-Code)を解析してゴニョゴニョする
- Pythonで何かかしらのサーバーを立ち上げて [koma](/koma)
- Flaskか何かでREST API形式のWebサーバーにする?
  - どうやってプッシュする?

### Octolapseを使う

- <https://github.com/jneilliii/OctoPrint-BambuPrinter>
- 6/29 - ひとまずBambu A1 Mini + AMS を買った

### 参考になりそうなリンク

- <https://forum.bambulab.com/t/open-api-at-least-send-gcode-and-check-status/3096/16>

  - > Bambu studio is open source. The code to communicate with the printer is closed source. However, the Bambu studio slicer is able to communicate with the locally running closed-source communication tool. So it should be possible to fork the slicer and add in a web service. As long as the UI is running and logged in, the web service would be able to make the same calls that the local UI does (such as sendToPrinter: github: /bambulab/BambuStudio/blob/fbc04a98fc67cdeb7b0685e92b0bee16b28d4fed/src/slic3r/GUI/SendToPrinter.cpp#L616. If anyone wants to brainstorm on this, we can host a discussion in our discord.

- <https://forum.bambulab.com/t/farm-management-software/57490>

Bambu Farm

- <https://github.com/TFyre/bambu-farm>
