Python: module skeinforge_application.skeinforge_plugins.craft_plugins.widen

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

Previous / Next / Contents

`
Widen will widen the outside perimeters away from the inside perimeters, so that the outsides will be at least two perimeter widths away from the insides and therefore the outside filaments will not overlap the inside filaments.
For example, if a mug has a very thin wall, widen would widen the outside of the mug so that the wall of the mug would be two perimeter widths wide, and the outside wall filament would not overlap the inside filament.
For another example, if the outside of the object runs right next to a hole, widen would widen the wall around the hole so that the wall would bulge out around the hole, and the outside filament would not overlap the hole filament.
The widen manual page is at:
http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Widen
Operation
Examples
`

## Operation

The default 'Activate Widen' checkbox is off. When it is on, widen will work, when it is off, widen will not be called.

## Examples

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

Previous / Next / Contents

Modules
`` |  |
__init__ fabmetheus_utilities.archive fabmetheus_utilities.geometry.geometry_utilities.booleansolid fabmetheus_utilities.euclidean | fabmetheus_utilities.fabmetheus_tools.fabmetheus_interpret fabmetheus_utilities.gcodec fabmetheus_utilities.intercircle os | 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
`` |  | WidenRepository WidenSkein
class WidenRepository
`` | `A class to handle the widen settings.`
| Methods defined here: __init__(self) `Set the default settings, execute title & settings fileName.` execute(self) `Widen button has been clicked.`
class WidenSkein
`` | `A class to widen a skein of extrusions.`
| Methods defined here: __init__(self) addWiden(self, rotatedBoundaryLayer) `Add widen to the layer.` getCraftedGcode(self, gcodeText, repository) `Parse gcode text and store the widen gcode.` parseInitialization(self) `Parse gcode initialization and store the parameters.` parseLine(self, line) `Parse a gcode line and add it to the widen skein.`

Functions
`` |  | getCraftedText(fileName, text='', repository=None) `Widen the preface file or text.` getCraftedTextFromText(gcodeText, repository=None) `Widen the preface gcode text.` getIntersectingWithinLoops(loop, loopList, outsetLoop) `Get the loops which are intersecting or which it is within.` getIsIntersectingWithinLoop(loop, otherLoop, outsetLoop) `Determine if the loop is intersecting or is within the other loop.` getIsPointInsideALoop(loops, point) `Determine if a point is inside a loop of a loop list.` getNewRepository() `Get the repository constructor.` getWidenedLoop(loop, loopList, outsetLoop, radius) `Get the widened loop.` main() `Display the widen dialog.` writeOutput(fileName='') `Widen 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)