Commit Graph

3479 Commits

Author SHA1 Message Date
wmayer
832717e446 Path: [skip ci] Fix several clazy issues:
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
2022-07-25 12:21:32 +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
Uwe
88a06f8f10 Mod: remove some unnecessary nullptr checks 2022-07-18 12:58:12 +02:00
Uwe
c35579227b [Path] remove superfluous nullptr checks 2022-07-18 02:52:48 +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
ff1e995f30 Generator can produce G73 (chipbreak) commands instead of G83.
Add tests
2022-07-16 11:30:16 -05:00
wmayer
343aadf02b Path: replace PyObject_IsTrue with Base::asBoolean 2022-07-16 12:44:38 +02:00
wmayer
b42e994ec9 Path: fixes -Woverloaded-virtual 2022-07-16 12:15:41 +02:00
Benjamin Alterauge
c50e7a29fe Remove duplicate source code 2022-07-16 10:55:24 +02: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
f4f37ecdd1 G38 fixes for probe visualization per mlampert 2022-07-12 12:22:36 -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
sliptonic
ff5e3734da Lower level discrete tests for Linuxcnc post 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
andrea
1021098106 remove unused boost files 2022-07-01 03:18:36 +02: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
andrea
93525ff7eb removed references to OCC<7 2022-06-25 14:29:24 +02:00
wmayer
c955372ecf cppcoreguidelines-pro-type-union-access
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md using union for type-punning is undefined behaviour.
 Replace it with std::memcpy
2022-06-24 14:29:50 +02:00
Yorik van Havre
830b3944db Merge pull request #7067 from Kuzma30/add_ts
Crowdin Add "new" WB to translations.
2022-06-24 13:50:43 +02:00
mosfet80
620c273c4e Boost version <=1.60 is never used in freecad 0.20 (#7038)
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
marioalexis
d298a7101c Path: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
sliptonic
012fe8d9b6 Missing camoticsgui file in the CMakelists. 2022-06-22 09:02:42 -05:00
sliptonic
86fc7298a1 UI fixes 2022-06-21 10:36:12 -05:00
Kuzemko Alexsandr
e678620cbd Crowdin Update .ts files with current source. 2022-06-21 17:31:06 +03: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
e1eeabc86c Merge pull request #6637 from sliptonic/feature/camotics
[Path] Feature/camotics
2022-06-20 13:48:54 -05:00
sliptonic
8dad6cf84d Resolving bugs and rebasing for 0.21 merge 2022-06-20 13:09:09 -05:00
wmayer
796d722072 Path: fix warning: extra ';' inside a struct/class [-Wextra-semi] 2022-06-20 11:34:31 +02:00
Kuzemko Alexsandr
4ccd24fe14 [Crowdin] Add new texts for translation from Path ToolBit 2022-06-19 20:49:37 +03:00
Kuzemko Alexsandr
7b02f492fa [Path] Add localization for PathToolBit 2022-06-19 20:47:07 +03:00
Uwe
e9bb9afc3b [skip CI] [Path] fix typo
I just introduced
2022-06-19 18:43:50 +02:00
Uwe
f4891488d3 [Path] remove a unnecessary Boolean comparison 2022-06-19 18:32:54 +02:00