Commit Graph

49 Commits

Author SHA1 Message Date
Russell Johnson
16489777d2 Path: Add debug comments and comment out unused code 2021-07-16 11:54:13 -05:00
Russell Johnson
aec0bb1329 Path: Fix relative paths for bit path attributes in library files 2021-07-16 11:54:13 -05:00
Russell Johnson
b6b08a5a2e Path: Add internal comments to code 2021-07-16 11:54:13 -05:00
Russell Johnson
5b83cece9a Path: Add tools README.md file to tools working directory on install
This code copies all files in the default (program install location) Path\Tools folder to the user's working tools folder when they setup the ToolBit working directories for the first time.
2021-07-16 11:54:13 -05:00
Lee Jones
f6cd296ddb 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
dd9b32f992 fix index bug in toolbit directory creation 2021-01-27 10:27:12 -06:00
sliptonic
3a3adc7dee fix bug when declining the creation of workdir subdirectories. 2021-01-26 18:14:09 -08:00
sliptonic
6ae29e4bdb make initial path defaults slightly more intuitive 2021-01-26 18:14:09 -08:00
sliptonic
478a465f64 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
a4ae613b46 library file path bugs 2021-01-26 18:14:09 -08:00
Markus Lampert
ea4bb17569 Don't enforce working dir setup and don't copy toolbit shapes 2021-01-26 18:14:09 -08:00
Markus Lampert
bf3c75a9e3 Added full toolbit library path as tool-tip 2021-01-26 18:14:09 -08:00
Markus Lampert
fccc7e6875 Adapted client code to use new findTool... api and fixed test cases. 2021-01-26 18:14:09 -08:00
Markus Lampert
61929d8778 Load PathGui in all modules which require gui resources to be loaded 2021-01-26 18:14:09 -08:00
Markus Lampert
202608e77b Consistent TC naming/labeling, regardless of how created. 2020-12-13 11:31:58 -08:00
sliptonic
292a711922 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
aeafcec125 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
5a0e0bada6 PR review suggestions and fixes 2020-12-01 09:43:45 -06:00
sliptonic
daea1f53da [path] make toolbit reject invalid filenames
help user create toolbit working location
2020-11-30 15:32:28 -06:00
sliptonic
3a8f40a458 fix 'add' button in Job task panel
fix chamfer bit
lgtm cleanup
2020-11-19 17:10:50 -06:00
sliptonic
dbf3ebeabe Handle errors is toolbit json more gracefully 2020-11-15 18:22:45 -06:00
sliptonic
cbc8524ff9 Make Toolbit find Bit files relative to the current library directory 2020-11-15 18:22:45 -06:00
sliptonic
1672a33647 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
d563530c3c Removed diameter dependencies so lathe tools work 2020-11-15 18:22:45 -06:00
sliptonic
5c47912cc1 Better cleanup on new toolbit creation 2020-11-15 18:22:45 -06:00
sliptonic
e335fe5384 Editing Works 2020-11-15 18:22:45 -06:00
sliptonic
b556aa47de 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
60c055e62d 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
22f4f2ba2f Path: remove fstrings to maintain xenial compatibility 2020-05-02 13:42:22 -05:00
Patrick F
9335078fc1 Added some comments 2020-04-25 22:45:43 +02:00
Patrick Felixberger
e960d0af0c Updated Toolbits UI 2020-04-22 23:41:10 +02:00
Patrick Felixberger
5df3bd337e Rearranged UI and improved library handling 2020-04-21 23:01:17 +02:00
Patrick F
322e637cc8 Added confirm dialog for table delete 2020-04-12 00:49:09 +02:00
Patrick F
cb293618cf Improved error handling 2020-04-11 19:27:37 +02:00
Patrick F
901d2f90aa Add tool table list to UI 2020-04-10 22:10:35 +02:00
sliptonic
b48d67976f user attributes kinda works. Hacked. 2020-04-07 10:09:34 -05:00
sliptonic
7d04aa5028 checkpoint 2020-04-07 10:09:34 -05:00
sliptonic
e26f57b48f linuxcnc tool table exporter 2020-04-07 10:09:34 -05:00
sliptonic
929797c6ef revise library editor 2020-04-07 10:09:34 -05:00
Markus Lampert
c6f14b9836 Added support for relative/absolute path mgmt for stored files. 2019-11-28 17:31:37 -08:00
Markus Lampert
119730e4a8 Reduced log level for tool bits 2019-11-28 17:31:37 -08:00
Markus Lampert
9910600799 Fixed some pylint issues and whitelisted some 2019-11-28 17:31:36 -08:00
Markus Lampert
db1f97b16e Renamed BitTemplate to BitShape for clarity 2019-11-28 17:31:36 -08:00
Markus Lampert
d625303b71 Added JobTemplate support for ToolBit 2019-11-28 17:31:36 -08:00
Markus Lampert
adc5aec98f Added ToolBit library commands 2019-11-28 17:31:36 -08:00
Markus Lampert
3fdd505e3f Fixed horizontal headers and removed obsolete test slots 2019-11-28 17:31:36 -08:00
Markus Lampert
7dd17b62a6 Fixed ToolBitLibrary json format 2019-11-28 17:31:36 -08:00
Markus Lampert
d0b8f34ba5 Added library commands and drag&drop for rearranging and copying of tools 2019-11-28 17:31:36 -08:00
Markus Lampert
97904d0bf2 Basic ToolBitLibrary edit dialog 2019-11-28 17:31:36 -08:00