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 edges away from the inside edges, so that the outsides will be at least two edge 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 edge 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://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Widen
Operation
Examples
`

## Operation

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

## 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

Previous / Next / Contents

Modules
`` |  |
__init__ fabmetheus_utilities.archive fabmetheus_utilities.geometry.geometry_utilities.boolean_solid 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.triangle_mesh

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, loopLayer) `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 new repository.` getWidenedLoops(loop, loopList, outsetLoop, radius) `Get the widened loop.` main() `Display the widen dialog.` writeOutput(fileName, shouldAnalyze=True) `Widen the carving of a gcode file.`

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