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

Previous / Next / Contents

`
Jitter jitters the loop end position to a different place on each layer to prevent the a ridge from forming.
The jitter manual page is at:
http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Jitter
Operation
Settings
Jitter Over Perimeter Width
Examples
`

## Operation

The default 'Activate Jitter' checkbox is on. When it is on, the functions described below will work, when it is off, the functions will not be called.

## Settings

### Jitter Over Perimeter Width

Default is two.
Defines the amount the loop ends will be jittered over the perimeter width. A high value means the loops will start all over the place and a low value means loops will start at roughly the same place on each layer.

## Examples

The following examples jitter the file Screw Holder Bottom.stl. The examples are run in a terminal in the folder which contains Screw Holder Bottom.stl and jitter.py.
> python jitter.py
This brings up the jitter dialog.
> python jitter.py Screw Holder Bottom.stl
The jitter tool is parsing the file:
Screw Holder Bottom.stl
..
The jitter tool has created the file:
.. Screw Holder Bottom_jitter.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 jitter
>>> jitter.main()
This brings up the jitter dialog.
>>> jitter.writeOutput('Screw Holder Bottom.stl')
The jitter tool is parsing the file:
Screw Holder Bottom.stl
..
The jitter tool has created the file:
.. Screw Holder Bottom_jitter.gcode

Previous / Next / Contents

Modules
`` |  |
__init__ 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
`` |  | JitterRepository JitterSkein
class JitterRepository
`` | `A class to handle the jitter settings.`
| Methods defined here: __init__(self) `Set the default settings, execute title & settings fileName.` execute(self) `Jitter button has been clicked.`
class JitterSkein
`` | `A class to jitter a skein of extrusions.`
| Methods defined here: __init__(self) addGcodeFromThreadZ(self, thread, z) `Add a gcode thread to the output.` addGcodeMovementZ(self, feedRateMinute, point, z) `Add a movement to the output.` addGcodePathZ(self, feedRateMinute, path, z) `Add a gcode path, without modifying the extruder, to the output.` addTailoredLoopPath(self) `Add a clipped and jittered loop path.` getCraftedGcode(self, jitterRepository, gcodeText) `Parse gcode text and store the jitter gcode.` getLinearMove(self, line, splitLine) `Add to loop path if this is a loop or path.` isNextExtruderOn(self) `Determine if there is an extruder on command before a move command.` parseAddJitter(self, line) `Parse a gcode line, jitter it and add it to the jitter skein.` parseInitialization(self, jitterRepository) `Parse gcode initialization and store the parameters.`

Functions
`` |  | getCraftedText(fileName, text, jitterRepository=None) `Jitter a gcode linear move text.` getCraftedTextFromText(gcodeText, jitterRepository=None) `Jitter a gcode linear move text.` getJitteredLoop(jitterDistance, jitterLoop) `Get a jittered loop path.` getNewRepository() `Get the repository constructor.` isLoopNumberEqual(betweenX, betweenXIndex, loopNumber) `Determine if the loop number is equal.` main() `Display the jitter dialog.` writeOutput(fileName='') `Jitter 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)