skeinforge_tools.analyze_plugins.gifscene ($Date: 2008/21/04 $) | index /home/enrique/Desktop/backup/babbleold/script/reprap/pyRepRap/skeinforge_tools/analyze_plugins/gifscene.py |
Gifscene is a script to display a gif for each layer of a gcode file.
The default 'Activate Gifscene' checkbox is on. When it is on, the functions described below will work when called from the
skeinforge toolchain, when it is off, the functions will not be called from the toolchain. The functions will still be called, whether
or not the 'Activate Gifscene' checkbox is on, when gifscene is run directly.
To run gifscene, in a shell in the folder which gifscene is in type:
> python gifscene.py
To run gifscene you need the Python Imaging Library, which can be downloaded from:
www.pythonware.com/products/pil/
I have not been able to install the Python Imaging Library, so I can only hope that I'm calling Nophead's code correctly. If you
have the Python Imaging Library and gifscene still does not work for you, please post that in the 'How to Print Gcode from Host'
thread at:
http://forums.reprap.org/read.php?12,10772
An explanation of the gcodes is at:
http://reprap.org/bin/view/Main/Arduino_GCode_Interpreter
and at:
http://reprap.org/bin/view/Main/MCodeReference
A gode example is at:
http://forums.reprap.org/file.php?12,file=565
Gifscene may not work when called from the toolchain. If it does not, try running it directly.
This example displays gifs for the gcode file Screw Holder.gcode. This example is run in a terminal in the folder which
contains Screw Holder.gcode and gifscene.py.
> python
Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)
[GCC 4.2.1 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gifscene
>>> gifscene.main()
This brings up the gifscene dialog.
>>> gifscene.gifsceneFile()
A gif for each layer of a gcode file is displayed.
Modules | ||||||
|
Classes | ||||||||||
|
Functions | ||
|
Data | ||
__author__ = 'Enrique Perez (perez_enrique@yahoo.com)' __date__ = '$Date: 2008/21/04 $' __license__ = 'GPL 3.0' absolute_import = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384) |
Author | ||
Enrique Perez (perez_enrique@yahoo.com) |