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

Previous / Next / Contents


Outset outsets the edges of the slices of a gcode file. The outside edges will be outset by half the edge width, and the inside edges will be inset by half the edge 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


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

 
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, loopLayer)
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 new repository.
main()
Display the outset dialog.
writeOutput(fileName, shouldAnalyze=True)
Outset the carving of a gcode file.

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