Commit Graph

41 Commits

Author SHA1 Message Date
Markus Lampert
77b7abbc47 Added tool bit attribute editor back in. 2021-01-26 18:14:08 -08:00
Markus Lampert
14687898be Simplified tool bit editor using property-bags 2021-01-26 18:14:08 -08:00
Markus Lampert
53e346a9fb Add error message if toolbit shape does not contain any extractable properties. 2021-01-26 18:14:08 -08:00
Markus Lampert
b5d436408b Renamed PropertyContainer to PropertyBag, PropertyContainer already is a thing. 2021-01-26 18:14:08 -08:00
Markus Lampert
3922e37849 Using property container for endmill attributes. 2021-01-26 18:14:08 -08:00
Markus Lampert
be221dd25d Rearranged BitTool shape update so dependent ops don't execute with invalid tool. 2020-12-17 20:27:42 -08:00
Markus Lampert
1a2249387e 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
7e2f088833 Hide document when loading a ToolBit. 2020-12-17 19:55:59 -08:00
markus
8fb1cd078b Catch exception if shape file does not include a thumbnail. 2020-12-03 18:15:36 -08: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
ec3285a006 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
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
Russell Johnson
eb7a171388 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
d00d402efd 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
d44beb2eb4 Removed some printf 2020-04-28 16:11:28 +02:00
Patrick Felixberger
dc54f08020 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD into toolbit-gui 2020-04-20 17:00:18 +02:00
Eric Trombly
24e681c63b 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
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
Markus Lampert
a575f95494 made path acrobatic windows compatible 2019-11-28 17:31:37 -08:00
Markus Lampert
2a96a7d796 Moved usage of ToolBit into the experimental features. 2019-11-28 17:31:37 -08:00
Markus Lampert
154e26b54b 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
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
a9e6c21486 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
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
5c3bff1e01 Added arbitrary attributes to ToolBit - currently re-creating the existing ones. 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
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
Markus Lampert
2e1bea0237 Added search path and preferences support for tools 2019-11-28 17:31:35 -08:00
markus
815ecee630 Added storing and loading of tools in json files 2019-11-28 17:31:35 -08:00
markus
e2deb45df5 Load template during editing but unload it afterwards 2019-11-28 17:31:35 -08:00
Markus Lampert
9bc978b52a Added editing functionality to the tool editor 2019-11-28 17:31:35 -08:00
Markus Lampert
5db8710721 Set property editor mode on creation. 2019-11-28 17:31:35 -08:00
Markus Lampert
3dcc226f9e Basic editor and shape update. 2019-11-28 17:31:35 -08:00