# Python: module fabmetheus_utilities.geometry.creation.linear_bearing_cage

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

`Linear bearing cage.`

Modules

``

__init__
fabmetheus_utilities.geometry.solids.cylinder
fabmetheus_utilities.euclidean

fabmetheus_utilities.geometry.geometry_utilities.evaluate
fabmetheus_utilities.geometry.creation.extrude
fabmetheus_utilities.geometry.creation.lineation

math
fabmetheus_utilities.geometry.geometry_utilities.matrix
fabmetheus_utilities.geometry.creation.peg

fabmetheus_utilities.geometry.creation.solid
fabmetheus_utilities.geometry.solids.sphere
fabmetheus_utilities.geometry.manipulation_matrix.translate

Classes

``

LinearBearingCageDerivation

class LinearBearingCageDerivation
`` | `Class to hold linear bearing cage variables.`

Methods defined here:

__init__(self, xmlElement)
  `Set defaults.`

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

setAssemblyCage(self)
  `Set two piece assembly parameters.`

Functions

``

addAssemblyCage(derivation, negatives, positives)
  `Add assembly linear bearing cage.`

addCage(derivation, height, negatives, positives)
  `Add linear bearing cage.`

addCageGroove(derivation, negatives, positives)
  `Add cage and groove.`

addGroove(derivation, negatives)
  `Add groove on each side of cage.`

addNegativePeg(derivation, negatives, x, y)
  `Add negative cylinder at x and y.`

addNegativeSphere(derivation, negatives, x)
  `Add negative sphere at x.`

addPositivePeg(derivation, positives, x, y)
  `Add positive cylinder at x and y.`

getBearingCenterXs(bearingCenterX, numberOfSteps, stepX)
  `Get the bearing center x list.`

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

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

getNewDerivation(xmlElement)
  `Get new derivation.`

getPegCenterXs(numberOfSteps, pegCenterX, stepX)
  `Get the peg center x list.`

getRoundedExtendedRectangle(radius, rectangleCenterX, sides)
  `Get the rounded extended rectangle.`

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