Commit Graph

3773 Commits

Author SHA1 Message Date
David Kaufman
29f80b723a [Path] Make RampDressup accept other dressups as its base operation 2023-08-11 21:58:59 -04: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
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
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
Morgan 'ARR\!' Allen
c330c31b6a Migrate to using opPropertyEnumerations to set defaults
This feels a bit heavy but I still feel like it's helpful to inform
the path forward to consolidate these default properties.
2023-06-29 23:01:57 -07:00
Robert Schöftner
e606e8f4a9 Hopefully more stable test pattern / path 2023-06-28 11:16:24 +02:00
Morgan 'ARR\!' Allen
d364365185 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD into path_custom_source 2023-06-27 09:02:01 -07:00
Morgan 'ARR\!' Allen
7f73e8ce47 Merge branch 'master' into path_custom_source 2023-06-27 08:58:27 -07:00
Robert Schöftner
3bbc40b9bb Path: fix g-code orientation Path.Op.Profile in case effective offset is 0.0 2023-06-27 17:15:04 +02:00
Chris Hennes
44c6fc0484 Merge pull request #9786 from yorikvanhavre/translations
Translations
2023-06-26 20:53:55 -05:00
luzpaz
b80c69eba1 Path: fix typo in source comments
[skip ci]
2023-06-24 23:49:04 -04:00
sliptonic
e179568096 Update src/Mod/Path/Path/Post/scripts/heidenhain_post.py
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2023-06-20 11:46:08 -05:00
sliptonic
061e8eb341 Update src/Mod/Path/Path/Post/scripts/heidenhain_post.py
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2023-06-19 09:09:38 -05:00
sliptonic
78e0e7f78d Update src/Mod/Path/Path/Post/scripts/heidenhain_post.py
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2023-06-19 09:09:38 -05:00
sliptonic
5495616621 fix submitted by Zibibbo84 2023-06-19 09:09:38 -05:00
Yorik van Havre
398de2d031 merged crowdin translations 2023-06-16 16:42:32 +02:00
Yorik van Havre
3c07d567cf Merged crowdin translations 2023-06-12 22:34:22 +02:00
Yorik van Havre
d61e60511a Updated ts files 2023-06-12 22:27:56 +02:00
Chris Hennes
05b85d0ddc Sync translations 2023-06-04 14:11:21 -05:00
Chris Hennes
87f8e07e2d Path: Remove DefaultExtentsColor 2023-06-02 19:19:09 -08:00
Chris Hennes
b1b4af1efb Path: UI file adjustments 2023-05-26 16:29:27 -06:00
Chris Hennes
3b39981e4e Path: Address translator comments 2023-05-26 11:27:37 -05:00
Chris Hennes
5a968f9943 Path: Conform 'post processor' 2023-05-26 10:20:16 -05:00
Chris Hennes
2686ad58b9 Update translations 2023-05-25 21:32:26 -05:00