# Python: module fabmetheus_utilities.geometry.creation.lineation

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

`Polygon path.`

Modules

``

__init__ fabmetheus_utilities.euclidean | fabmetheus_utilities.geometry.geometry_utilities.evaluate math | fabmetheus_utilities.geometry.geometry_utilities.matrix fabmetheus_utilities.geometry.geometry_tools.path |

Classes

``

LineationDerivation
SideLoop
Spiral

class LineationDerivation
`` | `Class to hold lineation variables.`

Methods defined here:

__init__(self, elementNode)
  `Set defaults.`

class SideLoop
`` | `Class to handle loop, side angle and side length.`

Methods defined here:

__init__(self, loop, sideAngle=None, sideLength=None)
  `Initialize.`

getManipulationPluginLoops(self, elementNode)
  `Get loop manipulated by the plugins in the manipulation paths folder.`

rotate(self, elementNode)
  `Rotate.`

class Spiral
`` | `Class to add a spiral.`

Methods defined here:

__init__(self, spiral, stepRatio)
  `Initialize.`

__repr__(self)
  `Get the string representation of this Spiral.`

getSpiralPoint(self, unitPolar, vector3)
  `Add spiral to the vector.`

Functions

``

getComplexByDictionary(dictionary, valueComplex)
  `Get complex by dictionary.`

getComplexByDictionaryListValue(value, valueComplex)
  `Get complex by dictionary, list or value.`

getComplexByFloatList(floatList, valueComplex)
  `Get complex by float list.`

getComplexByMultiplierPrefix(elementNode, multiplier, prefix, valueComplex)
  `Get complex from multiplier, prefix and xml element.`

getComplexByMultiplierPrefixes(elementNode, multiplier, prefixes, valueComplex)
  `Get complex from multiplier, prefixes and xml element.`

getComplexByPrefix(elementNode, prefix, valueComplex)
  `Get complex from prefix and xml element.`

getComplexByPrefixBeginEnd(elementNode, prefixBegin, prefixEnd, valueComplex)
  `Get complex from element node, prefixBegin and prefixEnd.`

getComplexByPrefixes(elementNode, prefixes, valueComplex)
  `Get complex from prefixes and xml element.`

getComplexIfNone(valueComplex)
  `Get new complex if the original complex is none.`

getFloatByPrefixBeginEnd(elementNode, prefixBegin, prefixEnd, valueFloat)
  `Get float from prefixBegin, prefixEnd and xml element.`

getFloatByPrefixSide(defaultValue, elementNode, prefix, side)
  `Get float by prefix and side.`

getGeometryOutput(derivation, elementNode)
  `Get geometry output from paths.`

getGeometryOutputByArguments(arguments, elementNode)
  `Get vector3 vertexes from attribute dictionary by arguments.`

getGeometryOutputByLoop(elementNode, sideLoop)
  `Get geometry output by side loop.`

getGeometryOutputByManipulation(elementNode, sideLoop)
  `Get geometry output by manipulation.`

getInradius(defaultInradius, elementNode)
  `Get inradius.`

getMinimumRadius(beginComplexSegmentLength, endComplexSegmentLength, radius)
  `Get minimum radius.`

getNewDerivation(elementNode)
  `Get new derivation.`

getNumberOfBezierPoints(begin, elementNode, end)
  `Get the numberOfBezierPoints.`

getPackedGeometryOutputByLoop(elementNode, sideLoop)
  `Get packed geometry output by side loop.`

getRadiusAverage(radiusComplex)
  `Get average radius from radiusComplex.`

getRadiusComplex(elementNode, radius)
  `Get radius complex for elementNode.`

getStrokeRadiusByPrefix(elementNode, prefix)
  `Get strokeRadius by prefix.`

processElementNode(elementNode)
  `Process the xml element.`

processElementNodeByFunction(elementNode, manipulationFunction)
  `Process the xml element by the manipulationFunction.`

processTargetByFunction(manipulationFunction, target)
  `Process the target by the manipulationFunction.`

removeChildNodesFromElementObject(elementNode)
  `Process the xml element by manipulationFunction.`

setClosedAttribute(elementNode, revolutions)
  `Set the closed attribute of the elementNode.`

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)

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

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