Project

rintcore

0.0
No commit activity in last 3 years
No release in over 3 years
A RepRap driver and GCode analyzer written in Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0
>= 0

Runtime

 Project Readme

RintCore

Code Climate

A RepRap/GCode parsing and sending utility written in Ruby.

Usage

Install: gem install rintcore

Get stats for a GCode file: rintcore analyze my_print.gcode
Print a GCode file: rintcore print my_print.gcode
See more options: rintcore help

Use it somewhere else:

require 'rint_core/printer'
printer = RintCore::Printer.new
printer.port = '/dev/ttyUSB0' # Set to /dev/ttyACM0 by default
printer.baud = 250000 # Set to 115200 by default
printer.callbacks[:temperature] = Proc.new { |line| puts(line) }
printer.connect!
printer.print_file! 'my_print.gcode'

TODO

  • Implement Binary (Repetier) sending.

Contributing

See CONTRIBUTING.md

License & Copyright

Copyright (C) 2014 PrintToPeer Inc

The Driver modules are based on Printrun's printcore.py.
The GCode analyzer is an optimized version of Printrun's gcoder.py.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.