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
fabmetheus_utilities.geometry.geometry_utilities.evaluate_elements.setting

 
Classes
       
AlongAway
OverhangClockwise
OverhangDerivation
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 OverhangDerivation
    Class to hold overhang variables.
 
  Methods defined here:
__init__(self, elementNode, prefix)
Set defaults.

 
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 closest intersection or bottom point along line.
getDistanceToBottom(self)
Get distance between point and closest 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 closest intersection or bottom point along line.
getDistanceToBottom(self)
Get distance between point and closest bottom point along line.
setRatios(self)
Set ratios.

 
Functions
       
addUnsupportedPointIndexes(alongAway)
Add the indexes of the unsupported points.
alterClockwiseSupportedPath(alongAway, elementNode)
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, elementNode, loop, prefix, sideLength)
Get path with overhangs removed or filled in.
getMinimumYByPath(path)
Get path with overhangs removed or filled in.
getNewDerivation(elementNode, prefix, sideLength)
Get new derivation.
processElementNode(elementNode)
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__ = '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)
globalExecutionOrder = 100

 
Author
        Enrique Perez (perez_enrique@yahoo.com)

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