Loading

extruder script

by jmne, published

extruder script by jmne Oct 8, 2009

Description

This is my first attempt to use the GTL library for python to generate a printable 3D object. This script reads a GIF file, and converts the grayscale luminosity to a height-map, and then produces an embossed plaque suitable for printing on MakerBot.

This script needs a lot of work, but might be a good starting point for other developers.

Recent Comments

view all

Got it.
$ sudo apt-get install python-dev
Download the file.
$ tar xzf pygts-0.3.1.tar.gz pygts-0.3.1/
$ python setup.py build
$ sudo python setup.py install
Using it on bigger images takes very long. But a small logo would finish relatively quickly:
$ python extrude2.py ~/Desktop/Erik_logo_small.gif ~/Desktop/test.gts

Yet there was no image embossed into the plaque :'(. Needs a bit more work, but it's a cool type of script 8-), being able to quickly/easily make something that is personalized.

It's py-gts:
http://sourceforge.net/project...

There's no debian package in ubuntu, but it's simple enough to build.

Cool :)

I get this, though:
# python extrude2.py
Traceback (most recent call last):
File "extrude2.py", line 16, in
&
lt;module
&
gt;
import gts
ImportError: No module named gts

I installed libgts-bin libgts-dev and libglib2.0-dev libgts-0.7-5 (Kubuntu 9.10). Do I need to install/download other libraries?

Liked By

view all

License

GNU - GPL
extruder script by jmne is licensed under the GNU - GPL license.

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag

Comments

You must be logged in to post a comment.

Anonymous on Oct 9, 2009 said:

Cool :)

I get this, though:
# python extrude2.py
Traceback (most recent call last):
File "extrude2.py", line 16, in
&
lt;module
&
gt;
import gts
ImportError: No module named gts

I installed libgts-bin libgts-dev and libglib2.0-dev libgts-0.7-5 (Kubuntu 9.10). Do I need to install/download other libraries?

Anonymous on Oct 9, 2009 said:

Got it.
$ sudo apt-get install python-dev
Download the file.
$ tar xzf pygts-0.3.1.tar.gz pygts-0.3.1/
$ python setup.py build
$ sudo python setup.py install
Using it on bigger images takes very long. But a small logo would finish relatively quickly:
$ python extrude2.py ~/Desktop/Erik_logo_small.gif ~/Desktop/test.gts

Yet there was no image embossed into the plaque :'(. Needs a bit more work, but it's a cool type of script 8-), being able to quickly/easily make something that is personalized.

phooky on Oct 9, 2009 said:

It's py-gts:
http://sourceforge.net/project...

There's no debian package in ubuntu, but it's simple enough to build.

Top