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

Previous / Next / Contents

`
Outset outsets the perimeters of the slices of a gcode file. The outside perimeters will be outset by half the perimeter width, and the inside perimeters will be inset by half the perimeter width. Outset is needed for subtractive machining, like cutting or milling.
Operation
Examples
`

## Operation

The default 'Activate Outset' checkbox is on. When it is on, the gcode will be outset, when it is off, the gcode will not be changed.

## Examples

The following examples outset the file Screw Holder Bottom.stl. The examples are run in a terminal in the folder which contains Screw Holder Bottom.stl and outset.py.
> python outset.py
This brings up the outset dialog.
> python outset.py Screw Holder Bottom.stl
The outset tool is parsing the file:
Screw Holder Bottom.stl
..
The outset tool has created the file:
.. Screw Holder Bottom_outset.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 outset
>>> outset.main()
This brings up the outset dialog.
>>> outset.writeOutput('Screw Holder Bottom.stl')
The outset tool is parsing the file:
Screw Holder Bottom.stl
..
The outset tool has created the file:
.. Screw Holder Bottom_outset.gcode

Previous / Next / Contents

Modules
`` |  |
__init__ fabmetheus_utilities.archive fabmetheus_utilities.euclidean | fabmetheus_utilities.fabmetheus_tools.fabmetheus_interpret fabmetheus_utilities.gcodec fabmetheus_utilities.intercircle | fabmetheus_utilities.settings skeinforge_application.skeinforge_utilities.skeinforge_craft skeinforge_application.skeinforge_utilities.skeinforge_polyfile | skeinforge_application.skeinforge_utilities.skeinforge_profile sys fabmetheus_utilities.geometry.solids.trianglemesh

Classes
`` |  | OutsetRepository OutsetSkein
class OutsetRepository
`` | `A class to handle the outset settings.`
| Methods defined here: __init__(self) `Set the default settings, execute title & settings fileName.` execute(self) `Outset button has been clicked.`
class OutsetSkein
`` | `A class to outset a skein of extrusions.`
| Methods defined here: __init__(self) addGcodeFromRemainingLoop(self, loop, radius, z) `Add the remainder of the loop.` addOutset(self, rotatedBoundaryLayer) `Add outset to the layer.` getCraftedGcode(self, gcodeText, repository) `Parse gcode text and store the bevel gcode.` parseInitialization(self) `Parse gcode initialization and store the parameters.` parseLine(self, lineIndex) `Parse a gcode line and add it to the outset skein.`

Functions
`` |  | getCraftedText(fileName, text='', repository=None) `Outset the preface file or text.` getCraftedTextFromText(gcodeText, repository=None) `Outset the preface gcode text.` getNewRepository() `Get the repository constructor.` main() `Display the outset dialog.` writeOutput(fileName='') `Outset the carving of a gcode file. If no fileName is specified, outset the first unmodified gcode file in this folder.`

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)