橋本 Hashimoto   Baku

橋本 Hashimoto   Baku

Bambu Labをハックする (Scratchpad)

This page is a personal scratchpad.

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

API解析

https://github.com/Doridian/OpenBambuAPI

Bambu Lab Specific G-Code

最終案: Bambu Connectを色々弄る

https://github.com/mattcar15/bambu-connect

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

Octolapseを使う

参考になりそうなリンク

  • 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