Commit Graph

19 Commits

Author SHA1 Message Date
Adam Coddington 8f22fe7e5c Replicating fixes from TclCommandMillDrills.
TclCommandMillSlots was clearly based upon TclCommandMillDrills,
and several fixes have been received over the last year for
TclCommandMillDrills that are also necessary for this command.

See these commits for the fixes applied here:

- 0488337672
- 980339e917
- 40f5bf9c12
2021-02-23 13:44:55 -08:00
Marius Stanciu 9f13b47077 - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute
- removed the import of the whole FlatCAMApp file only for the usage of GracefulException
- remove the import of FlatCAMApp and used alternate ways
- optimized the imports in some files
- moved the Bookmarksmanager and ToolDB classes into their own files
- solved some bugs that were not so visible in the Editors and HPGL parser
- split the FlatCAMObj file into multiple files located in the flatcamObjects folder and renamed the contained classes with names more suggestive
- updated the Google Translation for the German language
2020-04-27 12:34:56 +03:00
Marius Stanciu 66d9ddd402 - fixed some bugs in the Tcl Commands
- modified the Tcl Commands to be able to use as boolean values keywords with lower case like 'false' instead of expected 'False'
2020-04-22 14:37:03 +03:00
Marius Stanciu 8a299e8fc8 - multiple fixes in the Tcl commands (especially regarding the interchange between True/false and 1/0 values)
- updated the help for all Tcl Commands
- in Tcl Shell, the 'help' command will add also a brief description for each command in the list
2020-04-13 19:15:20 +03:00
Marius Stanciu 42949021b1 - fixed the Tcl Command Delete to have an argument -f that will force deletion evading the popup (if the popup is enabled). The sme command without a name now will delete all objects
- fixed the Tcl Command JoinExcellons
- fixed the Tcl Command JoinGeometry
- fixed the Tcl Command Mirror
- updated the Tcl Command Mirror to use a (X,Y) origin parameter. Works if the -box parameter is not used.
- updated the Tcl Command Offset. Now it can use only -x or -y parameter no longer is mandatory to have both. The one that is not present will be assumed 0.0
- updated the Tcl Command Panelize. The -rows and -columns parameters are no longer both required. If one is not present then it is assumed to be zero.
- updated the Tcl Command Scale. THe -origin parameter can now be a tuple of (x,y) coordinates.
- updated the Tcl Command Skew. Now it can use only -x or -y parameter no longer is mandatory to have both. The one that is not present will be assumed 0.0
- updated the help for all the Tcl Commands
2020-04-09 04:13:04 +03:00
Marius Stanciu e54dd14e6c - updated Tcl commands to make use of either 0 or False for False value or 1 or True for True in case of a parameter with type Bool 2019-12-08 22:11:39 +02:00
Marius Stanciu 0d0f872244 - application wide change: introduced the precision parameters in Edit -> Preferences who will control how many decimals to use in the app parameters 2019-12-05 15:18:54 +02:00
Marius Stanciu d03428f860 - made sure that the units are read from the self.defaults and not from the GUI
- added Robber Bar option to Copper Thieving Tool
2019-11-24 00:31:41 +02:00
Marius Stanciu 70d123306c - in Tools Database added a contextual menu to add/copy/delete tool; CTRL+C, DEL keys work too; key T for adding a tool is now only partially working
- in Tools Database made the status bar messages show when adding/copying/deleting tools in DB
- changed all Except statements that were single to except Exception as recommended in some PEP
- renamed the Copper Fill Tool to Copper Thieving Tool as this is a more appropriate name; started to add ability for more types of copper thieving besides solid
- fixed some issues recently introduced in ParseSVG
- updated POT file
2019-11-11 02:35:42 +02:00
Marius Stanciu d0e5b6c83a - fixed imports in all TclCommands 2019-10-25 02:10:52 +03:00
Marius Stanciu b00c1018e4 - enhanced the Tool Film adding the Film adjustments and added the GUI in Preferences
- set the GUI layout in Preferences for a new category named Tools 2
2019-10-13 18:13:39 +03:00
Marius Stanciu 8cba74647f - made all TclCommands not to be plotted automatically
- made sure that all TclCommands are not threaded
2019-09-16 01:39:11 +03:00
Marius Stanciu d22592e64c - small changes in the TclCommands: MillDrills, MillSlots, DrillCNCJob: the new parameter for tolerance is now named: tooldia
- cleaned up the 'About FlatCAM' window, started to give credits for the translation team
2019-09-12 17:28:56 +03:00
Marius Stanciu 8e2cca827a - added a new parameter in the TclCommands: DrillCNCJob, MillDrills, MillSlots named tol (from tolerance). If the diameters of the milled (drilled) dias are within the tolerance specified of the diameters in the Excellon object than those diameters will be processed. This is to help account for rounding errors when having units conversion 2019-09-12 02:07:32 +03:00
Marius Stanciu 90b9e2da05 - modified the TclCommand DrillCncJob to have as parameter a list of tool diameters to be drilled instead of tool indexes 2019-09-11 21:40:18 +03:00
Marius Stanciu 90a8b44cdf - fixed some minor errors in the new TclCommands: MillDrills and MillSlots 2019-09-11 17:59:24 +03:00
Marius Stanciu dce347d9be - changed the resulting object name from TclCommand MillSlots 2019-09-11 17:51:56 +03:00
Marius Stanciu 0fc3743e91 - modified the MillDrills and MillSlots TclCommands to accept as parameter a list of tool dimaeters to be milled instead of tool indexes 2019-09-11 17:50:52 +03:00
Marius Stanciu 1ef9e95143 - changed the name of TclCommand MillHoles to MillDrills and added a new TclCommand named MillSlots 2019-09-11 17:34:01 +03:00