Octoprint for controlling a 2D pen plotter. Based on the Mr. Beam fork of Octoprint.
Find a file
2013-11-20 22:00:47 +01:00
octoprint Merge branch 'master' into devel 2013-11-20 21:57:20 +01:00
scripts New init script that also evaluates "/etc/default/octoprint" for additional startup options and the like, courtesy of Sami Olmari 2013-09-16 18:09:39 +02:00
src/octoprint Properly calculate time deltas (forgot the days) 2013-11-20 22:00:47 +01:00
tests Refactored server.py into submodules, extracted ajax and rest api into their own blueprints, and while doing all this also took care of #291 2013-10-28 22:08:36 +01:00
.gitignore Remove Orig files 2013-08-02 19:21:12 -06:00
LICENSE Moved LICENSE file to root directory to make it more visible. Added hint to README.md that OctoPrint is released under AGPL 2013-01-20 00:29:48 +01:00
MANIFEST.in Moved octoprint sources to "src" folder, adjusted setup.py and run script accordingly 2013-09-15 21:45:33 +02:00
README.md Added installation section to README with links to the setup guides in the Wiki and OctoPi 2013-10-20 15:24:13 +02:00
requirements-bbb.txt Moved octoprint sources to "src" folder, adjusted setup.py and run script accordingly 2013-09-15 21:45:33 +02:00
requirements.txt Moved octoprint sources to "src" folder, adjusted setup.py and run script accordingly 2013-09-15 21:45:33 +02:00
run Added code to move old octoprint folder out of the way 2013-09-23 20:38:35 +02:00
setup.py Preparing official "release" of a first rc to help in packaging 2013-10-20 14:39:38 +02:00

OctoPrint

Flattr this git repo

OctoPrint provides a responsive web interface for controlling a 3D printer (RepRap, Ultimaker, ...). It is Free Software and released under the GNU Affero General Public License V3.

Its website can be found at octoprint.org.

Reporting bugs

OctoPrint's issue tracker can be found on Github. Before opening a new ticket please take a look at this guide on how to file a bug report with OctoPrint.

Sending pull requests

Please create all pull requests against the devel branch of OctoPrint, as that one is used for developing new features and then merged against master when those features are deemed mature enough for general consumption. In case of bug fixes I'll take care to cherry pick them against master if the bugs they are fixing are critical.

Installation

Installation instructions for installing from source for different operating systems can be found on the wiki.

If you want to run OctoPrint on a Raspberry Pi you might want to take a look at OctoPi which is a custom SD card image that includes OctoPrint plus dependencies.

Dependencies

OctoPrint depends on a couple of python modules to do its job. Those are listed in requirements.txt and can be installed using pip:

pip install -r requirements.txt

You should also do this after pulling from the repository, since the dependencies might have changed.

OctoPrint currently only supports Python 2.7.

Usage

Just start the server via

./run

By default it binds to all interfaces on port 5000 (so pointing your browser to http://127.0.0.1:5000 will do the trick). If you want to change that, use the additional command line parameters host and port, which accept the host ip to bind to and the numeric port number respectively. If for example you want the server to only listen on the local interface on port 8080, the command line would be

./run --host=127.0.0.1 --port=8080

Alternatively, the host and port on which to bind can be defined via the configuration.

If you want to run OctoPrint as a daemon (only supported on Linux), use

./run --daemon {start|stop|restart} [--pid PIDFILE]

If you do not supply a custom pidfile location via --pid PIDFILE, it will be created at /tmp/octoprint.pid.

You can also specify the configfile or the base directory (for basing off the uploads, timelapse and logs folders), e.g.:

./run --config /path/to/another/config.yaml --basedir /path/to/my/basedir

See run --help for further information.

Configuration

If not specified via the commandline, the configfile config.yaml for OctoPrint is expected in the settings folder, which is located at ~/.octoprint on Linux, at %APPDATA%/OctoPrint on Windows and at ~/Library/Application Support/OctoPrint on MacOS.

A comprehensive overview of all available configuration settings can be found on the wiki.

Setup on a Raspberry Pi running Raspbian

A comprehensive setup guide can be found on the wiki.