Gerber support for single quadrant arcs (G74).
This commit is contained in:
Binary file not shown.
@@ -12,7 +12,7 @@ Contents:
|
||||
:maxdepth: 2
|
||||
|
||||
active
|
||||
|
||||
excellonparse
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
<script type="text/javascript" src="_static/underscore.js"></script>
|
||||
<script type="text/javascript" src="_static/doctools.js"></script>
|
||||
<link rel="top" title="FlatCAM Bugs 1 documentation" href="index.html" />
|
||||
<link rel="next" title="Excellon Parser" href="excellonparse.html" />
|
||||
<link rel="prev" title="Welcome to FlatCAM Bugs’s documentation!" href="index.html" />
|
||||
</head>
|
||||
<body>
|
||||
@@ -33,6 +34,9 @@
|
||||
<li class="right" style="margin-right: 10px">
|
||||
<a href="genindex.html" title="General Index"
|
||||
accesskey="I">index</a></li>
|
||||
<li class="right" >
|
||||
<a href="excellonparse.html" title="Excellon Parser"
|
||||
accesskey="N">next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="index.html" title="Welcome to FlatCAM Bugs’s documentation!"
|
||||
accesskey="P">previous</a> |</li>
|
||||
@@ -131,6 +135,9 @@ zeros.</p>
|
||||
<h4>Previous topic</h4>
|
||||
<p class="topless"><a href="index.html"
|
||||
title="previous chapter">Welcome to FlatCAM Bugs’s documentation!</a></p>
|
||||
<h4>Next topic</h4>
|
||||
<p class="topless"><a href="excellonparse.html"
|
||||
title="next chapter">Excellon Parser</a></p>
|
||||
<h3>This Page</h3>
|
||||
<ul class="this-page-menu">
|
||||
<li><a href="_sources/active.txt"
|
||||
@@ -159,6 +166,9 @@ zeros.</p>
|
||||
<li class="right" style="margin-right: 10px">
|
||||
<a href="genindex.html" title="General Index"
|
||||
>index</a></li>
|
||||
<li class="right" >
|
||||
<a href="excellonparse.html" title="Excellon Parser"
|
||||
>next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="index.html" title="Welcome to FlatCAM Bugs’s documentation!"
|
||||
>previous</a> |</li>
|
||||
|
||||
35
bugs/excellonparse.rst
Normal file
35
bugs/excellonparse.rst
Normal file
@@ -0,0 +1,35 @@
|
||||
Excellon Parser
|
||||
===============
|
||||
|
||||
List of test files and their settings
|
||||
-------------------------------------
|
||||
|
||||
========================== ============== ========= ===================
|
||||
File Settings Parsed Ok Example
|
||||
========================== ============== ========= ===================
|
||||
FlatCAM_Drilling_Test.drl METRIC YES X76324 -> 76mm
|
||||
Drill_All.drl METRIC NO X019708 -> 1.97mm X
|
||||
TFTadapter.drl METRIC,TZ YES? X4.572 -> 4.57mm
|
||||
rfduino dip.drl_ METRIC,TZ NO X236220 -> 23mm X
|
||||
X-Y CONTROLLER - Drill... METRIC YES X76213 -> 76mm
|
||||
ucontrllerBoard.drl INCH,TZ YES X1.96572
|
||||
holes.drl INCH YES Y+019500 -> 1.95in
|
||||
BLDC2003Through.drl INCH YES X+023625 -> 2.3in
|
||||
PlacaReles.drl INCH,TZ YES Y-8200 -> -0.82in
|
||||
AVR_Transistor_Tester.DRL INCH YES X033000 -> 3.3in
|
||||
DRL INCH,00.0000 YES/NO* X004759 -> 0.47in
|
||||
========================== ============== ========= ===================
|
||||
|
||||
(*) The units format is not recognized, thus it is parsed correctly
|
||||
as long as the project is set for inches already.
|
||||
|
||||
Parser was:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
def parse_number(self, number_str):
|
||||
if self.zeros == "L":
|
||||
match = self.leadingzeros_re.search(number_str)
|
||||
return float(number_str)/(10**(len(match.group(1)) + len(match.group(2)) - 2))
|
||||
else: # Trailing
|
||||
return float(number_str)/10000
|
||||
@@ -54,6 +54,10 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="active.html#drill-number-parsing">Drill number parsing</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="excellonparse.html">Excellon Parser</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="excellonparse.html#list-of-test-files-and-their-settings">List of test files and their settings</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -12,7 +12,7 @@ Contents:
|
||||
:maxdepth: 2
|
||||
|
||||
active
|
||||
|
||||
excellonparse
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
Reference in New Issue
Block a user