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

Previous / Next / Contents


Lift will change the altitude of the cutting tool when it is on so that it will cut through the slab at the correct altitude. It will also lift the gcode when the tool is off so that the cutting tool will clear the top of the slab.


Operation
Settings
  Cutting Lift over Layer Step
  Clearance above Top
Examples

Operation


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

Settings


Cutting Lift over Layer Step

Default is minus 0.5, because the end mill is the more common tool.

Defines the ratio of the amount the cutting tool will be lifted over the layer step. If whittle is off the layer step will be the layer thickness, if it is on, it will be the layer step from the whittle gcode. If the cutting tool is like an end mill, where the cutting happens until the end of the tool, then the 'Cutting Lift over Layer Step' should be minus 0.5, so that the end mill cuts to the bottom of the slab. If the cutting tool is like a laser, where the cutting happens around the focal point. the 'Cutting Lift over Layer Step' should be zero, so that the cutting action will be focused in the middle of the slab.

Clearance above Top

Default is 5 millimeters.

Defines the distance above the top of the slab the cutting tool will be lifted when will tool is off so that the cutting tool will clear the top of the slab.

Examples


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


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


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


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


Previous / Next / Contents


 
Modules
       
__init__
skeinforge_tools.skeinforge_utilities.consecution
skeinforge_tools.skeinforge_utilities.gcodec
skeinforge_tools.skeinforge_utilities.interpret
skeinforge_tools.meta_plugins.polyfile
skeinforge_tools.profile
skeinforge_tools.skeinforge_utilities.settings
sys

 
Classes
       
LiftRepository
LiftSkein

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

 
class LiftSkein
    A class to lift a skein of extrusions.
 
  Methods defined here:
__init__(self)
addPreviousInactiveMovementLineIfNecessary(self)
Add the previous inactive movement line if necessary.
getCraftedGcode(self, liftRepository, gcodeText)
Parse gcode text and store the lift gcode.
getLinearMove(self, line, location, splitLine)
Get the linear move.
parseInitialization(self)
Parse gcode initialization and store the parameters.
parseLine(self, line)
Parse a gcode line and add it to the lift skein.
setMaximumZ(self)
Set maximum  z.

 
Functions
       
getCraftedText(fileName, text='', liftRepository=None)
Lift the preface file or text.
getCraftedTextFromText(gcodeText, liftRepository=None)
Lift the preface gcode text.
getNewRepository()
Get the repository constructor.
main()
Display the lift dialog.
writeOutput(fileName='')
Lift the carving of a gcode file.

 
Data
        __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
__date__ = '$Date: 2008/28/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)