# Python: module fabmetheus_utilities.geometry.manipulation_paths.overhang

fabmetheus_utilities.geometry.manipulation_paths.overhang ($Date: 2008/02/05 $) | index /home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/geometry/manipulation_paths/overhang.py

`Add material to support overhang or remove material at the overhang angle.`

Modules

``

__init__ fabmetheus_utilities.euclidean | fabmetheus_utilities.geometry.geometry_utilities.evaluate fabmetheus_utilities.geometry.creation.lineation | math |

Classes

``

AlongAway
OverhangClockwise
OverhangWiddershinsLeft
  OverhangWiddershinsRight

class AlongAway
`` | `Class to derive the path along the point and away from the point.`

Methods defined here:

__init__(self, loop, overhangPlaneAngle)
  `Initialize.`

__repr__(self)
  `Get the string representation of AlongAway.`

addToBottomPoints(self, point)
  `Add point to bottom points and set y to minimumY.`

getIsClockwisePointSupported(self, point)
  `Determine if the point on the clockwise loop is supported.`

getIsPointSupportedBySegment(self, endIndex)
  `Determine if the point on the widdershins loop is supported.`

getIsWiddershinsPointSupported(self, point)
  `Determine if the point on the widdershins loop is supported.`

class OverhangClockwise
`` | `Class to get the intersection up from the point.`

Methods defined here:

__init__(self, alongAway)
  `Initialize.`

__repr__(self)
  `Get the string representation of OverhangClockwise.`

alterLoop(self, unsupportedPointIndexes)
  `Alter alongAway loop.`

class OverhangWiddershinsLeft
`` | `Class to get the intersection from the point down to the left.`

Methods defined here:

__init__(self, alongAway)
  `Initialize.`

__repr__(self)
  `Get the string representation of OverhangWiddershins.`

alterLoop(self)
  `Alter alongAway loop.`

getBottomLoop(self, closestBottomIndex, insertedPoint)
  `Get loop around bottom.`

getDistance(self)
  `Get distance between point and nearest intersection or bottom point along line.`

getDistanceToBottom(self)
  `Get distance between point and nearest bottom point along line.`

getIntersectLoop(self)
  `Get intersection loop.`

getIsOnside(self, x)
  `Determine if x is on the side along the direction of the intersection line.`

setRatios(self)
  `Set ratios.`

class OverhangWiddershinsRight(OverhangWiddershinsLeft)
`` | `Class to get the intersection from the point down to the right.`

Methods defined here:

__init__(self, alongAway)
  `Initialize.`

getBottomLoop(self, closestBottomIndex, insertedPoint)
  `Get loop around bottom.`

getIntersectLoop(self)
  `Get intersection loop.`

getIsOnside(self, x)
  `Determine if x is on the side along the direction of the intersection line.`

Methods inherited from OverhangWiddershinsLeft:

__repr__(self)
  `Get the string representation of OverhangWiddershins.`

alterLoop(self)
  `Alter alongAway loop.`

getDistance(self)
  `Get distance between point and nearest intersection or bottom point along line.`

getDistanceToBottom(self)
  `Get distance between point and nearest bottom point along line.`

setRatios(self)
  `Set ratios.`

Functions

``

addUnsupportedPointIndexes(alongAway)
  `Add the indexes of the unsupported points.`

alterClockwiseSupportedPath(alongAway, xmlElement)
  `Get clockwise path with overhangs carved out.`

alterWiddershinsSupportedPath(alongAway, close)
  `Get widdershins path with overhangs filled in.`

alterWiddershinsSupportedPathByPoint(alongAway, overhangWiddershinsLeft, overhangWiddershinsRight, point)
  `Get widdershins path with overhangs filled in for point.`

compareYAscending(point, pointOther)
  `Get comparison in order to sort points in ascending y.`

getManipulatedPaths(close, loop, prefix, sideLength, xmlElement)
  `Get path with overhangs removed or filled in.`

getMinimumYByPath(path)
  `Get path with overhangs removed or filled in.`

processXMLElement(xmlElement)
  `Process the xml element.`

Data
`` |  | __author__ = 'Enrique Perez (perez_enrique@yahoo.com)' __credits__ = 'Art of Illusion <http://www.artofillusion.org/>' __date__ = '$Date: 2008/02/05 $' __license__ = 'GPL 3.0' absolute_import = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384) globalExecutionOrder = 100

Author
`` |  | Enrique Perez (perez_enrique@yahoo.com)

Credits
`` |  | Art of Illusion <http://www.artofillusion.org/>