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

Previous / Next / Contents


The unpause plugin 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://fabmetheus.crsndoo.com/wiki/index.php/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, nothing will be done.

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.3.

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


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
       
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.
getUnpausedLinearMovement(self, line, splitLine)
Get an unpaused linear movement.
getUnpausedMovement(self, distance, line, splitLine)
Get an unpaused movement.
parseInitialization(self)
Parse gcode initialization and store the parameters.
parseLine(self, line)
Parse a gcode line.

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