Commit Graph

45 Commits

Author SHA1 Message Date
Lee Jones 6ba2d3ac48 PathToolBitLibraryGui: Fix LinuxCNC tool table format
The currently exported tool table for LinuxCNC results in the following warning:

  "Requested tool 1 not found in the tool table"

The debug output provides:

  "File: default_tool_table.tbl Unrecognized line skipped: \
      T1 P X0 Y0 Z0 A0 B0 C0 U0 V0 W0 D4.00 I0 J0 Q0;      \
      4mm_2F_Compression_Carbide_Endmill"

This is due to a missing/blank P (pocket) entry.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
2021-02-14 17:56:32 +00:00
sliptonic 4dd4783702 fix index bug in toolbit directory creation 2021-01-27 10:27:12 -06:00
sliptonic 231ad8f969 fix bug when declining the creation of workdir subdirectories. 2021-01-26 18:14:09 -08:00
sliptonic f26e631ab6 make initial path defaults slightly more intuitive 2021-01-26 18:14:09 -08:00
sliptonic c1202c3afa check working dir on dock open as well as manager open.
use os.path.sep liberally
choose the first library if no other is selected
2021-01-26 18:14:09 -08:00
sliptonic c815115cae library file path bugs 2021-01-26 18:14:09 -08:00
Markus Lampert 8c4dfacb27 Don't enforce working dir setup and don't copy toolbit shapes 2021-01-26 18:14:09 -08:00
Markus Lampert c7fd08f858 Added full toolbit library path as tool-tip 2021-01-26 18:14:09 -08:00
Markus Lampert 3ec542b071 Adapted client code to use new findTool... api and fixed test cases. 2021-01-26 18:14:09 -08:00
Markus Lampert eae6c32ce8 Load PathGui in all modules which require gui resources to be loaded 2021-01-26 18:14:09 -08:00
Markus Lampert 1511fae5fe Consistent TC naming/labeling, regardless of how created. 2020-12-13 11:31:58 -08:00
sliptonic 60e1d7a7f7 Merge pull request #4096 from sliptonic/bug/toolbit
[path]  make toolbit reject invalid filenames and prompt user for valid toolbit working location
2020-12-02 08:51:49 -06:00
luz paz fe547195bf Path: Change filenames in the rest of the Path code
Reflects changes in 
* PathOpGui.SetupOperation()
* GetResources()
* sPIxmap
* pixmap
* *.UI files

Also contains minor translation context renames (these were edits made near to original intent of this commit)
2020-12-02 06:57:28 -05:00
sliptonic af153643f2 PR review suggestions and fixes 2020-12-01 09:43:45 -06:00
sliptonic 3d822cf269 [path] make toolbit reject invalid filenames
help user create toolbit working location
2020-11-30 15:32:28 -06:00
sliptonic 634fce6e35 fix 'add' button in Job task panel
fix chamfer bit
lgtm cleanup
2020-11-19 17:10:50 -06:00
sliptonic 472cb83ae7 Handle errors is toolbit json more gracefully 2020-11-15 18:22:45 -06:00
sliptonic aa59e98b37 Make Toolbit find Bit files relative to the current library directory 2020-11-15 18:22:45 -06:00
sliptonic 7c3300dbf2 Fix duplicate docs being created
fix edit changes not being retained
fix edit removing new toolbit from diretory
2020-11-15 18:22:45 -06:00
sliptonic 0a77421481 Removed diameter dependencies so lathe tools work 2020-11-15 18:22:45 -06:00
sliptonic 88a24475b8 Better cleanup on new toolbit creation 2020-11-15 18:22:45 -06:00
sliptonic 7c4c25ceed Editing Works 2020-11-15 18:22:45 -06:00
sliptonic 0a2183fe4f Basic workflow. No editing
concept dock work
most functions working.
made linuxcnc export work
Fixed some defaults on new install
fixed display label in dock
2020-11-15 18:22:45 -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
sliptonic 684c432050 Path: remove fstrings to maintain xenial compatibility 2020-05-02 13:42:22 -05:00
Patrick F 714d9fecc4 Added some comments 2020-04-25 22:45:43 +02:00
Patrick Felixberger f4328281e2 Updated Toolbits UI 2020-04-22 23:41:10 +02:00
Patrick Felixberger 066bc00b84 Rearranged UI and improved library handling 2020-04-21 23:01:17 +02:00
Patrick F 954590dd4a Added confirm dialog for table delete 2020-04-12 00:49:09 +02:00
Patrick F abea303a88 Improved error handling 2020-04-11 19:27:37 +02:00
Patrick F c94ef27e0d Add tool table list to UI 2020-04-10 22:10:35 +02:00
sliptonic ee520f1013 user attributes kinda works. Hacked. 2020-04-07 10:09:34 -05:00
sliptonic 4030e44e41 checkpoint 2020-04-07 10:09:34 -05:00
sliptonic baba091596 linuxcnc tool table exporter 2020-04-07 10:09:34 -05:00
sliptonic 663d5f3086 revise library editor 2020-04-07 10:09:34 -05:00
Markus Lampert 3b1aa48c11 Added support for relative/absolute path mgmt for stored files. 2019-11-28 17:31:37 -08:00
Markus Lampert fb7551a399 Reduced log level for tool bits 2019-11-28 17:31:37 -08:00
Markus Lampert b182d7b169 Fixed some pylint issues and whitelisted some 2019-11-28 17:31:36 -08:00
Markus Lampert 012732e446 Renamed BitTemplate to BitShape for clarity 2019-11-28 17:31:36 -08:00
Markus Lampert 4230af991e Added JobTemplate support for ToolBit 2019-11-28 17:31:36 -08:00
Markus Lampert aa5e7fe29a Added ToolBit library commands 2019-11-28 17:31:36 -08:00
Markus Lampert 18f3872188 Fixed horizontal headers and removed obsolete test slots 2019-11-28 17:31:36 -08:00
Markus Lampert cb8c847fb9 Fixed ToolBitLibrary json format 2019-11-28 17:31:36 -08:00
Markus Lampert fd629dfc0d Added library commands and drag&drop for rearranging and copying of tools 2019-11-28 17:31:36 -08:00
Markus Lampert 26eabc04d1 Basic ToolBitLibrary edit dialog 2019-11-28 17:31:36 -08:00