Commit Graph

3793 Commits

Author SHA1 Message Date
sliptonic
1d33e6916c 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
2f265056a1 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
d8094b0d57 Merge pull request #10365 from chennes/wrapPyArgParseWithKeywords
Wrap PyArg_ParseTupleWithKeywords
2023-08-27 10:23:31 -05:00
kaktus Jacek
06284ede05 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
68adfdf98c Path: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
LarryWoestman
b94b42aff5 Path: Added a change based on feedback. 2023-08-22 13:28:09 -07:00
LarryWoestman
3f499ec1c4 Path: Now can set parameter_functions from a postprocessor file. 2023-08-22 13:28:09 -07:00
David Kaufman
3d12a4b9fd [Path] Fix bug where ramp dressup makes big circles 2023-08-22 12:08:13 -04:00
sliptonic
93822553dd 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
13284dd97d 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
9cc7a5afd9 Merge pull request #9782 from davidgilkaufman/restMachining
Rest Machining for Path and Path3D Operations
2023-08-21 11:13:01 -05:00
sliptonic
cc603e2788 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
09edbbebaf Merge pull request #10258 from chennes/translations20230814
Update translations
2023-08-18 08:52:13 -05:00
Chris Hennes
28f396cc75 Update translations
Adds the ten units strings from Base as well.
2023-08-16 22:50:39 -05:00
sliptonic
0658e42a35 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
3e68d6fd50 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
f8c5cfa93d add estlcam_post.py 2023-08-13 17:31:03 +02:00
David Kaufman
7785d101e8 [Path] Make RampDressup accept other dressups as its base operation 2023-08-11 21:58:59 -04:00
jffmichi
32e10828d4 add unit test for flipEdge with FirstParameter and LastParameter 2023-08-10 01:17:36 +02:00
Roy-043
67ce237651 Merge branch 'master' into Path-Avoid-dictionary.keys()-if-possible 2023-08-09 08:22:46 +02:00
Chris Hennes
d3c08a2da9 Update translations 2023-08-08 17:52:59 -06:00
wmayer
662e305dc3 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
4f7bca2f65 Path: Avoid dictionary.keys() if possible 2023-08-08 15:56:22 +02:00
wmayer
0af4990817 modernize C++: make unique 2023-08-07 19:51:30 -06:00
wmayer
2a88c7c7df modernize C++: use bool literals 2023-08-06 01:35:39 +02:00
wmayer
39e53e5eb0 Mods: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
wmayer
3975f31f89 Misc: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
4366128cc4 Path: modernize C++: use override 2023-08-04 17:09:53 +02:00
jffmichi
03431280e9 fix flipEdge not taking into account FirstParameter and LastParameter for splines 2023-08-02 06:29:11 +02:00
wmayer
f803f148af 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
ebc65ee713 Merged crowdin translations 2023-07-26 11:05:11 +02:00
Yorik van Havre
6bfeb5ff53 Update ts files 2023-07-26 11:04:24 +02:00
Chris Hennes
6838740153 Update translations 2023-07-24 13:37:52 +00:00
David Kaufman
1183fc4727 Path: Rest machining feature for Pocket and Pocket3D 2023-07-21 09:03:26 -04:00
sliptonic
77805b5373 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
ffd664725a 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
2707716152 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
13f79ab6df Fix typos 2023-07-17 16:08:05 -05:00
James Waples
83ec49eb70 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
a56ed9175f 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
6f97b74fdb Apply translations 2023-07-09 18:09:53 -05:00
sliptonic
d2b6af4b74 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
3d26609e6f 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
6e87253bc6 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
dbd4fbb460 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
e74450bfc5 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
97771dc673 Update translations 2023-07-06 08:20:59 -05:00
luzpaz
19d0a11c40 Fix various typos 2023-07-01 10:08:21 +00:00
sliptonic
3c7e350a17 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
9926e17928 fix bugs
handles malformed gcode commands
Adds properties to existing custom ops
2023-06-30 10:06:18 -05:00