Markus Lampert
934b0aaa07
Consistent black formatting of all Path python files
2022-02-28 21:06:16 -08:00
sliptonic
9f529089ae
Toolbit Translation Cleanup
2022-01-22 17:57:38 -06:00
sliptonic
52a4df3b62
Toolbit black
2022-01-22 17:36:24 -06:00
Russell Johnson
3b392134eb
Path: Add debug comments and comment out unused code
2021-07-16 11:54:13 -05:00
Russell Johnson
6db5c26b98
Path: Fixes #0004647 , relative shape file locations
...
This solution restricts relative shape files to filename only within the toolbit file.
2021-07-16 11:54:13 -05:00
sliptonic
315d4a8026
fix bad string formatting
2021-02-23 19:06:08 -06:00
Alex Young
ca2ecf4248
Path: Removes unused imports from PathToolBit.py
...
lgtm.com showed unused imports in PathToolBit.py. This patch removes them. The tests in TestPathApp still pass.
2021-02-11 13:10:52 +01:00
Markus Lampert
c8d3210ba4
Fixed relative path search for shapes
2021-01-26 18:14:09 -08:00
Markus Lampert
533be4bcd1
Migrate existing toolbits to new property layout.
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
df6de8693e
Changed tool-bit search path to either absolute, local install or relative to context path
2021-01-26 18:14:09 -08:00
Markus Lampert
ac1e863c3e
Added support for enumerations to the tool bit setup and using the property bag editors instead of re-implementing.
2021-01-26 18:14:08 -08:00
Markus Lampert
b41282ebd2
Added tool bit attribute editor back in.
2021-01-26 18:14:08 -08:00
Markus Lampert
de1a64f090
Simplified tool bit editor using property-bags
2021-01-26 18:14:08 -08:00
Markus Lampert
79b63bd521
Add error message if toolbit shape does not contain any extractable properties.
2021-01-26 18:14:08 -08:00
Markus Lampert
6f4df10d4a
Renamed PropertyContainer to PropertyBag, PropertyContainer already is a thing.
2021-01-26 18:14:08 -08:00
Markus Lampert
ad6d463e36
Using property container for endmill attributes.
2021-01-26 18:14:08 -08:00
Markus Lampert
d136394376
Rearranged BitTool shape update so dependent ops don't execute with invalid tool.
2020-12-17 20:27:42 -08:00
Markus Lampert
a5e992f700
Make BitShape read/writeable, so the tool can be edited when shared to a different system
2020-12-17 19:59:44 -08:00
Markus Lampert
3da82fa6af
Hide document when loading a ToolBit.
2020-12-17 19:55:59 -08:00
markus
b7a356cceb
Catch exception if shape file does not include a thumbnail.
2020-12-03 18:15:36 -08: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
234b88cc18
added attribute to Toolbit for spindlepower
...
setting this to false will suppress M3 commands.
User can configure a toolbit to never have the spindle turn on
this is to prevent accidental powering of the spindle with
unpowered tools like dragknife and probe
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
Russell Johnson
31ae323e73
Path: Add ShapeName property to ToolBit objects
...
The new `ShapeName` is the name of the FreeCAD shape file containing the 3D body of the cutter.
We might want to change the source of the `ShapeName` to the name of the first Body object in the shape file, rather than the name of the file itself.
2020-06-16 02:01:30 -05:00
markus
a5ee5819ea
Fixed ToolBit template generation and adapted TC unit test to deal with Tool and ToolBit.
2020-04-29 14:27:51 -07:00
Patrick Felixberger
28227f32dd
Removed some printf
2020-04-28 16:11:28 +02:00
Patrick Felixberger
c2f37f6f59
Merge branch 'master' of https://github.com/FreeCAD/FreeCAD into toolbit-gui
2020-04-20 17:00:18 +02:00
Eric Trombly
7fe094ac02
add lazyloader support
...
lazy_loader is copied to Ext now, modified external imports to lazy_load
add a few more imports to be lazy loaded, think the install path is correct now
[TD]"<" symbol embedded in html
revert changes to path modules for testing
use lazyloader in PathAreaOp.py
add back in deferred loading
temp change to print error message in tests
temp change to print error message in tests
add _init__.py to lazy_loader
make install in CMakeLists.txt one line
2020-04-13 21:14:34 -05: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
Markus Lampert
0acb83712e
made path acrobatic windows compatible
2019-11-28 17:31:37 -08:00
Markus Lampert
6812b01231
Moved usage of ToolBit into the experimental features.
2019-11-28 17:31:37 -08:00
Markus Lampert
6db9fcb3df
Track and restore active document and tool loading, otherwise FC gets confused during unit tests.
2019-11-28 17:31:37 -08: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
0ab8f83ea9
Use findPath to look for an icon and fail silently if it cannot be found.
2019-11-28 17:31:36 -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
7bfb0fde68
Added arbitrary attributes to ToolBit - currently re-creating the existing ones.
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
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
Markus Lampert
3a23ea25bb
Added search path and preferences support for tools
2019-11-28 17:31:35 -08:00
markus
8a3694efc4
Added storing and loading of tools in json files
2019-11-28 17:31:35 -08:00
markus
ba769396be
Load template during editing but unload it afterwards
2019-11-28 17:31:35 -08:00