Commit Graph

3319 Commits

Author SHA1 Message Date
sliptonic
b1cfadf7ae Merge pull request #4947 from luzpaz/path-typos
Path: fix various typos and superfluous whitespace
2021-08-02 10:29:07 -05:00
Noah
af28a37c0f Path: fix invalid JSON in 45degree_chamfer.fctb tool bit
Fixes an issue reported in https://forum.freecadweb.org/viewtopic.php?f=15&t=54307.

> Error loading tool: 45degree_chamfer.fctb : Expecting property name enclosed in double quotes: line 12 column 3 (char 298)
2021-08-02 16:33:25 +02:00
luz paz
427a2ab8d6 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
dde8ec5c7f 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
sliptonic
1a1910a489 Merge pull request #4938 from Russ4262/fix/adaptive_edge_processing
[Path] Restore edge processing to Adaptive as in 0.19 release
2021-07-25 13:41:31 -05:00
Russell Johnson
ca6f85ff69 Path: Add Array operation to recognized Active types for toggle 2021-07-24 22:29:18 -05:00
Russell Johnson
2da26fe715 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
fc70edc66a Path: Improve method name for setting editor modes for properties 2021-07-24 22:29:18 -05:00
Russell Johnson
d8806b0e5c Path: Improve variable names for mode values 2021-07-24 22:29:18 -05:00
Russell Johnson
edc358a4a1 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
8ce14b2a2b Path: Close Adaptive geometry source file upon unit test completion 2021-07-24 21:59:05 -05:00
Russell Johnson
65a59b102f Path: Re-enable all disabled Path unit tests 2021-07-24 21:39:25 -05:00
Russell Johnson
640eb6ace7 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
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
Russell Johnson
b91a4b6ecd Path: Restore edge processing to Adaptive as in 0.19 release 2021-07-24 11:42:30 -05:00
Russell Johnson
cb7c8d8458 Path: Improve comments and docStrings 2021-07-24 11:00:17 -05:00
Russell Johnson
1b856e9cfb Path: Delete dead code and comments 2021-07-24 10:59:43 -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
ho-ho-ho
d2c170a929 Path: fix grbl --return-to placement 2021-07-23 16:48:30 +02:00
Russell Johnson
3311bb6df3 Path: Add some Adaptive unit tests
Also includes alphabetical sort of affected lists in CMakeLists and TestPathApp files.

Unit tests focus around feature selection capabilities.
2021-07-22 23:16:53 -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
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
Russell Johnson
3b392134eb Path: Add debug comments and comment out unused code 2021-07-16 11:54:13 -05:00
Russell Johnson
430116a186 Path: Fix relative paths for bit path attributes in library files 2021-07-16 11:54:13 -05:00
Russell Johnson
6db5c26b98 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
343afe9893 Path: Add internal comments to code 2021-07-16 11:54:13 -05:00
Russell Johnson
1e85f820b6 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
7d4b5f34cc 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
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
sliptonic
b32d16fd52 Merge pull request #4909 from troyp76/master
Path: Fixed incorrect usage of isDirty() in the accept button call back.
2021-07-09 09:23:55 -05:00
Yorik van Havre
1cee70cd62 Merged crowdin translations 2021-07-08 16:06:38 +02:00
Yorik van Havre
324621f3d8 Updated ts files 2021-07-08 16:00:23 +02: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
Russell Johnson
79b9b93d10 Path: Downgrade message priority 2021-07-01 11:54:34 -05:00
Yorik van Havre
ed9dca288c Merged crowdin translations 2021-07-01 13:56:25 +02:00
Yorik van Havre
6360345ce5 Updated ts files 2021-07-01 13:50:17 +02:00
Yorik van Havre
c8b5d8d762 Merged crowdin translations 2021-06-24 17:22:19 +02:00
Yorik van Havre
aa862254dd Updated ts files 2021-06-24 17:18:01 +02:00
Yorik van Havre
69b084f492 Merged crowdin translations 2021-06-17 16:04:02 +02:00
Yorik van Havre
7c5f8d8737 Updated ts files 2021-06-17 15:49:33 +02:00
luz paz
56ce278abf Fix 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,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-06-17 08:02:57 +02: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