Updated build script to create win32/linux/macos versions. Fixed the defaults to they work with PLA. Fixed the temperature plugin default "ON" problem. Removed all profiles except for PLA.
351 lines
No EOL
26 KiB
HTML
351 lines
No EOL
26 KiB
HTML
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><title>Python: module skeinforge_application.skeinforge_plugins.craft_plugins.fillet</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="skeinforge_application.html"><font color="#ffffff">skeinforge_application</font></a>.<a href="skeinforge_application.skeinforge_plugins.html"><font color="#ffffff">skeinforge_plugins</font></a>.<a href="skeinforge_application.skeinforge_plugins.craft_plugins.html"><font color="#ffffff">craft_plugins</font></a>.fillet</strong></big></big> ($Date: 2008/21/04 $)</font></td
|
|
><td align=right valign=bottom
|
|
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/skeinforge_application/skeinforge_plugins/craft_plugins/fillet.py">/home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/skeinforge_application/skeinforge_plugins/craft_plugins/fillet.py</a></font></td></tr></table>
|
|
<p>
|
|
<a href="skeinforge_application.skeinforge_plugins.craft_plugins.fill.html">Previous</a> / <a href="skeinforge_application.skeinforge_plugins.craft_plugins.flow.html">Next</a> / <a href="contents.html">Contents</a>
|
|
</p>
|
|
<p><tt><br>
|
|
Fillet rounds the corners slightly in a variety of ways. This is to reduce corner blobbing and sudden extruder acceleration.<br>
|
|
<br>
|
|
The fillet manual page is at:<br>
|
|
<a href="http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Fillet">http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Fillet</a><br>
|
|
<br>
|
|
<br />
|
|
<a href="#Operation">Operation</a><br />
|
|
<a href="#Settings">Settings</a><br />
|
|
<a href="#Fillet Procedure Choice">Fillet Procedure Choice</a><br />
|
|
<a href="#Arc Point">Arc Point</a><br />
|
|
<a href="#Arc Radius">Arc Radius</a><br />
|
|
<a href="#Arc Segment">Arc Segment</a><br />
|
|
<a href="#Bevel">Bevel</a><br />
|
|
<a href="#Corner Feed Rate Multiplier">Corner Feed Rate Multiplier</a><br />
|
|
<a href="#Fillet Radius over Perimeter Width">Fillet Radius over Perimeter Width</a><br />
|
|
<a href="#Reversal Slowdown over Perimeter Width">Reversal Slowdown over Perimeter Width</a><br />
|
|
<a href="#Use Intermediate Feed Rate in Corners">Use Intermediate Feed Rate in Corners</a><br />
|
|
<a href="#Examples">Examples</a><br />
|
|
<br />
|
|
<a name="Operation" id="Operation"></a><h2>Operation</h2>
|
|
<hr>
|
|
|
|
The default 'Activate Fillet' checkbox is off. When it is on, the functions described below will work, when it is off, nothing will be done.<br>
|
|
<br>
|
|
<a name="Settings" id="Settings"></a><h2>Settings</h2>
|
|
<hr>
|
|
|
|
<a name="Fillet Procedure Choice" id="Fillet Procedure Choice"></a><h3>Fillet Procedure Choice</h3>
|
|
|
|
Default is 'Bevel''.<br>
|
|
<br>
|
|
<a name="Arc Point" id="Arc Point"></a><h4>Arc Point</h4>
|
|
|
|
When selected, the corners will be filleted with an arc using the gcode point form.<br>
|
|
<br>
|
|
<a name="Arc Radius" id="Arc Radius"></a><h4>Arc Radius</h4>
|
|
|
|
When selected, the corners will be filleted with an arc using the gcode radius form.<br>
|
|
<br>
|
|
<a name="Arc Segment" id="Arc Segment"></a><h4>Arc Segment</h4>
|
|
|
|
When selected, the corners will be filleted with an arc composed of several segments.<br>
|
|
<br>
|
|
<a name="Bevel" id="Bevel"></a><h4>Bevel</h4>
|
|
|
|
When selected, the corners will be beveled.<br>
|
|
<br>
|
|
<a name="Corner Feed Rate Multiplier" id="Corner Feed Rate Multiplier"></a><h3>Corner Feed Rate Multiplier</h3>
|
|
|
|
Default: 1.0<br>
|
|
<br>
|
|
Defines the ratio of the feed rate in corners over the original feed rate. With a high value the extruder will move quickly in corners, accelerating quickly and leaving a thin extrusion. With a low value, the extruder will move slowly in corners, accelerating gently and leaving a thick extrusion.<br>
|
|
<br>
|
|
<a name="Fillet Radius over Perimeter Width" id="Fillet Radius over Perimeter Width"></a><h3>Fillet Radius over Perimeter Width</h3>
|
|
|
|
Default is 0.35.<br>
|
|
<br>
|
|
Defines the width of the fillet.<br>
|
|
<br>
|
|
<a name="Reversal Slowdown over Perimeter Width" id="Reversal Slowdown over Perimeter Width"></a><h3>Reversal Slowdown over Perimeter Width</h3>
|
|
|
|
Default is 0.5.<br>
|
|
<br>
|
|
Defines how far before a path reversal the extruder will slow down. Some tools, like nozzle wipe, double back the path of the extruder and this option will add a slowdown point in that path so there won't be a sudden jerk at the end of the path. If the value is less than 0.1 a slowdown will not be added.<br>
|
|
<br>
|
|
<a name="Use Intermediate Feed Rate in Corners" id="Use Intermediate Feed Rate in Corners"></a><h3>Use Intermediate Feed Rate in Corners</h3>
|
|
|
|
Default is on.<br>
|
|
<br>
|
|
When selected, the feed rate entering the corner will be the average of the old feed rate and the new feed rate.<br>
|
|
<br>
|
|
<a name="Examples" id="Examples"></a><h2>Examples</h2>
|
|
<hr>
|
|
|
|
The following examples fillet the file Screw Holder Bottom.stl. The examples are run in a terminal in the folder which contains Screw Holder Bottom.stl and fillet.py.<br>
|
|
<br>
|
|
> python fillet.py<br>
|
|
This brings up the fillet dialog.<br>
|
|
<br>
|
|
> python fillet.py Screw Holder Bottom.stl<br>
|
|
The fillet tool is parsing the file:<br>
|
|
Screw Holder Bottom.stl<br>
|
|
..<br>
|
|
The fillet tool has created the file:<br>
|
|
.. Screw Holder Bottom_fillet.gcode</tt>
|
|
<br />
|
|
<br />
|
|
<p>
|
|
<a href="skeinforge_application.skeinforge_plugins.craft_plugins.fill.html">Previous</a> / <a href="skeinforge_application.skeinforge_plugins.craft_plugins.flow.html">Next</a> / <a href="contents.html">Contents</a>
|
|
</p>
|
|
<hr>
|
|
</p>
|
|
<p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#aa55cc">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#ffffff" 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="__init__.html">__init__</a><br>
|
|
<a href="fabmetheus_utilities.archive.html">fabmetheus_utilities.archive</a><br>
|
|
<a href="fabmetheus_utilities.euclidean.html">fabmetheus_utilities.euclidean</a><br>
|
|
</td><td width="25%" valign=top><a href="fabmetheus_utilities.fabmetheus_tools.fabmetheus_interpret.html">fabmetheus_utilities.fabmetheus_tools.fabmetheus_interpret</a><br>
|
|
<a href="fabmetheus_utilities.gcodec.html">fabmetheus_utilities.gcodec</a><br>
|
|
<a href="math.html">math</a><br>
|
|
</td><td width="25%" valign=top><a href="fabmetheus_utilities.settings.html">fabmetheus_utilities.settings</a><br>
|
|
<a href="skeinforge_application.skeinforge_utilities.skeinforge_craft.html">skeinforge_application.skeinforge_utilities.skeinforge_craft</a><br>
|
|
<a href="skeinforge_application.skeinforge_utilities.skeinforge_polyfile.html">skeinforge_application.skeinforge_utilities.skeinforge_polyfile</a><br>
|
|
</td><td width="25%" valign=top><a href="skeinforge_application.skeinforge_utilities.skeinforge_profile.html">skeinforge_application.skeinforge_utilities.skeinforge_profile</a><br>
|
|
<a href="sys.html">sys</a><br>
|
|
</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="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#BevelSkein">BevelSkein</a>
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#ArcSegmentSkein">ArcSegmentSkein</a>
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#ArcPointSkein">ArcPointSkein</a>
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#ArcRadiusSkein">ArcRadiusSkein</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#FilletRepository">FilletRepository</a>
|
|
</font></dt></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="ArcPointSkein">class <strong>ArcPointSkein</strong></a>(<a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#ArcSegmentSkein">ArcSegmentSkein</a>)</font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>A class to arc point a skein of extrusions.<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#ArcPointSkein">ArcPointSkein</a></dd>
|
|
<dd><a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#ArcSegmentSkein">ArcSegmentSkein</a></dd>
|
|
<dd><a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#BevelSkein">BevelSkein</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="ArcPointSkein-addArc"><strong>addArc</strong></a>(self, afterCenterDifferenceAngle, afterPoint, beforeCenterSegment, beforePoint, center)</dt><dd><tt>Add an arc point to the filleted skein.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcPointSkein-getRelativeCenter"><strong>getRelativeCenter</strong></a>(self, centerMinusBeforeComplex)</dt><dd><tt>Get the relative center.</tt></dd></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#ArcSegmentSkein">ArcSegmentSkein</a>:<br>
|
|
<dl><dt><a name="ArcPointSkein-splitPointGetAfter"><strong>splitPointGetAfter</strong></a>(self, location, nextLocation)</dt><dd><tt>Fillet a point into arc segments and return the end of the last segment.</tt></dd></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#BevelSkein">BevelSkein</a>:<br>
|
|
<dl><dt><a name="ArcPointSkein-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="ArcPointSkein-addLinearMovePoint"><strong>addLinearMovePoint</strong></a>(self, feedRateMinute, point)</dt><dd><tt>Add a gcode linear move, feedRate and newline to the output.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcPointSkein-getCornerFeedRate"><strong>getCornerFeedRate</strong></a>(self)</dt><dd><tt>Get the corner feed rate, which may be based on the intermediate feed rate.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcPointSkein-getCraftedGcode"><strong>getCraftedGcode</strong></a>(self, repository, gcodeText)</dt><dd><tt>Parse gcode text and store the bevel gcode.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcPointSkein-getExtruderOffReversalPoint"><strong>getExtruderOffReversalPoint</strong></a>(self, afterSegment, afterSegmentComplex, beforeSegment, beforeSegmentComplex, location)</dt><dd><tt>If the extruder is off and the path is reversing, add intermediate slow points.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcPointSkein-getNextLocation"><strong>getNextLocation</strong></a>(self)</dt><dd><tt>Get the next linear move. Return none is none is found.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcPointSkein-linearMove"><strong>linearMove</strong></a>(self, splitLine)</dt><dd><tt>Bevel a linear move.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcPointSkein-parseInitialization"><strong>parseInitialization</strong></a>(self, repository)</dt><dd><tt>Parse gcode initialization and store the parameters.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcPointSkein-parseLine"><strong>parseLine</strong></a>(self, line)</dt><dd><tt>Parse a gcode line and add it to the bevel gcode.</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="ArcRadiusSkein">class <strong>ArcRadiusSkein</strong></a>(<a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#ArcPointSkein">ArcPointSkein</a>)</font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>A class to arc radius a skein of extrusions.<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#ArcRadiusSkein">ArcRadiusSkein</a></dd>
|
|
<dd><a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#ArcPointSkein">ArcPointSkein</a></dd>
|
|
<dd><a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#ArcSegmentSkein">ArcSegmentSkein</a></dd>
|
|
<dd><a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#BevelSkein">BevelSkein</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="ArcRadiusSkein-getRelativeCenter"><strong>getRelativeCenter</strong></a>(self, centerMinusBeforeComplex)</dt><dd><tt>Get the relative center.</tt></dd></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#ArcPointSkein">ArcPointSkein</a>:<br>
|
|
<dl><dt><a name="ArcRadiusSkein-addArc"><strong>addArc</strong></a>(self, afterCenterDifferenceAngle, afterPoint, beforeCenterSegment, beforePoint, center)</dt><dd><tt>Add an arc point to the filleted skein.</tt></dd></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#ArcSegmentSkein">ArcSegmentSkein</a>:<br>
|
|
<dl><dt><a name="ArcRadiusSkein-splitPointGetAfter"><strong>splitPointGetAfter</strong></a>(self, location, nextLocation)</dt><dd><tt>Fillet a point into arc segments and return the end of the last segment.</tt></dd></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#BevelSkein">BevelSkein</a>:<br>
|
|
<dl><dt><a name="ArcRadiusSkein-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="ArcRadiusSkein-addLinearMovePoint"><strong>addLinearMovePoint</strong></a>(self, feedRateMinute, point)</dt><dd><tt>Add a gcode linear move, feedRate and newline to the output.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcRadiusSkein-getCornerFeedRate"><strong>getCornerFeedRate</strong></a>(self)</dt><dd><tt>Get the corner feed rate, which may be based on the intermediate feed rate.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcRadiusSkein-getCraftedGcode"><strong>getCraftedGcode</strong></a>(self, repository, gcodeText)</dt><dd><tt>Parse gcode text and store the bevel gcode.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcRadiusSkein-getExtruderOffReversalPoint"><strong>getExtruderOffReversalPoint</strong></a>(self, afterSegment, afterSegmentComplex, beforeSegment, beforeSegmentComplex, location)</dt><dd><tt>If the extruder is off and the path is reversing, add intermediate slow points.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcRadiusSkein-getNextLocation"><strong>getNextLocation</strong></a>(self)</dt><dd><tt>Get the next linear move. Return none is none is found.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcRadiusSkein-linearMove"><strong>linearMove</strong></a>(self, splitLine)</dt><dd><tt>Bevel a linear move.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcRadiusSkein-parseInitialization"><strong>parseInitialization</strong></a>(self, repository)</dt><dd><tt>Parse gcode initialization and store the parameters.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcRadiusSkein-parseLine"><strong>parseLine</strong></a>(self, line)</dt><dd><tt>Parse a gcode line and add it to the bevel gcode.</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="ArcSegmentSkein">class <strong>ArcSegmentSkein</strong></a>(<a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#BevelSkein">BevelSkein</a>)</font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>A class to arc segment a skein of extrusions.<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="ArcSegmentSkein-addArc"><strong>addArc</strong></a>(self, afterCenterDifferenceAngle, afterPoint, beforeCenterSegment, beforePoint, center)</dt><dd><tt>Add arc segments to the filleted skein.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcSegmentSkein-splitPointGetAfter"><strong>splitPointGetAfter</strong></a>(self, location, nextLocation)</dt><dd><tt>Fillet a point into arc segments and return the end of the last segment.</tt></dd></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html#BevelSkein">BevelSkein</a>:<br>
|
|
<dl><dt><a name="ArcSegmentSkein-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="ArcSegmentSkein-addLinearMovePoint"><strong>addLinearMovePoint</strong></a>(self, feedRateMinute, point)</dt><dd><tt>Add a gcode linear move, feedRate and newline to the output.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcSegmentSkein-getCornerFeedRate"><strong>getCornerFeedRate</strong></a>(self)</dt><dd><tt>Get the corner feed rate, which may be based on the intermediate feed rate.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcSegmentSkein-getCraftedGcode"><strong>getCraftedGcode</strong></a>(self, repository, gcodeText)</dt><dd><tt>Parse gcode text and store the bevel gcode.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcSegmentSkein-getExtruderOffReversalPoint"><strong>getExtruderOffReversalPoint</strong></a>(self, afterSegment, afterSegmentComplex, beforeSegment, beforeSegmentComplex, location)</dt><dd><tt>If the extruder is off and the path is reversing, add intermediate slow points.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcSegmentSkein-getNextLocation"><strong>getNextLocation</strong></a>(self)</dt><dd><tt>Get the next linear move. Return none is none is found.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcSegmentSkein-linearMove"><strong>linearMove</strong></a>(self, splitLine)</dt><dd><tt>Bevel a linear move.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcSegmentSkein-parseInitialization"><strong>parseInitialization</strong></a>(self, repository)</dt><dd><tt>Parse gcode initialization and store the parameters.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="ArcSegmentSkein-parseLine"><strong>parseLine</strong></a>(self, line)</dt><dd><tt>Parse a gcode line and add it to the bevel gcode.</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="BevelSkein">class <strong>BevelSkein</strong></a></font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>A class to bevel a skein of extrusions.<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="BevelSkein-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="BevelSkein-addLinearMovePoint"><strong>addLinearMovePoint</strong></a>(self, feedRateMinute, point)</dt><dd><tt>Add a gcode linear move, feedRate and newline to the output.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="BevelSkein-getCornerFeedRate"><strong>getCornerFeedRate</strong></a>(self)</dt><dd><tt>Get the corner feed rate, which may be based on the intermediate feed rate.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="BevelSkein-getCraftedGcode"><strong>getCraftedGcode</strong></a>(self, repository, gcodeText)</dt><dd><tt>Parse gcode text and store the bevel gcode.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="BevelSkein-getExtruderOffReversalPoint"><strong>getExtruderOffReversalPoint</strong></a>(self, afterSegment, afterSegmentComplex, beforeSegment, beforeSegmentComplex, location)</dt><dd><tt>If the extruder is off and the path is reversing, add intermediate slow points.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="BevelSkein-getNextLocation"><strong>getNextLocation</strong></a>(self)</dt><dd><tt>Get the next linear move. Return none is none is found.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="BevelSkein-linearMove"><strong>linearMove</strong></a>(self, splitLine)</dt><dd><tt>Bevel a linear move.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="BevelSkein-parseInitialization"><strong>parseInitialization</strong></a>(self, repository)</dt><dd><tt>Parse gcode initialization and store the parameters.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="BevelSkein-parseLine"><strong>parseLine</strong></a>(self, line)</dt><dd><tt>Parse a gcode line and add it to the bevel gcode.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="BevelSkein-splitPointGetAfter"><strong>splitPointGetAfter</strong></a>(self, location, nextLocation)</dt><dd><tt>Bevel a point and return the end of the bevel. should get complex for radius</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="FilletRepository">class <strong>FilletRepository</strong></a></font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>A class to handle the fillet settings.<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="FilletRepository-__init__"><strong>__init__</strong></a>(self)</dt><dd><tt>Set the default settings, execute title & settings fileName.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="FilletRepository-execute"><strong>execute</strong></a>(self)</dt><dd><tt>Fillet button has been clicked.</tt></dd></dl>
|
|
|
|
</td></tr></table></td></tr></table><p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#eeaa77">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt><a name="-getCraftedText"><strong>getCraftedText</strong></a>(fileName, gcodeText, repository<font color="#909090">=None</font>)</dt><dd><tt>Fillet a gcode linear move file or text.</tt></dd></dl>
|
|
<dl><dt><a name="-getCraftedTextFromText"><strong>getCraftedTextFromText</strong></a>(gcodeText, repository<font color="#909090">=None</font>)</dt><dd><tt>Fillet a gcode linear move text.</tt></dd></dl>
|
|
<dl><dt><a name="-getNewRepository"><strong>getNewRepository</strong></a>()</dt><dd><tt>Get new repository.</tt></dd></dl>
|
|
<dl><dt><a name="-main"><strong>main</strong></a>()</dt><dd><tt>Display the fillet dialog.</tt></dd></dl>
|
|
<dl><dt><a name="-writeOutput"><strong>writeOutput</strong></a>(fileName, shouldAnalyze<font color="#909090">=True</font>)</dt><dd><tt>Fillet a gcode linear move file. Depending on the settings, either arcPoint, arcRadius, arcSegment, bevel or do nothing.</tt></dd></dl>
|
|
</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> = 'Enrique Perez (perez_enrique@yahoo.com)'<br>
|
|
<strong>__date__</strong> = '$Date: 2008/21/04 $'<br>
|
|
<strong>__license__</strong> = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'<br>
|
|
<strong>absolute_import</strong> = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384)</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%">Enrique Perez (perez_enrique@yahoo.com)</td></tr></table>
|
|
</body></html> |