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

Previous / Next / Contents


Bottom sets the bottom of the carving to the defined altitude.

The bottom manual page is at:
http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Bottom


Operation
Settings
  Additional Height over Layer Thickness
  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


Additional Height over Layer Thickness

Default is half.

The layers will start at the altitude plus the 'Additional Height over Layer Thickness' times the layer height. The default value of half means that the bottom layer is at the height of the bottom slice, because each slice is made through the middle of each layer. Raft expects the layers to start at an additional half layer height. You should only change 'Additional Height over Layer Thickness' if you are manipulating the skeinforge output with your own program which does not use the raft tool.

Altitude

Default is zero.

Defines the altitude of the bottom of the model. The bottom slice has a z of the altitude plus the 'Additional Height over Layer Thickness' times the layer height.

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


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
fabmetheus_utilities.xml_simple_writer

 
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 new repository.
main()
Display the bottom dialog.
writeOutput(fileName, shouldAnalyze=True)
Bottom the carving.

 
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)