138 lines
9.4 KiB
HTML
138 lines
9.4 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><title>Python: module gcode_output</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>gcode_output</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/share/reprap/plugins/output/gcode_output.py">/usr/share/reprap/plugins/output/gcode_output.py</a></font></td></tr></table>
|
|
<p><tt>Licensed under GPL v2 and the 'I'm not going to help you kill people licence'. The latter overrules the former.<br>
|
|
<br>
|
|
I'm not going to help you kill people licence v1.1:<br>
|
|
The use of this software in any form for any purposes relating to any form of military activity or<br>
|
|
research either directly or via subcontracts is strictly prohibited.<br>
|
|
Any company or organisation affiliated with any military organisations either directly or through<br>
|
|
subcontracts are strictly prohibited from using any part of this software.<br>
|
|
Individuals who work for the above mentioned organisations working on PERSONAL or open source projects unrelated<br>
|
|
to above mentioned organisations in their own time may use this software.<br>
|
|
<br>
|
|
GNU licence: <br>
|
|
RepRap Gerber Plotter is free software; you can redistribute it and/or modify it <br>
|
|
under the terms of the GNU General Public License as published by the Free Software Foundation; <br>
|
|
either version 2 of the License, or (at your option) any later version.<br>
|
|
<br>
|
|
RepRap Gerber Plotter is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; <br>
|
|
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. <br>
|
|
See the GNU General Public License for more details. You should have received a copy of <br>
|
|
the GNU General Public License along with File Hunter; if not, write to <br>
|
|
the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</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.html">reprap</a><br>
|
|
</td><td width="25%" valign=top></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="gcode_output.html#GCode">GCode</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="reprap.baseplotters.html#ExportPlotter">reprap.baseplotters.ExportPlotter</a>(<a href="threading.html#Thread">threading.Thread</a>)
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="gcode_output.html#output">output</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="GCode">class <strong>GCode</strong></a></font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt># Class for gcode file<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="GCode-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="GCode-addCoordinate"><strong>addCoordinate</strong></a>(self, x, y, z)</dt></dl>
|
|
|
|
<dl><dt><a name="GCode-generateGCode"><strong>generateGCode</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="GCode-writeFile"><strong>writeFile</strong></a>(self, fileName)</dt></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="output">class <strong>output</strong></a>(<a href="reprap.baseplotters.html#ExportPlotter">reprap.baseplotters.ExportPlotter</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="gcode_output.html#output">output</a></dd>
|
|
<dd><a href="reprap.baseplotters.html#ExportPlotter">reprap.baseplotters.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="output-cartesianMove"><strong>cartesianMove</strong></a>(self, x, y, z, units<font color="#909090">=1</font>)</dt><dd><tt># Translate a cartesian movement into whatever the <a href="#output">output</a> plugin does with it (called locally and by toolhead)</tt></dd></dl>
|
|
|
|
<dl><dt><a name="output-loadPreferences"><strong>loadPreferences</strong></a>(self)</dt><dd><tt># Load plotter preferences</tt></dd></dl>
|
|
|
|
<dl><dt><a name="output-run"><strong>run</strong></a>(self)</dt><dd><tt># Start plot (as new thread)</tt></dd></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="reprap.baseplotters.html#ExportPlotter">reprap.baseplotters.ExportPlotter</a>:<br>
|
|
<dl><dt><a name="output-__init__"><strong>__init__</strong></a>(self, toolpath, toolhead, feedbackHandler<font color="#909090">=False</font>, outputFilename<font color="#909090">=False</font>)</dt><dd><tt>Create <a href="#output">output</a> plotter plugin with toolpath (reprap.toolpath.Object object), toolhead (toolhead plugin object), feedback handler (feedback handler object) and <a href="#output">output</a> file name</tt></dd></dl>
|
|
|
|
<dl><dt><a name="output-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="output-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="output-getName"><strong>getName</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="output-isAlive"><strong>isAlive</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="output-isDaemon"><strong>isDaemon</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="output-join"><strong>join</strong></a>(self, timeout<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="output-setDaemon"><strong>setDaemon</strong></a>(self, daemonic)</dt></dl>
|
|
|
|
<dl><dt><a name="output-setName"><strong>setName</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="output-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></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>FileOutput</strong> = True<br>
|
|
<strong>Title</strong> = 'GCode File'<br>
|
|
<strong>Wildcard</strong> = 'GCode files (*.gcode)|*.gcode|'</td></tr></table>
|
|
</body></html> |