Printrun

From RepRap
Revision as of 06:44, 10 September 2011 by Lanthan (talk | contribs) (added pronsole)
Jump to: navigation, search

Printrun is a set of G-code sending applications, written by Kliment. It consists of printcore (dumb G-code sender), pronsole (featured command line G-code sender), pronterface (featured G-code sender with graphical user interface), and a small collection of helpful scripts.

Installation

The latest pronterface is available from Kliment's github repository; the latest skeinforge from http://fabmetheus.crsndoo.com .

Linux

Before installing Printrun, make sure to install a few required libraries for both pronterface and skeinforge. On Ubuntu, open a terminal and type:

sudo apt-get install python python-serial python-wxgtk2.8 python-tk git-core

Now you should install pronterface first, then skeinforge inside your pronterface installation directory. The following dirty little script does that for you:

#! /bin/bash
PRINTRUNDIR="$HOME/Printrun"
SKEINFORGEDIR="$PRINTRUNDIR/skeinforge"
cd $HOME
echo "Removing existing Printrun directory..."
rm -rf $PRINTRUNDIR
echo "Cloning Printrun..."
git clone https://github.com/kliment/Printrun.git
echo "Grabbing skeinforge..."
wget -P /tmp http://fabmetheus.crsndoo.com/files/41_reprap_python_beanshell.zip
echo "Unzipping skeinforge into Printrun directory..."
unzip -d $SKEINFORGEDIR /tmp/41_reprap_python_beanshell.zip
echo "Symlinking skeinforge inside Printrun directory..."
ln -s $SKEINFORGEDIR/* $PRINTRUNDIR/
echo "Cleaning up temporary installation files..."
rm -rf /tmp/41_reprap_python_beanshell.zip

Windows

To make it work on Windows, get the following packages and install:

Mac OSX

To make it work on OSX: (it's similar to linux in may ways, but different)

  • see instructions for Lion, and pre-Lion here

Usage

With installation done, simply run the script, e.g.


python pronterface.py

Pronterface.png


You might also want to try:

python pronsole.py

a nice, unobtrusive command-line interface.


it features an online help function ("help" or "help <command>")