Coder Social home page Coder Social logo

adventurer3print's Introduction

Ultimaker Cura Plugin for Adventurer3 WiFi Print.

What is this?

  • 3D Print の OSS スライサーソフト Ultimaker Cura で、3D プリンタ FlashForge Adventurer3 に G-Code ファイルを WiFi 経由で送信する機能を持った、Ultimaker Cura の Plug-in です。
  • Ultimaker Cura 4.5.0 で動作確認しています。(おそらく Cura 4.4 でも動作しますが、設定ファイルの編集が必要です。)

How to install

  1. 前提として、Ultimaker Cura で FlashForge Adventurer3 を使う設定が必要です。次のサイトを参照して設定してください。 https://andybradford.dev/2020/01/12/using-the-monoprice-voxel-with-ultimaker-cura/
  2. Cura の Plugin フォルダに適当なフォルダを作り、Plugin のファイル(Adventurer3Print.py, __init__.py, plugin.json)をコピーしてください。
    ex.
    Windows10: %APPDATA%\cura\$CURA_VERSION\plugins\Adventurer3Print
    Mac OS : $User/Library/Application\ Support/Cura/$CURA_VERSION/plugins/Adventurer3Print
    画像:Macの例(__pycache__ フォルダは Cura が起動時に自動作成しますので、コピー不要です。)
    Folder example for Mac user
  3. Cura の Machin name の設定の後ろに IP Address を追記してください。(Machine name + IP Address となるようにしてください。)
    ex. Flashforge Adventurer3 192.168.1.5(画像では 192.168.11.8)
    Manage Printers
    Manage Printers
    Manage Printers
    Manage Printers

How to use

モデルを Slice した後にファイル保存のボタンが表示されますが、この Plugin をインストールするとファイル保存ボタンとして ”Send to Adv.3” という表示のボタンが選択できるようになります。その ”Send to Adv.3” ボタンを押してください。
Send Buttton
Send Buttton
Send Buttton

ボタンを押すと G-Code のファイルが Adventurer3 に WiFi 経由で送信されます。
送信が完了すると、完了した旨のメッセージが表示されます。
Send Buttton

Notice

  • この Plugin は、OS の USER フォルダを TEMP File 作成フォルダとして利用しています。G-Code の temporary file を作成して、WiFi 送信後に削除しています。
  • Cura では .3MF ファイルを Load するとマシン名の設定が変わることがあります。
    この Plugin では、IP アドレスの設定をマシン名の後に記載していることが前提ですので、マシン名の設定が変更されると IP アドレスの設定が失われ、Plugin が WiFi 接続できなくなることがあります。その場合は、マシン名を再設定してください。
  • Cura Version 4.5.0 の Mac版と Windows10版で動作確認しています。他の Version の Cura でも(おそらく 4.4 以降であれば)動作すると思いますが、確認できていません。もし他の Version で使う場合は、plugin.json の API セクションの数値を編集してください。API セクションで指定しない Version の Cura では、”Send to Adv.3” のボタンが表示されません。
    数値は次の URL を参照してください。(API 7.1 が Cura 4.5.0)複数値のリストも可能です。(例: "api": ["7.0", "7.1"])
    https://github.com/Ultimaker/Cura/wiki/CuraAPI-and-SDK-Versions
    plugin.json
    {  
        "name": "Adventurer3 Print",  
        "author": "Cottonhouse",  
        "version": "1.1",  
        "api": "7.1",        <- ***HERE***  
        "description": "G-code print through WiFi with Flashforge Adventurer3.",  
        "catalog": "cotton"  
    }

Acknowledgments

  • この Plugin の作成にあたり、以下のコードを参照しています。(take4blue 様に感謝)
    https://github.com/take4blue/Adventurer3Web
    take4blue氏の Python ソースコードをほぼそのまま使わせて頂いています。G-Code 送信部分を主に作成しています。
  • この Plugin の作成のきっかけは、以下のサイトです。(Andy Bradford 様に感謝)
    https://andybradford.dev/2020/01/12/using-the-monoprice-voxel-with-ultimaker-cura/
    Andy Bradford氏による Ultimate Cura で Adventurer3 用の G-Code を作成する設定と、氏が WiFi での印刷を行おうとしている様子を見て、この Plugin 作成を思い立ちました。 また、Andy氏による以下のソースコードを参考にしています。
    https://github.com/andycb/AdventurerClientDotNet
  • FlashPrint よりも Ultimaker Cura の方が明らかに印刷精度が上です。Cura で Adventurer3 を使える設定を公開してくれた Andy Bradford氏に改めて感謝の意を表します。
  • Cura のマシン設定で追加する Adventurer3 用の設定で、x と y の設定は 150 ではなく 155 で良いと思います。(x 152, y 157くらいが良いようです)ただし、z は 150 です。
  • Python でコーディングするのは初めてでしたが、使いやすい言語と感じました。関数呼び出しに必ず付けなければいけないスコープ self. に何度もやられましたが・・・。
  • Cura の Plugin 開発も初めてでしたが、Document が少ないので試行錯誤の連続でした。Cura 付属の他の Plugin のソースコードが確認できたのは幸いでした。

Revision history

  • 1.2 ファイル名の先頭にカスタマプリンタ名 "CFFFP_" が入るので、削除するようにしました。(ファイル名が長くなると Adventurer3 で見にくくなるため)
  • 1.1 (M104ADDT0 Branch) Cure 4.5.0 で作成された G-code で Adventurer3 の温度設定ができない事象(Curaの不具合?)に対応しました。 具体的には、エクストルーダ指定なしで M104 コマンドを用いて温度設定がされているので、エクストルーダ指定を付与しています。(0度指定以外で付与)

License

この Plugin は AGPLv3 or Higher License です。(元にした Plugin サンプルファイルが AGPLv3 or higherなので。)
This software is released under the AGPLv3 or higher License.

adventurer3print's People

Contributors

cottonhouse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

adventurer3print's Issues

broken?

cura spits out a big python error now when using this plugin with 4.12/4.11/4.10
and closes due to it. i enjoyed using this plugin more than the other adventurer wireless solutions. if it could be updated that would be awsome now that the adventurer works well with cura since the FF finder plugin intoduction

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.