Commit Graph

25 Commits

Author SHA1 Message Date
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
Markus Lampert
35275d3a8d Added editing functionality to the tool editor 2019-11-28 17:31:35 -08:00
Markus Lampert
a4d5ab37c7 Set property editor mode on creation. 2019-11-28 17:31:35 -08:00
Markus Lampert
cf8c0fadd1 Basic editor and shape update. 2019-11-28 17:31:35 -08:00