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

Previous / Next / Contents


Bottom converts the svg slices into gcode extrusion layers, optionally bottom with some gcode commands.

The bottom manual page is at:
http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Bottom


Operation
Settings
  Altitude
  SVG Viewer
Examples

Operation


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

Settings


Altitude

Default is zero.

Defines the altitude of the bottom of the model. The bottom slice have a z of the altitude plus half the layer thickness.

SVG Viewer

Default is webbrowser.

If the 'SVG Viewer' is set to the default 'webbrowser', the scalable vector graphics file will be sent to the default browser to be opened. If the 'SVG Viewer' is set to a program name, the scalable vector graphics file will be sent to that program to be opened.

Examples


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


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


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


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


Previous / Next / Contents


 
Modules
       
__init__
fabmetheus_utilities.archive
cStringIO
fabmetheus_utilities.euclidean
fabmetheus_utilities.fabmetheus_tools.fabmetheus_interpret
fabmetheus_utilities.gcodec
os
fabmetheus_utilities.settings
skeinforge_application.skeinforge_utilities.skeinforge_craft
skeinforge_application.skeinforge_utilities.skeinforge_polyfile
skeinforge_application.skeinforge_utilities.skeinforge_profile
fabmetheus_utilities.svg_writer
sys
time

 
Classes
       
BottomRepository
BottomSkein

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

 
class BottomSkein
    A class to bottom a skein of extrusions.
 
  Methods defined here:
getCraftedGcode(self, fileName, repository, svgText)
Parse svgText and store the bottom svgText.

 
Functions
       
getCraftedText(fileName, svgText='', repository=None)
Bottom and convert an svg file or svgText.
getCraftedTextFromText(fileName, svgText, repository=None)
Bottom and convert an svgText.
getNewRepository()
Get the repository constructor.
getSliceElementZ(sliceElement)
Get the slice element z.
getSliceElements(xmlElement)
Get the slice elements.
main()
Display the bottom dialog.
setSliceElementZ(decimalPlacesCarried, sliceElement, sliceElementIndex, z)
Set the slice element z.
writeOutput(fileName='')
Bottom 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)