# Python: module fabmetheus_utilities.geometry.creation.extrude

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

`Boolean geometry extrusion.`

Modules

``

__init__ fabmetheus_utilities.euclidean | fabmetheus_utilities.geometry.geometry_utilities.evaluate fabmetheus_utilities.geometry.creation.lineation | math fabmetheus_utilities.geometry.creation.solid | fabmetheus_utilities.geometry.solids.trianglemesh

Classes

``

ExtrudeDerivation
Interpolation
PortionDirection

class ExtrudeDerivation
`` | `Class to hold extrude variables.`

Methods defined here:

__init__(self)
  `Set defaults.`

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

setToXMLElement(self, xmlElement)
  `Set to the xmlElement.`

class Interpolation
`` | `Class to interpolate a path.`

Methods defined here:

__init__(self)
  `Set index.`

getByDistances(self)
  `Get by distances.`

getByPrefixAlong(self, path, prefix, xmlElement)
  `Get interpolation from prefix and xml element along the path.`

getByPrefixX(self, path, prefix, xmlElement)
  `Get interpolation from prefix and xml element in the z direction.`

getByPrefixZ(self, path, prefix, xmlElement)
  `Get interpolation from prefix and xml element in the z direction.`

getComparison(self, first, second)
  `Compare the first with the second.`

getComplexByPortion(self, portionDirection)
  `Get complex from z portion.`

getInnerPortion(self)
  `Get inner x portion.`

getVector3ByPortion(self, portionDirection)
  `Get vector3 from z portion.`

getYByPortion(self, portionDirection)
  `Get y from x portion.`

setInterpolationIndex(self, portionDirection)
  `Set the interpolation index.`

setInterpolationIndexFromTo(self, portionDirection)
  `Set the interpolation index, the start vertex and the end vertex.`

class PortionDirection
`` | `Class to hold a portion and direction.`

Methods defined here:

__init__(self, portion)
  `Initialize.`

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

Functions

``

addLoop(derivation, endMultiplier, loopLists, path, portionDirectionIndex, portionDirections, vertexes)
  `Add an indexed loop to the vertexes.`

addNegatives(derivation, negatives, paths)
  `Add pillars output to negatives.`

addNegativesPositives(derivation, negatives, paths, positives)
  `Add pillars output to negatives and positives.`

addOffsetAddToLists(loop, offset, vector3Index, vertexes)
  `Add an indexed loop to the vertexes.`

addSpacedPortionDirection(portionDirection, spacedPortionDirections)
  `Add spaced portion directions.`

addTwistPortions(interpolationTwist, remainderPortionDirection, twistPrecision)
  `Add twist portions.`

comparePortionDirection(portionDirection, otherPortionDirection)
  `Comparison in order to sort portion directions in ascending order of portion then direction.`

getGeometryOutput(derivation, xmlElement)
  `Get triangle mesh from attribute dictionary.`

getGeometryOutputByArguments(arguments, xmlElement)
  `Get triangle mesh from attribute dictionary by arguments.`

getGeometryOutputByConnection(connectionEnd, connectionStart, geometryOutput, xmlElement)
  `Get solid output by connection.`

getGeometryOutputByNegativesPositives(derivation, negatives, positives, xmlElement)
  `Get triangle mesh from derivation, negatives, positives and xmlElement.`

getGeometryOutputByOffset(geometryOutput, interpolationOffset, xmlElement)
  `Get solid output by interpolationOffset.`

getLoopListsByPath(derivation, endMultiplier, path, portionDirections)
  `Get loop lists from path.`

getNormalAverage(normals)
  `Get normal.`

getNormals(interpolationOffset, offset, portionDirection)
  `Get normals.`

getSpacedPortionDirections(interpolationDictionary)
  `Get sorted portion directions.`

insertTwistPortions(derivation, xmlElement)
  `Insert twist portions and radian the twist.`

processXMLElement(xmlElement)
  `Process the xml element.`

setOffsetByMultiplier(begin, end, multiplier, offset)
  `Set the offset by the multiplier.`

Data
`` |  | __author__ = 'Enrique Perez (perez_enrique@yahoo.com)' __credits__ = 'Art of Illusion <http://www.artofillusion.org/>' __date__ = '$Date: 2008/02/05 $' __license__ = 'GPL 3.0' 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/>