Commit Graph

2467 Commits

Author SHA1 Message Date
LarryWoestman
0f698bb9ac Path: Removed the comparison-style postprocessor tests.
Added the ability to output possible arguments to a file.
       Added more tests and fixed some parameter handling.
       Added 4 refactored postprocessors and postprocessor tests.
       Refactored to reduce copyitis, added G73 support
       Re-ordered parameter parsing to better match all postprocessors
2022-09-04 15:22:57 -07:00
sliptonic
c35244e74f Merge pull request #7438 from Syres916/patch-54
[Path] Change Default Drilling Retraction from G99 to G98
2022-09-03 16:54:57 -05:00
Jon Escombe
794a51eecc Fix for Path output file naming issues.
Use the fullPath name when opening dialog, handle cancel cleanly.

These changes fixes the output file file naming for me. Without it,
I just get the unprocessed substitution strings in the current working directory.
2022-09-02 09:11:23 +01:00
Syres916
9ff0ae58da [Path] Change Default Retraction from G99 to G98
See discussion https://forum.freecadweb.org/viewtopic.php?f=15&p=622670#p622670
2022-09-01 10:56:13 +01:00
agren
90ffdda622 Merge branch 'master' into remove-dead-code 2022-08-26 20:29:39 +02:00
luz paz
1a7ddfdc24 Fix typos and whitespace
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,anormal,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,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,itsel,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,recurrance,ro,rougly,seperator,serie,sinc,siz,strack,substraction,te,technic,thist,thru,tread,uint,unter,uptodate,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,./src/Base/StackWalker.cpp,./build/doc/SourceDocu`
2022-08-23 18:49:47 +02:00
Markus Lampert
0200c8d70a Fixed radii calculations and their processing for external threads 2022-08-07 18:01:07 -07:00
Markus Lampert
1e8d1c621c Fixed external thread milling orientation and direction 2022-08-07 18:01:07 -07:00
Markus Lampert
38e34758c7 Fixed logic error in path selection drill gate. 2022-08-07 18:01:07 -07:00
Markus Lampert
ffe0961853 Added check to deal with float nan as cycle time result 2022-08-07 18:01:07 -07:00
Markus Lampert
3408d7c2ca Enabled exception handling again 2022-08-02 13:32:25 -07:00
Markus Lampert
729c24b0f1 Moved voronoi classes into Path.Voronoi module. 2022-08-02 13:32:25 -07:00
Markus Lampert
79021f4913 Renamed python class Voronoi to VoronoiDiagram 2022-08-02 13:32:25 -07:00
Markus Lampert
9cc1d277fa vcarve to color all borderline edges and ignore them for path generation 2022-08-02 13:32:25 -07:00
luz paz
786741c0c0 Fix various 'testing inequality to None' syntax issues
Substitute `is not None` for `!= None`
2022-07-31 14:11:48 +02:00
Uwe
cce5de8087 [Path] remove check for python 2 2022-07-23 15:12:35 +02:00
Uwe
3a50f95be4 Mod: remove some superfluous Boolean checks (#7213)
* Mod: remove some superfluous Python Boolean checks
2022-07-19 01:35:12 +02:00
Mikael Ågren
81d29884fc Remove dead code 2022-07-17 17:39:20 +02:00
sliptonic
ef04487cd1 Merge pull request #7168 from sliptonic/feature/camoticstooltable
[Path] export a camotics tooltable
2022-07-17 08:42:43 -05:00
sliptonic
fa49c07840 Update src/Mod/Path/PathScripts/PathToolBitLibraryGui.py
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2022-07-16 12:16:14 -05:00
sliptonic
9f7c699fb8 GUI panel for chipbreaking 2022-07-16 11:30:16 -05:00
sliptonic
6d81f31f11 Additional changes to support G73 2022-07-16 11:30:16 -05:00
sliptonic
acf2a186e5 set PathArea section tolerance to 1e-07. 2022-07-14 08:53:26 -05:00
sliptonic
c126a8cced Merge pull request #7137 from Russ4262/fix/path_array_polar
Path: Fix Type=Polar regression in PathArray
2022-07-13 18:40:24 -05:00
sliptonic
e141910597 Fixes #7164 2022-07-12 14:15:52 -05:00
sliptonic
a78d504ea4 remove G53 from fixture list 2022-07-12 13:24:05 -05:00
sliptonic
ea1236664c Avoid python 3.6 error.
subprocess doesn't have capture_output.
Use subprocess.PIPE instead.
2022-07-12 12:23:06 -05:00
sliptonic
c4c553617f minor black fixes 2022-07-12 12:22:36 -05:00
sliptonic
792cb05473 export a camotics tooltable 2022-07-12 09:52:59 -05:00
LarryWoestman
e7a8fd18e0 Path: Reformatted to a line lenght of 88 using black. 2022-07-11 15:09:15 -07:00
LarryWoestman
62d8d8b993 Path: Added 4 refactored postprocessors and postprocessor tests. 2022-07-11 15:09:15 -07:00
LarryWoestman
8265de7b55 Path: Moved all of the global values to a dictionary named "values". 2022-07-11 15:09:14 -07:00
Russell Johnson
c52317a851 Path: Fix Type=Polar regression
This regression was introduced in PR #4818 with the refactor.  The source of the regression is that the `rotatePath()` method was not included in the new `PathArray` class created in the refactor.
This commit relocates the missing method to the `PathArray` class where it belongs, and corrects the `path` argument where the method is called.
2022-07-05 12:58:21 -05:00
sliptonic
fcdec28716 Merge pull request #6974 from agren/restore-path-drilling-retract-behaviour
Path: Restore drilling op retract value to user supplied Retract Height
2022-07-02 12:20:54 -05:00
sliptonic
e428337ffc Another import bug. This time if --version doesn't return a patch number. 2022-06-28 15:57:01 -05:00
sliptonic
d13db0ea4c Merge pull request #7096 from sliptonic/bug/camotics
[Path] Fix import error if camotics not installed.
2022-06-27 08:53:26 -05:00
sliptonic
a84220cd21 Also check that the module imports correctly 2022-06-26 14:09:28 -05:00
Mikael Ågren
25242430f4 Restore drilling op retract value to user supplied Retract Height
Restores the retract behaviour to pre 5b23af3. After 5b23af3 Retract
Height is no longer used.
2022-06-26 19:43:00 +02:00
sliptonic
1f07083d4a Merge pull request #6760 from Russ4262/fix/dressup_leadinout
Path: Fixes #6693 - Add Z and K values to arc commands
2022-06-25 12:10:48 -05:00
sliptonic
45b9f2a7aa Fix import error if camotics not installed. 2022-06-25 10:25:08 -05:00
sliptonic
9db32a3911 Merge pull request #7056 from Kuzma30/toolbit_tr
[Path] Add localization for PathToolBit and update Path.ts
2022-06-20 17:20:32 -05:00
sliptonic
8dad6cf84d Resolving bugs and rebasing for 0.21 merge 2022-06-20 13:09:09 -05:00
Kuzemko Alexsandr
7b02f492fa [Path] Add localization for PathToolBit 2022-06-19 20:47:07 +03:00
sliptonic
f94aecad70 Working on simulation
working on camotics with multiple file output and tests
2022-06-19 10:47:25 -05:00
Russell Johnson
8edc9b142d Path: Fixes #6693 - Add missing feed rate for G1 layer command 2022-06-18 20:57:54 -05:00
Russell Johnson
39abd5433e Path: Fixes #6693 - Add Z and K values to arc commands 2022-06-18 20:57:53 -05:00
sliptonic
64fe6c269a Fixes for output naming in path sanity 2022-06-18 16:34:53 -05:00
sliptonic
60cc7cfcf1 fix output elements 2022-06-18 16:34:53 -05:00
sliptonic
97a52a991a Improve the output splitting
Add ability to substitute tool name, op name, or fixture name in filename
Add unit tests
2022-06-18 16:34:52 -05:00
sliptonic
6462cdf231 zero out Job.Path property if it exists 2022-06-06 11:40:01 -05:00