Commit Graph

4468 Commits

Author SHA1 Message Date
Marius Stanciu
34bb741335 - in Geometry Editor, in the Simplification Tool made sure that the selected shape is highlighted
- in Geometry Editor, in Rectangle Tool added a modification mode where a selected shape (using the SHIFT + click combo) while the tool is active, can be modified
2022-04-16 11:46:33 +03:00
Marius Stanciu
1d1226b628 - in Geometry Editor, the Rectangle Editor Tool allows creation of rectangles with the mouse but projecting the length and width dimensions by typing a number (the choice of setting the length or width is based on the direction of the mouse move after setting the first point)
- in Geometry Editor, the Rectangle Editor Tool has now Ui which allows adding a rectangle by parameters
2022-04-16 02:03:11 +03:00
Marius Stanciu
d8129c8825 - in Geometry Editor moved the simplification feature in its own Editor Tool (plugin)
- in Geometry Editor the default draw color is now black
2022-04-15 23:14:27 +03:00
Marius Stanciu
f4e800244e - made sure that some menu entries in the canvas popup menu are hidden when entering into an Editor and restored on exit 2022-04-14 23:39:51 +03:00
Marius Stanciu
6bab9be25a - in Geometry Editor, for the Polygon Tool added the UI, the length projection and the cursor data, just like for the Path Tool 2022-04-14 22:00:24 +03:00
Marius Stanciu
377d79d413 - added ability to control the color of the project items for the dark theme too 2022-04-14 17:59:32 +03:00
Marius Stanciu
f124ccf4df - in Geometry Editor, for Path tool, added the ability to differentiate between creating a multidigit number for the projection and starting a new number (for a new segment) 2022-04-14 15:11:45 +03:00
Marius Stanciu
a09700929e - solved a ZeroDivisionError exception in the Geometry Editor -> Path Tool 2022-04-14 14:24:53 +03:00
Marius Stanciu
53c92306dd - in Geometry Editor, for Path tool, added UI that close on end of the Path tool action; it displays the projected length which now is kept for as long as it is wanted, allowing for path automation in case of repetitive lengths 2022-04-14 14:01:01 +03:00
Marius Stanciu
ff954c4f62 - in Geometry Editor for the Path tool fixed an issue with path projection when changing the grid size while the Path tool is active 2022-04-14 03:20:54 +03:00
Marius Stanciu
dd4a0dac99 - in Geometry Editor for the Path tool but only when using the 3D engine graphic mode, the mouse cursor is followed by position data 2022-04-14 02:42:07 +03:00
Marius Stanciu
b049a64684 - in Geometry Editor added a new feature. While drawing a 'Path' now the user can project a direction by moving the mouse cursor in a certain direction and after that by typing a number or an arithmetic simple expression, a line segment will be drawn in that direction with the specified length from the last point 2022-04-14 01:00:20 +03:00
Marius Stanciu
716dddb851 - in Geometry Editor made sure that the MultiPolygon shapes (like those made by the Text Tool) will update the coordinates in the UI 2022-04-13 20:12:54 +03:00
Marius Stanciu
804786c6c2 - in Geometry Editor - fixed the Explode tool to work on the result of adding Text geometry
- all the Geometry Editor plugins are moved inside another folder and the UI's are moved into their own class
2022-04-13 18:33:05 +03:00
Marius Stanciu
f60919f4c7 - in Geometry Editor - update (some reformatting and adding shape data) 2022-04-13 15:25:34 +03:00
Marius Stanciu
fcdb318c23 - fixed the display of lines in Distance Plugin when using 'snap to' together with 'multipoint' 2022-04-13 03:22:12 +03:00
Marius Stanciu
f3af785769 Merge remote-tracking branch 'origin/Beta_8.995' into Beta_8.995 2022-04-11 15:41:03 +03:00
Marius Stanciu
b0b2c8e7f5 - some fixes to the Tcl commands contribution from Ali Khalil
- refactoring code in Distance Plugin and making sure that the measurements are done correctly - work in progress
2022-04-07 14:58:16 +03:00
Ali Khalil
319283cdd0 Merged in Beta_8.995_ali (pull request #21)
Fixed TCL Cutout and GeoCutout and added support for newer gap options

Approved-by: Marius Stanciu
2022-04-06 09:19:52 +00:00
Ali Khalil
75ac180aad Updated cutout command help text to reflect options 2TB, 2LR, and 8 2022-04-06 06:53:52 +03:00
Ali Khalil
d0fe92e5d1 TCL cutout command new switch -type accepting rect and any 2022-04-06 06:41:24 +03:00
Marius Stanciu
6e2bd97350 Merge remote-tracking branch 'origin/Beta_8.995' into Beta_8.995 2022-04-05 14:49:21 +03:00
Ali Khalil
4bbe3b4c49 Minor change. Error tag updated 2022-04-04 09:40:42 +03:00
Ali Khalil
86cba9b4a1 TclCommandGeoCutout updated with gap options in uppercase to match ToolCutOut and TclCommandCutout. 2022-04-04 09:40:42 +03:00
Ali Khalil
16a013266b TclCommandCutout now uses CutOut.rect_cutout_handler for gaps 2022-04-04 09:40:42 +03:00
Marius Stanciu
a59f996819 - some reformatting and class rename
- when clicking the coordinates toolbars in the status bar now the Distance Plugin is shown and if already displayed, it is closed (toggle action)
2022-04-03 15:06:36 +03:00
Marius Stanciu
1b9e2feb75 - in Cutout Plugin exposed the any_cutout_handler() method and made sure that the gaps parameter case does not matter 2022-04-03 12:18:02 +03:00
Marius Stanciu
80a699693f - make sure that replotting objects is done only for enabled objects 2022-04-02 21:21:05 +03:00
Marius Stanciu
d7fd4dc8f2 - minor fix in Fiducials Plugin 2022-04-02 15:55:23 +03:00
Marius Stanciu
72d39f09fb - in Fiducials Plugin, for manual mode: added utility geometry and the ability to use a big cursor 2022-04-02 15:50:00 +03:00
Marius Stanciu
f388c51eb4 - in Markers Plugin, added a numeric mode 2022-04-02 08:22:33 +03:00
Marius Stanciu
0f0fa88451 - in Markers Plugin, for the manual mode added the choice to use a big cursor when manual placing markers 2022-04-01 01:16:24 +03:00
Marius Stanciu
ff52630394 - in Punch Gerber Plugin if no Gerber object is selected then the first Gerber object in the project list is selected (if any); fixed aperture marking in Punch Gerber Plugin
- in Punch Gerber and Extrat plugins, clean up the aperture markings on Plugin exit
2022-03-31 23:52:57 +03:00
Marius Stanciu
8e18669249 - fixed aperture marking in Extract Plugin
- in Extract Plugin if no Gerber object is selected then the first Gerber object in the project list is selected (if any)
2022-03-31 23:28:08 +03:00
Marius Stanciu
ada48269a9 - refactored the imports in the Plugins, moved almost all imports in the AppTool file
- fixed a number of issues, mostly leftovers from moving the UI of a Plugin in its own class
- fixed some bugs in the Punch Gerber plugin
- fixed some bugs where the 'pool' parameter was not passed when creating shapes collections (in 3D graphic mode); I wonder how it worked until now
- added a new feature in the Isolation Plugin: now for all the isolation Geometry objects this plugin can do a supplementary simplification of the geometry using the tolerance parameter defined in the General Parameters. This should lead to a reduced number of tool lifts when doing corners
2022-03-31 19:28:19 +03:00
Marius Stanciu
cd52f1a00d - minor comment 2022-03-31 14:31:54 +03:00
Marius Stanciu
e1824a09f7 - make sure that the state of the workspace is saved correctly on change 2022-03-31 11:40:50 +03:00
Marius Stanciu
c4151631ec - changed the app main icons, hopefully they are more visible on black backgrounds than the ones that FlatCAM has 2022-03-31 11:28:35 +03:00
Marius Stanciu
5de1144565 - when doing PDF printing, the cncjob objects are prioritized and placed on top of Gerber objects 2022-03-30 18:18:07 +03:00
Marius Stanciu
69a1052a44 - when doing PDF printing and no object is selected now the default action is to print everything that fits within the workspace 2022-03-30 18:08:47 +03:00
Marius Stanciu
7f9a23c41c - improved how the PDF printing works: now the Excellon files are always on top and from the rest of objects the first selected is on top, below the Excellons 2022-03-30 17:57:41 +03:00
Marius Stanciu
c0b3f6ebde - some minor changes in Distance Plugin
- when changing workspace orientation fixed leaving behind the old frame on the cavnas
2022-03-30 17:41:22 +03:00
Marius Stanciu
98a5d0ff81 - in Distance Plugin: "snap to center" feature now works outside the Editors too (for Gerber object pads and Excellon object drill holes) 2022-03-30 16:23:22 +03:00
Marius Stanciu
f8bf9dee78 - in Distance Plugin: added a new way to display the angle (angles between 181° and 359° are subtracted from 360°) 2022-03-30 12:43:34 +03:00
Marius Stanciu
40ba41264e - in Distance Plugin made sure that the grid snapping restore is working properly (previously it always restored it to the ON state)
- the HUD display is no longer default active on new installations
2022-03-30 12:32:08 +03:00
Marius Stanciu
c69f9dc2d9 - a minor fix in the Plotcanvas() class
- fixed the OR-tools path optimization (it required now a cast to int when creating the distances' matrix)
2022-03-30 01:30:07 +03:00
Marius Stanciu
727c801f0a - in Distance Plugin, fixed the Snap to center feature to work as intended 2022-03-29 03:13:43 +03:00
Marius Stanciu
a3f9d7c248 - added ability to change the mouse cursor color on the fly
- in Distance Plugin made sure that the 'big cursor' (when is used) is black in color (visible in most situations)
- in Distance Plugin, for the 2D graphic mode activated the utility line
2022-03-29 02:14:44 +03:00
Marius Stanciu
aefd66f02b - in the Film Plugin fixed an error which triggered an unwanted 'length' scaling 2022-03-28 22:22:04 +03:00
Marius Stanciu
a8d68ed400 - in Distance Plugin finished the 'big cursor' feature 2022-03-28 20:15:33 +03:00