Commit Graph

2128 Commits

Author SHA1 Message Date
sliptonic
2fa669f724 Merge pull request #4986 from ho-ho-ho/master
Path: Add missing newline to return-to statement in grbl postprocessor
2021-09-01 10:18:00 -05:00
sliptonic
28c51d6f39 Merge pull request #4902 from Russ4262/fix/Extensions_error_msg
[Path] Downgrade Extensions error message priority
2021-08-27 17:17:33 -05:00
ho-ho-ho
b777d53736 Update grbl_post.py
Append new line to return-to line
2021-08-21 12:36:47 +02:00
sliptonic
0eecacd795 Merge pull request #4797 from Russ4262/feature/tile_job
[Path] GUI scripting support and other improvements
2021-08-14 09:26:25 -05:00
sliptonic
b7f6254ee2 Merge pull request #4815 from Russ4262/fix/GUI_issues
[Path] Fix GUI issues and minor code cleanup
2021-08-14 09:20:03 -05:00
Russell Johnson
f793e6a0d0 Path: Downgrade module's debug level to INFO 2021-08-13 19:02:40 -05:00
Russell Johnson
a69c72f540 Path: Auto-load the user-selected job for the simulator
Add code to auto-load the user-selected job in the simulator so manual selection is not necessary with multi-job documents.
2021-08-13 19:02:40 -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
6059c8c870 Path: Add missing translate() function 2021-08-13 19:02:40 -05:00
Russell Johnson
d783d184fe Path: Refactor PathBoundary algorithm to independent class
Relocate code for PathBoundary algorithm into an independent class allowing for usage without the Dressup object creation.
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
sliptonic
6dbd8fb54d Merge pull request #4901 from Russ4262/fix/3D_Pocket
[Path] Fix 3D Pocket tuple lengths in return values
2021-08-02 12:22:56 -05:00
sliptonic
42aac7c776 Merge pull request #4906 from Russ4262/fix/toolbit_missing_readme_doc
[Path] Fix relative shape files for toolbits
2021-08-02 12:19:37 -05:00
sliptonic
36d85414be Merge pull request #4919 from Russ4262/fix/profile_cut_side
[Path] Remove `Side` assignment to `Outside` for full model profiles
2021-08-02 12:15:07 -05:00
sliptonic
108644739a Merge pull request #4818 from Russ4262/refactor/path_array
[Path] Refactor path array algorithm into independent `PathArray` class
2021-08-02 12:11:00 -05:00
sliptonic
9fece99403 Merge pull request #4936 from ho-ho-ho/master
Path: fix grbl --return-to placement
2021-08-02 10:29:58 -05:00
luz paz
c1a8d2cb02 Path: fix various typos and superfluous whitespace
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,inout,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-07-30 11:53:22 -04:00
sliptonic
dfbc20542a Merge pull request #4939 from Russ4262/fix/job_template_paths
[Path] Fix multi-OS path issue for Job templates
2021-07-25 13:42:13 -05:00
Russell Johnson
ff03764e95 Path: Add Active property to PathArray object; Fixes #4704
This property is required for the Path Simulator.  It might also be required for some post-processing procedures.
2021-07-24 22:29:18 -05:00
Russell Johnson
fe06dfefb6 Path: Improve method name for setting editor modes for properties 2021-07-24 22:29:18 -05:00
Russell Johnson
d12312a469 Path: Improve variable names for mode values 2021-07-24 22:29:18 -05:00
Russell Johnson
ffa74e0aa5 Path: Refactor path array algorithm into independent PathArray class
New class is `obj` independent allowing for greater scripting capability.
Added missing `onDocumentRestored()` method to ObjectArray class to handle property visibility and edit modes, per standard Path operations on document restoration.
2021-07-24 22:29:18 -05:00
Russell Johnson
161388b522 Path: Fix multi-OS path issue.
Not all operating systems use the same path scheme - the slash direction.  The issue fixed with this commit exists in other parts of the Path workbench
2021-07-24 16:46:49 -05:00
Russell Johnson
c13f42bd89 Path: Code cleanup, remove duplication, fix obj.removalshape shape 2021-07-24 11:57:53 -05:00
Russell Johnson
aa76499a53 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
1939ea7be4 Path: Fix readonly lockout bug with blank expression 2021-07-24 11:57:53 -05:00
Russell Johnson
b4d90562c1 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
Russell Johnson
e6d6301769 Path: Restore edge processing to Adaptive as in 0.19 release 2021-07-24 11:42:30 -05:00
sliptonic
9d5c9cdc80 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
ho-ho-ho
4d0b034a2d Path: fix grbl --return-to placement 2021-07-23 16:48:30 +02:00
sliptonic
c71c022b15 Merge pull request #4446 from Schildkroet/deburr_improve
[0.20][PATH] Deburr improve
2021-07-20 12:29:31 -05:00
Russell Johnson
544a87e235 Path: Remove unnecessary commented-out code blocks 2021-07-16 12:02:24 -05:00
Russell Johnson
44b82bfda9 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
Russell Johnson
16489777d2 Path: Add debug comments and comment out unused code 2021-07-16 11:54:13 -05:00
Russell Johnson
aec0bb1329 Path: Fix relative paths for bit path attributes in library files 2021-07-16 11:54:13 -05:00
Russell Johnson
71f8007bab Path: Fixes #0004647, relative shape file locations
This solution restricts relative shape files to filename only within the toolbit file.
2021-07-16 11:54:13 -05:00
Russell Johnson
b6b08a5a2e Path: Add internal comments to code 2021-07-16 11:54:13 -05:00
Russell Johnson
5b83cece9a Path: Add tools README.md file to tools working directory on install
This code copies all files in the default (program install location) Path\Tools folder to the user's working tools folder when they setup the ToolBit working directories for the first time.
2021-07-16 11:54:13 -05:00
Russell Johnson
3085b1c536 Path: Remove Side assignment to Outside for full model profiles
The profile operation is forcing  cut side to `Outside` when profiling whole models.  This change in code also allows for profiling `Inside` of entire models.  Apart from limiting profiling capabilities of entire models, this override could cause problems with profiling of selected faces or edges in very specific use cases.  Also, this fix removes the property assignment of a key control property within the execution code, which should not happen, apart from feedback properties.
2021-07-16 11:51:00 -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
troyp76
8b7834c4e1 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
Russell Johnson
b9dae8410b Path: Downgrade message priority 2021-07-01 11:54:34 -05:00
sliptonic
6ab568b5e9 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
d6d9778b79 Merge pull request #4864 from sliptonic/master
[Path] bug splitting gcode by Fixture
2021-06-15 09:09:13 -05:00
sliptonic
c0c9895d4f Path bug splitting gcode by Fixture 2021-06-14 10:39:55 -05:00
Ton
fc66fc1640 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
19080b58b3 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
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
luz paz
016989e992 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