Commit Graph

420 Commits

Author SHA1 Message Date
Marius Stanciu b31f3b7587 - remade the Tool Paenlize GUI 2019-05-07 13:55:20 +03:00
Marius Stanciu dd60c7be30 - modified the default values for toolchangez and endz parameters so they are now safe in all cases 2019-05-07 02:24:58 +03:00
Marius Stanciu f6106dd319 - updated the ToolPanelize tool so the Gerber panel of type FlatCAMGerber can be isolated like any other FlatCAMGerber object
- updated the ToolPanelize tool so it can be edited
2019-05-07 02:08:17 +03:00
Marius Stanciu 3cf122827f - solved a bug in Excellon Editor that caused app crash when trying to edit a tool in Tool Table due of missing a tool offset 2019-05-07 00:12:19 +03:00
Marius Stanciu 0106d95e84 - added a new parameter in the Edit -> Preferences -> App Preferences named Geo Tolerance. This parameter control the level of geometric detail throughout FlatCAM. It directly influence the effect of Circle Steps parameter. 2019-05-06 22:33:45 +03:00
Marius Stanciu b19047a8b3 - fixed some bugs related to moving an Gerber object with the aperture table in view 2019-05-06 20:12:49 +03:00
Marius Stanciu d35ae3a39a - made units change from Edit -> Toggle Units not to affect the preferences
- remade the way the aperture marks are plotted in Gerber Object
2019-05-06 16:40:31 +03:00
Marius Stanciu 7c334d7606 - made units change from shortcut key 'Q' not to affect the preferences 2019-05-06 03:58:11 +03:00
Marius Stanciu ed58acdac5 - in Script Editor added support for "CTRL + / " key combo to comment/uncomment line 2019-05-06 01:54:35 +03:00
Marius Stanciu 4bb4a18a81 - added a protection for the case that the aperture table is part of a deleted object 2019-05-06 01:41:41 +03:00
Marius Stanciu ae775b520e - added a protection for the case that the aperture table is part of a deleted object 2019-05-05 18:21:58 +03:00
Marius Stanciu 41956d68d6 - another fix for bug in clear geometry processing for Gerber apertures 2019-05-05 18:16:29 +03:00
Marius Stanciu 4c00f567a4 - renamed the menu entry Edit -> Copy as Geo to Convert Any to Geo and moved it in the Edit -> Conversion
- created a new function named Convert Any to Gerber and installed it in Edit -> Conversion. It's doing what the name say: it will convert an Geometry or Excellon FlatCAM object to a Gerber object.
2019-05-05 00:56:04 +03:00
Marius Stanciu fee24505ae - fixed bug in parsing Gerber regions (a point was added unnecessary) 2019-05-05 00:15:21 +03:00
Marius Stanciu d7031bc89a - fixed bug in camlib.parse_lines() in the clear_geometry processing section for self.apertures 2019-05-04 22:39:51 +03:00
Marius Stanciu a98e6c3eda - Geometry Editor: restored the old behavior: a tool is active until it is voluntarily exited: either by using the 'ESC' key, or selecting the Select tool or new: right click on canvas
- RELEASE 8.915
2019-05-01 22:28:33 +03:00
Marius Stanciu 7294c88ef9 - made sure that the Tools Tab is cleared on Editors exit 2019-05-01 21:22:28 +03:00
Marius Stanciu 72724eafae - Excellon Editor: fixed mouse right click was always doing popup context menu
- GUIElements.FCEntry2(): added a try-except clause
2019-05-01 18:38:14 +03:00
Marius Stanciu 52ab274b1c - fixed bugs in Excellon Editor
- Excellon Editor:  made Add Pad tool to work until right click
2019-05-01 17:26:38 +03:00
Marius Stanciu 747a0817f3 - made some mods to what can be translated as some of the translations interfered with the correct functioning of FlatCAM
- updated the translations
2019-05-01 16:04:40 +03:00
Marius Stanciu 6f3cbf1077 - fixed a crash when triggering 'Jump To' menu action (shortcut key 'J' worked ok) 2019-05-01 12:55:16 +03:00
Marius Stanciu f172d5b765 - Enable/Disable Object toggle key ("Space" key) will trigger also the datChanged signal for the Project MVC
- added a new setting for the color of the Porject items, the color when they are disabled.
2019-05-01 12:29:47 +03:00
Marius Stanciu 8062af7feb - the project items color is now controlled from Foreground Role in ObjectCollection.data()
- made again plot functions threaded but moved the dataChanged signal (update_view() ) to the main thread by using an already existing signal (plots_updated signal) to avoid the errors with register QVector
2019-05-01 03:33:15 +03:00
Marius Stanciu eda4202952 - added new setting for the color of the Project Tree items; it helps in providing contrast when using dark theme like the one in MacOS 2019-04-30 23:34:35 +03:00
Marius Stanciu b53c08f1e5 - finished the new Substract Tool 2019-04-30 20:22:46 +03:00
Marius Stanciu 17bbbad72d - progress in the new Substract Tool for Geometry Objects 2019-04-30 17:53:21 +03:00
Marius Stanciu bc981ab92c - started to modify the Substract Tool to work on Geometry objects too 2019-04-30 15:52:12 +03:00
Marius Stanciu eb00176519 - renamed SilkScreen Tool to Substract Tool and move it's menu location in Edit -> Conversion 2019-04-30 13:16:32 +03:00
Marius Stanciu ac64f56240 - in ObjectCollection class, made sure that renaming an object in Project View does not result in an empty name. If new name is blank the rename is cancelled.
- made ObjectCOllection.TreeItem() inherit KeySensitiveListVIew and implicitly QTreeView (in the hope that the theme applied on app will be applied on the tree items, too (for MacOs new DarkUI theme)
2019-04-30 12:51:21 +03:00
Marius Stanciu b8495f06ca - solved the issue in Silkscreen Tool with losing some fragments of wires from silkscreen 2019-04-30 03:54:29 +03:00
Marius Stanciu 0e94a2bd11 - finished the Silkscreen Tool but there are some limitations (some wires fragments from silkscreen are lost) 2019-04-30 03:50:01 +03:00
Marius Stanciu c3c37d1473 - finished the Silkscreen Tool 2019-04-30 03:29:46 +03:00
Marius Stanciu 91e6cc0bff - soled bug in Gerber Editor: the '0' aperture (the region aperture) had no size which created errors. Made the size to be zero.
- solved bug in editors: the canvas selection shape was not deleted on mouse release if the grid snap was OFF
- solved bug in Excellon Editor: when selecting a drill hole on canvas the selected row in the Tools Table was not the correct onw but the next highest row
2019-04-29 22:28:45 +03:00
Marius Stanciu 43c539702e - all Gerber regions (G36 G37) are stored in the '0' aperture
- fixed a bug that added geometry with clear polarity in the apertures where was not supposed to be
2019-04-27 03:03:00 +03:00
Marius Stanciu 6775c3f3da - updated the code in camlib.CNCJob.generate_from_excellon_by_tools() to work with the new API from Google OR-Tools 2019-04-27 00:02:21 +03:00
Marius Stanciu faf92ff3d9 - fixed some bugs recently introduced in Editors due of the changes done to the way mouse panning is detected
- cleaned up the context menu's when in Editors; made some structural changes
2019-04-26 23:16:52 +03:00
Marius Stanciu 8fcd75a8e4 - commented the camlib.alpha_shape() as it is not needed but require a huge package (scipy) 2019-04-26 18:02:07 +03:00
Marius Stanciu 8eb390e706 - small changes in GUI 2019-04-26 02:31:21 +03:00
Marius Stanciu ac3833f746 - added a toggle button in Preferences to toggle on/off the display of the selection box on canvas when the user is clicking an object or selecting it by mouse dragging. 2019-04-25 20:59:45 +03:00
Marius Stanciu 4c275b25af - fixed Edit -> Copy as Geom function handler to work for Excellon objects, too
- made sure that the mouse pointer is restored to default on Editor exit
2019-04-25 20:42:56 +03:00
Marius Stanciu ddc2f2d873 - Geometry Editor: modified the intersection (if the selected shapes don't intersects preserve them) and substract functions (delete all shapes that were used in the process)
- work in the ToolSilk
2019-04-25 16:47:17 +03:00
Marius Stanciu c2334bd747 - Geometry Editor: modified the intersection (if the selected shapes don't intersects preserve them) and substract functions (delete all shapes that were used in the process)
- work in the ToolSilk
2019-04-25 16:26:31 +03:00
Marius Stanciu 386e811c65 - New tool: Silkscreen Tool: I am trying to remove the overlapped geo with the soldermask layer from overlay layer; layed out the class and functions - not working yet 2019-04-25 01:13:37 +03:00
Marius Stanciu b11c67d453 - PDF import tool: solved a bug in parsing the rectangle subpath (an extra point was added to the subpath creating nonexisting geometry)
- PDF import tool: finished layer rendering multithreading
2019-04-24 22:26:13 +03:00
Marius Stanciu e4faa27351 - PDF import tool: working in making the PDF layer rendering multithreaded in itself (one layer rendered on each worker) 2019-04-24 14:11:15 +03:00
Marius Stanciu 1da424e9fb - added more custom mouse cursors in Geometry and Gerber Editors
- RELEASE 8.914
2019-04-23 21:31:17 +03:00
Marius Stanciu 54d6a32b6c - updated the translation files 2019-04-23 17:51:09 +03:00
Marius Stanciu 5f5b37eb98 - Fixed Measurement Tool to show the mouse coordinates on the status bar (it was broken at some point) 2019-04-23 16:10:34 +03:00
Marius Stanciu 49120c088e - Gerber Editor: made Add Pad repeat until user exits the Add Pad through either mouse right click, or ESC key or deselecting the Add Pad menu item
- Gerber and Geometry Editors: fixed some issues with the Add Arc/Add Semidisc; in mode 132, the norm() function was not the one from numpy but from a FlatCAM Class. Also fixed some of the texts and made sure that when changing the mode, the current points are reset to prepare for the newly selected mode.
2019-04-23 13:13:10 +03:00
Marius Stanciu 929d70542c - Gerber Editor: added two new tools: Add Disc and Add SemiDisc (porting of Circle and Arc from Geometry Editor) 2019-04-23 04:24:10 +03:00