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

Module inset

source code


Inset will inset the outside outlines by half the perimeter width, and outset the inside outlines by the same amount.

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]
  InsetSkein
A class to inset a skein of extrusions.
Functions [hide private]
 
performAction(slicedModel)
Inset the slicedModel.
source code
 
addAlreadyFilledArounds(alreadyFilledArounds, loop, radius)
Add already filled loops around loop to alreadyFilledArounds.
source code
 
addSegmentOutline(isThick, outlines, pointBegin, pointEnd, width)
Add a diamond or hexagonal outline for a line segment.
source code
 
getInteriorSegments(loops, segments)
Get segments inside the loops.
source code
 
getIsIntersectingWithinList(loop, loopList)
Determine if the loop is intersecting or is within the loop list.
source code
 
getSegmentsFromLoopListsPoints(loopLists, pointBegin, pointEnd)
Get endpoint segments from the beginning and end of a line segment.
source code
 
isCloseToLast(paths, point, radius)
Determine if the point is close to the last point of the last path.
source code
 
isIntersectingItself(loop, width)
Determine if the loop is intersecting itself.
source code
 
isIntersectingWithinLists(loop, loopLists)
Determine if the loop is intersecting or is within the loop lists.
source code
Variables [hide private]
  logger = logging.getLogger(__name__)
  name = 'plugins.inset'
  __package__ = 'plugins'