Package plugins :: Module support
[hide private]
[frames] | no frames]

Module support

source code


Support adds layers for supporting overhangs.
Extracted from the Skeinforge raft plugin. 

Credits:
        Original Author: Enrique Perez (http://skeinforge.com)
        Contributors: Please see the documentation in Skeinforge 
        Modifed as SFACT: Ahmet Cem Turan (github.com/ahmetcemturan/SFACT)      

License: 
        GNU Affero General Public License http://www.gnu.org/licenses/agpl.html 

Classes [hide private]
  SupportSkein
A class to support a skein of extrusions.
  SupportLayer
Support loops with segment tables.
Functions [hide private]
 
performAction(slicedModel)
Add support layers.
source code
 
getCrossHatchPointLine(crossHatchPointLineTable, y)
Get the cross hatch point line.
source code
 
getEndpointsFromYIntersections(x, yIntersections)
Get endpoints from the y intersections.
source code
 
getExtendedLineSegment(extensionDistance, lineSegment, loopXIntersections)
Get extended line segment.
source code
 
getLoopsBySegmentsDictionary(segmentsDictionary, width)
Get loops from a horizontal segments dictionary.
source code
 
getVerticalEndpoints(horizontalSegmentsTable, horizontalStep, verticalOverhang, verticalStep)
Get vertical endpoints.
source code
 
setExtendedPoint(lineSegmentEnd, pointOriginal, x)
Set the point in the extended line segment.
source code
Variables [hide private]
  name = 'plugins.support'
  logger = logging.getLogger(name)
  __package__ = 'plugins'