# Python: module reprap.toolpath

reprap.toolpath | index /usr/lib/python2.5/site-packages/reprap/toolpath.py

`This module contains the classed used for internal storage of toolpath instructions.
The module can also import/export Intermediate Toolpath Language (ITL) files
which are pyRepRap's native file format.`

Modules

``

_xmlplus |  |  |

Classes

``

Layer
Object
Point
Polygon

class Layer
`` | `# Layer within a toolpath`

Methods defined here:

__init__(self, index=None, polygons=None, workingHeight=None, idleHeight=None)

class Object
`` | `# Toolpath object - describes full parameters for machine build`

Methods defined here:

__init__(self, layers=None, scale=1)

readITL(self, filename)
  `# Read toolpath object from XML based Intermediate Toolpath Language file`

writeITL(self, filename)
  `# Write toolpath object to XML based Intermediate Toolpath Language file`

class Point
`` | `# Point within a polygon`

Methods defined here:

__init__(self, x=None, y=None, z=None)

class Polygon
`` | `# Polygon within a layer`

Methods defined here:

__init__(self, index=None, points=None, closed=False, clone=None, offsetX=0, offsetY=0, scale=1, tool=None, material=None)

addPoint(self, point)

addPoints(self, points)

addPolygon(self, poly)

Data
`` |  | __author__ = 'Stefan Blanke (greenarrow) (greenarrow@users.sourceforge.net)' __licence__ = '\npyRepRap is free software: you can redistribute...ap. If not, see <http://www.gnu.org/licenses/>.\n' __license__ = 'GPL 3.0'

Author
`` |  | Stefan Blanke (greenarrow) (greenarrow@users.sourceforge.net)