<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><title>Python: module fabmetheus_utilities.geometry.manipulation_paths.overhang</title> </head><body bgcolor="#f0f0f8"> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> <tr bgcolor="#7799ee"> <td valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="fabmetheus_utilities.html"><font color="#ffffff">fabmetheus_utilities</font></a>.<a href="fabmetheus_utilities.geometry.html"><font color="#ffffff">geometry</font></a>.<a href="fabmetheus_utilities.geometry.manipulation_paths.html"><font color="#ffffff">manipulation_paths</font></a>.overhang</strong></big></big> ($Date: 2008/02/05 $)</font></td ><td align=right valign=bottom ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/geometry/manipulation_paths/overhang.py">/home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/geometry/manipulation_paths/overhang.py</a></font></td></tr></table> <p><tt>Add material to support overhang or remove material at the overhang angle.</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#aa55cc"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="__init__.html">__init__</a><br> <a href="fabmetheus_utilities.euclidean.html">fabmetheus_utilities.euclidean</a><br> </td><td width="25%" valign=top><a href="fabmetheus_utilities.geometry.geometry_utilities.evaluate.html">fabmetheus_utilities.geometry.geometry_utilities.evaluate</a><br> <a href="fabmetheus_utilities.geometry.creation.lineation.html">fabmetheus_utilities.geometry.creation.lineation</a><br> </td><td width="25%" valign=top><a href="math.html">math</a><br> <a href="fabmetheus_utilities.geometry.geometry_utilities.evaluate_elements.setting.html">fabmetheus_utilities.geometry.geometry_utilities.evaluate_elements.setting</a><br> </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> <td width="100%"><dl> <dt><font face="helvetica, arial"><a href="fabmetheus_utilities.geometry.manipulation_paths.overhang.html#AlongAway">AlongAway</a> </font></dt><dt><font face="helvetica, arial"><a href="fabmetheus_utilities.geometry.manipulation_paths.overhang.html#OverhangClockwise">OverhangClockwise</a> </font></dt><dt><font face="helvetica, arial"><a href="fabmetheus_utilities.geometry.manipulation_paths.overhang.html#OverhangDerivation">OverhangDerivation</a> </font></dt><dt><font face="helvetica, arial"><a href="fabmetheus_utilities.geometry.manipulation_paths.overhang.html#OverhangWiddershinsLeft">OverhangWiddershinsLeft</a> </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="fabmetheus_utilities.geometry.manipulation_paths.overhang.html#OverhangWiddershinsRight">OverhangWiddershinsRight</a> </font></dt></dl> </dd> </dl> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="AlongAway">class <strong>AlongAway</strong></a></font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>Class to derive the path along the point and away from the point.<br> </tt></td></tr> <tr><td> </td> <td width="100%">Methods defined here:<br> <dl><dt><a name="AlongAway-__init__"><strong>__init__</strong></a>(self, loop, overhangPlaneAngle)</dt><dd><tt>Initialize.</tt></dd></dl> <dl><dt><a name="AlongAway-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get the string representation of <a href="#AlongAway">AlongAway</a>.</tt></dd></dl> <dl><dt><a name="AlongAway-addToBottomPoints"><strong>addToBottomPoints</strong></a>(self, point)</dt><dd><tt>Add point to bottom points and set y to minimumY.</tt></dd></dl> <dl><dt><a name="AlongAway-getIsClockwisePointSupported"><strong>getIsClockwisePointSupported</strong></a>(self, point)</dt><dd><tt>Determine if the point on the clockwise loop is supported.</tt></dd></dl> <dl><dt><a name="AlongAway-getIsPointSupportedBySegment"><strong>getIsPointSupportedBySegment</strong></a>(self, endIndex)</dt><dd><tt>Determine if the point on the widdershins loop is supported.</tt></dd></dl> <dl><dt><a name="AlongAway-getIsWiddershinsPointSupported"><strong>getIsWiddershinsPointSupported</strong></a>(self, point)</dt><dd><tt>Determine if the point on the widdershins loop is supported.</tt></dd></dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="OverhangClockwise">class <strong>OverhangClockwise</strong></a></font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>Class to get the intersection up from the point.<br> </tt></td></tr> <tr><td> </td> <td width="100%">Methods defined here:<br> <dl><dt><a name="OverhangClockwise-__init__"><strong>__init__</strong></a>(self, alongAway)</dt><dd><tt>Initialize.</tt></dd></dl> <dl><dt><a name="OverhangClockwise-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get the string representation of <a href="#OverhangClockwise">OverhangClockwise</a>.</tt></dd></dl> <dl><dt><a name="OverhangClockwise-alterLoop"><strong>alterLoop</strong></a>(self, unsupportedPointIndexes)</dt><dd><tt>Alter alongAway loop.</tt></dd></dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="OverhangDerivation">class <strong>OverhangDerivation</strong></a></font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>Class to hold overhang variables.<br> </tt></td></tr> <tr><td> </td> <td width="100%">Methods defined here:<br> <dl><dt><a name="OverhangDerivation-__init__"><strong>__init__</strong></a>(self, elementNode, prefix)</dt><dd><tt>Set defaults.</tt></dd></dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="OverhangWiddershinsLeft">class <strong>OverhangWiddershinsLeft</strong></a></font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>Class to get the intersection from the point down to the left.<br> </tt></td></tr> <tr><td> </td> <td width="100%">Methods defined here:<br> <dl><dt><a name="OverhangWiddershinsLeft-__init__"><strong>__init__</strong></a>(self, alongAway)</dt><dd><tt>Initialize.</tt></dd></dl> <dl><dt><a name="OverhangWiddershinsLeft-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get the string representation of OverhangWiddershins.</tt></dd></dl> <dl><dt><a name="OverhangWiddershinsLeft-alterLoop"><strong>alterLoop</strong></a>(self)</dt><dd><tt>Alter alongAway loop.</tt></dd></dl> <dl><dt><a name="OverhangWiddershinsLeft-getBottomLoop"><strong>getBottomLoop</strong></a>(self, closestBottomIndex, insertedPoint)</dt><dd><tt>Get loop around bottom.</tt></dd></dl> <dl><dt><a name="OverhangWiddershinsLeft-getDistance"><strong>getDistance</strong></a>(self)</dt><dd><tt>Get distance between point and closest intersection or bottom point along line.</tt></dd></dl> <dl><dt><a name="OverhangWiddershinsLeft-getDistanceToBottom"><strong>getDistanceToBottom</strong></a>(self)</dt><dd><tt>Get distance between point and closest bottom point along line.</tt></dd></dl> <dl><dt><a name="OverhangWiddershinsLeft-getIntersectLoop"><strong>getIntersectLoop</strong></a>(self)</dt><dd><tt>Get intersection loop.</tt></dd></dl> <dl><dt><a name="OverhangWiddershinsLeft-getIsOnside"><strong>getIsOnside</strong></a>(self, x)</dt><dd><tt>Determine if x is on the side along the direction of the intersection line.</tt></dd></dl> <dl><dt><a name="OverhangWiddershinsLeft-setRatios"><strong>setRatios</strong></a>(self)</dt><dd><tt>Set ratios.</tt></dd></dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="OverhangWiddershinsRight">class <strong>OverhangWiddershinsRight</strong></a>(<a href="fabmetheus_utilities.geometry.manipulation_paths.overhang.html#OverhangWiddershinsLeft">OverhangWiddershinsLeft</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>Class to get the intersection from the point down to the right.<br> </tt></td></tr> <tr><td> </td> <td width="100%">Methods defined here:<br> <dl><dt><a name="OverhangWiddershinsRight-__init__"><strong>__init__</strong></a>(self, alongAway)</dt><dd><tt>Initialize.</tt></dd></dl> <dl><dt><a name="OverhangWiddershinsRight-getBottomLoop"><strong>getBottomLoop</strong></a>(self, closestBottomIndex, insertedPoint)</dt><dd><tt>Get loop around bottom.</tt></dd></dl> <dl><dt><a name="OverhangWiddershinsRight-getIntersectLoop"><strong>getIntersectLoop</strong></a>(self)</dt><dd><tt>Get intersection loop.</tt></dd></dl> <dl><dt><a name="OverhangWiddershinsRight-getIsOnside"><strong>getIsOnside</strong></a>(self, x)</dt><dd><tt>Determine if x is on the side along the direction of the intersection line.</tt></dd></dl> <hr> Methods inherited from <a href="fabmetheus_utilities.geometry.manipulation_paths.overhang.html#OverhangWiddershinsLeft">OverhangWiddershinsLeft</a>:<br> <dl><dt><a name="OverhangWiddershinsRight-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get the string representation of OverhangWiddershins.</tt></dd></dl> <dl><dt><a name="OverhangWiddershinsRight-alterLoop"><strong>alterLoop</strong></a>(self)</dt><dd><tt>Alter alongAway loop.</tt></dd></dl> <dl><dt><a name="OverhangWiddershinsRight-getDistance"><strong>getDistance</strong></a>(self)</dt><dd><tt>Get distance between point and closest intersection or bottom point along line.</tt></dd></dl> <dl><dt><a name="OverhangWiddershinsRight-getDistanceToBottom"><strong>getDistanceToBottom</strong></a>(self)</dt><dd><tt>Get distance between point and closest bottom point along line.</tt></dd></dl> <dl><dt><a name="OverhangWiddershinsRight-setRatios"><strong>setRatios</strong></a>(self)</dt><dd><tt>Set ratios.</tt></dd></dl> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#eeaa77"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> <td width="100%"><dl><dt><a name="-addUnsupportedPointIndexes"><strong>addUnsupportedPointIndexes</strong></a>(alongAway)</dt><dd><tt>Add the indexes of the unsupported points.</tt></dd></dl> <dl><dt><a name="-alterClockwiseSupportedPath"><strong>alterClockwiseSupportedPath</strong></a>(alongAway, elementNode)</dt><dd><tt>Get clockwise path with overhangs carved out.</tt></dd></dl> <dl><dt><a name="-alterWiddershinsSupportedPath"><strong>alterWiddershinsSupportedPath</strong></a>(alongAway, close)</dt><dd><tt>Get widdershins path with overhangs filled in.</tt></dd></dl> <dl><dt><a name="-alterWiddershinsSupportedPathByPoint"><strong>alterWiddershinsSupportedPathByPoint</strong></a>(alongAway, overhangWiddershinsLeft, overhangWiddershinsRight, point)</dt><dd><tt>Get widdershins path with overhangs filled in for point.</tt></dd></dl> <dl><dt><a name="-compareYAscending"><strong>compareYAscending</strong></a>(point, pointOther)</dt><dd><tt>Get comparison in order to sort points in ascending y.</tt></dd></dl> <dl><dt><a name="-getManipulatedPaths"><strong>getManipulatedPaths</strong></a>(close, elementNode, loop, prefix, sideLength)</dt><dd><tt>Get path with overhangs removed or filled in.</tt></dd></dl> <dl><dt><a name="-getMinimumYByPath"><strong>getMinimumYByPath</strong></a>(path)</dt><dd><tt>Get path with overhangs removed or filled in.</tt></dd></dl> <dl><dt><a name="-getNewDerivation"><strong>getNewDerivation</strong></a>(elementNode, prefix, sideLength)</dt><dd><tt>Get new derivation.</tt></dd></dl> <dl><dt><a name="-processElementNode"><strong>processElementNode</strong></a>(elementNode)</dt><dd><tt>Process the xml element.</tt></dd></dl> </td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> <td width="100%"><strong>__author__</strong> = 'Enrique Perez (perez_enrique@yahoo.com)'<br> <strong>__credits__</strong> = 'Art of Illusion <http://www.artofillusion.org/>'<br> <strong>__date__</strong> = '$Date: 2008/02/05 $'<br> <strong>__license__</strong> = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'<br> <strong>absolute_import</strong> = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384)<br> <strong>globalExecutionOrder</strong> = 100</td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#7799ee"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr> <tr><td bgcolor="#7799ee"><tt> </tt></td><td> </td> <td width="100%">Enrique Perez (perez_enrique@yahoo.com)</td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#7799ee"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Credits</strong></big></font></td></tr> <tr><td bgcolor="#7799ee"><tt> </tt></td><td> </td> <td width="100%">Art of Illusion <<a href="http://www.artofillusion.org/">http://www.artofillusion.org/</a>></td></tr></table> </body></html>