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

Previous / Next / Contents


The unpause script is based on the Shane Hathaway's patch to speed up a line segment to compensate for the delay of the microprocessor. The description is at:
http://shane.willowrise.com/archives/delay-compensation-in-firmware/

The unpause manual page is at:
http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Unpause


Operation
Settings
  Delay
  Maximum Speed
Examples

Operation


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

Settings


Delay

Default is 28 milliseconds, which Shane found for the Arduino.

Defines the delay on the microprocessor that will be at least partially compensated for.

Maximum Speed

Default is 1.5.

Defines the maximum amount that the feed rate will be sped up to, compared to the original feed rate.

Examples


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


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


> python unpause.py Screw Holder Bottom.stl
The unpause tool is parsing the file:
Screw Holder Bottom.stl
..
The unpause tool has created the file:
.. Screw Holder Bottom_unpause.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 unpause
>>> unpause.main()
This brings up the unpause dialog.


>>> unpause.writeOutput( 'Screw Holder Bottom.stl' )
The unpause tool is parsing the file:
Screw Holder Bottom.stl
..
The unpause tool has created the file:
.. Screw Holder Bottom_unpause.gcode


Previous / Next / Contents


 
Modules
       
__init__
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.profile
skeinforge_tools.skeinforge_utilities.settings
sys

 
Classes
       
UnpauseRepository
UnpauseSkein

 
class UnpauseRepository
    A class to handle the unpause settings.
 
  Methods defined here:
__init__(self)
Set the default settings, execute title & settings fileName.
execute(self)
Unpause button has been clicked.

 
class UnpauseSkein
    A class to unpause a skein of extrusions.
 
  Methods defined here:
__init__(self)
getCraftedGcode(self, gcodeText, repository)
Parse gcode text and store the unpause gcode.
getUnpausedArcMovement(self, line, splitLine)
Get an unpaused arc movement.
getUnpausedFeedRateMinute(self, location, splitLine)
Get the feed rate which will compensate for the pause.
getUnpausedLinearMovement(self, line, splitLine)
Get an unpaused linear movement.
parseInitialization(self)
Parse gcode initialization and store the parameters.
parseLine(self, line)
Parse a gcode line.

 
Functions
       
getCraftedText(fileName, text, repository=None)
Unpause a gcode linear move file or text.
getCraftedTextFromText(gcodeText, repository=None)
Unpause a gcode linear move text.
getNewRepository()
Get the repository constructor.
getSelectedPlugin(repository)
Get the selected plugin.
main()
Display the unpause dialog.
writeOutput(fileName='')
Unpause 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)