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 sets the bottom of the carving to the defined altitude.
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 thickness. 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 thickness. 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 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 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 the repository constructor.` main() `Display the bottom dialog.` writeOutput(fileName) `Bottom the carving.`

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)