GithubHelp home page GithubHelp logo

lulzbot3d / cura2moonrakerplugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from emtrax-ltd/cura2moonrakerplugin

0.0 0.0 0.0 138 KB

Cura 2 Mooraker Upload Plugin

License: GNU General Public License v3.0

Python 37.23% QML 62.77%

cura2moonrakerplugin's Introduction

Cura & Klipper - MoonrakerConnection Plugin

  • Allows you to upload Gcode directly from Cura to your Klipper-based 3D printer (Fluidd, Mainsailos etc.) using the Moonraker API.
  • Uploading thumbnails via UFP (Ultimaker Format Package) is supported
  • You can also start a print job using the upload process

How to Install

The installation of this plugin is straightforward, no compiling, etc.

  1. Download this repository as zip file (https://github.com/emtrax-ltd/Cura2MoonrakerPlugin/archive/main.zip) and unzip it.
  2. Find your Cura plugins directory:
    • In Cura menu click "Help" -> "Show Configuration Folder" and then open the "plugins" subdirectory
      • Windows: %APPDATA%\Roaming\cura\[version number]\plugins
      • macOS: $HOME/Library/Application Support/cura/[version number]/plugins
      • Linux: $HOME/.local/share/cura/[version number]/plugins.
  3. Copy the extracted folder MoonrakerConnection into the Cura plugins folder you located in step 2. Attention: In the user based windows installation you have to copy the unzipped plugin directory into a parent directory with the same name. It looks like ...\cura\[version number]\plugins\MoonrakerConnection\MoonrakerConnection.
  4. If Cura is already running: quit, and restart it.

How to Configure

To configure your Moonraker 3D printer:

  1. Go to Settings -> Printer -> Manage Printers.
  2. Select and click on Connect Moonraker.
  3. Fill in the URL and select your preferred output format. Sometimes it is necessary to specify the port within the URL - the value for this can be found in moonraker.conf.
  4. Optionally, configure one or more power devices to turn on before starting print.
  5. Finally click Create or Save.

How to Upload

  1. Open your STL model in Cura and click Slice.
  2. Click the small up arrow on the right and select Upload to <Printername>.
  3. Now you can modify the filename, select the option to create a print job and finally... click Upload :)

How to "Filename Translation"

This is a requested feature to replace/remove special characters within the suggested filename (by Cura) before uploading it to Moonraker. The working principle is relatively simple: replacement by mapping characters 1:1 from "input" into "output" and deleting by putting the unwanted characters into "remove".

Example:

  • input: " ." <- first character is a whitespace
  • output: "_-"
  • remove: "()"

"Simple Test v1.0 (ABS)" results into "Simple_Test_v1-0_ABS"

Power Devices

If you have devices configured for power control in Moonraker, you can configure them in the plug-in. For a single device, just enter that device's name from Moonraker config.

If you have more than one power device you wish to turn on, enter a comma-separated list, with the first device being the device that will be queried before attempting to turn anything on.

Example:

  • Target: One config device with an entry name of [power printer]

  • Setting value: "printer" (no quotes)

  • Action: Query "printer" device state, turn everything on if "printer" is off.

  • Target: Two devices, one with an entry name of "[power printer]", and another called "[power lights]"

  • Setting value: "printer, lights" (no quotes, whitespace will be ignored)

  • Action: Query "printer" device state, turn everything on if "printer" is off. "lights" device state will be ignored.


"Buy Me A Coffee" or ko-fi

cura2moonrakerplugin's People

Contributors

emtrax-ltd avatar prcutler avatar njoyard avatar d8ahazard avatar

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.