https://github.com/bgamari/ggen
A G-Code generator for 3D printers
https://github.com/bgamari/ggen
Last synced: over 1 year ago
JSON representation
A G-Code generator for 3D printers
- Host: GitHub
- URL: https://github.com/bgamari/ggen
- Owner: bgamari
- License: gpl-3.0
- Created: 2011-10-15T23:17:46.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2012-05-15T02:16:12.000Z (about 14 years ago)
- Last Synced: 2025-03-20T05:35:55.930Z (over 1 year ago)
- Language: Haskell
- Homepage:
- Size: 328 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.mkd
- License: LICENSE
Awesome Lists containing this project
README
# GGen
`GGen` is a G-code generator targetted at 3D additive printers (e.g.
[RepRap](http://www.reprap.org/)). 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](http://hackage.haskell.org/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](http://hackage.haskell.org/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](http://www.skeinforge.org)
The dominant package in this design space. Quite comprehensive and
reasonably robust but difficult to configure and rather slow.
* [SFACT](http://www.reprapfordummies.net/index.php/softwaresection/44-gcode-generators/49-sfact-homepage)
A variant of Skeinforge
* [Slic3r](http://slic3r.org/)
A clean and fast slicer written in Perl seeking to fulfil many of the same
goals as GGen.
* [SuperSkein](https://github.com/MaskedRetriever/SuperSkein/)
* [RepRap Host](http://reprap.org/wiki/Reprap_host_software)