- fixed the PDF import tool to work with files generated by the Microsoft PDF printer (chained subpaths)

- in PDF import tool added support for paths filled and at the same time stroked ('B' and 'B*'commands)
- added a shortcut key for PDF Import Tool (ALT+Q) and updated the Shortcut list (also with the 'T' and 'R' keys for Gerber Editor where they control the bend in Track and Region tool and the 'M' and 'D' keys for Add Arc tool in Geometry Editor)
This commit is contained in:
Marius Stanciu
2019-04-22 03:28:05 +03:00
parent 108f11eacf
commit 53444fc685
4 changed files with 441 additions and 172 deletions

View File

@@ -1146,6 +1146,10 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
<td height="20"><strong>ALT+P</strong></td>
<td>&nbsp;Paint Area Tool</td>
</tr>
<tr height="20">
<td height="20"><strong>ALT+Q</strong></td>
<td>&nbsp;PDF Import Tool</td>
</tr>
<tr height="20">
<td height="20"><strong>ALT+R</strong></td>
<td>&nbsp;Transformations Tool</td>
@@ -1238,6 +1242,10 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
<td height="20"><strong>C</strong></td>
<td>&nbsp;Copy Geo Item</td>
</tr>
<tr height="20">
<td height="20"><strong>D</strong></td>
<td>&nbsp;Within Add Arc will toogle the ARC direction: CW or CCW</td>
</tr>
<tr height="20">
<td height="20"><strong>E</strong></td>
<td>&nbsp;Polygon Intersection Tool</td>
@@ -1258,6 +1266,10 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
<td height="20"><strong>M</strong></td>
<td>&nbsp;Move Geo Item</td>
</tr>
<tr height="20">
<td height="20"><strong>M</strong></td>
<td>&nbsp;Within Add Arc will cycle through the ARC modes</td>
</tr>
<tr height="20">
<td height="20"><strong>N</strong></td>
<td>&nbsp;Draw a Polygon</td>
@@ -1452,6 +1464,10 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
<td height="20"><strong>P</strong></td>
<td>&nbsp;Add Pad</td>
</tr>
<tr height="20">
<td height="20"><strong>R</strong></td>
<td>&nbsp;Within Track & Region Tools will cycle in REVERSE the bend modes</td>
</tr>
<tr height="20">
<td height="20"><strong>S</strong></td>
<td>&nbsp;Scale</td>
@@ -1460,6 +1476,10 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
<td height="20"><strong>T</strong></td>
<td>&nbsp;Add Track</td>
</tr>
<tr height="20">
<td height="20"><strong>R</strong></td>
<td>&nbsp;Within Track & Region Tools will cycle FORWARD the bend modes</td>
</tr>
<tr height="20">
<td height="20">&nbsp;</td>
<td>&nbsp;</td>
@@ -2087,6 +2107,11 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
self.app.paint_tool.run(toggle=True)
return
# Paint Tool
if key == QtCore.Qt.Key_Q:
self.app.pdf_tool.run()
return
# Transformation Tool
if key == QtCore.Qt.Key_R:
self.app.transform_tool.run(toggle=True)