Commit Graph

59 Commits

Author SHA1 Message Date
Markus Lampert
8583894284 Remove pylint annotations and script 2022-02-28 21:02:45 -08:00
sliptonic
6aaa531175 Old ToolLibrary translation cleanup 2022-01-22 16:10:34 -06:00
sliptonic
457d963d84 Old toollibrary black 2022-01-22 16:01:58 -06:00
luz paz
b75cd3dd52 Path: Fix header uniformity and remove trailing whitespace
This PR fixes header uniformity across all Path files. It also removes all trailing whitespace.
2020-11-05 19:57:21 +01:00
Daniel Wood
3b4c5549e8 Don't try deleting tool tables when none exist. 2019-09-09 20:26:55 +01:00
Daniel Wood
bdf929533f Make sure the tool current tool table gets set. 2019-09-09 20:19:46 +01:00
Daniel Wood
4858d917b1 Check there is preference data before attemping to load it. 2019-09-09 18:52:47 +01:00
Daniel Wood
36c548e358 Move the ToolLibraryEditor code to its own file 2019-09-05 21:28:48 +01:00
Daniel Wood
fdff47fe3c Tidy up / remove unused code 2019-09-05 21:04:40 +01:00
Daniel Wood
692b615348 Enable tool duplication and moving
Adds tool duplication and drag and drop for moving tools to other tool tables
2019-09-05 21:01:58 +01:00
Daniel Wood
3ad1db6dc7 clean up comments 2019-09-05 21:01:58 +01:00
Daniel Wood
ac3240248e Allow editing and duplication of tools 2019-09-05 21:01:58 +01:00
Daniel Wood
3172baa816 Only show essential tool data in the tool table 2019-09-05 21:01:58 +01:00
Daniel Wood
27d3b57b7b clean up unused code 2019-08-26 21:27:06 +01:00
Daniel Wood
990db1a316 Return document jobs for copy commands
Return the document jobs when creating tool controllers.
2019-08-26 21:24:44 +01:00
Daniel Wood
8faf893f98 Import and opening current tool tables
Handle opening and importing current  (pre-0.19) tool tables.
2019-08-26 20:19:12 +01:00
Dubstar_04
9a5766e451 Check there is preference data before reading it 2019-08-26 07:59:09 +01:00
Dubstar_04
3aec5ca8b8 Make sure the tool list get cleared
Ensure the tool list gets clear when all tooltables are deleted.
2019-08-26 07:59:09 +01:00
Dubstar_04
51f96a40fc Allow multiple Tool Tables
Allow path to hold multiple tool tables
2019-08-26 07:59:09 +01:00
Markus Lampert
f34ac89266 switched to pylint3 and fixed additional warnings 2019-07-01 15:32:54 -07:00
Markus Lampert
64bd8105a6 Some more pylint warning cleanup 2019-07-01 15:29:51 -07:00
markus
0b7c0b93dc Use regular 'w' mode when writing text files for py3 compatibility. 2019-01-30 10:12:00 -02:00
Markus Lampert
cd1ebb1732 Fixed indexing dictionary keys 2019-01-05 12:30:40 +01:00
Markus Lampert
0c71bc9f93 Consolidated path tool editor and added customized support for endmill, drill and v-bit. 2018-07-06 22:08:46 -07:00
pekkaroi
1402e39ba0 Path: Consolidate available tool types and material types to one place. Fixes issue #3335 2018-02-01 22:16:46 +01:00
Markus Lampert
dce9c0e385 Refactored use of iteritems into function to deal with python 2.7 and 3 compatibility. 2017-10-22 18:18:10 -07:00
Markus Lampert
0d4e9d47c9 Python version independent string and unicode handling. 2017-10-22 12:01:35 -07:00
Markus Lampert
16d7fa5d47 Fixed class name typo - thanks pylint. 2017-09-26 10:51:17 -03:00
Markus Lampert
0457b196a2 Changed path tool library manager to use different preference for json library than for xml in order to not break old installations. 2017-09-21 10:29:35 +02:00
Markus Lampert
d1ee60e525 Added version support to all JSON exports. 2017-09-21 10:29:35 +02:00
Markus Lampert
f34b63f570 Added full JSON file format support to ToolLibraryManager. 2017-09-21 10:29:35 +02:00
Markus Lampert
e9222ce9de Changed default tooltable to be stored in json format - automatically converted on first access. 2017-09-21 10:29:35 +02:00
Markus Lampert
a440dabf5d Add tool controller support with inplace editing. 2017-09-08 12:25:58 +02:00
Markus Lampert
8c085226d7 split PathJob into model and gui;
Made PathJob a regular feature and moved operations into child compound;
Added stock feature.
2017-09-08 12:25:58 +02:00
Markus Lampert
6f232720b6 Fixed ToolController creation when there are multiple jobs. 2017-08-08 18:31:01 -03:00
PLChris
18ed89ae6b Fix tooltable xml import 2017-06-28 22:05:07 +02:00
Markus Lampert
8d8ea9979f Renamed LoadTool to ToolController. 2017-06-21 11:41:34 -07:00
Markus Lampert
c4cb45c1b4 Replaced Tooltable with Tool in the TC;
Added PropertyTool;
Fixed sanity check.
2017-06-21 11:41:34 -07:00
Itai Nahshon
03c3db5636 Use the current UnitsSchema for the tool table. 2017-06-18 17:11:49 +02:00
Peter Lama
17031e2a24 Path: py3 fixes
Needed for unit tests to pass
2017-06-18 16:33:20 +02:00
Markus Lampert
f1186599a9 Fixing translate refactoring error. 2017-06-05 12:02:12 -03:00
Markus Lampert
4c3cee03c5 Replaced default context argument with explicit call for pylupdate to pick up the strings and contexts. 2017-06-03 15:37:41 -07:00
Markus Lampert
3368c8682e Moved almost all translate implementations away from QtGui. 2017-06-03 15:37:41 -07:00
sliptonic
8699d14057 Path: add linuxcnc export for tooltable 2017-03-21 10:27:51 -03:00
sliptonic
7d4ae8a851 Path: ToolLibraryManager copy button is smarter. 2017-03-21 10:27:51 -03:00
sliptonic
57da9b70c3 Path: bug fixes 2017-03-21 10:27:51 -03:00
sliptonic
a66e8b434e Path: A possibly il-advised revision to library
# Conflicts:
#	src/Mod/Path/Gui/Resources/panels/DrillingEdit.ui
#	src/Mod/Path/PathScripts/PathDrilling.py
2017-03-21 10:27:51 -03:00
sliptonic
c633e59805 Path: make toolcontrollers seamless 2017-03-21 10:27:51 -03:00
Kurt Kremitzki
e47edae9c3 Update Path to py3-compatible printing 2017-01-30 10:21:22 +01:00
Sebastian Stetter
0f7d4ac46c PATH: Fix for x10 input field issue in tool table 2017-01-15 17:39:37 +01:00