Giter Site home page Giter Site logo

node.js-3d-printer-software's Introduction

#Node.js 3D Printer App #####This is the Node.js app we use at Redweb to print out objects described in GCODE.

###Usage The app is pretty simple, just execute it and leave it running until completion. There is no point in the applications execution that will require user intervention.

In order to start the program you need to pass both the serial port you will be connecting to your printer on and the path (either relative or absolute) to the GCODE for the thing your printing.

node print.js --port "/dev/tty-blah-blah" --file "printFiles/helloWorld.gcode"

The app should work for any device that uses a serial port for communication and is expecting GCODE. Here at Redweb, We have a MKII RepRap Mendel variant.

###Initial Setup This app uses a few modules, Voodootikigod's Serialport library for communicating with the printer and "Substack's optimist" for argument parsing.

npm install

in the directory with the package.json file will install the modules needed for the app, then you're ready to go.

###Possible Arguments

Manadatory

  • --file "PATH/TO/PRINTFILE"
  • --port "SERIAL PORT FOR PRINTER CONNECTION. USUALLY /dev/tty.something"
  • --baudrate 19200 etc. - The baudrate for the serial port connection

Optional

  • --speed 1.0 - This is a multiplier that will modify the travel rate of the printhead. This is something we need for our printer.

node.js-3d-printer-software's People

Watchers

Mariusz Szot avatar James Cloos 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.