Commit Graph

1934 Commits

Author SHA1 Message Date
Markus Lampert
788ee8f570 Ensure base geometry is valid so if it isn't one can still edit the op and fix the base geometry. 2021-02-11 20:36:21 -08:00
Alex Young
7fa21b7319 LGTM: Removes unused import in PathPropertyBagGui.py 2021-02-11 13:12:49 +01:00
Alex Young
5a8c58dc75 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
Chris Hennes
6b16e12d7c [OTHER] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
Patrick Felixberger
0bec69f3e3 [PATH] Added onDocRestore method for adaptive op 2021-02-09 18:41:07 +01:00
sliptonic
a8bd33ed1c Merge pull request #4383 from mlampert/feature/path-hide-ops-by-default
[Path]: Set operation Visibility to False, and turn it back on while editing.
2021-02-08 11:12:41 -06:00
sliptonic
86bf9ecc13 Merge pull request #4253 from J-Dunn/master
[Path]: fix several minor bugs in arc slot ops
2021-02-08 09:44:30 -06:00
Markus Lampert
1087d90f07 import DraftTools if Snapper isn't loaded yet (before using it) 2021-02-07 12:39:21 -08:00
Markus Lampert
df43fb458f Set operation Visibility to False, and turn it back on while editing. 2021-02-06 16:45:26 -08:00
sliptonic
cd2005adee Merge pull request #4333 from Russ4262/remove_feature_expand_profile
[Path] Remove `Expand Profile` feature from Profile op
2021-02-05 10:47:43 -06:00
sliptonic
fde9048778 Merge pull request #4262 from Schildkroet/adaptive_improve
[PATH] Adaptive improve helix entry
2021-02-03 19:02:38 -06:00
Patrick F
9d0df01d17 [PATH] Limited cone angle for adaptiv helix 2021-01-31 21:23:57 +01:00
Russell Johnson
ee0d220bc4 Path: Remove Expand Profile feature from Profile op 2021-01-29 19:36:14 -06:00
Stefan Mächler
2afba1a7b7 Path: Fix creating simple copy
This commit fixes the issue discussed on the FreeCAD forum:

https://forum.freecadweb.org/viewtopic.php?f=15&t=54769
2021-01-28 09:32:17 +01:00
sliptonic
a631f45e31 Merge pull request #4297 from shadowbane1000/fanuc-1st-pass
[PATH] First pass at a post processor for Fanuc
2021-01-27 13:05:26 -06:00
sliptonic
0a46384bdb Merge pull request #4140 from gauna85/PathStock
Path: Fix #3914: Adding stock label prefix to name comparison in orde…
2021-01-27 11:09:31 -06:00
sliptonic
3676ab0d43 Merge pull request #4286 from kbickar/master
[Path] Fix AttributeError on deleting corrupt dressup
2021-01-27 11:04:40 -06:00
sliptonic
03680187cb Merge pull request #4321 from ci4ic4/patch-1
[PATH] Update philips_post.py
2021-01-27 11:00:33 -06:00
sliptonic
dd9b32f992 fix index bug in toolbit directory creation 2021-01-27 10:27:12 -06:00
ci4ic4
4ed7665b13 Update philips_post.py
You can't compare dict with an integer.
2021-01-27 11:51:42 +00:00
Markus Lampert
82a519277d Added support for deleting empty groups from the property bag's group tracking. 2021-01-26 19:46:06 -08: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
Markus Lampert
7fafe2b4ea Fixed relative path search for shapes 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
323bbfa934 Fixed loading of TC from template 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
d8b0821d1b Fixed property update if property value happens to be 0 2021-01-26 18:14:09 -08:00
Markus Lampert
2498d66488 Fixed toolbit editor to properly deal with changing shape files. 2021-01-26 18:14:09 -08:00
Markus Lampert
4473e9cae2 Migrate existing toolbits to new property layout. 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
495732ae6c 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
a8539e77bc Added enum placeholder text and disable labels when entry field is disabled. 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
933a2ae5d9 Double click on property name brings up property modify editor. 2021-01-26 18:14:09 -08:00
Markus Lampert
a40522debd Cleaned up property-bag task panel and added support for editing the definition. 2021-01-26 18:14:08 -08:00
Markus Lampert
6dc60626da 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
1bf5620681 Added support for enumerations to property-bag, relies on base api to get the enum values. 2021-01-26 18:14:08 -08:00
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
a5d0a92c64 Add last used toolbit path to the end of the list to make using multiple installation possible. 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
9ab3a76869 Allow property container to become a child of a body when one is selected on creation. 2021-01-26 18:14:08 -08:00
Markus Lampert
b0c69e5a8f Added ability to create multiple attributes in a row 2021-01-26 18:14:08 -08:00
Markus Lampert
b4ed9724d8 Added command with menu item to create a property container. 2021-01-26 18:14:08 -08:00
Markus Lampert
700ccbea4e Some code and comment cleanup. 2021-01-26 18:14:08 -08:00