# Python: module fabmetheus_utilities.geometry.creation.gear

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

`Gear couple.`

Modules

``

__init__ fabmetheus_utilities.euclidean | fabmetheus_utilities.geometry.geometry_utilities.evaluate fabmetheus_utilities.geometry.creation.extrude | fabmetheus_utilities.geometry.creation.lineation math | fabmetheus_utilities.geometry.manipulation_evaluator.matrix

Classes

``

GearDerivation

class GearDerivation
`` | `Class to hold gear variables.`

Methods defined here:

__init__(self)
  `Set defaults.`

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

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

Functions

``

addHorizontallyBoundedPoint(begin, center, end, horizontalBegin, horizontalEnd, path)
  `Add point if it is within the horizontal bounds.`

getAxialMargin(circleRadius, numberOfSides, polygonRadius)
  `Get axial margin.`

getGearProfile(gearDerivation, teeth, toothProfile)
  `Get gear profile.`

getGearProfileCylinder(teeth, toothProfile)
  `Get gear profile.`

getGearProfileRack(gearDerivation, toothProfile)
  `Get gear profile for rack.`

getGeometryOutput(xmlElement)
  `Get vector3 vertexes from attribute dictionary.`

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

getHalfwave(pitchRadius, teeth)
  `Get tooth halfwave.`

getHelixComplexPath(gearDerivation, xmlElement)
  `Set gear helix path.`

getHorizontallyBoundedPath(horizontalBegin, horizontalEnd, path)
  `Get horizontally bounded path.`

getLighteningHoles(gearDerivation, pitchRadius, shaftRimRadius, teeth)
  `Get cutout circles.`

getMirrorPath(path)
  `Get mirror path.`

getOutputCylinder(gearDerivation, pitchRadius, shaftRimRadius, teeth, twist, vector3GearProfile, vector3ShaftPath, xmlElement)
  `Get extrude output for a cylinder gear.`

getOutputRack(gearDerivation, vector3GearProfile, xmlElement)
  `Get extrude output for a rack.`

getPathOutput(creationFirst, gearDerivation, translation, vector3GearProfileFirst, vector3GearProfileSecond, xmlElement)
  `Get gear path output.`

getShaftPath(gearDerivation)
  `Get shaft with the option of a flat on the top and/or bottom.`

getToothProfile(gearDerivation, pitchRadius, teeth)
  `Get profile for one tooth.`

getToothProfileCylinder(gearDerivation, pitchRadius, teeth)
  `Get profile for one tooth of a cylindrical gear.`

getToothProfileHalfCylinder(gearDerivation, pitchRadius, teeth)
  `Get profile for half of a one tooth of a cylindrical gear.`

getToothProfileRack(gearDerivation)
  `Get profile for one rack tooth.`

processXMLElement(xmlElement)
  `Process the xml element.`

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/>