Python: module skeinforge_application.skeinforge_plugins.craft_plugins.hop

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

Previous / Next / Contents

`
Hop is a script to raise the extruder when it is not extruding.
Note:
Note: In some cases where you have thin overhang this plugin can help solve the problem object being knocked off by the head
The hop manual page is at:
http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Hop
Operation
Settings
Hop Over Layer Thickness
Minimum Hop Angle
Examples
`

## Operation

The default 'Activate Hop' checkbox is off.
It is off because Vik and Nophead found better results without hopping. Numerous users reported better output without this plugin hence it is off by default.
When activated the extruder will hop when traveling. When it is off, nothing will be done.

## Settings

### Hop Over Layer Thickness

Default is one.
Defines the ratio of the hop height over the layer height, this is the most important hop setting.

### Minimum Hop Angle

Default is 20 degrees.
Defines the minimum angle that the path of the extruder will be raised. An angle of ninety means that the extruder will go straight up as soon as it is not extruding and a low angle means the extruder path will gradually rise to the hop height.

## Examples

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

Previous / Next / Contents

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

Classes
`` |  | HopRepository HopSkein
class HopRepository
`` | `A class to handle the hop settings.`
| Methods defined here: __init__(self) `Set the default settings, execute title & settings fileName.` execute(self) `Hop button has been clicked.`
class HopSkein
`` | `A class to hop a skein of extrusions.`
| Methods defined here: __init__(self) `Initialize` getCraftedGcode(self, gcodeText, hopRepository) `Parse gcode text and store the hop gcode.` getHopLine(self, line) `Get hopped gcode line.` isNextTravel(self) `Determine if there is another linear travel before the thread ends.` parseInitialization(self, hopRepository) `Parse gcode initialization and store the parameters.` parseLine(self, line) `Parse a gcode line and add it to the bevel gcode.`

Functions
`` |  | getCraftedText(fileName, text, hopRepository=None) `Hop a gcode linear move text.` getCraftedTextFromText(gcodeText, hopRepository=None) `Hop a gcode linear move text.` getNewRepository() `Get new repository.` main() `Display the hop dialog.` writeOutput(fileName, shouldAnalyze=True) `Hop a gcode linear move file. Chain hop the gcode if it is not already hopped.`

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)