# 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
fabmetheus_utilities.geometry.creation.shaft
fabmetheus_utilities.geometry.creation.teardrop

fabmetheus_utilities.geometry.solids.trianglemesh

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

``

addBevelGear(derivation, extrudeDerivation, pitchRadius, positives, teeth, vector3GearProfile)
  `Get extrude output for a cylinder gear.`

addBottomLoop(deltaZ, loops)
  `Add bottom loop to loops.`

addCollarShaft(collarThickness, derivation, negatives, positives, xmlElement)
  `Add collar.`

addCollarShaftSetDerivation(collarDerivation, collarThickness, derivation, negatives, positives, xmlElement)
  `Add collar and shaft.`

addLighteningHoles(derivation, gearHolePaths, negatives, pitchRadius, positives)
  `Add lightening holes.`

addRackHole(derivation, vector3RackProfiles, x, xmlElement)
  `Add rack hole to vector3RackProfiles.`

addRackHoles(derivation, vector3RackProfiles, xmlElement)
  `Add rack holes to vector3RackProfiles.`

addShaft(derivation, negatives, positives)
  `Add shaft.`

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

getBevelPath(begin, bevel, center, end)
  `Get bevel path.`

getGearPaths(derivation, pitchRadius, teeth, toothProfile)
  `Get gear paths.`

getGearProfileAnnulus(derivation, pitchRadius, teeth, toothProfile)
  `Get gear profile for an annulus gear.`

getGearProfileCylinder(teeth, toothProfile)
  `Get gear profile for a cylinder gear.`

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

getGeometryOutput(derivation, 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(derivation, xmlElement)
  `Set gear helix path.`

getLiftedOutput(derivation, geometryOutput, xmlElement)
  `Get extrude output for a rack.`

getLighteningHoles(derivation, gearHolePaths, pitchRadius)
  `Get cutout circles.`

getOutputCylinder(collarThickness, derivation, gearHolePaths, pitchRadius, teeth, twist, vector3GearProfile, xmlElement)
  `Get extrude output for a cylinder gear.`

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

getPathOutput(creationFirst, derivation, translation, vector3GearProfileFirst, vector3GearPaths, xmlElement)
  `Get gear path output.`

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

getToothProfileAnnulus(derivation, pitchRadius, teeth)
  `Get profile for one tooth of an annulus.`

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

getToothProfileCylinderByProfile(derivation, pitchRadius, teeth, toothProfileHalf)
  `Get profile for one tooth of a cylindrical gear.`

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

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

getWidthMultipliedPath(path, widthMultiplier)
  `Get width multiplied path.`

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