Sha256: 098768c930cd6e4cd64f075e27e074c8aa293b5066b4d9a95f2924e05165a25b

Contents?: true

Size: 1.6 KB

Versions: 2

Compression:

Stored size: 1.6 KB

Contents

# RintCore

[![Code Climate](https://codeclimate.com/github/KazW/RintCore.png)](https://codeclimate.com/github/KazW/RintCore)

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:
```ruby
require 'rint_core/printer'
require 'rint_core/g_code/object'
gcode = RintCore::GCode::Object.new('my_print.gcode')
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.start_print gcode
```

### TODO
Documentation and spec writing.

### Contributing
See CONTRIBUTING.md

### License & Copyright

Copyright (C) 2013  Kaz Walker

The Driver modules are based on printcore.py by Kliment Yanev and various contributors.

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/>.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rintcore-0.0.5 README.md
rintcore-0.0.4 README.md