Commit Graph

698 Commits

Author SHA1 Message Date
Marius Stanciu 8c0b8ed13d - initial add of a new Tcl COmmand named CopperClear
- remade the NCC Tool in preparation for the newly added TclCommand CopperClear
2019-08-25 04:45:16 +03:00
Marius Stanciu d606c836f4 - added a new TclCommand named Bbox who generate a bounding box. 2019-08-24 21:25:25 +03:00
Marius Stanciu a29f8ec43d - added a new TcL Command named Nregions who generate non-copper regions 2019-08-24 20:52:35 +03:00
Marius Stanciu 87d1558977 - modified the Paint Tool. Now the Single Polygon and Area/Reference Object painting works with multiple tools too. The tools have to be selected in the Tool Table.
- remade the TclCommand Paint to work in the new configuration of the the app (the painting functions are now in their own tool, Paint Tool)
- fixed a bug in the Properties Tool
2019-08-24 19:55:03 +03:00
Marius Stanciu 82b39d64d2 - fixed selection by dragging a selection shape in Geometry Editor 2019-08-24 05:08:27 +03:00
Marius Stanciu 0e96be7d9a - made PlotCanvas class inherit from VisPy Canvas instead of creating an instance of it (work of JP) 2019-08-24 04:45:25 +03:00
Marius Stanciu 3fe31dec59 - modified CutOut Tool so now the manual gaps adding will continue until the user is clicking the RMB
- added ability to turn on/of the grid snapping and to jump to a location while in CutOut Tool manual gap adding action
2019-08-24 04:30:27 +03:00
Marius Stanciu f9b5689008 - fixed aperture move in Gerber Editor
- fixed drills/slots move in Excellon Editor
- RELEASE 8.96
2019-08-24 00:16:23 +03:00
Marius Stanciu 4ca15b486b - modified the way key modifiers are detected in Gerber Editor Selection class and in Excellon Editor Selection class
- updated the translations
2019-08-23 23:54:13 +03:00
Marius Stanciu e35cf7f02c - fixed the issue with GUI entries content being deselected on right click in the box in order to copy the value 2019-08-23 21:01:23 +03:00
Marius Stanciu 1d632c6396 - fixed the issue with GUI entries content being deselected on right click in the box in order to copy the value 2019-08-23 20:09:07 +03:00
Marius Stanciu beda0df4a4 - for all the tools launched rom toolbar the behavior is modified: first click it will launch the tool; second click: if the Tool tab has focus it will close the tool but if another tab is selected, the tool will have focus
- modified the NCC Tool and Paint Tool to work multiple times after first launch
2019-08-23 19:30:33 +03:00
Marius Stanciu 23f85b71e9 - in Paint Tool added ability to add multiple zones to paint when Area option is checked and the modifier key is pressed (either CTRL or SHIFT as set in Preferences). Right click of the mouse is an additional way to finish the job.
- in Paint Tool and NCC Tool, for the Area option, now mouse panning is allowed while adding areas to process
2019-08-23 16:44:41 +03:00
Marius Stanciu 2fbb480f86 - in NCC Tool added ability to add multiple zones to clear when Area option is checked and the modifier key is pressed (either CTRL or SHIFT as set in Preferences). Right click of the mouse is an additional way to finish the job.
- fixed a bug in Excellon Editor that made that the selection of drills is always cumulative
2019-08-23 15:22:53 +03:00
Marius Stanciu f087c242f3 - in Tool Cutout tool I've added the possibility to create a cutout without bridge gaps; added the 'None' option in the Gaps combobox 2019-08-23 02:38:42 +03:00
Marius Stanciu 211a7e4f6f - in Tool Cutout for the manual gaps, right mouse button click will exit from the action of adding gaps 2019-08-23 02:25:25 +03:00
Marius Stanciu 948c495447 - in Tool Cutout for the manual gaps, now the moving geometry that cuts gaps will orient itself to fit the angle of the cutout geometry 2019-08-23 02:15:45 +03:00
Marius Stanciu 017d495a41 - fixed TclCommandFollow command; an older function name was used who yielded wrong results 2019-08-22 23:09:41 +03:00
Marius Stanciu 299ccb2eca - fixed Tool Cutout so when the target Gerber is a single Polygon then the created manual geometry will follow the shape if shape is freeform 2019-08-22 22:56:02 +03:00
Marius Stanciu 10115dfd4c - fixed the Buffer Tool in Geometry Editor; made the Buffer entry field a QDoubleSpinner and set the lower limit to zero. 2019-08-22 22:37:42 +03:00
Marius Stanciu c2991b969b - moved the canvas setup into it's own function and called it in the init() function 2019-08-22 17:23:39 +03:00
Marius Stanciu bd8f607b32 - added possibility to turn application portable from the Edit -> Preferences -> General -> App. Preferences -> Portable checkbox 2019-08-22 02:53:18 +03:00
Marius Stanciu 62e48eb545 - added ability to turn ON/OFF the detachable capability of the tabs in Plot Tab Area through a context menu activated by right mouse button click on the Plot Tab Area header 2019-08-22 01:38:20 +03:00
Marius Stanciu a365225416 - added ability to turn ON/OFF the detachable capability of the tabs in Notebook through a context menu activated by right mouse button click on the Notebook header 2019-08-22 01:20:33 +03:00
Marius Stanciu a92ecaf2de - fixed some issues introduced in NCC Tool 2019-08-21 22:15:32 +03:00
Marius Stanciu 883e1ca837 - fixed bug in Excellon parser for the Excellon files that do not put the type of zero suppression they use in the file (like DipTrace eCAD) 2019-08-21 15:14:35 +03:00
Marius Stanciu 47cd3dd043 - in NCC Tool added area selection feature 2019-08-21 03:24:38 +03:00
Marius Stanciu f338403130 - added new entry in Properties Tool which is the calculated Convex Hull Area (should give a more precise area for the irregular shapes than the box area)
- added some more strings in Properties Tool for the translation
2019-08-21 02:33:51 +03:00
Marius Stanciu 50210820e2 - added feature in Paint Tool allowing the painting to be done on Gerber objects
- added feature in Paint Tool to set how (and if) the tools are sorted
- added Edit -> Preferences GUI entries for the above just added features
2019-08-21 02:13:10 +03:00
Marius Stanciu 1d470bafb4 - replaced the layout from Grid to Form for the Reference objects comboboxes in Paint Tool and in NCC Tool 2019-08-21 01:09:57 +03:00
Marius Stanciu 03c264886d - added ability to do copper clearing through NCC Tool on Geometry objects also 2019-08-20 23:00:09 +03:00
Marius Stanciu 392b0e1b49 - fixed the Spanish, Brazilian Portuguese and Romanian translations 2019-08-20 00:44:38 +03:00
Marius Stanciu 07c31bba22 - fixed bug in Tool Sub that created issues when toggling visibility of the plots 2019-08-19 23:34:37 +03:00
Marius Stanciu 1b6dd02217 - some mods in the Tool Sub 2019-08-19 20:57:23 +03:00
Marius Stanciu 498f562a68 - fixed the POT file and the German translation 2019-08-19 17:48:34 +03:00
Marius Stanciu 5cc16a03db - updated the Edit -> Preferences to include also the Gerber Editor complete Preferences
- started to update the app strings to make it easier for future translations
2019-08-19 17:24:56 +03:00
Marius Stanciu c2563b4857 - added ability to lock toolbars within the context menu that is popped up on any toolbars right mouse click. The value is saved in QSettings and it is persistent between application startup's. 2019-08-18 19:35:21 +03:00
Marius Stanciu 8b12dbd52d - updated the translation files for the modified strings (and for the newly added strings) 2019-08-18 15:40:59 +03:00
Marius Stanciu 36586aecce - finished adding in Paint Tool the usage of an external object to set the extent of th area painted. For simple shapes (single Polygon) the shape can be anything, for the rest will be a convex hull of the reference object
- modified NCC tool so for simple objects (single Polygon) the external object used as reference can have any shape, for the other types of objects the copper cleared area will be the convex hull of the reference object
- modified the strings of the app wherever they contained the char seq <b> </b> so it is not included in the translated string
2019-08-18 14:17:46 +03:00
Marius Stanciu 762d949461 - added GUI in Paint tool in beginning to add Paint by external reference object 2019-08-18 05:08:09 +03:00
Marius Stanciu 1fca6ef1bf - added possibility to drag & drop FlatCAM config files (*.FlatConfig) into the canvas to be opened into the application 2019-08-18 03:11:19 +03:00
Marius Stanciu 531beb1d97 - in NCC Tool added a new parameter (radio button) that offer the choice on the order of the tools both in tools table and in execution of engraving; added as a parameter also in Edit -> Preferences -> Tools -> NCC Tool 2019-08-18 03:03:18 +03:00
Marius Stanciu ae5de6c149 - added messages in the application window title which show the progress in loading a project (which is not thread-safe therefore keeping the app from fully initialize until finished) 2019-08-18 02:04:36 +03:00
Marius Stanciu 2720bc34b7 - projects at startup don't work in another thread so there is no multithreading if I want to double click an project and to load it 2019-08-18 00:08:41 +03:00
Marius Stanciu b297e15eee - made the exported preferences formatted therefore more easily read 2019-08-17 23:26:34 +03:00
Marius Stanciu b20203eace - moved the initialization of the FlatCAM editors after a read of the default values. If I don't do this then only at the first start of the application the Editors are not functional as the Editor objects are most likely destroyed
- fixed bug in FlatCAM editors that caused the shapes to be drawn without resolution when the app units where INCH
- modified the transformation functions in all classes in camlib.py and FlatCAMObj.py to work with empty geometries
2019-08-17 18:47:41 +03:00
Marius Stanciu d8937b82fc - fixed bug in Geometry Editor, in disconnect_canvas_event_handlers() where I left some part of code without adding a try - except block which was required
- RELEASE 8.95
2019-08-17 15:51:16 +03:00
Marius Stanciu b0db73497c - updated translations and changed version
- fixed installer issue for the x64 version due of the used CX_FREEZE python package which was in unofficial version (obviously not ready to be used)
- RELEASE 8.95
2019-08-17 15:21:12 +03:00
Marius Stanciu 9205dd61f8 - fixed error when creating CNCJob due of having the annotations disabled from preferences but the plot2() function from camlib.CNCJob class still performed operations who yielded TypeError exceptions 2019-08-17 15:11:50 +03:00
Marius Stanciu 0131fb7700 - fixed error when creating CNCJob due of having the annotations disabled from preferences but the plot2() function from camlib.CNCJob class still performed operations who yielded TypeError exceptions 2019-08-17 06:12:27 +03:00
Marius Stanciu bc6b2666cd - added estimated time of routing for the CNCJob and added travelled distance parameter for geometry, too 2019-08-17 06:02:20 +03:00
Marius Stanciu 923ce6aa7f - updated the translations for the new strings
- RELEASE 8.94
2019-08-17 01:32:54 +03:00
Marius Stanciu 77535d57b6 - In Excellon Editor -> fixed bug that caused incorrect display of the relative coordinates in the status bar 2019-08-16 23:52:09 +03:00
Marius Stanciu 66a205a6fd - in Excellon Editor -> remade the Tool edit made by editing the diameter values in the Tools Table to work for slots too 2019-08-16 23:42:51 +03:00
Marius Stanciu aa97a3722b - in Excellon editor -> Resize tool, made sure that when the slot is resized, it's length remain the same, because the tool should influence only the 'thickness' of the slot. Since I don't know anything but the geometry and tool diameter, this is only an approximation and computationally intensive 2019-08-16 21:37:18 +03:00
Marius Stanciu 7223215386 - in Excellon Editor fixed the display of the number of slots in the Tool Table after the resize done with the Resize tool 2019-08-16 19:19:45 +03:00
Marius Stanciu 9e7d81d61b - added new menu category in File -> Backup with two menu entries that duplicate the functions of the export/import preferences buttons from the bottom of the Preferences window 2019-08-16 18:52:06 +03:00
Marius Stanciu e061c4364a - each CNCJob object has now it's own text_collection for the annotations which allow the individual enabling and disabling of the annotations 2019-08-16 17:21:31 +03:00
Marius Stanciu eb385c1b28 - made sure that if multi depth is choosed when creating GCode then if the multidepth is more than the depth of cut only one cut is made (to the depth of cut) 2019-08-16 16:54:47 +03:00
Marius Stanciu 5c4c59d1a2 - remade the enable/disable plots functions to work only where it needs to (no sense in disabling a plot already disabled) 2019-08-16 16:37:54 +03:00
Marius Stanciu bbc00c8f35 - fixed a weird error that created a crash in the following scenario: create a new excellon, edit it, add some drills/slots, delete it without saving, create a new excellon, try to edit and a crash is issued due of a wrapped C++ error
- fixed bug selection in Excellon editor with a selection window in case that the number of selected items is even
- updated the default values to more convenient ones
2019-08-16 16:03:26 +03:00
Marius Stanciu 3a5622ffc6 - working in Excellon Editor to Tool Resize to consider the slots, too 2019-08-16 01:50:30 +03:00
Marius Stanciu c886e3300c - added the Slot Type parameter for exporting Excellon in Edit -> Preferences -> Excellon -> Export Excellon. Now the Excellon object can be exported also with drilled slot command G85
- fixed bug in Excellon export when there are no zero suppression (coordinates with decimals)
2019-08-16 00:44:04 +03:00
Marius Stanciu 7eb0b83776 - final fix for the VisPy data files; the defaults files are saved to the Config folder when the app is set to be portable 2019-08-15 22:39:51 +03:00
Marius Stanciu ca8a12610e - fixed the GUI for Slot Arrays in Excellon Editor
- finished the Slot Array tool in Excellon Editor
- added the key shortcut handlers for Add Slot and Add Slot Array tools in Excellon Editor
- started to work on the Resize tool for the case of Excellon slots in Excellon Editor
2019-08-15 17:55:32 +03:00
Marius Stanciu 0cdf96ad38 - added a failsafe path to the source folder from which to copy the VisPy data 2019-08-15 15:54:39 +03:00
Marius Stanciu b9123e5a72 - working on the Slots Array in Excellon Editor - building the GUI 2019-08-15 04:41:50 +03:00
Marius Stanciu beef671613 - created a configuration file in the root/config/configuration.txt with a configuration line for portability. Set portable to True to run the app as portable 2019-08-15 02:47:09 +03:00
Marius Stanciu 5c75998dbb - stored inside FlatCAM app the VisPy data files and at the first start the application will try to copy those files to the APPDATA (roaming) folder in case of running under Windows
- created an app 'switch' named 'self.portable' which when set True it will 'cx-freeze' an portable application
2019-08-15 02:18:13 +03:00
Marius Stanciu ab12853393 - added Edit -> Preferences GUI and storage for the Excellon Editor Add Slots
- added a confirmation message for objects delete and a setting to activate it in Edit -> Preferences -> Global
2019-08-15 00:59:15 +03:00
Marius Stanciu 0e03252af7 - in Excellon Editor fixed the selection issue which in a certain step created a failure in the Copy and Move tools.
- in Excellon Editor fixed the selection with key modifier pressed
- edited the mouse cursors and saved them without included thumbnail in a bid to remove some CRC warnings made by libpng
2019-08-14 23:35:29 +03:00
Marius Stanciu f3fc175197 - changes in the way the edited Excellon with added slots is saved
- added more icons and cursor in Excellon Editor for Slots related functions
2019-08-14 16:05:24 +03:00
Marius Stanciu c0cd61df3f - fixed the loading of Excellon with slots and the saving of edited Excellon object in regard of slots, in Excellon Editor
- fixed the Delete tool, Select tool in Excellon Editor to work for Slots too
2019-08-14 02:36:45 +03:00
Marius Stanciu 4b8c999a66 - in FCSlot finished the utility geometry and the GUI for it 2019-08-13 21:13:57 +03:00
Marius Stanciu 3905e11171 - started to work in adding slots and slots array in Excellon Editor 2019-08-13 16:39:21 +03:00
Marius Stanciu 13a29a229d - added all the tools from Gerber Editor to the the contextual menu
- added the menu entry "Edit" in the Project contextual menu for Gerber objects
2019-08-13 16:15:01 +03:00
Marius Stanciu 3e339630e6 - fixed bugs in Geometry Editor
- added protection's against the 'bowtie' geometries for Subtract Tool in Geometry Editor
- added all the tool from Geometry Editor to the the contextual menu
- fixed bug in Add Text Tool in Geometry Editor that gave error when clicking to place text without having text in the box
2019-08-13 13:59:23 +03:00
Marius Stanciu eb4f504911 - fixed a bug in FCDoubleSpinner GUI element
- added a new parameter in NCC tool named offset. If the offset is used then the copper clearing will finish to a set distance of the copper features
2019-08-13 11:32:58 +03:00
Marius Stanciu 0686e77f99 - added new settings in Edit -> Preferences -> General for Notebook Font size (set font size for the items in Project Tree and for text in Selected Tab) and for canvas Axis font size. The values are stored in QSettings.
- updated translations
2019-08-13 04:23:32 +03:00
Marius Stanciu d5f74ae8b4 - some PEP8 changes in FlatCAMApp.py 2019-08-13 02:12:23 +03:00
Marius Stanciu ee3b38327e - added new option in ToolSub: the ability to close (or not) the resulting paths when using tool on Geometry objects. Added also a new category in the Edit -> Preferences -> Tools, the Substractor Tool Options 2019-08-13 00:42:58 +03:00
Marius Stanciu 3bf5992023 - improved Mark Area Tool in Gerber Editor such that at each launch the previous markings are deleted 2019-08-12 23:34:56 +03:00
Marius Stanciu 04bc1ba013 - fixed bug in camlib.Gerber.parse_lines() Gerber parser where for Allegro Gerber files the Gerber units were incorrectly detected 2019-08-12 23:27:14 +03:00
Marius Stanciu cac92f75f2 - improved the FlatCAMGerber.isolate() function to work for geometry in the form of list and also in case that the elements of the list are LinearRings (like when doing the Exterior Isolation)
- in NCC Tool made sure that at each run the old objects are deleted
2019-08-12 22:39:38 +03:00
Marius Stanciu fd104eee55 - done regression to solve the bug with multiple passes cutting from the copper features (I should remember not to make mods here)
- if 'combine' is checked in Gerber isolation but there is only one pass, the resulting geometry will still be single geo
- the 'passes' entry was changed to a IntSpinner so it will allow passes to be entered only in range (1, 999) - it will not allow entry of 0 which may create some issues
2019-08-12 00:28:46 +03:00
Marius Stanciu 0e52ef6356 - optimizations in GeoEditor
- updated translations
2019-08-11 21:22:47 +03:00
Marius Stanciu a4728e966e - fixed issue where the annotations for all the CNCJob objects are toggled together whenever the ones for an single object are toggled 2019-08-11 03:15:04 +03:00
Marius Stanciu 9ef7b2668c - made sure that the annotations are deleted when the object that contain them is deleted 2019-08-11 02:55:08 +03:00
Marius Stanciu cf8a277825 - trying to fix reported bugs 2019-08-11 02:18:32 +03:00
Marius Stanciu 377a811810 - small changes regarding the Project Title 2019-08-10 21:32:22 +03:00
Marius Stanciu 5c8ffb1640 - RELEASE 8.93 2019-08-10 19:13:02 +03:00
Marius Stanciu b123d4e202 - translation files updated for the new strings (Google Translate) 2019-08-10 18:50:21 +03:00
Marius Stanciu 4a7ff22c8e - fixed issue in the latest feature in NCC Tool: now it works also with reference objects made out of LineStrings (tool 'Path' in Geometry Editor) 2019-08-10 15:12:59 +03:00
Marius Stanciu eea66c0311 - added new feature in NCC Tool: now another object can be used as reference for the area extent to be cleared of copper 2019-08-10 14:59:29 +03:00
Marius Stanciu 89717642ed - fixed bug that created a choppy geometry for CNCJob when working in INCH
- fixed bug that did not asked the user to save the preferences after importing a new set of preferences, after the user is trying to close the Preferences tab window
2019-08-10 11:46:23 +03:00
Marius Stanciu 40dc73ce93 - finished added 'Area' type of Paint in Paint Tool 2019-08-10 01:15:31 +03:00
Marius Stanciu 6f526acb4d - added Exception handing for the case when the user is trying to save & overwrite a file already opened in another file 2019-08-09 22:39:13 +03:00
Marius Stanciu 7a6c0541be - started to work on Paint Area in Paint Tool 2019-08-07 17:10:48 +03:00
Marius Stanciu fd948cc2c8 - replaced setFixedWidth calls with setMinimumWidth
- recoded the camlib.Geometry.isolation_geometry() function
2019-08-07 15:05:33 +03:00
Marius Stanciu 258d3463e7 - replaced setFixedWidth calls with setMinimumWidth 2019-08-07 14:29:59 +03:00