Commit Graph

3769 Commits

Author SHA1 Message Date
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
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
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
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
Morgan 'ARR\!' Allen
b407a1a36e 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
c3b5dd60d0 Hopefully more stable test pattern / path 2023-06-28 11:16:24 +02:00
Morgan 'ARR\!' Allen
db06472df9 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD into path_custom_source 2023-06-27 09:02:01 -07:00
Morgan 'ARR\!' Allen
55167ef92c Merge branch 'master' into path_custom_source 2023-06-27 08:58:27 -07:00
Robert Schöftner
2a1fc03f82 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
86d77c2814 Merge pull request #9786 from yorikvanhavre/translations
Translations
2023-06-26 20:53:55 -05:00
luzpaz
a3d445e1c9 Path: fix typo in source comments
[skip ci]
2023-06-24 23:49:04 -04:00
sliptonic
0d1e64e74a 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
0f3ea60ba8 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
8e580e53ef 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
97f4681c50 fix submitted by Zibibbo84 2023-06-19 09:09:38 -05:00
Yorik van Havre
0977aac30d merged crowdin translations 2023-06-16 16:42:32 +02:00
Yorik van Havre
23491db16b Merged crowdin translations 2023-06-12 22:34:22 +02:00
Yorik van Havre
62434ea85b Updated ts files 2023-06-12 22:27:56 +02:00
Chris Hennes
e405a0570a Sync translations 2023-06-04 14:11:21 -05:00
Chris Hennes
c9655d6441 Path: Remove DefaultExtentsColor 2023-06-02 19:19:09 -08:00
Chris Hennes
8a2efda4d6 Path: UI file adjustments 2023-05-26 16:29:27 -06:00
Chris Hennes
655f69a819 Path: Address translator comments 2023-05-26 11:27:37 -05:00
Chris Hennes
8966694a09 Path: Conform 'post processor' 2023-05-26 10:20:16 -05:00
Chris Hennes
a2d457e88f Update translations 2023-05-25 21:32:26 -05:00
sliptonic
a6b868a358 fix label and file size 2023-05-22 20:25:16 -05:00
Chris Hennes
20f073e84e Update translations 2023-05-21 19:13:11 -05:00
Chris Hennes
864f99bf98 Merge pull request #9614 from chennes/fixPrefPageContext
Gui: Correct translation context of pref pages
2023-05-20 19:53:32 -05:00
sliptonic
490ed09dc3 Merge pull request #9608 from chennes/pathHTMLRemoval
Path: Remove HTML where not needed
2023-05-20 07:51:57 -05:00