Python: module skeinforge_application.skeinforge_plugins.craft_plugins.limit

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

Previous / Next / Contents

`
This plugin limits the feed rate of the tool head, so that the stepper motors are not driven too fast and skip steps.
The limit manual page is at:
http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Limit
The maximum z feed rate is defined in speed.
Operation
Settings
Maximum Initial Feed Rate
Examples
`

## Operation

The default 'Activate Limit' checkbox is on. When it is on, the functions described below will work, when it is off, nothing will be done.

## Settings

### Maximum Initial Feed Rate

Default is one millimeter per second.
Defines the maximum speed of the inital tool head move.

## Examples

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

Previous / Next / Contents

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

Classes
`` |  | LimitRepository LimitSkein
class LimitRepository
`` | `A class to handle the limit settings.`
| Methods defined here: __init__(self) `Set the default settings, execute title & settings fileName.` execute(self) `Limit button has been clicked.`
class LimitSkein
`` | `A class to limit a skein of extrusions.`
| Methods defined here: __init__(self) getCraftedGcode(self, gcodeText, repository) `Parse gcode text and store the limit gcode.` getLimitedInitialMovement(self, line, splitLine) `Get a limited linear movement.` getZLimitedLine(self, deltaZ, distance, line, splitLine) `Get a replaced z limited gcode movement line.` getZLimitedLineArc(self, line, splitLine) `Get a replaced z limited gcode arc movement line.` getZLimitedLineLinear(self, line, location, splitLine) `Get a replaced z limited gcode linear movement line.` parseInitialization(self) `Parse gcode initialization and store the parameters.` parseLine(self, lineIndex) `Parse a gcode line and add it to the limit skein.`

Functions
`` |  | getCraftedText(fileName, gcodeText='', repository=None) `Limit a gcode file or text.` getCraftedTextFromText(gcodeText, repository=None) `Limit a gcode text.` getNewRepository() `Get new repository.` main() `Display the limit dialog.` writeOutput(fileName, shouldAnalyze=True) `Limit a gcode file.`

Data
`` |  | __author__ = 'Enrique Perez (perez_enrique@yahoo.com)' __date__ = '$Date: 2008/28/04 $' __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

Author
`` |  | Enrique Perez (perez_enrique@yahoo.com)