# Python: module reprap.baseplotters

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

`Base classes for import, export and toolhead plugins`

Modules

``

reprap.reprap | threading |  |

Classes

``

Tool
threading.Thread(threading._Verbose)
  ExportPlotter
  ImportPlotter

class ExportPlotter(threading.Thread)
`` | `Base class for export plotter plugins`

Method resolution order:
  ExportPlotter
  threading.Thread
  threading._Verbose
  __builtin__.object

Methods defined here:

__init__(self, toolpath, toolhead, feedbackHandler=False, outputFilename=False)
  `Create output plotter plugin with toolpath (reprap.toolpath.Object object), toolhead (toolhead plugin object), feedback handler (feedback handler object) and output file name`

cartesianMove(self, x, y, z, units=1)
  `Perform cartesian movement
  This should be defined in derived plugin class`

loadPreferences(self)
  `Load preferences from file
  This should be defined in derived plugin class`

run(self)
  `Run is executed when thread is started (in new thread)
  This should be defined in derived plugin class`

terminate(self)
  `Tell thread to terminate ASAP (result of GUI 'Stop' button)`

Methods inherited from threading.Thread:

__repr__(self)

getName(self)

isAlive(self)

isDaemon(self)

join(self, timeout=None)

setDaemon(self, daemonic)

setName(self, name)

start(self)

Data descriptors inherited from threading._Verbose:

__dict__
  `dictionary for instance variables (if defined)`

__weakref__
  `list of weak references to the object (if defined)`

class ImportPlotter(threading.Thread)
`` | `Base class for import plotter plugins`

Method resolution order:
  ImportPlotter
  threading.Thread
  threading._Verbose
  __builtin__.object

Methods defined here:

__init__(self, fileName, toolpath, feedbackHandler=False, arcResolution=False, fillDensity=4, debug=False)
  `Create plotter plugin with filename, toolpath (reprap.toolpath.Object object), feedback handler (feedback handler object), fill density (lines / mm) and debug`

getFileLimitsXY(self)
  `Return bounding limits of file (used for zeroing position)
  This should be defined in derived plugin class`

loadPreferences(self)
  `Load preferences from file
  This should be defined in derived plugin class`

run(self)
  `Run is executed when thread is started (in new thread)
  This should be defined in derived plugin class`

terminate(self)
  `Tell thread to terminate ASAP (result of GUI 'Stop' button)`

Methods inherited from threading.Thread:

__repr__(self)

getName(self)

isAlive(self)

isDaemon(self)

join(self, timeout=None)

setDaemon(self, daemonic)

setName(self, name)

start(self)

Data descriptors inherited from threading._Verbose:

__dict__
  `dictionary for instance variables (if defined)`

__weakref__
  `list of weak references to the object (if defined)`

class Tool
`` | `Base class for tool plugins`

Methods defined here:

__init__(self)
  `Create tool object`

idle(self)
  `Switch off tool (e.g. switch off cutter)
  This should be defined in derived plugin class`

prepare(self)
  `Switch on tool / prepare for use (e.g. switch on cutter)
  This should be defined in derived plugin class`

ready(self)
  `Tool use about to start, make sure it is ready (e.g. dip paintbrush)
  This should be defined in derived plugin class`

start(self)
  `Start tool use (e.g. lower cutter)
  This should be defined in derived plugin class`

stop(self)
  `End tool use (e.g. raise cutter)
  This should be defined in derived plugin class`

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)