Commit Graph

3669 Commits

Author SHA1 Message Date
Marius Stanciu
4539d22329 - for Excellon, Geometry and Gerber objects now in the Object UI (Properties Tab) by default the Offset field is populated with the coordinates of the center of the current object 2021-01-08 04:01:10 +02:00
Marius Stanciu
bd1d48bde0 - some changes in PreferencesManager due of Milling Tool changing names of the geometry defaults to tools_mill_ defaults 2021-01-08 03:47:24 +02:00
Marius Stanciu
641a48bc9a - added the toggle button for Beginner/Advanced mode for the CNCjob, Geometry, Gerber, Excellon Objects UI (Properties Tab) 2021-01-08 03:27:14 +02:00
Marius Stanciu
9c270ba83d - fixed issue #489 - missing pywin module requirement in the requirements.txt file 2021-01-06 23:39:21 +02:00
Marius Stanciu
f1c216478c - fixed the export_dxf and export_svg Tcl commands 2021-01-06 21:57:17 +02:00
Marius Stanciu
7e66c86187 - in NCC Tool fixed issue #486 where creating Area Selection shapes of type Square with Grid snap OFF will not use the first click position
- fixed a bug in Paint Tool when doing Painting Area Selection and nothing is no polygon is in the selections to be painted
- fixed Isolation, Paint and NCC Tools to use the Tool Type parameter from Preferences on adding new tools and also setting the 'type' key in tools dict correctly
2021-01-06 21:30:00 +02:00
Marius Stanciu
8bd542c1fc - for QRCode and Subtraction Tools added also a Beginner/Advanced mode 2021-01-06 15:34:20 +02:00
Marius Stanciu
e016bf0224 - allowed some more parameters to have negative values (tool diameters especially)
- some more tools now have a Beginner/Advanced mode
2021-01-06 15:05:22 +02:00
Marius Stanciu
ca8db9cacd - changing some parameters from 'geometry_' to 'tools_mill_' format 2021-01-05 06:20:13 +02:00
Marius Stanciu
92ba4b9a81 - Levelling Tool - minor changes 2021-01-04 23:22:32 +02:00
Marius Stanciu
2aab71e037 - Levelling Tool - disable the UI if the Gcode is not segmented for autolevelling (perhaps recreate the GCode as segmented?)
- in camlib.CNCjob class fixed the linear2gcode_extra() method to be able to do GCode segmentation.
2021-01-04 16:52:23 +02:00
Marius Stanciu
e726899167 - added a new parameter to the New Tcl command named -reset. If set False (or 0) the TCL instance will not be recreated, allowing to keep the TCL variable content on the new project.
- included the modifications from PR #336 from Andre Spahlinger
2021-01-04 00:44:57 +02:00
Marius Stanciu
f9b3cb0794 - fixed the Tcl Commands: new_geometry, new_gerber and new_excellon to create correct objects. New Geometry object created with the new_geometry Tcl command accept now the usage of add_circle/polygon/polyline/rectangle Tcl commands
- updated the autocompleter list for the Tcl commands with missing Tcl commands names
- added three new Tcl Commands: add_aperture (adds an aperture to a Gerber object), add_drill and add_slot (add a drill/slot to an Excellon object)
2021-01-03 19:58:46 +02:00
Marius Stanciu
bc8b2e3b3a - Levelling Tool - changed the Beginner mode
- Levelling Tool - moved all the Levelling Preferences into its own category
2021-01-02 22:40:11 +02:00
Marius Stanciu
230b8b9f3a - moved all the Levelling stuff out of the CNCjob Properties Tab to its own tool, Levelling Tool. The functionality itself is not finished yet. 2021-01-02 22:04:05 +02:00
Marius Stanciu
3995080503 - applied the changes from Andre Spahlinger from PR's #332 and #334 2021-01-02 17:17:53 +02:00
Marius Stanciu
f5751d3f59 - removed the 'machinist setting' and allow all over the app the usages of both negative and positive values (where it is the case) 2021-01-02 16:53:50 +02:00
Marius Stanciu
1a53dd80b4 - added needed 'testresources' module in the setup_ubuntu.sh script - Hans Boot contribution 2020-12-31 19:40:22 +02:00
Marius Stanciu
c27a69d5c1 - fixed issue with not being able to mill holes in a Excellon object part of a loaded project (JSON serialization makes all keys in dictionary strings so I had to make sure that the obj.tools dict keys are made integers on project reconstruction) 2020-12-31 19:29:56 +02:00
Marius Stanciu
fd1aa7bd3b - fixed a string ("Penelization Reference") translations by Hans Boot contribution. 2020-12-31 18:46:55 +02:00
Marius Stanciu
7dbd59ff77 - fixed a string ("Penelization Reference") by Hans Boot contribution. 2020-12-31 18:24:13 +02:00
Marius Stanciu
737f1cb7ba - fixed parseDXF() class imports to work with newer versions of ezdxf module (starting with 0.15) - contribution of Maurizio D'Addona and Hans Boot 2020-12-31 18:12:42 +02:00
Marius Stanciu
e5cc47882f - replaced all usages of QFormLayout with QGridLayout 2020-12-31 18:03:43 +02:00
Marius Stanciu
841f3f5fa3 - added the modifications made by Andre Spahlinger in PR #333 2020-12-31 06:07:11 +02:00
Marius Stanciu
9dfa3b497d - all the logs done on Exception are now errors (with the exception of few places where the Exception is expected) 2020-12-31 05:56:46 +02:00
Marius Stanciu
da143eb29f - fixed the issue with not saving the project on program close if selecting the 'Yes' option. 2020-12-31 04:58:51 +02:00
Marius Stanciu
bf165032a3 - fixed error in Gerber Editor
- made some more log.debug messages visible in Tcl Shell
2020-12-30 05:52:35 +02:00
Marius Stanciu
7e35575b2d - fixed issue #478 - Tcl Command 'New' updated 2020-12-29 00:02:09 +02:00
Marius Stanciu
34d619f737 - Gerber Editor - Import Shape sub-tool finished (by adding selection by dragging a selection box) 2020-12-28 22:20:41 +02:00
Marius Stanciu
e1149a0f5e - Gerber Editor - added a status message for the Import Shape sub-tool 2020-12-27 21:28:01 +02:00
Marius Stanciu
b328566ec1 - Gerber Editor - finished the Import Shape sub-tool single shape select feature 2020-12-27 21:22:10 +02:00
Marius Stanciu
ab7eca7b7d - Gerber Editor - working on a new sub-tool: Import Shape which should allow importing polygons from other Gerber objects 2020-12-27 01:26:52 +02:00
Marius Stanciu
1495624a9e - Geometry Editor - added the label Beginner/Advanced for uniformity within the app
- minor string changes
2020-12-25 21:46:18 +02:00
Marius Stanciu
09acabc0c1 - Geometry Editor - added a Beginner/Advanced toggle button
- Geometry Editor - made sure that on right clicking in the Table the geometric element associated with the row under mouse cursor is selected
2020-12-25 21:35:43 +02:00
Marius Stanciu
a8bd111731 - GCode Editor - added a Beginner/Advanced toggle button 2020-12-25 21:03:33 +02:00
Marius Stanciu
8e40ddfab0 - merged PR by Dmitriy Klabukov and expanded it a bit
- Gerber Editor - made sure that when simplification button is clicked the coordinates and vertex points field are cleared
- Gerber Editor - added a Beginner/Advanced toggle button
- Gerber Editor - added context menu to Apertures Table and also on row selection in Aperture Table, the area and vertex number fields are updated
- Excellon Editor - added a Beginner/Advanced toggle button; added context menu to Apertures Table
- Excellon Editor - fixed the Tools Table row selection handler
2020-12-25 20:51:17 +02:00
Marius Stanciu
89050a7b9b - Dwell and Dwell Time parameters are visible in Beginner Mode 2020-12-23 05:52:10 +02:00
Marius Stanciu
b2035aca34 - minor changes to the syntax highlighting in GCode Editor 2020-12-22 05:00:00 +02:00
Marius Stanciu
b7c2bc8fbd - made sure that the GCode Editor does not have a misleading Cancel option when closing the tab
- made sure that some other part of the program outputs the log messages to the Tcl Shell if the Verbose Log options is set in Preferences
2020-12-21 18:25:12 +02:00
Marius Stanciu
73f5350f66 - in verbose log made the messages in Tcl Shell to be displayed in gray color and to include the date 2020-12-20 21:58:31 +02:00
Marius
a344dd4367 Merge remote-tracking branch 'origin/Beta_8.995' into Beta_8.995 2020-12-20 16:56:36 +02:00
Marius Stanciu
3a97cd3880 - modified the way the status bar icon is set
- Drilling Tool - fixed missing feedrate code when the toolchange is Off
- AppTextEditor - working on syntax highlighting
- App - trying to speed up the new project creation
- Tcl Shell - Browser Edit - added Undo/Redo, Cut and Delete selection
- replace all the exec_() calls with exec() (except one situation in Tcl where I'm not sure of the effect)
2020-12-20 16:56:14 +02:00
Marius Stanciu
839ac35caf - Gerber Editor - when doing a selection of polygons, the displayed area is now the cummulated value 2020-12-18 16:15:14 +02:00
Marius Stanciu
88b4a4dbba - fixed the Tcl command export_gcode to return the actual gcode 2020-12-18 01:12:14 +02:00
Marius Stanciu
3a95e53d59 - Gerber parser - when simplification is used, the tolerance value will be adjusted by dividing it with 25.4 if the file units are imperial 2020-12-17 04:06:55 +02:00
Marius Stanciu
66bb202a17 - in ParseGerber class fixed simplification controlled by the Preferences parameter
- in ParseGerber class made logs use the self.app.log handler which in turn can output messages in the Tcl Shell
2020-12-15 17:52:07 +02:00
Marius Stanciu
a785aabdcc - modified the way that the plotcanvas widget is added 2020-12-15 16:34:37 +02:00
Marius Stanciu
2d6b78d28c - Gerber Editor - the vertex number points are now calculated also for a selection of shapes
- Geometry Editor - the vertex number points are now calculated also for a selection of shapes
- Geometry Editor - made sure that the shapes cannot be selected while the simplification is in process because it will mess things
2020-12-14 20:08:33 +02:00
Marius Stanciu
21d1569c03 - modified the centering in origin functionality to include a selection of choices in a dialog
- fixed Locate in Object functionality to work in the situations where there are negative bounds values
2020-12-14 18:41:54 +02:00
Marius Stanciu
66bd61305f - added new functionality: centering in origin for a selection of objects
- for all centering functionality, now if the moved object is of 'geometry' kind it will have the source_file attribute updated with DXF code
2020-12-14 17:29:36 +02:00