Yorik van Havre
651fc54a8c
merged crowdin translations
2023-12-20 09:27:37 +01:00
sliptonic
2dbf73989a
Merge pull request #11673 from bgbsww/bgbsww-patch-20
...
Tweak section tolerance to make base layer of paths work again
2023-12-11 11:12:31 -06:00
André Caldas
89dbab9b0e
Avoids using getNameInDocument() to test if DocumentObject is attached to a Document.
...
This patch substitutes by isAttachedToDocument() (almost) everywhere where
getNameInDocument() is used for this purpose.
The very few places not touched by this patch demand a (just a little) less trivial change.
When we change the returning type of getNameInDocument() to std::string,
those places will be easily found, because they shall generate a compiler error
(converting std::string to bool).
Rationale:
The fact that getNameInDocument() return nullptr to indicate
that the object is not attached to a document is responsible for lots of bugs
where the developer does not check for "nullptr".
The idea is to eliminate all those uses of getNameInDocument() and, in the near future,
make getNameInDocument() return always a valid std::string.
2023-12-11 17:37:58 +01:00
bgbsww
33fe7c6b7e
Tweak section tolerance to make base layer of paths work again
2023-12-06 19:32:26 -05:00
sliptonic
0aa328622d
Merge pull request #11499 from Syres916/Sanity_CycleTime_Fix
...
[Path] Sanity, change default zero CycleTime from float to string
2023-12-04 12:00:15 -06:00
Yorik van Havre
fac94ba932
Translations ( #11551 )
...
* Updated ts files
* merged crowdin translations
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 11:29:38 -06:00
Chris Hennes
cfd41683a5
Core: Enable compiling with MSVC /permissive- ( #11014 )
...
* Base: Fixes for MSVC permissive-
* App: Fixes for MSVC permissive-
* Gui: Fixes for MSVC permissive-
* Main: Fixes for MSVC permissive-
* Fem: Fixes for MSVC permissive-
* Material: Fixes for MSVC permissive-
* Part: Fixes for MSVC permissive-
* Mesh: Fixes for MSVC permissive-
* Points: Fixes for MSVC permissive-
* Robot: Fixes for MSVC permissive-
* TechDraw: Fixes for MSVC permissive-
* Path: Fixes for MSVC permissive-
* Core; Changes per review comments
* TD: Revision from wandererfan
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 17:37:29 +01:00
Syres916
d97360b189
[Path] Sanity, change default zero CycleTime from float to string
2023-11-22 14:17:49 +00:00
Chris Hennes
1372070452
Update translations
2023-11-20 13:46:22 -06:00
LarryWoestman
f5be078da3
Path: Added separator lines to make the tests easier to find ( #11423 )
...
Co-authored-by: LarryWoestman <LarryWoestman@users.noreply.github.com >
2023-11-20 10:13:44 -07:00
LarryWoestman
f3a9dc8d8d
Path: Rearranged and renumbered some of the tests
2023-11-12 16:45:06 -08:00
Chris Hennes
f25af97811
Update translations
2023-11-09 12:23:56 -06:00
sliptonic
607f3f4bb5
Merge pull request #11248 from alromh87/WEDM
...
Added Path PostProcessor for old WEDM machines
2023-11-06 11:20:55 -06:00
sliptonic
88fb9ffea6
Merge pull request #11245 from LarryWoestman/staging
...
Path: Added typing to the refactored postprocessors.
2023-11-06 11:19:34 -06:00
Chris Hennes
37a8e348c6
Merge pull request #11231 from DeflateAwning/http-cleanup
...
Find and replace http://freecad to https://freecad
2023-11-06 11:16:13 -06:00
LarryWoestman
92f3c653bf
Path: Added typing to the refactored postprocessors.
2023-11-04 11:18:12 -07:00
Alejandro Romero
6e08872727
Added Path PostProcessor for old WEDM machines configurable for different machines:
...
G91 incremental coordinates
--relative (Disabled by default)
Specific comment character
--comments-character (None by default)
Specific space character, use "" to ommit spaces
--command-space (" " by default)
Add character before newline
--endline-character (None by default)
Multiplier for machines that use not standard dimensions like micrometers (1000)
--scale (1 by default)
Define decimal points
--precision (3 for mm, for inch by default)
Add trailing 0s
--fixed-length (0 (disabled) by default)
G0 rapid moves disabled by default, replaced with G1
--use-rapids (Set flag to enable G0)
Disable setting units on output code G20/21
--omit-units (Set flag to avoid setting units)
Force two digit codes G01 insted of G1
--two-digit-codes (Set flag to enable)
Add + sign to positive coordinates
--force-sign (Set flag to enable)
Ignore unsuported operations, use Labels and separate with ','
--ignore-operations (Empty by default)
2023-11-01 13:53:08 -06:00
Chris Hennes
ce8f48967a
Merge branch 'main' into modernize-type-check
2023-10-31 15:46:18 -05:00
DeflateAwning
1e3179e9bc
Find and replace http://freecad.org to https://freecad.org
...
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
DeflateAwning
46b3c02647
Change http to https in SVGs
...
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Include: *.svg
2023-10-29 22:32:59 -06:00
Chris Hennes
583e27e8af
Merge branch 'main' into modernize-type-check
2023-10-25 16:07:28 -05:00
LarryWoestman
db8d987091
Path: Removed some unneeded variables; shortened some long lines.
2023-10-24 14:14:57 -07:00
sliptonic
7b71c37e0e
Merge pull request #11108 from jffmichi/fix_profile_open_edge_direction
...
Path: fix Profile open edges not respecting selected cutting direction
2023-10-23 18:25:03 -05:00
Florian Foinant-Willig
1c1d1bd338
Path: modernize type checking
2023-10-23 18:07:23 +02:00
Adrian Insaurralde Avalos
738938d9ed
Migrate away from deprecated distutils python package where possible
2023-10-23 10:51:50 -05:00
LarryWoestman
501b1cdebd
Path: Split up TestRefactoredTestPost.py; fixed lint errors.
2023-10-22 14:08:17 -07:00
jffmichi
e54b9d9895
Path: fix Profile open edges not respecting selected cutting direction
2023-10-20 02:40:51 +02:00
sliptonic
6c1c25b24a
Merge pull request #11061 from Ondsel-Development/zcorrectFix
...
Add F-word to output on zcorrect dressup
2023-10-16 13:40:18 -05:00
Victor Predko
e1206a3fac
File formats: Uppercase file types when importing a file. ( #10977 )
...
* Added uppercase extensions for supported formats
In the file App\Application.cpp
* Added file types in upper case
* Adds uppercase file types to the file import filter.
Fixes #10879
* Added filter for *.fcmacro *.fcscript
2023-10-16 14:40:46 -03:00
atlast-50
5f19a9db7b
Gui: Rename forumula to expression + add hotkey to expression tooltip
...
Fixes #10601
2023-10-16 18:03:10 +02:00
sliptonic
7535ec1f55
Fixes #10928
...
Add F-word to output on zcorrect dressup
2023-10-16 10:28:56 -05:00
sliptonic
804970944c
Merge pull request #10953 from jffmichi/rework_leadinoutdressup
...
Path: rework LeadInOutDressup
2023-10-16 09:14:13 -05:00
sliptonic
6adbfff11b
Merge pull request #10914 from LarryWoestman/staging
...
Path: Added type annotations along with some refactoring.
2023-10-16 08:04:43 -05:00
sliptonic
9b682bf921
Merge pull request #10915 from xtemp09/path-fix2
...
[Path] Prevent division by zero
2023-10-12 07:11:25 -05:00
LarryWoestman
39bf5dc342
Path: Added type annotations along with some refactoring.
2023-10-10 14:04:54 -07:00
wmayer
d305f306df
Core: Revert superfluous changes made with PR #9521
2023-10-09 15:06:45 +02:00
jffmichi
ba94502a0c
Path: fix LeadInOutDressup task panel showing wrong values on certain locales
2023-10-06 05:54:30 +02:00
jffmichi
43ebc1e6a3
Path: use helper functions from Utils.py instead of directly accessing obj.Base in dressups
2023-10-06 05:54:30 +02:00
jffmichi
aec49039ba
Path: rework LeadInOutDressup
2023-10-06 05:54:30 +02:00
AgCaliva
3ac69993c0
merge master via cli
2023-10-04 13:28:48 -03:00
xtemp09
eff8b9a419
[Path] Prevent division by zero
...
Closes #8102 .
2023-10-03 13:07:52 +07:00
Chris Hennes
8595b07b76
Merge pull request #10844 from ppphp/remove_redundant_definition
...
[cmake] some definitions do not matter now
2023-10-02 14:20:49 -05:00
sliptonic
ce585f4344
Revert "Add G43 tool height compensation to centroid post"
2023-10-02 12:12:37 -05:00
sliptonic
e270f69846
Merge pull request #10509 from LarryWoestman/staging
...
Path: Major refactoring of the export_common function.
2023-10-02 11:26:24 -05:00
sliptonic
c242a67793
Merge pull request #10857 from djmdjm/centroid-g43
...
Add G43 tool height compensation to centroid post
2023-10-02 10:33:36 -05:00
sliptonic
e5c844d796
Merge pull request #10835 from wwmayer/path_fix_warnings
...
Path: fix compiler warnings
2023-10-02 10:30:58 -05:00
sliptonic
25bf7555d9
Merge pull request #10859 from jffmichi/fix_leadinoutdressup
...
Path: fix LeadInOutDressup incorrectly treating missing axis words as…
2023-10-02 10:14:45 -05:00
liukaiwen
721b991b1c
Merge remote-tracking branch 'origin/master' into remove_redundant_definition
2023-10-02 01:42:37 +08:00
wmayer
98a60cd192
Path: fix -Wunused-parameter
...
Several methods declare to support keyword arguments but then don't use them
2023-09-30 22:32:01 +02:00
wmayer
b6fb5206db
Path: fix -Wunused-but-set-variable
2023-09-30 22:31:46 +02:00