Commit Graph

53 Commits

Author SHA1 Message Date
sundtek
f3ccd77f91 Update PathAdaptive.py
the internal unit is mm, only lowering the accuracy should be enough.
2021-12-20 01:15:59 +08:00
sundtek
0eead0d3c6 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
45529de1f0 Path: LGTM cleanup 2021-08-27 22:37:41 -05:00
Russell Johnson
92441bd594 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
4c1951aedc 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
e6d6301769 Path: Restore edge processing to Adaptive as in 0.19 release 2021-07-24 11:42:30 -05:00
Russell Johnson
7320b6d716 Path: Implement the Extensions feature with selected edges 2021-07-16 11:50:20 -05:00
Russell Johnson
66889de9fe 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
1aeb28cf67 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
615573580d Pep8 cleanup 2021-02-20 11:37:08 -06:00
sliptonic
c40bce0597 Add useoutline property to op if doesn't exist 2021-02-20 11:37:08 -06:00
sliptonic
8af95f1147 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
0bec69f3e3 [PATH] Added onDocRestore method for adaptive op 2021-02-09 18:41:07 +01:00
Russell Johnson
f7027d25af Path: Add UseOutline property and default value for new feature 2021-02-06 12:36:40 -06:00
Russell Johnson
4a1ac345eb Path: Add LazyLoader usage for UseOutline module dependencies 2021-02-06 12:36:40 -06:00
Russell Johnson
104132935e 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
9d0df01d17 [PATH] Limited cone angle for adaptiv helix 2021-01-31 21:23:57 +01:00
Patrick F
71d88787ec [PATH] Changed angle input 2021-01-13 21:05:23 +01:00
Patrick F
50ad5519a2 [PATH] code refactoring + clean up 2021-01-08 23:06:24 +01:00
Patrick F
47ceaaf4cf [PATH] Added gui support and some improvements 2021-01-08 22:54:17 +01:00
Patrick F
3c5f34c51e [PATH] Added cone helix to adaptive 2021-01-08 20:32:20 +01:00
sliptonic
b87f3f4a55 add fix in one more spot 2021-01-01 15:59:16 -06:00
sliptonic
a611eb0bd2 fix bug with path gouging at start of movement 2021-01-01 15:57:04 -06:00
Bryan Bendall
d8ebf1bb30 Path: Added option for the finishing pass of the adaptive op 2020-12-18 08:03:42 -05: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
luz.paz
30d2e29e0c LGTM: various fixes for using string operator instead of numeric 2019-10-25 10:33:12 -03:00
Daniel Wood
55ba721155 Add coolant feature to Ops 2019-08-28 19:40:08 +01:00
Markus Lampert
db67c4b4c1 Cleaned up Path op utilities 2019-07-09 19:48:26 -07:00
sliptonic
c8e945a3ab Path: normalize proxy stratements
remove bare exceptions
2019-06-21 13:01:01 -05:00
Russell Johnson
e1d3160c50 proxy to obj.Proxy partial conversion 2019-06-20 00:02:13 -05:00
Patrick Felixberger
438f3d30ca Header changes 2019-04-23 20:17:29 +02:00
Patrick Felixberger
e6242550bf Added optional Arcs (G2) for helix ramp 2019-04-23 20:10:17 +02:00
Patrick Felixberger
7a6a3fb967 Cleaned up PathAdaptive script 2019-04-23 00:16:25 +02:00
kreso-t
9d60ced83d 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
fbdbf65f4e 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
51f1cabadb 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
916b4de545 Path: Adaptive - fix for integration 2018-09-11 11:02:43 +02:00
kreso-t
3246283097 Path: Adaptive - prepping the PR 2018-09-11 11:02:43 +02:00
kreso-t
1a73a04c49 Path: Adaptive - typo 2018-09-11 11:02:42 +02:00
kreso-t
8edd584b68 Path: Adaptive - keep tool down ratio option + bugfixes 2018-09-11 11:02:41 +02:00
kreso-t
834a374f7b Path: Adaptive - fix for edge selections 2018-09-11 11:02:40 +02:00
kreso-t
f7ff42fe2b Path: Adaptive - fix for keep tool down linking 2018-09-11 11:02:40 +02:00
kreso-t
27da44cd8a Path: Adaptive - keep tool down feature - alfa 2018-09-11 11:02:39 +02:00
kreso-t
68b281b813 Path: Adaptive - feature to clear from outside stock bounday inwards 2018-09-11 11:02:38 +02:00
kreso-t
8ab4031073 Path: Adaptive - bug fix 2018-09-11 11:02:37 +02:00
kreso-t
a2e725821d Path: Adaptive - fix for returning to clearence height 2018-09-11 11:02:37 +02:00
kreso-t
32983d4862 Path: Adaptive - support for cylindrical stock 2018-09-11 11:02:37 +02:00
kreso-t
a7806e042d Path: Adaptive - fix for stock to leave option 2018-09-11 11:02:36 +02:00
kreso-t
0c13ef45ed Path: Adaptive - added stock to leave option 2018-09-11 11:02:36 +02:00
kreso-t
6e8fcff3ab Path Adaptive: fix for duplicate edge detection 2018-09-11 11:02:35 +02:00