Commit Graph

3793 Commits

Author SHA1 Message Date
sliptonic
e0ddc0f5e6 Merge pull request #8443 from LarryWoestman/staging
Path:  Now can set parameter_functions from a postprocessor file.
2023-08-28 11:21:16 -05:00
sliptonic
9742f8492b Merge pull request #10318 from davidgilkaufman/rampCircleBug
[Path] Fix bug where ramp dressup makes big circles
2023-08-28 10:45:17 -05:00
Chris Hennes
3d8ec230f8 Merge pull request #10365 from chennes/wrapPyArgParseWithKeywords
Wrap PyArg_ParseTupleWithKeywords
2023-08-27 10:23:31 -05:00
kaktus Jacek
b6db25c2d2 Cleaning code from unnecessary strings generated to Crowdin. (#10385)
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-27 10:08:11 -05:00
Chris Hennes
d2e51218c8 Path: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
LarryWoestman
520c7d5a75 Path: Added a change based on feedback. 2023-08-22 13:28:09 -07:00
LarryWoestman
12699d8db8 Path: Now can set parameter_functions from a postprocessor file. 2023-08-22 13:28:09 -07:00
David Kaufman
de056cd7b0 [Path] Fix bug where ramp dressup makes big circles 2023-08-22 12:08:13 -04:00
sliptonic
141dd99d80 Merge pull request #10033 from jffmichi/fix_flipedge
[Path] fix flipEdge not taking into account FirstParameter and LastParameter…
2023-08-21 16:12:56 -05:00
sliptonic
e15a389681 Merge pull request #10179 from davidgilkaufman/rampNestedDressup
[Path] Make RampDressup accept other dressups as its base operation
2023-08-21 14:08:57 -05:00
sliptonic
b04f278a41 Merge pull request #9782 from davidgilkaufman/restMachining
Rest Machining for Path and Path3D Operations
2023-08-21 11:13:01 -05:00
sliptonic
e67820d33b fixes #10113
packaging.version.parse() will raise InvalidVersion in some cases but the error isn't caught.
2023-08-18 11:16:44 -05:00
Chris Hennes
bac14e81f7 Merge pull request #10258 from chennes/translations20230814
Update translations
2023-08-18 08:52:13 -05:00
Chris Hennes
58cf9f3212 Update translations
Adds the ten units strings from Base as well.
2023-08-16 22:50:39 -05:00
sliptonic
9de8c16d1a Merge pull request #10214 from haraldhartmann/PathAddEstlcamPP-patch-1
Path: add estlcam_post.py to CMakeList.txt
2023-08-16 10:44:13 -05:00
Jonas Bähr
34b176c1db Remove C++ escaping from *Py.xml templates
Now all escaping required for the C++ code generation is done when the
.cpp/.h files are generated. Previously, only newlines were escaped
automatically. This was a) inconsistent and b) leaked c++ details into
the xml data.
In addition, the escaping is now done in one central place, harmonizing
the three previous implementations.

Pre-existing c++ escape sequences in the XML files have been replaced by
their literal equivalent so that the resulting python doc sting remains
unchanged.
2023-08-16 13:17:25 +02:00
Harald Hartmann
65444bf3ce add estlcam_post.py 2023-08-13 17:31:03 +02:00
David Kaufman
29f80b723a [Path] Make RampDressup accept other dressups as its base operation 2023-08-11 21:58:59 -04:00
jffmichi
eb595ac3ce add unit test for flipEdge with FirstParameter and LastParameter 2023-08-10 01:17:36 +02:00
Roy-043
df95050687 Merge branch 'master' into Path-Avoid-dictionary.keys()-if-possible 2023-08-09 08:22:46 +02:00
Chris Hennes
3bad74fe7d Update translations 2023-08-08 17:52:59 -06:00
wmayer
40a9f47489 Path: make export macro accessible in header file
It's not recommended any more to keep the export macro in the PreCompiled.h because many IDEs fail to fetch the export macro and raise a parsing error instead.
2023-08-08 17:27:28 +02:00
Roy-043
393661077d Path: Avoid dictionary.keys() if possible 2023-08-08 15:56:22 +02:00
wmayer
ec73caa40e modernize C++: make unique 2023-08-07 19:51:30 -06:00
wmayer
7a3106d31b modernize C++: use bool literals 2023-08-06 01:35:39 +02:00
wmayer
2b3d48176c Mods: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
wmayer
b8a7849dd3 Misc: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
88c6f05d06 Path: modernize C++: use override 2023-08-04 17:09:53 +02:00
jffmichi
884022f0a9 fix flipEdge not taking into account FirstParameter and LastParameter for splines 2023-08-02 06:29:11 +02:00
wmayer
fd275ee8be Path: fix test failure with MSYS2 build
The two path names have different path separators and thus are considered as different
2023-08-01 11:05:30 +02:00
Yorik van Havre
51d8f94f10 Merged crowdin translations 2023-07-26 11:05:11 +02:00
Yorik van Havre
4501cf479c Update ts files 2023-07-26 11:04:24 +02:00
Chris Hennes
dd40387478 Update translations 2023-07-24 13:37:52 +00:00
David Kaufman
32e2088e39 Path: Rest machining feature for Pocket and Pocket3D 2023-07-21 09:03:26 -04:00
sliptonic
abcfb284f3 Merge pull request #9930 from jamwaffles/patch-1
Path: Fix undefined variable name in Command.py
2023-07-18 09:04:51 -05:00
sliptonic
d1879079b9 Merge pull request #9418 from jimzim111/path_maintainposition
PATH: Avoid unnecessary mid-Op tool movements to origin: don't add the end …
2023-07-18 09:02:15 -05:00
sliptonic
c5894b2515 Merge pull request #9935 from jamwaffles/patch-2
Path: Fix undefined method error in LeadInOut dressup
2023-07-18 08:54:23 -05:00
luzpaz
a59ec2df85 Fix typos 2023-07-17 16:08:05 -05:00
James Waples
68595b50be Path: Fix undefined method error in LeadInOut dressup
A regression from #9506 where `self.multiply` was removed but not all references to it were updated.

I'm not a Python guy but from what I can see the behaviour is the same - `offsetvector` is still an `App.Vector` which `self.multiply` used to use as well.

Tested with a project that previously didn't work, and now shows a nice `Arc`-type dressup in a circular pocket.
2023-07-15 14:04:30 +01:00
James Waples
6bcee624d6 Path: Fix undefined variable name in Command.py
This is a rename that got missed in #6637. I ran into this bug when trying to post a job using the `linuxcnc` post processor on a Windows 11 machine, running the weekly build titled `FreeCAD_weekly-builds-33576-2023-07-13-conda-Windows-x86_64-py310.7z`.
2023-07-15 14:03:26 +01:00
Chris Hennes
e1ca567172 Apply translations 2023-07-09 18:09:53 -05:00
sliptonic
ee1bcd695b Merge pull request #9886 from petterreinholdtsen/path-command-lint-fixes-more
Get rid of more lintian complaints from github Python linter.
2023-07-08 08:26:40 -05:00
Petter Reinholdtsen
256a860b54 Get rid of more lintian complaints from github Python linter.
While working on https://github.com/FreeCAD/FreeCAD/pull/9867 I noticed my patch
showed up with a lot of linting issues in code I did not touch, to a point
where the view was very cluttered by lintian issues.  Here is my second
try to reduce the number of issues discovered by the linter.  Some
issues are still left, as I fail to see how to sensibly reduce the number of
parameters or local variable used.
2023-07-08 10:48:50 +02:00
Petter Reinholdtsen
759bf83c62 Avoid dagerous move without tool height compensation after setting first fixture
The issue only happen when splitting jobs on tools (orderby == Tool), and when
USE_TLO was active and the preamble include G49.  The first move is then done
before tool height is set, and can cause damage if the existing tool height is set
to more than the gap between the spindle and the table or work piece, when the machine
take a sudden dive straight down.

Removed move between G49 and first G43, to ensure all moves are done after G43
correctly set tool height compensation.

Rewrote code to introduce new method fixtureSetup() to ensure all orderby alternatives
behave the same way.

Fixes #9866.
2023-07-08 09:30:19 +02:00
sliptonic
928992f73d Merge pull request #9882 from petterreinholdtsen/path-command-lint-fixes
Get rid of some lintian complaints from github Python linter.
2023-07-06 15:58:24 -05:00
Petter Reinholdtsen
074749ba25 Get rid of some lintian complaints from github Python linter.
While working on https://github.com/FreeCAD/FreeCAD/pull/9867 I noticed my patch
showed up with a lot of linting issues in code I did not touch, to a point
where the view was very cluttered by lintian issues.  Here is my
try to reduce the number of issues discovered by the linter.  Some
issues are left, as I fail to see how to sensibly reduce the number of
parameters or local variable used.
2023-07-06 18:18:11 +02:00
Chris Hennes
0ca283cc3e Update translations 2023-07-06 08:20:59 -05:00
luzpaz
055447a702 Fix various typos 2023-07-01 10:08:21 +00:00
sliptonic
574e117b15 Merge pull request #9832 from rmu75/master
Path: fix g-code orientation from Path.Op.Profile in case eff. offset is 0.0
2023-06-30 11:21:15 -05:00
sliptonic
5f18095667 fix bugs
handles malformed gcode commands
Adds properties to existing custom ops
2023-06-30 10:06:18 -05:00