Commit Graph

55 Commits

Author SHA1 Message Date
Markus Lampert
8583894284 Remove pylint annotations and script 2022-02-28 21:02:45 -08:00
sliptonic
0a53abbb9f Adaptive translation cleanup 2022-01-22 17:33:49 -06:00
sundtek
7172e57e5d Update PathAdaptive.py
the internal unit is mm, only lowering the accuracy should be enough.
2021-12-20 01:15:59 +08:00
sundtek
47fc8dee91 change discretize value to fix issues
Discretize of 0.0001 is okay for inches, but for metric <1microns would be quite small, this fixes some issues when generating paths for curves that look inward.
I found following post in the forum: https://forum.freecadweb.org/viewtopic.php?f=15&t=42755
I have experienced similar issues with other curves in my object.
2021-12-19 19:23:09 +08:00
Russell Johnson
ae7a8752fb Path: LGTM cleanup 2021-08-27 22:37:41 -05:00
Russell Johnson
be1e394da9 Path: Changes to allow for Adaptive op defaults at job level
Add `SetupProperties()` function to Adaptive module.
Connect `SetupProperties()` function to GUI command resources.
Add string assignment for `App::PropertyPythonObject` property prototype
2021-08-13 19:02:40 -05:00
Russell Johnson
cfca2a790a Path: Allow parent job assignment
Modifications focus on allowing the creation of operations to include direct provision of parent job.
Path: Remove `useGui` implementation
2021-08-13 19:02:40 -05:00
Russell Johnson
b91a4b6ecd Path: Restore edge processing to Adaptive as in 0.19 release 2021-07-24 11:42:30 -05:00
Russell Johnson
76f4845d53 Path: Implement the Extensions feature with selected edges 2021-07-16 11:50:20 -05:00
Russell Johnson
6a68b848b5 Path: Correct the processing of selected edges
The recent Extensions upgrade for Adaptive disabled the processing of selected edges.  This commit re-enables that capability.  Issue raised in forum at, https://forum.freecadweb.org/viewtopic.php?f=15&t=60037
2021-07-16 11:50:20 -05:00
Russell Johnson
fd6298d542 Path: Refactor and upgradeExtensions feature, and apply to Adaptive op
Path: Refactor `Extensions` Gui code into independent module. Move the `Extensions` Gui code to independent module so access to other operations will be easier.
Path: Add `Extensions` feature to Adaptive operation
Path: Isolate Adaptive GUI elements in preparation of Adaptive unit tests
Path: Implement `PathLog` debug module
Path: Implement `translate()` for multi-language message support
Path: Fix `StockType`check bug
Path: Relocate `getCutRegionWires()` to `FeatureExtensions` module
Path: Add `Extensions` property checks on document restored
Path: Improve `Extend Outline` feature implementation
Path: Initialize a waterline type extension
Path: Add enable/disable extensions feature. It is quite possible that many complex faces exist that have large quantities of both simple and complex edges.  For this reason, a manual push button to enable Extensions is useful so the users machine is not bogged down with extra or unnecessary computing time.  Extensions are not necessary at all times. This commit also includes an edge count threshold that will disable the Extensions feature temporarily upon initial loading of the Task Panel.  The manual enable button will do just that.
Path: Add enable extensions warning label
Path: Shorten enable/disable Extensions button message
Path: Remove run-time added Task Panel elements - this QButton and QLabel were moved to UI panel directly.
Path: Add include/ignore Edges button
Path: Improve extension preview rendering
Path: Fixes for `useOutline` modification and updates
Path: Add internal feature to cache calculated extensions for reuse
Path: Add `SetupProperties()` function and connect to GUI command
Path: Add `Avoid Face` extension to ignore base face. This feature allows for some simple access to the exterior of a selected face without clearing the face itself.  This will allow for an exterior clearing operation in a simple manner.
Path: Fix bug restricting extensions on internal closed-wires
2021-06-04 09:48:50 -05:00
sliptonic
6238f0e88a Pep8 cleanup 2021-02-20 11:37:08 -06:00
sliptonic
0a9bf1c5f0 Add useoutline property to op if doesn't exist 2021-02-20 11:37:08 -06:00
sliptonic
02b3074ab8 Merge pull request #4384 from Russ4262/feature_useoutline_to_adaptive
[0.19] [Path] Add `UseOutline` feature to Adaptive op [1 of 3 per dev conversation]
2021-02-14 17:07:45 -06:00
Patrick Felixberger
136a625e4c [PATH] Added onDocRestore method for adaptive op 2021-02-09 18:41:07 +01: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
Patrick F
9f07b72b40 [PATH] Limited cone angle for adaptiv helix 2021-01-31 21:23:57 +01:00
Patrick F
f18ad94533 [PATH] Changed angle input 2021-01-13 21:05:23 +01:00
Patrick F
bd8cce5857 [PATH] code refactoring + clean up 2021-01-08 23:06:24 +01:00
Patrick F
e3722ae73d [PATH] Added gui support and some improvements 2021-01-08 22:54:17 +01:00
Patrick F
95cb91dc52 [PATH] Added cone helix to adaptive 2021-01-08 20:32:20 +01:00
sliptonic
08b988b691 add fix in one more spot 2021-01-01 15:59:16 -06:00
sliptonic
0db316ab0c fix bug with path gouging at start of movement 2021-01-01 15:57:04 -06:00
Bryan Bendall
d6cd6f288f Path: Added option for the finishing pass of the adaptive op 2020-12-18 08:03:42 -05: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
luz.paz
1bc33025d6 LGTM: various fixes for using string operator instead of numeric 2019-10-25 10:33:12 -03:00
Daniel Wood
bdcccc08b1 Add coolant feature to Ops 2019-08-28 19:40:08 +01:00
Markus Lampert
5659a0ecc0 Cleaned up Path op utilities 2019-07-09 19:48:26 -07:00
sliptonic
4a984de243 Path: normalize proxy stratements
remove bare exceptions
2019-06-21 13:01:01 -05:00
Russell Johnson
2e0861babc proxy to obj.Proxy partial conversion 2019-06-20 00:02:13 -05:00
Patrick Felixberger
a550bb40cd Header changes 2019-04-23 20:17:29 +02:00
Patrick Felixberger
7aa5fb9382 Added optional Arcs (G2) for helix ramp 2019-04-23 20:10:17 +02:00
Patrick Felixberger
04644ff733 Cleaned up PathAdaptive script 2019-04-23 00:16:25 +02:00
kreso-t
c2f2db8b56 Path: Adaptive - finishing path improvements
- fixed bug in path cleaning (artifacts on the finish path)
- increased path discretization resolution
2018-10-29 10:28:54 -03:00
kreso-t
70fef39341 Path: Adaptive - finish depth option added
implemented the same way as in other path area operations
reusing the PathUtils.depth_params class
2018-10-22 15:41:18 -03:00
kreso-t
a9dfb16998 Path: Adaptive - improvements and bug fixes
- more accurate path smoothing
- fix for missing helix lead-in in some cases
- fix for cleaning of helix center point
- increased max allowed step-over to 75%
2018-09-29 18:12:09 +02:00
kreso-t
9a451bbf3f Path: Adaptive - fix for integration 2018-09-11 11:02:43 +02:00
kreso-t
43ee740ef7 Path: Adaptive - prepping the PR 2018-09-11 11:02:43 +02:00
kreso-t
6db02838c3 Path: Adaptive - typo 2018-09-11 11:02:42 +02:00
kreso-t
202ace41a5 Path: Adaptive - keep tool down ratio option + bugfixes 2018-09-11 11:02:41 +02:00
kreso-t
3c6d2094ab Path: Adaptive - fix for edge selections 2018-09-11 11:02:40 +02:00
kreso-t
3c7a884120 Path: Adaptive - fix for keep tool down linking 2018-09-11 11:02:40 +02:00
kreso-t
cbecc2a49a Path: Adaptive - keep tool down feature - alfa 2018-09-11 11:02:39 +02:00
kreso-t
365227a049 Path: Adaptive - feature to clear from outside stock bounday inwards 2018-09-11 11:02:38 +02:00
kreso-t
d578a546c3 Path: Adaptive - bug fix 2018-09-11 11:02:37 +02:00
kreso-t
0fe43a9321 Path: Adaptive - fix for returning to clearence height 2018-09-11 11:02:37 +02:00
kreso-t
3bf7fb24eb Path: Adaptive - support for cylindrical stock 2018-09-11 11:02:37 +02:00
kreso-t
51e3396759 Path: Adaptive - fix for stock to leave option 2018-09-11 11:02:36 +02:00