195 lines
13 KiB
HTML
195 lines
13 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><title>Python: module reprap.baseplotters</title>
|
|
</head><body bgcolor="#f0f0f8">
|
|
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
|
|
<tr bgcolor="#7799ee">
|
|
<td valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="reprap.html"><font color="#ffffff">reprap</font></a>.baseplotters</strong></big></big></font></td
|
|
><td align=right valign=bottom
|
|
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/lib/python2.5/site-packages/reprap/baseplotters.py">/usr/lib/python2.5/site-packages/reprap/baseplotters.py</a></font></td></tr></table>
|
|
<p><tt>Base classes for import, export and toolhead plugins</tt></p>
|
|
<p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#aa55cc">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
|
|
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="reprap.reprap.html">reprap.reprap</a><br>
|
|
</td><td width="25%" valign=top><a href="threading.html">threading</a><br>
|
|
</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ee77aa">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl>
|
|
<dt><font face="helvetica, arial"><a href="reprap.baseplotters.html#Tool">Tool</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="threading.html#Thread">threading.Thread</a>(<a href="threading.html#_Verbose">threading._Verbose</a>)
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="reprap.baseplotters.html#ExportPlotter">ExportPlotter</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="reprap.baseplotters.html#ImportPlotter">ImportPlotter</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="ExportPlotter">class <strong>ExportPlotter</strong></a>(<a href="threading.html#Thread">threading.Thread</a>)</font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>Base class for export plotter plugins<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="reprap.baseplotters.html#ExportPlotter">ExportPlotter</a></dd>
|
|
<dd><a href="threading.html#Thread">threading.Thread</a></dd>
|
|
<dd><a href="threading.html#_Verbose">threading._Verbose</a></dd>
|
|
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="ExportPlotter-__init__"><strong>__init__</strong></a>(self, toolpath, toolhead, feedbackHandler<font color="#909090">=False</font>, outputFilename<font color="#909090">=False</font>)</dt><dd><tt>Create output plotter plugin with toolpath (reprap.toolpath.Object object), toolhead (toolhead plugin object), feedback handler (feedback handler object) and output file name</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ExportPlotter-cartesianMove"><strong>cartesianMove</strong></a>(self, x, y, z, units<font color="#909090">=1</font>)</dt><dd><tt>Perform cartesian movement<br>
|
|
This should be defined in derived plugin class</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ExportPlotter-loadPreferences"><strong>loadPreferences</strong></a>(self)</dt><dd><tt>Load preferences from file<br>
|
|
This should be defined in derived plugin class</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ExportPlotter-run"><strong>run</strong></a>(self)</dt><dd><tt>Run is executed when thread is started (in new thread)<br>
|
|
This should be defined in derived plugin class</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ExportPlotter-terminate"><strong>terminate</strong></a>(self)</dt><dd><tt>Tell thread to terminate ASAP (result of GUI 'Stop' button)</tt></dd></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="threading.html#Thread">threading.Thread</a>:<br>
|
|
<dl><dt><a name="ExportPlotter-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="ExportPlotter-getName"><strong>getName</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="ExportPlotter-isAlive"><strong>isAlive</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="ExportPlotter-isDaemon"><strong>isDaemon</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="ExportPlotter-join"><strong>join</strong></a>(self, timeout<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="ExportPlotter-setDaemon"><strong>setDaemon</strong></a>(self, daemonic)</dt></dl>
|
|
|
|
<dl><dt><a name="ExportPlotter-setName"><strong>setName</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="ExportPlotter-start"><strong>start</strong></a>(self)</dt></dl>
|
|
|
|
<hr>
|
|
Data descriptors inherited from <a href="threading.html#_Verbose">threading._Verbose</a>:<br>
|
|
<dl><dt><strong>__dict__</strong></dt>
|
|
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
|
|
</dl>
|
|
<dl><dt><strong>__weakref__</strong></dt>
|
|
<dd><tt>list of weak references to the object (if defined)</tt></dd>
|
|
</dl>
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="ImportPlotter">class <strong>ImportPlotter</strong></a>(<a href="threading.html#Thread">threading.Thread</a>)</font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>Base class for import plotter plugins<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="reprap.baseplotters.html#ImportPlotter">ImportPlotter</a></dd>
|
|
<dd><a href="threading.html#Thread">threading.Thread</a></dd>
|
|
<dd><a href="threading.html#_Verbose">threading._Verbose</a></dd>
|
|
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="ImportPlotter-__init__"><strong>__init__</strong></a>(self, fileName, toolpath, feedbackHandler<font color="#909090">=False</font>, arcResolution<font color="#909090">=False</font>, fillDensity<font color="#909090">=4</font>, debug<font color="#909090">=False</font>)</dt><dd><tt>Create plotter plugin with filename, toolpath (reprap.toolpath.Object object), feedback handler (feedback handler object), fill density (lines / mm) and debug</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ImportPlotter-getFileLimitsXY"><strong>getFileLimitsXY</strong></a>(self)</dt><dd><tt>Return bounding limits of file (used for zeroing position)<br>
|
|
This should be defined in derived plugin class</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ImportPlotter-loadPreferences"><strong>loadPreferences</strong></a>(self)</dt><dd><tt>Load preferences from file<br>
|
|
This should be defined in derived plugin class</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ImportPlotter-run"><strong>run</strong></a>(self)</dt><dd><tt>Run is executed when thread is started (in new thread)<br>
|
|
This should be defined in derived plugin class</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ImportPlotter-terminate"><strong>terminate</strong></a>(self)</dt><dd><tt>Tell thread to terminate ASAP (result of GUI 'Stop' button)</tt></dd></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="threading.html#Thread">threading.Thread</a>:<br>
|
|
<dl><dt><a name="ImportPlotter-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="ImportPlotter-getName"><strong>getName</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="ImportPlotter-isAlive"><strong>isAlive</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="ImportPlotter-isDaemon"><strong>isDaemon</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="ImportPlotter-join"><strong>join</strong></a>(self, timeout<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="ImportPlotter-setDaemon"><strong>setDaemon</strong></a>(self, daemonic)</dt></dl>
|
|
|
|
<dl><dt><a name="ImportPlotter-setName"><strong>setName</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="ImportPlotter-start"><strong>start</strong></a>(self)</dt></dl>
|
|
|
|
<hr>
|
|
Data descriptors inherited from <a href="threading.html#_Verbose">threading._Verbose</a>:<br>
|
|
<dl><dt><strong>__dict__</strong></dt>
|
|
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
|
|
</dl>
|
|
<dl><dt><strong>__weakref__</strong></dt>
|
|
<dd><tt>list of weak references to the object (if defined)</tt></dd>
|
|
</dl>
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="Tool">class <strong>Tool</strong></a></font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>Base class for tool plugins<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="Tool-__init__"><strong>__init__</strong></a>(self)</dt><dd><tt>Create tool object</tt></dd></dl>
|
|
|
|
<dl><dt><a name="Tool-idle"><strong>idle</strong></a>(self)</dt><dd><tt>Switch off tool (e.g. switch off cutter)<br>
|
|
This should be defined in derived plugin class</tt></dd></dl>
|
|
|
|
<dl><dt><a name="Tool-prepare"><strong>prepare</strong></a>(self)</dt><dd><tt>Switch on tool / prepare for use (e.g. switch on cutter)<br>
|
|
This should be defined in derived plugin class</tt></dd></dl>
|
|
|
|
<dl><dt><a name="Tool-ready"><strong>ready</strong></a>(self)</dt><dd><tt><a href="#Tool">Tool</a> use about to start, make sure it is ready (e.g. dip paintbrush)<br>
|
|
This should be defined in derived plugin class</tt></dd></dl>
|
|
|
|
<dl><dt><a name="Tool-start"><strong>start</strong></a>(self)</dt><dd><tt>Start tool use (e.g. lower cutter)<br>
|
|
This should be defined in derived plugin class</tt></dd></dl>
|
|
|
|
<dl><dt><a name="Tool-stop"><strong>stop</strong></a>(self)</dt><dd><tt>End tool use (e.g. raise cutter)<br>
|
|
This should be defined in derived plugin class</tt></dd></dl>
|
|
|
|
</td></tr></table></td></tr></table><p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#55aa55">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
|
|
<td width="100%"><strong>__author__</strong> = 'Stefan Blanke (greenarrow) (greenarrow@users.sourceforge.net)'<br>
|
|
<strong>__licence__</strong> = '<font color="#c040c0">\n</font>pyRepRap is free software: you can redistribute...ap. If not, see <http://www.gnu.org/licenses/>.<font color="#c040c0">\n</font>'<br>
|
|
<strong>__license__</strong> = 'GPL 3.0'</td></tr></table><p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#7799ee">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#7799ee"><tt> </tt></td><td> </td>
|
|
<td width="100%">Stefan Blanke (greenarrow) (greenarrow@users.sourceforge.net)</td></tr></table>
|
|
</body></html> |