Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A G-Code generator for 3D printers

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Data
Octocat-spinner-32 GGen
Octocat-spinner-32 doc
Octocat-spinner-32 .gitignore
Octocat-spinner-32 CSGTest.hs
Octocat-spinner-32 GGen.cabal
Octocat-spinner-32 GGen.hs
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Main.hs
Octocat-spinner-32 README.mkd
Octocat-spinner-32 Setup.hs
Octocat-spinner-32 Test.hs
README.mkd

GGen

GGen is a G-code generator targetted at 3D additive printers (e.g. RepRap). While the dominant package in this design space, Skeinforge, does an admirable job of turning models into G-code, its usability and performance leave something to be desired. GGen seeks to bring the power of the cutting-edge Haskell programming language to bear on the problem slicing. In doing so, we hope to,

  • Be fast: Most models are sliced in under 10 seconds. Yes, that fast.
  • Be efficient: Generate G-code to drive the printer efficiently
  • Be easy to use: A simple configuration format allows beginners to get their printer up quickly
  • Be flexible: GGen provides a library interface for those who need more flexibility
  • Be hackable: Abstraction enables clear reasoning over difficult problems while type safety helps guarantee correctness

Installation

First, you will need the Haskell Platform installed. If you are running Ubuntu, this is quite simple,

    $ sudo apt-get install ghc libghc-gtk-dev libghc-cairo-dev cabal-install

If not, refer to the Haskell Platform download page for your platform.

Once Haskell has been installed, installation is a matter of grabbing and building the source,

    $ git clone git://github.com/bgamari/GGen.git
    $ cd GGen
    $ cabal install

This should grab any dependencies, build, and install GGen.

Usage

While GGen is still in the early stages of development, it can produce very reasonable G code. That being said, it lacks many of the more advanced features of Skeinforge (e.g. raft generation, skirts, etc.).

GGen can be configured in two ways. Most users will want to use the simple configuration option.

At the moment only the STL input format is supported. To produce G-code from an STL model (both binary and ASCII)

Alternatives

  • Skeinforge The dominant package in this design space. Quite comprehensive and reasonably robust but difficult to configure and rather slow.
  • SFACT A variant of Skeinforge
  • Slic3r A clean and fast slicer written in Perl seeking to fulfil many of the same goals as GGen.
  • SuperSkein
  • RepRap Host
Something went wrong with that request. Please try again.