Commit Graph

962 Commits

Author SHA1 Message Date
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
Marius Stanciu 8fc916b746 - working on Gerber Editor - added the key shortcuts: wip
- made saving of the project file non-blocking and also while saving the project file, if the user tries again to close the app while project file is being saved, the app will close only after saving is complete (the project file size is non zero)
2019-04-04 00:47:08 +03:00
Victor Benso f14246ae6a Merged in vbenso/flatcam/issue284 (pull request #140)
Issue #284 - Sanitize the entered Overlap value.

Approved-by: Marius Stanciu <marius.adrian@gmail.com>
2019-04-03 17:26:07 +00:00
Marius Stanciu 06ac0b03b1 - modified the calling of the editor2object() slot function 2019-04-03 20:24:47 +03:00
Victor Benso 1f67158e35 Issue #284 - Sanitize the entered Overlap value for the Copper Clear Tool as well.
Change the "Overlap:" label occurrences to "Overlap Rate:" for clarity.
2019-04-03 12:41:25 -04:00
Victor Benso ece1538239 Issue #284 - Sanitize the entered Overlap value 2019-04-03 12:28:20 -04:00
Victor Benso 309dbb132e Issue #284 - Sanitize the entered Overlap value. 2019-04-03 12:20:53 -04:00
Marius Stanciu 5e9a27ca45 - added a Gcode end_command: default is M02 2019-04-03 16:14:26 +03:00
Marius Stanciu 0a9148f30a - fixed plotting in Gerber Editor
- working on GUI in Gerber Editor
2019-04-03 16:00:44 +03:00
Victor Benso 0cca691422 Merged in vbenso/flatcam/issue282 (pull request #139)
Issue282 - Paint tool behavior isn't the expected for imported svg polygons with holes

Approved-by: Marius Stanciu <marius.adrian@gmail.com>
2019-04-03 10:49:05 +00:00
Victor Benso 49ce8f24f3 Merged in vbenso/flatcam/master (pull request #138)
Fix for internal buffers, looks like the geolib wasn't accepting the negative buffer size.

Approved-by: Marius Stanciu <marius.adrian@gmail.com>
2019-04-03 08:46:26 +00:00
Victor Benso ed06a1a87e Issue #282 - All svg paths aren't created equal. Some are closed shapes,
that can have holes sometimes, and others are open shapes, such as lines
and multilines.
2019-04-03 00:51:57 -04:00
Victor Benso 328677aa36 Issue #282 - Paint operations should ignore lines, after all only geometries that have a valid area should be painted. 2019-04-03 00:47:41 -04:00
Victor Benso 98370ada8d Issue #282 - Shapely keeps crashing with some valid geometries, further tests needed 2019-04-03 00:46:19 -04:00
Victor Benso bc467785d0 Fix for internal buffers, looks like the geolib wasn't accepting the negative buffer size.
So now the internal buffers are generated in the same way as the external buffers and only the internal rings are returned
Issue #280
2019-04-02 22:35:51 -04:00
Marius Stanciu 61807b6e90 - work in progress in Gerber Editor 2019-04-01 13:47:39 +03:00
Marius Stanciu 7702eb1705 - changes in Excellon Editor in resize section 2019-04-01 03:24:21 +03:00
Marius Stanciu 40c8ef1cf8 - wip in Gerber editor 2019-04-01 02:54:34 +03:00
Marius Stanciu b202de338f - fixed errors when the File -> New Project is initiated while an Editor is still active.
- the File->Exit action handler is now self.final_save()
2019-04-01 02:47:20 +03:00
Marius Stanciu bfd7cbdd44 - changed Measuring Tool to use the mouse click release instead of mouse click press; also fixed a bug when using the ESC key. 2019-04-01 00:07:26 +03:00
Marius Stanciu ecd6472220 - fixed issue #281 by making generation of a convex shape for the freeform cutout in Tool Cutout a choice rather than the default
- fixed bug in Tool Cutout, now in manual cutout mode the gap size reflect the value set
2019-03-31 21:52:27 +03:00
Marius Stanciu 79e5cce6f1 - added a fix in the Excellon parser by allowing a comma in the tool definitions between the diameter and the rest 2019-03-30 02:55:11 +02:00
Marius Stanciu 3b0496ddb9 - Minor string change 2019-03-30 01:22:36 +02:00
Marius Stanciu 1c1d8bd637 - fix error in plotting Excellon when toggling units
- FlatCAM editors now are separated each in it's own file
- fixed TextTool in Geometry Editor so it will open the notebook on activation and close it after finishing text adding
- started to work on a Gerber Editor
2019-03-29 23:45:50 +02:00
Marius Stanciu c5a77841f8 - update the TCL keyword list
- fix on the Gerber parser that makes searching for '%%' char optional when doing regex search for mode, units or image polarity. This allow loading Gerber files generated by the ECAD software TCl4.4
2019-03-29 13:02:53 +02:00
Marius Stanciu e0417b034b - modified Gerber parser to copy the follow_geometry in the self.apertures
- modified the Properties Tool to show the number of elements in the follow_geometry for each aperture
- modified the copy functions to copy the follow_geometry and also the apertures if it's possible (only for Gerber objects)
2019-03-29 02:13:20 +02:00
Marius Stanciu ecc2c90f2a - changed all the info messages that are of type warning, error or success so they have a space added after the keyword
- changed the Romanian translation by adding more diacritics
2019-03-29 00:26:00 +02:00
Marius Stanciu 6d9eb10a59 - new feature: added ability to edit MultiGeo geometry (geometry from Paint Tool) 2019-03-28 21:11:37 +02:00
Marius Stanciu 18b636bf03 - About 45% progress in German translation 2019-03-28 16:21:36 +02:00
Marius Stanciu ffa9095066 - fixed issue #278. Crash on name change in the Name field in the Selected Tab. 2019-03-27 23:34:10 +02:00
Marius Stanciu d12a6759c7 - progress in German translation. About 27% done. 2019-03-27 23:01:16 +02:00
Marius Stanciu 209683b2db - added new feature: user can delete apertures in Advanced mode and then create a new FlatCAM Gerber object 2019-03-27 12:26:19 +02:00
Marius Stanciu 1aabb1c084 - added CNCJob geometry for the holes created by the drills from Excellon objects 2019-03-27 01:21:01 +02:00
Marius Stanciu 0002d32341 - fixed bug: after using Paint Tool shortcut keys are disabled 2019-03-26 22:39:49 +02:00
Marius Stanciu a7e6914584 - fixed an issue where the Geometry plot function protested that it does not have an parameter that is used by the CNCJob plot function. But both inherit from FaltCAMObj plot function which does not have that parameter so something may need to be changed. Until then I provided a phony keyboard parameter to make that function 'shut up' 2019-03-26 15:53:07 +02:00
Marius Stanciu a964e6282d - fixed an module import issue in NCC Tool
- minor change (optimization) of the CNCJob UI
- work in progress in German translation ~20%
2019-03-25 22:00:07 +02:00
Marius Stanciu d7f4b7e6b0 - work in progress in German translation ~7%
- after any autocomplete in TCL completer, a space is added
2019-03-25 16:59:12 +02:00
Marius Stanciu 43f89397d7 - added all the TCL keywords in the completer keyword list 2019-03-25 04:26:11 +02:00