Python: module skeinforge_application.skeinforge_plugins.craft_plugins.feed

skeinforge_application.skeinforge_plugins.craft_plugins.feed ($Date: 2008/21/04 $) | index /home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/skeinforge_application/skeinforge_plugins/craft_plugins/feed.py

Previous / Next / Contents

`
The feed script sets the maximum feed rate, operating feed rate & travel feed rate.
Operation
Settings
Feed Rate
Maximum Z Drill Feed Rate
Travel Feed Rate
Examples
`

## Operation

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.

## Settings

### Feed Rate

Default is 16 millimeters/second.
Defines the feed rate for the shape.

### Maximum Z Drill Feed Rate

Default is 0.1 millimeters/second.
If your firmware limits the z feed rate, you do not need to set this setting.
Defines the maximum feed that the tool head will move in the z direction while the tool is on.

### Travel Feed Rate

Default is 16 millimeters/second.
Defines the feed rate when the cutter is off. The travel feed rate could be set as high as the cutter can be moved, it does not have to be limited by the maximum cutter rate.

## Examples

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('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

Previous / Next / Contents

Modules
`` |  |
__init__ fabmetheus_utilities.archive fabmetheus_utilities.euclidean | fabmetheus_utilities.fabmetheus_tools.fabmetheus_interpret fabmetheus_utilities.gcodec fabmetheus_utilities.intercircle | math fabmetheus_utilities.settings skeinforge_application.skeinforge_utilities.skeinforge_craft | skeinforge_application.skeinforge_utilities.skeinforge_polyfile skeinforge_application.skeinforge_utilities.skeinforge_profile sys

Classes
`` |  | FeedRepository FeedSkein
class FeedRepository
`` | `A class to handle the feed settings.`
| Methods defined here: __init__(self) `Set the default settings, execute title & settings 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, repository) `Parse gcode text and store the feed gcode.` getFeededLine(self, line, 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, gcodeText='', repository=None) `Feed the file or text.` getCraftedTextFromText(gcodeText, repository=None) `Feed a gcode linear move text.` getNewRepository() `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)