skeinforge_tools.craft_plugins.feed ($Date: 2008/21/04 $)
index
/home/enrique/Desktop/backup/babbleold/script/reprap/pyRepRap/skeinforge_tools/craft_plugins/feed.py

Feed is a script to set the feed rate.

The default 'Activate Feed' checkbox is on. When it is on, the functions described below will work, when it is off, the functions will not be called. The feed script sets the maximum feed rate, operating feed rate & travel feed rate.

The feed rate for the shape will be set to the 'Feed Rate" preference. The 'Travel Feed Rate' is the feed rate when the cutter is off. The default is 16 mm / s and it could be set as high as the cutter can be moved, it does not have to be limited by the maximum cutter rate.

The 'Maximum Z Feed Rate' is the maximum feed that the tool head will move in the z direction. If your firmware limits the z feed rate, you do not need to set this preference. The default of 8 millimeters per second is the maximum z feed of Nophead's direct drive z stage, the belt driven z stages have a lower maximum feed rate.

The following examples feed the file Screw Holder Bottom.stl. The examples are run in a terminal in the folder which contains Screw Holder Bottom.stl and feed.py.


> python feed.py
This brings up the feed dialog.


> python feed.py Screw Holder Bottom.stl
The feed tool is parsing the file:
Screw Holder Bottom.stl
..
The feed tool has created the file:
.. Screw Holder Bottom_feed.gcode


> 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 feed
>>> feed.main()
This brings up the feed dialog.


>>> feed.writeOutput()
The feed tool is parsing the file:
Screw Holder Bottom.stl
..
The feed tool has created the file:
.. Screw Holder Bottom_feed.gcode

 
Modules
       
__init__
skeinforge_tools.analyze
skeinforge_tools.skeinforge_utilities.consecution
skeinforge_tools.skeinforge_utilities.euclidean
skeinforge_tools.skeinforge_utilities.gcodec
skeinforge_tools.skeinforge_utilities.intercircle
skeinforge_tools.skeinforge_utilities.interpret
math
skeinforge_tools.meta_plugins.polyfile
skeinforge_tools.skeinforge_utilities.preferences
sys

 
Classes
       
FeedRepository
FeedSkein

 
class FeedRepository
    A class to handle the feed preferences.
 
  Methods defined here:
__init__(self)
Set the default preferences, execute title & preferences fileName.
execute(self)
Feed button has been clicked.

 
class FeedSkein
    A class to feed a skein of cuttings.
 
  Methods defined here:
__init__(self)
getCraftedGcode(self, gcodeText, feedRepository)
Parse gcode text and store the feed gcode.
getFeededLine(self, splitLine)
Get gcode line with feed rate.
parseInitialization(self)
Parse gcode initialization and store the parameters.
parseLine(self, line)
Parse a gcode line and add it to the feed skein.

 
Functions
       
getCraftedText(fileName, text='', feedRepository=None)
Feed the file or text.
getCraftedTextFromText(gcodeText, feedRepository=None)
Feed a gcode linear move text.
getRepositoryConstructor()
Get the repository constructor.
main()
Display the feed dialog.
writeOutput(fileName='')
Feed a gcode linear move file.

 
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)