DuplicatorG is a minimal command line client for ReplicatorG. This was built as an experiment to see whether I could automate my MakerBot builds.
First, install jruby.
$ rbenv install jruby-1.6.5or
$ rvm install jrubyNext, we need to compile the ReplicatorG libraries
$ build.shThis will sync and update the ReplicatorG submodule, then compile it. It assumes that you already have Java and associated build tools installed.
Once everything is setup and assuming you have a serial connection with your machine, you can now build any object that sits on the machine's SD card.
$ duplicatorg [object.s3g]This assumes that you've already configured your build machine with ReplicatorG once before and that you already have object designs on the SD card of the machine.
DuplicatorG relies on several libraries from the ReplicatorG project. For
example, RXTX is required for
serial communication with your machine. The RXTX libraries provided do not work
in 64 bit mode; they must be run in 32 bit mode. DuplicatorG handles this by
setting JAVA_OPTS=-d32 prior to launching jruby.
DuplicatorG is not associated with ReplicatorG and implies no license for ReplicatorG itself.
Copyright (c) 2012, Ryan McGeary (ryan -[at]- mcgeary -[dot]- org)