Commit Graph

31987 Commits

Author SHA1 Message Date
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
Roy-043
dc7b018e75 Draft: Improve downgrading of PD bodies (#9934) 2023-07-18 10:46:10 +02:00
Roy-043
419bc52f10 Draft: Fix get_diffuse_color function (#9932) 2023-07-18 10:45:38 +02:00
luzpaz
a59ec2df85 Fix typos 2023-07-17 16:08:05 -05:00
Chris Hennes
73689f269c App/Toponaming: Tweak ComplexGeoData destructor 2023-07-17 10:24:29 -05:00
Benjamin Bræstrup Sayoc
ba33e50962 [Part] Make tooltip match label
Fixes issue #9941
2023-07-17 09:47:53 -04:00
Chris Hennes
6a9efd6731 App/Toponaming: Add tests for findTagInElementName
Also apply clang-tidy to that function, and fix an error with the postfix return.
2023-07-15 22:47:08 -05:00
Chris Hennes
7e250c4f8a Merge pull request #9780 from chennes/toponamingComplexGeoDataDressing
Toponaming: ComplexGeoData dressing
2023-07-15 16:37:09 -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
Chris Hennes
aae9cc84d9 PD: prevent MSVC from defining min/max 2023-07-15 07:45:38 -05:00
luzpaz
3110980e6e Fix various typos 2023-07-15 11:17:45 +02:00
Chris Hennes
66f6350fd3 App/Toponaming: Basic tests and linter issues 2023-07-14 23:03:18 -05:00
Chris Hennes
8ec1ae3319 App/Toponaming: ComplexGeoData realthunder original
Minor modifications to make it compile with previous refactorings.
The only substantial change to the original is moving the
getElementHistory function from ComplexGeoData to MappedName so
that the dehash function can remain private.
2023-07-14 23:03:18 -05:00
Chris Hennes
2d6b4971f9 Merge pull request #9896 from bdieterm/patch-3
set toolbar icon size when starting FreeCAD GUI from Python
2023-07-14 13:08:24 -05:00
wmayer
1e7825cc02 Part: add a unit test for PR #9905 2023-07-14 11:29:20 -05:00
Chris Hennes
a6e4eb942f Merge pull request #9905 from Syres916/patch-85
[Part] Fix regression when opening...
2023-07-14 11:29:04 -05:00
wmayer
f99205a4bc Part: delete created document in unit test TopoShapeListTest.testMakeTopoShapeList 2023-07-14 11:04:23 +02:00
wandererfan
8df700c0af [TD]fix lock in Rich Text Anno 2023-07-13 19:50:45 -04:00
Chris Hennes
dc834f2ae6 Addon Manager: Fix #9828, hang on no internet 2023-07-13 14:15:29 -05:00
wandererfan
e02875fe1a [TD]fix rich text font size in pdf 2023-07-13 14:28:29 -04:00
wmayer
fa6ee296fc Base: fix bug in CoordinateSystem::setYDirection 2023-07-13 15:12:09 +02:00
wmayer
ebbadf4738 OpenSCAD: a test internally uses the DXF importer
If not all 3rd party packages are installed the DXF importer opens a modal dialog and blocks the tests
2023-07-12 21:44:27 -05:00
Syres916
37b08b962c [Part] Fix regression when opening...
project files with linked objects having face colors.
See discussion https://forum.freecad.org/viewtopic.php?t=79558
Regression commit: cbc5c182cf
2023-07-11 00:20:27 +01:00
wandererfan
72be73fc4e [TD]allow delete of dependents on delete of parent
- deleting a dvp will now delete any hatches, dimensions or
  balloons belonging to it.
- deleting a dvp that is the base view for a section or detail
  is still blocked.
2023-07-10 17:05:57 -04:00
sliptonic
3c7b9d8c3c Merge pull request #9884 from petterreinholdtsen/startpage-no-trailing-space
Removed trailing whitespace discovered by github linter.
2023-07-10 10:44:02 -05:00
Petter Reinholdtsen
747f07bbdd Skip open_de9b3fb438 s390x to avoid OOM.
The load of the current file in test_open_head is fine, but
open_de9b3fb438 goes into an OOM even in huge (e.g. 10GB) systemd.
This probably needs a proper fix by upstream in regard to the migration
modules that load the old code, but until then (since the rest works on s390x)
this unblocks the package self-test in Debian & Ubuntu.

Patch by Christian Ehrhardt <christian.ehrhardt@canonical.com>.

This is Debian bug https://bugs.debian.org/984952 and Ubuntu bug
https://bugs.launchpad.net/ubuntu/+source/freecad/+bug/1918474.

Been part of the Debian edition of FreeCAD since 2021.
2023-07-10 09:53:20 -05:00
sliptonic
016f74a5f1 Merge pull request #9691 from tomate44/blendiconrename
Surface: Fix Blend Curve icon name
2023-07-10 09:51:13 -05:00
sliptonic
74bdeeea2f Merge pull request #9715 from MisterMakerNL/master
Updated stylesheets+preference packs.
2023-07-10 09:43:43 -05:00
bdieterm
d6de5ceb09 fix function name in doxygen annotation 2023-07-10 09:23:59 -05:00
Petter Reinholdtsen
6cd1febd3d Removed trailing whitespace discovered by github linter.
While working on https://github.com/FreeCAD/FreeCAD/pull/9880,
I discovered a lot of linter issues.  These fixes all of them.
2023-07-10 16:06:52 +02:00
Yorik van Havre
dd8690ea39 Merge pull request #9835 from yorikvanhavre/arch-fix-h1
Arch: Fixed error on null window preset creation parameters
2023-07-10 10:52:41 +02:00
Chris Hennes
e1ca567172 Apply translations 2023-07-09 18:09:53 -05:00
Chris Hennes
5141a531c6 Merge pull request #9880 from petterreinholdtsen/no-dial-home
Change Start page to no longer dial home by default.
2023-07-09 17:29:32 -05:00
Amritpal Singh
09c1442f3d Bug: Loaded Reinforcement WB translations along with Arch WB 2023-07-09 17:28:44 -05:00
Chris Hennes
597a8fe927 FEM: Add missing translation string 2023-07-09 17:28:04 -05:00
Adrián Insaurralde Avalos
25da7af5b8 Fix #9792: PD tasks fail to launch if body is inside Part and activated
introduced by PR #9557
2023-07-09 17:24:26 +02:00
bdieterm
1a3a170818 set toolbar icon size when starting FreeCAD GUI from Python import 2023-07-08 22:45:38 +02:00
Roy-043
ee3d62c33b TechDraw: Fix typo in HoleShafFit tooltip 2023-07-08 11:34:12 -04: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
MisterMaker
3fe81d7893 Merge branch 'FreeCAD:master' into master 2023-07-08 13:08:25 +02: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
Petter Reinholdtsen
6f85a9bed6 Change Start page to no longer dial home by default.
When starting FreeCAD for the first time, it load the HTML content of
src/Mod/Start/StartPage/StartPage.html and show it as a friendly startup page.
Unfortunately, one of the tabs in the startup page is an iframe loading the content of
https://blog.freecadorg/.  The effect is that every time one start FreeCAD, it dial
home over the Internet with a HTTP request to the mentioned URL.  This is a privacy
problem.  At the moment the blog page in turn will connect to https//i0.wp.com/ and
https//s0.wp.com/, in effect also reporting the startup to Wordpress.  Please do not
dial out without the expressed approval and on request of the user of the program.

This patch change the startup page to instead of putting the blog posts in a tab, it
will link to the blog and the connection is only established when the user click on
'BLOG' in the start page.  It include a link tooltop to make it easier to understand
that this will bring the user to a new page.
2023-07-07 14:37:54 +02:00
Yorik van Havre
19d2ec8a6f Merge pull request #9868 from Syres916/patch-81
[Start] Fix Minor Regression on LoadCustom...
2023-07-07 13:40:57 +02:00
Syres916
d01c963877 Reduce the number of lines of code 2023-07-07 10:45:22 +01:00
Syres916
da66e8bf6e Reduce number of lines of code 2023-07-07 10:44:02 +01:00
wandererfan
f88297bbb5 [TD]fix pathological centerline for points 2023-07-06 19:20:08 -04: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
wandererfan
25976f7986 [TD]do not include cosmetics in extent dims 2023-07-06 16:02:28 -04:00