Commit Graph

238 Commits

Author SHA1 Message Date
Marius Stanciu c1e079474d - small changes 2019-09-06 00:40:07 +03:00
Marius Stanciu 76138986bf - fixed issue with loading files at start-up
- fixed issue with generating bounding box geometry for CNCJob objects
- added some more infobar messages and log.debug
- increased the priority for the worker tasks
2019-09-05 17:38:45 +03:00
Marius Stanciu d909b98130 - fixed bug in camblib.clear_polygon3() which caused that some copper clearing / paintings were not complete (some polygons were not processed) when the Straight Lines method was used
- some changes in NCC Tools regarding of the clearing itself
2019-09-03 23:15:29 +03:00
Marius Stanciu 241cac8556 - finished the work on file extensions registration with FlatCAM. If the file extensions are deleted in the Preferences -> File Associations then those extensions are unregistered with FlatCAM
- fixed bug in NCC Tools and in SolderPaste Tool if in Edit -> Preferences only one tool is entered
2019-09-03 22:46:18 +03:00
Marius Stanciu e8aba2cdb7 - in Paint Tool and NCC Tool fixed the RMB click detection when Area selection is used 2019-09-03 16:11:21 +03:00
Marius Stanciu c0cab6ee23 - in NCC Tool added a warning in case there are isolation tools and if those isolation's are interrupted by an area or a box
- in Paint Tool made that the area selection is repeated until RMB click
2019-09-03 15:52:28 +03:00
Marius Stanciu 50aacf21c2 - in NCC Tool now the Area adding is continuous until RMB is clicked (no key modifier is needed anymore) 2019-09-03 02:17:31 +03:00
Marius Stanciu a1d874b705 - fixed the isolation distance in NCC Tool for the tools with iso_op type 2019-09-03 01:47:32 +03:00
Marius Stanciu 4dbf6b2fa9 - small changes in NCC tool regarding the usage of the V-shape tool 2019-09-03 01:32:10 +03:00
Marius Stanciu 7ff8d893c0 - in NCC tool there is now a depth of cut parameter named 'Cut Z' which will dictate how deep the tool will enter into the PCB material
- in NCC tool added possibility to choose between the type of tools to be used and when V-shape is used then the tool diameter is calculated from the desired depth of cut and from the V-tip parameters
2019-09-03 01:13:03 +03:00
Marius Stanciu 707a22c7a3 - in Properties Tool fixed the dimensions calculations (length, width, area) to work for multi-geo objects 2019-09-02 22:36:20 +03:00
Marius Stanciu 60512f09a7 - in Properties Tool made threaded the calculation of convex_hull area and to work for multi-geo objects
- in NCC tool the type of tool that is used is transferred to the Geometry object
- in NCC tool the type of isolation done with the tools selected as isolation tools can now be selected and it has also an Edit -> Preferences entry
2019-09-02 21:39:46 +03:00
Marius Stanciu 4b7115ca59 - added formatting for some strings in the app strings, making the future translations easier 2019-09-02 13:24:04 +03:00
Marius Stanciu 7827cbfe6c - fixed issue in NCC Tool when using area option 2019-09-02 00:53:02 +03:00
Marius Stanciu 1e6eebefed - added isolation capability in NCC tool for the rest-machining option 2019-09-02 00:43:34 +03:00
Marius Stanciu 1295a94af1 - fixed open handlers
- fixed issue in NCC Tool where the tool table context menu could be installed multiple times
- added new ability to create simple isolation's in the NCC Tool
2019-09-02 00:14:28 +03:00
Marius Stanciu ba1e0bc94b - fixed Tcl Command CncJob
- fixed crash due of Properties Tool trying to have a convex hull area on FlatCAMCNCJob objects which is not possible due of their nature
- modified Tcl Command SubtractRectangle
- fixed and modernized the Tcl Command Scale to be able to scale on X axis or on Y axis or on both and having as scale reference either the (0, 0) point or the minimum point of the bounding box or the center of the bounding box.
- fixed and modernized the Tcl Command Skew
2019-08-26 00:40:35 +03:00
Marius Stanciu 61df272bbc - added new capability in NCC Tool when the reference object is of Gerber type and fixed some newly introduced errors 2019-08-25 18:13:13 +03:00
Marius Stanciu 354946025c - finished adding the TclCommandCopperClear that can be called with alias: 'ncc' 2019-08-25 16:05:03 +03:00
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 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 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 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 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 a92ecaf2de - fixed some issues introduced in NCC Tool 2019-08-21 22:15:32 +03:00
Marius Stanciu fb62b58cd5 - small changes 2019-08-21 21:04:06 +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 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 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 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 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 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 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 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 cf8a277825 - trying to fix reported bugs 2019-08-11 02:18:32 +03:00
Marius Stanciu a81471a7c8 - small change; debug message added 2019-08-10 15:19:47 +03:00