Giter Site home page Giter Site logo

fieldofview / cura-serialconnection Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 80 KB

Cura plugin which enables printing to a printer connected through a serial port

License: GNU General Public License v3.0

Python 88.04% QML 11.96%
cura printrun cura-plugin 3d-printing

cura-serialconnection's Introduction

Serial Connection

A Cura plugin which enables connecting to serial ports through PrintCore, which is part of PrintRun.

The Serial Connection plugin is an alternative to the USB Printing plugin that is distributed with Cura. It solves three major issues with the USB Printing plugin:

  • Cura does not properly (auto-)detect all printers, and a manual port-selection is missing
  • Cura tries connecting to all serial ports on startup, resetting all connected printers (and other Arduino-based peripherals)
  • A USB connected printer is "seen" by all printer-instances in Cura as "the" USB-connected printer; In case of multiple connected printers, there is no way to see which printer is connected to which serial port

In comparisson to the USB Printing plugin, the Serial Connection plugin differs in approach based on two principles:

  • Automatically discovering printers over USB on each startup and during operation is a bad idea

    The original plugin tries to connect and communicate with all serial ports to see if it can get a 3d-printer-like response. Connecting to most 3d printers and many other USB-connected devices will reset these devices, potentially leading to interrupted prints or worse. Discovering the same baudrate on each launch, which leads to multiple resets on each serial device, is alse very unnecessary. Instead this plugin uses manual port selection with the option to detect and store the correct baudrate once.

  • Creating a stable print host is hard, even if it is properly maintained

    Since Ultimaker printers have not supported USB printing since the Ultimaker 2 (september 2013), the USB Printing support has not been maintained other than a couple of patches (each with differing success on different printers). PrintRun, a dedicated printer host application, is better maintained. This plugin reuses the core of PrintRun/Pronterface.

This plugin contains a copy of printcore.py from the PrintRun project here: https://github.com/kliment/Printrun/blob/master/printrun/printcore.py

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.