Python: module skeinforge_application.skeinforge_plugins.craft_plugins.splodge

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

Previous / Next / Contents

`
Splodge turns the extruder on just before the start of a thread. This is to give the extrusion a bit anchoring at the beginning.
The splodge manual page is at:
http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Splodge
Operation
Settings
Initial
Initial Lift over Extra Thickness
Initial Splodge Feed Rate
Initial Splodge Quantity Length
Operating
Operating Lift over Extra Thickness
Operating Splodge Feed Rate
Operating Splodge Quantity Length
Examples
`

## Operation

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

## Settings

### Initial

#### Initial Lift over Extra Thickness

Default is one.
Defines the amount the extruder will be lifted over the extra thickness of the initial splodge thread. The higher the ratio, the more the extruder will be lifted over the splodge, if the ratio is too low the extruder might plow through the splodge extrusion.

#### Initial Splodge Feed Rate

Default is one millimeter per second.
Defines the feed rate at which the initial extra extrusion will be added. With the default feed rate, the splodge will be added slower so it will be thicker than the regular extrusion.

#### Initial Splodge Quantity Length

Default is thirty millimeters.
Defines the quantity length of extra extrusion at the operating feed rate that will be added to the initial thread. If a splodge quantity length is smaller than 0.1 times the edge width, no splodge of that type will be added.

### Operating

#### Operating Lift over Extra Thickness

Default is one.
Defines the amount the extruder will be lifted over the extra thickness of the operating splodge thread.

#### Operating Splodge Feed Rate

Default is one millimeter per second.
Defines the feed rate at which the next extra extrusions will be added.

#### Operating Splodge Quantity Length

Default is thirty millimeters.
Defines the quantity length of extra extrusion at the operating feed rate that will be added for the next threads.

## Examples

The following examples splodge the file Screw Holder Bottom.stl. The examples are run in a terminal in the folder which contains Screw Holder Bottom.stl and splodge.py.
> python splodge.py
This brings up the splodge dialog.
> python splodge.py Screw Holder Bottom.stl
The splodge tool is parsing the file:
Screw Holder Bottom.stl
..
The splodge tool has created the file:
.. Screw Holder Bottom_splodge.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

``

SplodgeRepository
SplodgeSkein

class SplodgeRepository
`` | `A class to handle the splodge settings. `

Methods defined here:

__init__(self)
  `Set the default settings, execute title & settings fileName.`

execute(self)
  `Splodge button has been clicked.`

class SplodgeSkein
`` | `A class to splodge a skein of extrusions. `

Methods defined here:

__init__(self)

addLineUnlessIdentical(self, line)
  `Add a line, unless it is identical to the last line.`

addLineUnlessIdenticalReactivate(self, line)
  `Add a line, unless it is identical to the last line or another M101.`

getCraftedGcode(self, gcodeText, splodgeRepository)
  `Parse gcode text and store the splodge gcode.`

getInitialSplodgeLine(self, line, location)
  `Add the initial splodge line.`

getNextActiveLocationComplex(self)
  `Get the next active line.`

getOperatingSplodgeLine(self, line, location)
  `Get the operating splodge line.`

getSplodgeLine(self, line, location, splitLine)
  `Get splodged gcode line.`

getSplodgeLineGivenDistance(self, feedRateMinute, line, liftOverExtraThickness, location, startupDistance)
  `Add the splodge line.`

getStartInsideBoundingRectangle(self, locationComplex, relativeStartComplex)
  `Get a start inside the bounding rectangle.`

isJustBeforeExtrusion(self)
  `Determine if activate command is before linear move command.`

parseInitialization(self, splodgeRepository)
  `Parse gcode initialization and store the parameters.`

parseLine(self, line)
  `Parse a gcode line and add it to the bevel gcode.`

setRotations(self)
  `Set the rotations.`

Functions

``

getCraftedText(fileName, text, splodgeRepository=None)
  `Splodge a gcode linear move file or text.`

getCraftedTextFromText(gcodeText, splodgeRepository=None)
  `Splodge a gcode linear move text.`

getNewRepository()
  `Get new repository.`

main()
  `Display the splodge dialog.`

writeOutput(fileName, shouldAnalyze=True)
  `Splodge 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)