Python: module skeinforge_application.skeinforge_plugins.craft_plugins.lash

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

Previous / Next / Contents

`
Lash is a script to partially compensate for the backlash of the tool head.
The lash manual page is at:
http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Lash
The lash tool is ported from Erik de Bruijn's 3D-to-5D-Gcode php GPL'd script at:
http://objects.reprap.org/wiki/3D-to-5D-Gcode.php
The default values are from the settings in Erik's 3D-to-5D-Gcode, I believe the settings are used on his Darwin reprap.
Operation
Settings
X Backlash
Y Backlash
Examples
`

## Operation

The default 'Activate Lash' checkbox is off. When it is on, the functions described below will work, when it is off, nothing will be done.

## Settings

### X Backlash

Default is 0.2 millimeters.
Defines the distance the tool head will be lashed in the X direction.

### Y Backlash

Default is 0.2 millimeters.
Defines the distance the tool head will be lashed in the Y direction.

## Examples

The following examples lash the file Screw Holder Bottom.stl. The examples are run in a terminal in the folder which contains Screw Holder Bottom.stl and lash.py.
> python lash.py
This brings up the lash dialog.
> python lash.py Screw Holder Bottom.stl
The lash tool is parsing the file:
Screw Holder Bottom.stl
..
The lash tool has created the file:
.. Screw Holder Bottom_lash.gcode

Previous / Next / Contents

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

Classes
`` |  | LashRepository LashSkein
class LashRepository
`` | `A class to handle the lash settings.`
| Methods defined here: __init__(self) `Set the default settings, execute title & settings fileName.` execute(self) `Lash button has been clicked.`
class LashSkein
`` | `A class to lash a skein of extrusions.`
| Methods defined here: __init__(self) getCraftedGcode(self, gcodeText, lashRepository) `Parse gcode text and store the lash gcode.` getLashedLine(self, line, location, splitLine) `Get lashed gcode line.` parseInitialization(self) `Parse gcode initialization and store the parameters.` parseLash(self, line) `Parse a gcode line and add it to the lash skein.`

Functions
`` |  | getCraftedText(fileName, text, lashRepository=None) `Get a lashed gcode linear move text.` getCraftedTextFromText(gcodeText, lashRepository=None) `Get a lashed gcode linear move text from text.` getNewRepository() `Get new repository.` main() `Display the lash dialog.` writeOutput(fileName, shouldAnalyze=True) `Lash a gcode linear move file.`

Data
`` |  | __author__ = 'Enrique Perez (perez_enrique@yahoo.com)' __date__ = '$Date: 2008/21/04 $' __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html' absolute_import = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384)

Author
`` |  | Enrique Perez (perez_enrique@yahoo.com)