Commit Graph

2094 Commits

Author SHA1 Message Date
Russell Johnson
d008303ae7 Path: Code cleanup, remove duplication, fix obj.removalshape shape 2021-07-24 11:57:53 -05:00
Russell Johnson
527e168be2 Path: Fix bug with inaccurate Task Panel values upon new op creation
Path: Fix bug with inaccurate Task Panel values upon new op creation
2021-07-24 11:57:53 -05:00
Russell Johnson
495a4e610a Path: Fix readonly lockout bug with blank expression 2021-07-24 11:57:53 -05:00
Russell Johnson
99b218c63d Path: Prioritize self.parent and self.obj declarations
This prioritization and conversion of `self.parent` declaration allows for removal of the `setParent()` method.
2021-07-24 11:57:53 -05:00
sliptonic
a40812dfbf Merge pull request #4917 from Russ4262/fix/Adaptive_process_edges
[Path] Adaptive: Correct the processing of selected edges
2021-07-23 12:35:08 -05:00
sliptonic
5f5b3d9b67 Merge pull request #4446 from Schildkroet/deburr_improve
[0.20][PATH] Deburr improve
2021-07-20 12:29:31 -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
troyp76
f8c65989f9 Operations were being recalculated even if the dirty state was False.
The "isDirty" function was not being called correctly by the accept call back.
2021-07-06 00:22:15 +10:00
sliptonic
dba02ab3e0 Merge pull request #4857 from snelweg/snelweg-patch-1
[Path] PathSanity.py now outputs fillename for the report the same as the postprocessor job
2021-06-16 15:03:35 -05:00
sliptonic
728c001421 Merge pull request #4864 from sliptonic/master
[Path] bug splitting gcode by Fixture
2021-06-15 09:09:13 -05:00
sliptonic
faf24538c4 Path bug splitting gcode by Fixture 2021-06-14 10:39:55 -05:00
Ton
380b8f8c14 Update PathSanity.py
Output fillename for the report is now the same as the postprocessor job (job.PostProcessorOutputFile), this way the setup file will be autoloaded in LinuxCNC qtDraggon ui and others based on probe-basic.
There is some error checking missing, the check to see if the job.PostProcessorOutputFile is not empty is not there for example. But since the report can only be generated when there is a postprocessor file this is not a big problem.
2021-06-12 08:25:03 +02:00
luz paz
0db5d84a7e Fix source comment typos
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,ontop,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu`
2021-06-10 17:33:40 -04: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
luz paz
261c06a052 Fix misc. typos
Found via 
```codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu```
2021-06-03 14:36:21 -04:00
sliptonic
fd4870992b Path cleanup PathGuiInit 2021-06-01 13:15:59 -05:00
sliptonic
d23393923a Revert "[Path] Handle unavailability of Camotics library/module" 2021-06-01 12:55:48 -05:00
sliptonic
f316cb337d Revert "[PATH] CAMotics simulation. First Draft" 2021-05-31 12:49:25 -05:00
sliptonic
d80d6fa844 fix cancel bug 2021-05-30 10:49:16 -05:00
Schildkroet
412375d703 Merge branch 'master' into deburr_improve 2021-05-29 21:40:11 +02:00
Russell Johnson
71b5050707 Path: Handle unavailability of Camotics library/module 2021-05-29 13:52:00 -05:00
Russell Johnson
0a710faecc Path: Alphabetize import list and remove comments therein 2021-05-29 13:50:06 -05:00
sliptonic
f1d7a4277d removed PathUtils import from all post-processors to avoid the deleted proxy error
I removed or commented out code using this import.  In all cases,
the import was used to get descriptive information from the Job
2021-05-28 13:04:16 -05:00
sliptonic
bb50a37024 Merge pull request #4672 from sliptonic/feature/camotics2
[PATH]  CAMotics simulation.  First Draft
2021-05-28 13:03:13 -05:00
sliptonic
a9f6fad531 Merge pull request #4812 from jimzim111/patharray_multibase
Path: PathArray based on multiple bases, and choice of direction
2021-05-28 10:38:55 -05:00
sliptonic
ad5445d40f Initial Commit 2021-05-28 10:25:46 -05:00
Russell Johnson
16015f66e3 Path: Remove first-draft rotational code Path
Remove all first-draft rotational-related code from Path workbench to make way for more stable, long-term integration of a rotational indexing capability.
2021-05-27 10:04:31 -05:00
jim
815679a487 fix whitespace 2021-05-25 18:36:51 -07:00
jim
b0ab46878b Clean up logic that tests whether there any base Paths to process 2021-05-25 18:34:19 -07:00
jim
9234c33db1 Hide ToolController property. TC can be chosen by the first operation in the PathArray Base property. 2021-05-25 18:24:50 -07:00
jim
4e2137b358 Wrap strings in QT_TRANSLATE_NOOP 2021-05-25 18:11:15 -07:00
jim
6e818208bf Merge branch 'patharray_multibase' of https://github.com/jimzim111/FreeCAD into patharray_multibase 2021-05-24 21:22:10 -07:00
jim
a3f37025b1 Fix row-ordering logic when SwapDirection==True 2021-05-24 21:21:17 -07:00
jimzim111
3a5627553b Merge branch 'FreeCAD:master' into patharray_multibase 2021-05-24 21:04:37 -07:00
jim
daddf550aa Add PathArray "Jitter" capability to offset each copy by a random distance. Helps create an imperfect "hand-crafted" appearance.
Adds properties:
 - JitterPercent: % of copies that will be randomly offset
 - JitterMagnitude: Maximum distance to offset copies
2021-05-24 21:00:45 -07:00
sliptonic
b0364e466a Merge pull request #4680 from ChrisNisbet01/Fix_vcarve_depth_calculation
Path: vcarve - Fix depth calculation
2021-05-24 12:47:46 -05:00
sliptonic
98ec3dda9d Merge pull request #4765 from sliptonic/bug/toolnumbers
[PATH] fix bug adding TC from job dialog.
2021-05-24 12:46:21 -05:00
sliptonic
224f49af28 Merge pull request #4617 from Russ4262/fix_pocketshape_circular_extension
[Path] Fix outside `Extensions` of circular faces with inner holes
2021-05-24 12:45:13 -05:00
sliptonic
6e622fab9d Merge pull request #4637 from Russ4262/fix_update_default_extension_length
[Path] Fix update of Extensions `Default Length` GUI spin box
2021-05-24 12:34:35 -05:00
sliptonic
c3878ea58f Merge pull request #4523 from Russ4262/slot_fixes
[Path] Stability fixes for experimental Slot operation
2021-05-24 11:53:44 -05:00
sliptonic
77c44170f3 Merge pull request #4796 from heewa/fix-path-errors
Path: check for empty before using - fixes #4645
2021-05-24 11:51:53 -05:00
jim
0495310984 fix whitespace 2021-05-23 19:28:36 -07:00
jim
db8a6116da Path: Add PathArray "SwapDirection" property to process copies along X axis before Y axis 2021-05-23 19:25:52 -07:00
jim
e8e1b4ce94 PathArray support for multiple paths as base 2021-05-23 19:24:30 -07:00
Heewa Barfchin
2f49d4ee56 Path: check for empty before using - fixes #4645
In a few locations, python objects are used without checking if they
exist and are non-null, which throws missing attribute exceptions. The
fix is to simply check first.
2021-05-17 18:45:11 -04:00
Daniel Wood
1bed2fff86 Use defaults for retract height
Use the StartDepth + SafeHeightOffset to calculate the retract height in relation to the hole start height.
2021-05-06 08:09:43 +01:00
Daniel Wood
e9de8d4e98 use correct feedrate for rapid moves 2021-05-05 20:33:26 +01:00
Daniel Wood
034d9ec21a use toolbits with tooltip calculation 2021-05-04 15:56:45 +01:00
Daniel Wood
dc3e121580 Rapid to safe height above the hole 2021-05-04 14:06:30 +01:00