Commit Graph

2489 Commits

Author SHA1 Message Date
Markus Lampert
ec2328bfaa 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
J-Dunn
d55a72ee6a [PATH] fix conecutter core dumps
fix improperly passed arguments, trigger assert() in OCL, which causes an ugly core dump.
2021-02-11 19:33:51 +00:00
Alex Young
32200b604d LGTM: Removes unused import in PathPropertyBagGui.py 2021-02-11 13:12:49 +01: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
Chris Hennes
3ef6e1c6d0 [OTHER] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
Patrick Felixberger
136a625e4c [PATH] Added onDocRestore method for adaptive op 2021-02-09 18:41:07 +01:00
sliptonic
15068d7dc6 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
911a3b8e1e 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
394a885929 import DraftTools if Snapper isn't loaded yet (before using it) 2021-02-07 12:39:21 -08:00
Russell Johnson
c2110dc48f Path: Add checkbox input for UseOutline feature 2021-02-06 19:34:54 -06:00
Markus Lampert
9dce167073 Set operation Visibility to False, and turn it back on while editing. 2021-02-06 16:45:26 -08:00
Russell Johnson
c8c18e2968 Path: Add UseOutline property and default value for new feature 2021-02-06 12:36:40 -06:00
Russell Johnson
2c204f3c29 Path: Add LazyLoader usage for UseOutline module dependencies 2021-02-06 12:36:40 -06:00
Russell Johnson
0ba06f3831 Path: Relocate edge preprocessing and apply UseOutline feature
Working edges must be identified from Base Geometry selection features, discretized, and added to list for return value.
2021-02-06 12:36:40 -06:00
sliptonic
a544951dcd 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
cc6099b7ef Merge pull request #4262 from Schildkroet/adaptive_improve
[PATH] Adaptive improve helix entry
2021-02-03 19:02:38 -06:00
Patrick F
9f07b72b40 [PATH] Limited cone angle for adaptiv helix 2021-01-31 21:23:57 +01:00
Russell Johnson
df7638435f Path: Remove Expand Profile feature from Profile op 2021-01-29 19:36:14 -06:00
Stefan Mächler
fd2f2d83d0 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
f70f9572fe 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
ef2e209b14 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
9f5acaa2bb Merge pull request #4286 from kbickar/master
[Path] Fix AttributeError on deleting corrupt dressup
2021-01-27 11:04:40 -06:00
sliptonic
1596f1581f Merge pull request #4321 from ci4ic4/patch-1
[PATH] Update philips_post.py
2021-01-27 11:00:33 -06:00
sliptonic
4dd4783702 fix index bug in toolbit directory creation 2021-01-27 10:27:12 -06:00
ci4ic4
cbb0a8a11c Update philips_post.py
You can't compare dict with an integer.
2021-01-27 11:51:42 +00:00
Markus Lampert
75e65dd09d Added support for deleting empty groups from the property bag's group tracking. 2021-01-26 19:46:06 -08:00
sliptonic
231ad8f969 fix bug when declining the creation of workdir subdirectories. 2021-01-26 18:14:09 -08:00
sliptonic
f26e631ab6 make initial path defaults slightly more intuitive 2021-01-26 18:14:09 -08:00
Markus Lampert
c8d3210ba4 Fixed relative path search for shapes 2021-01-26 18:14:09 -08:00
sliptonic
c1202c3afa 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
c815115cae library file path bugs 2021-01-26 18:14:09 -08:00
Markus Lampert
8c4dfacb27 Don't enforce working dir setup and don't copy toolbit shapes 2021-01-26 18:14:09 -08:00
Markus Lampert
e807e1d762 Fixed loading of TC from template 2021-01-26 18:14:09 -08:00
Markus Lampert
c7fd08f858 Added full toolbit library path as tool-tip 2021-01-26 18:14:09 -08:00
Markus Lampert
ee6220193f Fixed property update if property value happens to be 0 2021-01-26 18:14:09 -08:00
Markus Lampert
9b7aa779be Fixed toolbit editor to properly deal with changing shape files. 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
e9ca3633ce Added enum placeholder text and disable labels when entry field is disabled. 2021-01-26 18:14:09 -08:00
Markus Lampert
eae6c32ce8 Load PathGui in all modules which require gui resources to be loaded 2021-01-26 18:14:09 -08:00
Markus Lampert
a40569186e Double click on property name brings up property modify editor. 2021-01-26 18:14:09 -08:00
Markus Lampert
eee8d12a17 Cleaned up property-bag task panel and added support for editing the definition. 2021-01-26 18:14:08 -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
ee27fc876f 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
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
b0bce7c2e0 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
6f4df10d4a Renamed PropertyContainer to PropertyBag, PropertyContainer already is a thing. 2021-01-26 18:14:08 -08:00