Commit Graph

999 Commits

Author SHA1 Message Date
Marius Stanciu 1332601624 - moved the key handler out of the Measurement tool to flatcamGUI.FlatCAMGui.keyPressEvent()
- Gerber Editor: started to add new function of poligonize which should make a filled polygon out of a shape
2019-04-14 15:16:37 +03:00
Marius Stanciu e92cab2e96 - In Geometry Editor I fixed bug in Arc modes. Arc mode shortcut key is now key 'M' and arc direction change shortcut key is 'D' 2019-04-14 02:46:55 +03:00
Marius Stanciu 081231aca4 - Editors: activated an old function that was no longer active: each tool can have it's own set of shortcut keys, the Editor general shortcut keys that are letters are overridden
- Gerber and Geometry editors, when using the Backspace keys for certain tools, they will backtrack one point but now the utility geometry is immediately updated
2019-04-14 02:10:31 +03:00
Marius Stanciu 4100e98ebe - Gerber Editor: some more changes in processing LPC polygons 2019-04-14 01:03:42 +03:00
Marius Stanciu 0fdd2e4f7c - Gerber Editor: a disabled/enabled sequence for the VisPy cursor on Gerber edit make the graphics better 2019-04-13 23:47:02 +03:00
Marius Stanciu 84f3166e2f - Gerber Editor: Remade the processing of 'clear_geometry' (geometry generated by polygons made with Gerber LPC command) to work if more than one such polygon exists 2019-04-13 22:56:46 +03:00
Marius Stanciu 9d508a6840 Merged in test_beta8.913 (pull request #142)
Test beta8.913
2019-04-13 14:29:07 +00:00
Marius Stanciu 5020017cd7 - final fix for issue #277. Previous fix was applied only for one case out of three.
- RELEASE 8.913
2019-04-13 17:26:03 +03:00
Marius Stanciu dcda4f3e1d - added a missing __init__.py file in the flatcamEditors folder needed by the app freezing 2019-04-13 17:00:03 +03:00
Marius Stanciu 42e82beb27 - finished German translation (Google translated with some adjustments)
- RELEASE 8.913
2019-04-13 16:54:39 +03:00
Marius Stanciu 2dc98fb6d6 - Gerber Editor: added ability to change on the fly the aperture after one of the tools: Add Pad or Add Pad Array is activated
- Gerber Editor: if a tool is cancelled via key shortcut ESCAPE, the selection is now deleted and any other action require a new selection
2019-04-13 13:28:47 +03:00
Marius Stanciu 2c8bac7402 - updating the German translation 2019-04-13 04:10:54 +03:00
Marius Stanciu a1f7c86996 - made optional the saving of an edited object. Now the user can cancel the changes to the object.
- replaced the standard buttons in the QMessageBox's used in the app with custom ones that can have text translated
- updated the POT translation file and the MO/PO files for English and Romanian language
2019-04-12 22:55:20 +03:00
Marius Stanciu 57e8db1f9b - moved the polarity change processing from FlatCAMGrbEditor() class to camlib.Gerber().parse_lines() 2019-04-12 19:44:03 +03:00
Marius Stanciu 80c5cf86b7 - Gerber Editor: added support for Gerber polarity change commands (LPD, LPC) 2019-04-12 19:29:12 +03:00
Marius Stanciu e478d6e043 - when adding an aperture with code '0' (zero) it will automatically be set with size zero and type: 'REG' (from region); here we store all the regions from a Gerber file, the ones without a declared aperture 2019-04-12 17:09:43 +03:00
Marius Stanciu 8b46d0d6cf - updated the translation template POT file and the EN PO/MO files
- Gerber Editor: added toggle effect to the Transform Tool
- Gerber Editor: added shortcut for Transform Tool and also toggle effect here, too
- updated the shortcut list with the Gerber Editor shortcut keys
- Gerber Editor: fixed error when adding an aperture with code value lower than the ones that already exists
2019-04-12 16:46:43 +03:00
Marius Stanciu f1b034e50c - fixed a bug in editing a blank Gerber object
- added handlers for the Gerber Editor context menu
2019-04-12 12:58:10 +03:00
Marius Stanciu 2297f99502 - Gerber Editor: added support for Oblong type of aperture
- fixed an issue with automatically filled in aperture size when the edited Gerber file has no apertures; established an default with value 10 (according to Gerber specifications)
2019-04-12 02:09:01 +03:00
Marius Stanciu 3f421b234d - Gerber Editor: fixed multiple selection with key modifier such that first click selects, second deselects 2019-04-12 00:20:09 +03:00
Marius Stanciu cc6ff98529 - Gerber Editor: added Add Pad Array tool
- Gerber Editor: in Add Pad Array tool, if the pad is not circular type, for circular array the pad will be rotated to match the array angle
2019-04-11 23:08:30 +03:00
Marius Stanciu 036e886af4 - in all Editors, manually deactivating a button in the editor toolbar will automatically select the 'Select' button
- fixed Excellon Editor selection: when a tool is selected in Tools Table, all the drills belonging to that tool are selected. When a drill is selected on canvas, the associated tool will be selected without automatically selecting all other drills with same tool
2019-04-11 20:32:40 +03:00
Marius Stanciu b3aeb497ec - changed the color of the marked apertures to the global_selection_color
- Gerber Editor: added Transformation Tool and Rotation key shortcut
2019-04-11 16:59:21 +03:00
Marius Stanciu 8fb952b6ad - Gerber Editor: autoincrement aperture code when adding new apertures
- Gerber Editor: automatically calculate the size of the rectangular aperture
2019-04-11 03:35:09 +03:00
Marius Stanciu 950bcc3767 - Gerber Editor: added Add Pad (circular or rectangular type only) 2019-04-10 22:52:23 +03:00
Marius Stanciu 7c0cfac8de - created menu links and shortcut keys for adding a new empty Gerber objects; on update of the edited Gerber, if the source object was an empty one (new blank one) this source obj will be deleted
- removed the old apertures editing from Gerber Obj selected tab
2019-04-10 20:31:37 +03:00
Marius Stanciu 28dac56051 - Gerber Editor: added Add Track and Add Region functions
- Gerber Editor: fixed key shortcuts
- fixed setting the Layout combobox in Preferences according to the current layout
2019-04-10 17:12:21 +03:00
Marius Stanciu ce9e5a4546 - some init jobs in Editors 2019-04-10 04:49:33 +03:00
Marius Stanciu 58abfcb7f7 - fixed above bug in Measurement Tool (but there is a TODO there) 2019-04-10 04:37:03 +03:00
Marius Stanciu 942d9e2b01 - Gerber Editor: finished the selection on canvas; should be used as an template for the other Editors
- Gerber Editor: finished the Copy, Aperture Add, Buffer, Scale, Move including the Utility geometry
- Trying to fix bug in Measurement Tool: the mouse events don't disconnect
2019-04-10 03:56:56 +03:00
Marius Stanciu fbdcb00eb3 - Gerber Editor: working on aperture selection to show on Aperture Table 2019-04-09 17:56:28 +03:00
Marius Stanciu 68a6f64fcd - Gerber Editor: added buffer and scale tools 2019-04-09 17:30:01 +03:00
Marius Stanciu 57176b7e28 - default values for Jump To function is jumping to origin (0, 0) 2019-04-07 03:43:58 +03:00
Marius Stanciu 5ef11a56cc - preliminary Gerber Editor.on_aperture_delete()
- fixed 'circular reference' error when creating the new Gerber file in Gerber Editor
- preliminary Gerber Editor.on_aperture_add()
2019-04-07 03:05:58 +03:00
Marius Stanciu 1e57054bd2 - fixed issue with not possible to close the app after a project save (for real this time) 2019-04-06 01:38:19 +03:00
Marius Stanciu da991c103b - fixed issue with not possible to close the app after a project save. 2019-04-06 01:15:29 +03:00
Marius Stanciu 1307026d83 - fixed bug in Geometry Editor in buffer_int() function that created an Circular Reference Error when applying buffer interior on a geometry. 2019-04-06 01:02:59 +03:00
Marius Stanciu e8a0fcaef1 - fixed bug in saving the maximized state
- fixed bug in applying default language on first start
- on activating 'V' key shortcut (zoom fit) the mouse cursor is now jumping to origin (0, 0)
- fixed bug in saving toolbars state; the file was saved before setting the self.defaults['global_toolbar_view]
2019-04-06 00:10:38 +03:00
Marius Stanciu 13185f3944 - changed the way delayed plot is working in Gerber Editor to use a Qtimer instead of python threading module
- WIP in Gerber Editor
2019-04-05 21:18:55 +03:00
Marius Stanciu 788daf9081 - WIP in Gerber Editor: geometry is no longer stored in a Rtree storage as it is not needed 2019-04-05 16:55:47 +03:00
Marius Stanciu b7fce74ca3 - increased the number of workers in FlatCAM and made the number of workers customizable from Preferences 2019-04-05 16:27:55 +03:00
Marius Stanciu cefb74d792 - Gerber Editor: made geometry transfer (which is slow) to Editor to be multithreaded
- Gerber Editor: plotting process is showed in the status bar
2019-04-05 15:28:32 +03:00
Marius Stanciu 4ecdfba29c - fixed offset after editing drill diameters in Excellon Editor (for real this time, the issue was in Excellon reconstruction) 2019-04-04 21:37:29 +03:00
Marius Stanciu b9a4981cd0 - fixed offset after editing drill diameters in Excellon Editor. 2019-04-04 21:22:45 +03:00
Marius Stanciu f43bed8c66 - modified the bogus diameters series for Excellon objects that do not have tool diameter info
- made Excellon Editor aware of the fact that the Excellon object that is edited has fake (bogus) tool diameters and therefore it will not sort the tools based on diameter but based on tool number
- fixed bug on Excellon Editor: when diameter is edited in Tools Table and the target diameter is already in the tool table, the drills from current tool are moved to the new tool (with new dia) - before it crashed
2019-04-04 20:15:51 +03:00
Marius Stanciu b595991b1d - added a property for the Excellon obj to signal that object has no real tools diameter data 2019-04-04 18:20:24 +03:00
Marius Stanciu f177b2db7b - added support for Excellon file with no info about tool diameters - PCB Wizard Excellon file support 2019-04-04 18:13:39 +03:00
Marius Stanciu c623b8d63c - added support for Gerber format specification D (no zero suppression) - PCBWizard Gerber files support 2019-04-04 16:21:26 +03:00
Marius Stanciu 4bbdeaf844 - fixed the camlib.Geometry.import_svg() and camlib.Gerber.bounds() to work when importing SVG files as Gerber 2019-04-04 02:15:59 +03:00
Marius Stanciu 8fc7c0ffc1 - fixed the quit action when denying the save, to save the default values and the QSettings 2019-04-04 01:20:33 +03:00