Commit Graph

55 Commits

Author SHA1 Message Date
Daniel Wood
aafd630a9c Don't try deleting tool tables when none exist. 2019-09-09 20:26:55 +01:00
Daniel Wood
2b46157bc6 Make sure the tool current tool table gets set. 2019-09-09 20:19:46 +01:00
Daniel Wood
ddcc16a4d9 Check there is preference data before attemping to load it. 2019-09-09 18:52:47 +01:00
Daniel Wood
ac1a567ef6 Move the ToolLibraryEditor code to its own file 2019-09-05 21:28:48 +01:00
Daniel Wood
7394414ad5 Tidy up / remove unused code 2019-09-05 21:04:40 +01:00
Daniel Wood
743086d02a 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
aac07898e1 clean up comments 2019-09-05 21:01:58 +01:00
Daniel Wood
6e64182265 Allow editing and duplication of tools 2019-09-05 21:01:58 +01:00
Daniel Wood
e8ff138767 Only show essential tool data in the tool table 2019-09-05 21:01:58 +01:00
Daniel Wood
23c3bfb163 clean up unused code 2019-08-26 21:27:06 +01:00
Daniel Wood
7c74411c32 Return document jobs for copy commands
Return the document jobs when creating tool controllers.
2019-08-26 21:24:44 +01:00
Daniel Wood
d34ee627d8 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
f181565a40 Check there is preference data before reading it 2019-08-26 07:59:09 +01:00
Dubstar_04
2f478e5a58 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
f9a591b06d Allow multiple Tool Tables
Allow path to hold multiple tool tables
2019-08-26 07:59:09 +01:00
Markus Lampert
6410393092 switched to pylint3 and fixed additional warnings 2019-07-01 15:32:54 -07:00
Markus Lampert
a3d2da12f0 Some more pylint warning cleanup 2019-07-01 15:29:51 -07:00
markus
58e25d463e Use regular 'w' mode when writing text files for py3 compatibility. 2019-01-30 10:12:00 -02:00
Markus Lampert
096c21f338 Fixed indexing dictionary keys 2019-01-05 12:30:40 +01:00
Markus Lampert
c0cfbc2911 Consolidated path tool editor and added customized support for endmill, drill and v-bit. 2018-07-06 22:08:46 -07:00
pekkaroi
d2e331146b Path: Consolidate available tool types and material types to one place. Fixes issue #3335 2018-02-01 22:16:46 +01:00
Markus Lampert
d52fc9ef84 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
d93023981d Python version independent string and unicode handling. 2017-10-22 12:01:35 -07:00
Markus Lampert
f31d42c875 Fixed class name typo - thanks pylint. 2017-09-26 10:51:17 -03:00
Markus Lampert
78a6d004f1 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
f5a2442662 Added version support to all JSON exports. 2017-09-21 10:29:35 +02:00
Markus Lampert
ce43e688fa Added full JSON file format support to ToolLibraryManager. 2017-09-21 10:29:35 +02:00
Markus Lampert
837b07ced8 Changed default tooltable to be stored in json format - automatically converted on first access. 2017-09-21 10:29:35 +02:00
Markus Lampert
401b734006 Add tool controller support with inplace editing. 2017-09-08 12:25:58 +02:00
Markus Lampert
52590318ad 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
abe2a15a37 Fixed ToolController creation when there are multiple jobs. 2017-08-08 18:31:01 -03:00
PLChris
bd85cc5399 Fix tooltable xml import 2017-06-28 22:05:07 +02:00
Markus Lampert
fb5ca9d77b Renamed LoadTool to ToolController. 2017-06-21 11:41:34 -07:00
Markus Lampert
a22b314a99 Replaced Tooltable with Tool in the TC;
Added PropertyTool;
Fixed sanity check.
2017-06-21 11:41:34 -07:00
Itai Nahshon
b5a82693ce Use the current UnitsSchema for the tool table. 2017-06-18 17:11:49 +02:00
Peter Lama
ce95183fad Path: py3 fixes
Needed for unit tests to pass
2017-06-18 16:33:20 +02:00
Markus Lampert
8936814910 Fixing translate refactoring error. 2017-06-05 12:02:12 -03:00
Markus Lampert
af699ab7e2 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
ea49943a8f Moved almost all translate implementations away from QtGui. 2017-06-03 15:37:41 -07:00
sliptonic
c501a1e234 Path: add linuxcnc export for tooltable 2017-03-21 10:27:51 -03:00
sliptonic
4ce609e31d Path: ToolLibraryManager copy button is smarter. 2017-03-21 10:27:51 -03:00
sliptonic
c57ca9f351 Path: bug fixes 2017-03-21 10:27:51 -03:00
sliptonic
24d7bf7e78 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
dfe21f8e22 Path: make toolcontrollers seamless 2017-03-21 10:27:51 -03:00
Kurt Kremitzki
be2a827a69 Update Path to py3-compatible printing 2017-01-30 10:21:22 +01:00
Sebastian Stetter
70040e01c4 PATH: Fix for x10 input field issue in tool table 2017-01-15 17:39:37 +01:00
Dan Falck
a8faace098 PATH:units added Gui::InputField to some parms
old spinboxes were not aware of units so I substituted in the custom FreeCAD Gui:InputField on countour, profile, profile edges, and pocket operations.
2016-12-24 17:28:40 -08:00
Dan Falck
bed7eca0b7 PATH:Tooledit:support for units
connected units to ToolEdit and listview in the tooltable library
2016-12-23 17:17:22 -08:00
Dan Falck
f80c9a8394 Path:wip on tl edit dialog and units 2016-12-19 07:40:25 -08:00
sliptonic
92c2dce16d PATH: More reasonble defaults for new tools 2016-12-11 12:47:56 -06:00