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.geometry_utilities.evaluate_elements.setting | fabmetheus_utilities.geometry.creation.solid fabmetheus_utilities.geometry.solids.triangle_mesh

Classes

``

ExtrudeDerivation
Interpolation
PortionDirection

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

Methods defined here:

__init__(self, elementNode)
  `Initialize.`

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

Methods defined here:

__init__(self)
  `Set index.`

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

getByDistances(self)
  `Get by distances.`

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

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

getByPrefixZ(self, elementNode, path, prefix)
  `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.`

addPositives(derivation, paths, positives)
  `Add pillars output to positives.`

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, elementNode)
  `Get triangle mesh from attribute dictionary.`

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

getGeometryOutputByLoops(derivation, loops)
  `Get geometry output by sorted, nested loops.`

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

getGeometryOutputByNestedRing(derivation, nestedRing, portionDirections)
  `Get geometry output by sorted, nested loops.`

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

getNewDerivation(elementNode)
  `Get new derivation.`

getNormalAverage(normals)
  `Get normal.`

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

getSpacedPortionDirections(interpolationDictionary)
  `Get sorted portion directions.`

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

processElementNode(elementNode)
  `Process the xml element.`

setElementNodeToEndStart(elementNode, end, start)
  `Set elementNode attribute dictionary to a tilt following path from the start to end.`

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__ = '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/>