Commit Graph

84 Commits

Author SHA1 Message Date
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 eb0646e532 Path: Remove unnecessary commented-out code blocks 2021-07-16 12:02:24 -05:00
Russell Johnson baceccf3c7 Path: Correct tuple lengths in return values
PathAreaOp needs tuples of three items, after rotational code purge.  This module was missed for tuple length adjustment.
2021-07-16 12:02:24 -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
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
Russell Johnson 6af211fbd5 Restore manual override of FinalDepth values
Manual entries of FinalDepth values are now respected, even if below the calculated bottom of selected geometry.
Affected modules include PathPocketShape, PathPocket, PathCircularHoleBase, and PathAreaOp-based operations.

Fix format syntax issues
2020-02-14 19:38:35 -06:00
Markus Lampert 81f809cfcf Removed dead code for debugging shortcut warnings. 2020-01-03 23:13:55 -08:00
Russell Johnson 082c44464b 3D Pocket: upgrade to adaptive start and finish
apply algorithms to some pockets to eliminate air milling and adapt start and finish heights and paths to top and bottom of certain pockets.
Depth correction & flake8 formatting
use list to track successive cuts so variations of settings are tracked and applied correctly
Apply faceType specific depth calculations
Planar face requires one depth source, non-planar requires a different source.
2019-07-21 21:21:24 -05:00
Russell Johnson af825250d8 Fix SetupProperties() property syntax issue
fix for SetupProperties() issue presented at:
https://forum.freecadweb.org/viewtopic.php?f=15&t=37368#p318253
2019-07-01 22:02:18 -05:00
Markus Lampert 2a25993483 Catching new warnings due to merge 2019-07-01 15:32:54 -07:00
Markus Lampert f34ac89266 switched to pylint3 and fixed additional warnings 2019-07-01 15:32:54 -07:00
Russell Johnson e67fc4e706 3D Pocket: Upgrade to collective face processing!
New property added: `HandleMultipleFeatures`.
New property and related code allows for improved, and expected, 3D Pocket operations.
Improvement combines faces selected to create one envelope to be processed as the path shape ('collectively' setting).
Old behavior is available with 'Individually' setting.
Enjoy!
2019-06-30 14:06:37 -05:00
sliptonic b55c210f39 remove unnecessary imports. normalize debug log levels 2019-06-21 13:01:01 -05:00
sliptonic 4a984de243 Path: normalize proxy stratements
remove bare exceptions
2019-06-21 13:01:01 -05:00
luz.paz aedb888ae3 Path: source comment typo fixes
Found via `codespell`
2019-05-30 19:57:25 +02:00
Markus Lampert 546cd7e2e2 Added multi base model support to Pocket 3D op. 2018-09-11 07:24:36 +02:00
Markus Lampert 7d8ed6fd70 Operation setting support for all pocket ops. 2018-09-02 00:32:22 -07:00
Markus Lampert ebe76319b8 Added name parameter to operation proxy constructor. 2018-09-02 00:32:22 -07:00
Markus Lampert 070d17e4e4 Add job as parameter to opSetDefaultValues 2018-09-02 00:32:22 -07:00
Markus Lampert b24e95b7c1 Removed PathGeom class and moved functionality into module interface. 2018-06-19 21:38:20 -07:00
Markus Lampert e804977558 Consolidated all depth calculations. 2017-09-28 11:27:47 -07:00
Markus Lampert 605afdfed0 Fixed pocket final depth calculation and hide it from user modifications. 2017-09-17 18:46:00 +02:00
Markus Lampert 88e2b6de9a Reduced logging for pocket ops again. 2017-08-22 10:16:58 -03:00
Markus Lampert ab2e516b35 Refactored pocket and facing to use the same base class; added min travel and keep tool down to the interface - latter one is hidden since it currently doesn't seem to work. 2017-08-22 10:16:58 -03:00
Markus Lampert 9f0ba77a54 Added doc strings to operations. 2017-08-22 10:16:58 -03:00
Markus Lampert a32f527ac5 Added support for baseobject into PathOp, used by almost all ops anyway. 2017-08-22 10:16:58 -03:00
Markus Lampert 0d4bc71a65 Moved base functionality into PathOp and renamed AreaOp interface to areaOp... 2017-08-22 10:16:58 -03:00
Markus Lampert 4e8d0cbea3 Converted MillFace to be based on PathAreaop. 2017-08-22 10:16:57 -03:00
Markus Lampert 1e76c99250 Renamed PathProfile to PathProfileFaces for consistency; moved common depth calculation for ops with BaseGeometry into PathAreaOp. 2017-08-22 10:16:57 -03:00
Markus Lampert 50711c1ba4 Converted PathProfile to be based on PathAreaOp. 2017-08-22 10:16:57 -03:00
Markus Lampert d07319e4d2 Fixed issues with BaseGeometry UI processing and extended interface to support multiple shapes. 2017-08-22 10:16:57 -03:00
Markus Lampert 83e5c8098b Moved pocket specific logic back into PathPocket. 2017-08-22 10:16:57 -03:00
Markus Lampert a742c1120e Split pocket gui into its own file and based on PathAreaOpGui. 2017-08-22 10:16:57 -03:00
Markus Lampert 2884d3ac60 Moved PathPocket to use PathAreaOp. 2017-08-22 10:16:57 -03:00
sliptonic 48337e03c1 Path: fix #3048 Visibility on recompute is now preserved 2017-07-10 19:17:41 -03:00
sliptonic e8b93ef656 Path: cleanup start points
Make sure we're storing path parms for debugging
2017-07-07 16:42:06 -05:00
sliptonic 3093c4cd1b re-arrange TestPathPost setup to simplify testing muliple posts 2017-07-07 16:42:06 -05:00
sliptonic 266fb0b70f Path: Adding Apply buttons
Give user more control of when long
running updates are executed in task
panels
2017-06-28 21:46:44 +02:00
sliptonic 02912aedf9 Path: cancel for pocket 2017-06-28 21:46:44 +02:00
sliptonic a5a88e5b59 Path: remove obsolete code from cmake
also refactored depthparams and fixes to depths
on various operations
2017-06-28 21:46:44 +02:00
sliptonic 8b804d71ae path: more collision support
Made depthparams an iterable.
2017-06-28 21:46:44 +02:00
sliptonic 2147798063 Path: fix potential crash bug. 2017-06-18 17:32:16 +02:00
sliptonic aeec1c8c88 Path: added a hidden property to store the areaparams
Useful for debugging.
2017-06-15 14:42:30 -03:00
sliptonic b5e233d3aa Path: fix bug in drilling
hemispherical faces have an odd edge that doesn't have a Curve attribute.
2017-06-15 14:42:30 -03:00
sliptonic cc4abd21b9 Path: usecomp setting toggles the availability of the side property 2017-06-15 14:42:30 -03:00
sliptonic c97724ef30 Path: remove Pocket OCC algorithm 2017-06-15 14:42:30 -03:00
Markus Lampert 3368c8682e Moved almost all translate implementations away from QtGui. 2017-06-03 15:37:41 -07:00
sliptonic 098ca483d3 Path: add cursor waiting decorator to long running functions.
Remove obsolete ToolDescription code from label change.
2017-05-31 23:38:59 +02:00
sliptonic 09ac25f089 Path: more bug fixes 2017-03-21 10:27:51 -03:00
sliptonic 57da9b70c3 Path: bug fixes 2017-03-21 10:27:51 -03:00