Commit Graph

30857 Commits

Author SHA1 Message Date
wandererfan
f9b6e2c33b [TD]add check for Gui up 2025-03-09 19:48:12 -04:00
wandererfan
0a5b3f63a4 [TD]prevent crash when no event loop
- threaded hlr operations do not return if qApplication is not available
2025-03-09 19:48:08 -04:00
marioalexis
c2eb777f4a Fem: Change from radio buttons to combo box to reduce space in heat flux task panel 2025-03-09 12:18:14 -03:00
Jonas Bähr
6d21f931f6 CAM: Improve warning text for improper unit scheme
The previous text suggested to change the scheme in the preferences,
however, the preferences only take effect for new documents. Now, that
we have the "ProjectUnitSystem" in place, the setting for the current
document needs to be changed.

The text is restructured accodring to the UX pattern for warnings:
 - What is the problem
 - How can I fix it
 - What happens if I don't
and includes a link to the wiki for further details.

In addition, the 'US Customary' was removed from the proposed schemes as
suggested during review.

Finally, the button text was decapitalized and aligned with the
style used in other parts of FreeCAD, e.g. the Start page.
2025-03-09 16:09:12 +01:00
Jonas Bähr
7f50cf4d0c CAM: Refactor schema warning at job creation
This is a pure refactoring to clean up the code for upcomming changes.
It does not change any functionality or UI messages.
2025-03-09 16:03:36 +01:00
marioalexis
f0a1a2ed9d Fem: Use left alignment in Gmsh task panel 2025-03-08 18:32:16 -03:00
Roy-043
acda4a6a74 Draft: Implement Dim Auto Flip Text
Fixes #19993.

* To determine the `FlipText` value the normal (either the working plane Z axis or its reverse) and the working plane X axis are used.
* A new fine-tuning parameter `DimAutoFlipText` can be used to disable the functionality. Its default value is `True`.
* The `FlipText` property did not work for angular dimensions and the `TextSpacing` property of angular dimensions was not multiplied by `ScaleMultiplier`. This has been corrected.
2025-03-08 15:30:31 +01:00
Chris Hennes
feb58cca04 Merge pull request #20052 from mosfet80/CleanPython
removed old python code <3.10
2025-03-08 01:10:58 +00:00
Chris Hennes
144b44f2db Merge pull request #20058 from tritao/fix-app-document-main-doc-load
App: Fix regression for document creation requests coming from the main document.
2025-03-07 23:28:27 +00:00
Chris Hennes
4091768afc Merge pull request #20030 from PaddleStroke/patch-10
PartDesign: Fix App::Line as ref for polar pattern
2025-03-07 23:07:33 +00:00
Chris Hennes
88c536a80f Merge pull request #20011 from FEA-eng/fem_example_rigid_body
FEM: Add ccx rigid body constraint example
2025-03-07 22:40:07 +00:00
Chris Hennes
11899d068b Merge pull request #20055 from marioalexis84/fem-magnetization
Fem: Improve magnetization
2025-03-07 22:37:11 +00:00
mos
9f220319d0 Removed old Python code <3.10 2025-03-07 16:34:08 -06:00
Joao Matos
6dd5246fa1 Rename DocumentCreateFlags to DocumentInitFlags. 2025-03-07 20:54:16 +00:00
Joao Matos
81a5b78b36 Convert DocumentCreateFlags instances to use designated initializer list. 2025-03-07 20:42:51 +00:00
marioalexis
d576ee027f Fem: Improve magnetization 2025-03-07 14:30:54 -03:00
PaddleStroke
c8e163df7e Assembly: Select LCS elements when LCS is in body
* Make it possible to select LCS elements the the LCS is in a body
2025-03-07 08:55:09 -06:00
marioalexis
064666c31c Fem: Use disambiguation for solids in equation task panel 2025-03-07 11:47:46 -03:00
marioalexis
17386fea6f Fem: Move label to tooltip in selection widget 2025-03-07 11:47:46 -03:00
Pascal de Bruijn
80bf13224f PartDesign: explicitly thread pitch for regular profile ISO threads 2025-03-07 08:27:58 -06:00
Alfredo Monclus
76f24d57ab start: fix listview height alwasys being too small 2025-03-07 00:07:11 -03:00
Chris Hennes
4eeca37bf3 Merge pull request #19901 from alfrix/start_fixes_1
Start: fix text visbility
2025-03-06 17:32:31 +00:00
PaddleStroke
1b154a6182 PartDesign: Fix App::Line as ref for polar pattern 2025-03-06 17:31:38 +01:00
PaddleStroke
84913e57d3 Assembly: Fix use of datum axis in joints 2025-03-06 15:39:11 +01:00
Furgo
40fe023c26 Start: enable multiple custom folder paths
* Update tooltip to indicate support for multiple custom folder paths
* Remove migration step that worked around lack of multiple folder support
* Remove obsolete migration method
* Address linter warnings: build/include_what_you_use
* Add QStringList as requested on https://github.com/FreeCAD/FreeCAD/pull/19948/files#r1982267583
2025-03-06 10:13:40 +01:00
pre-commit-ci[bot]
fecaa54b17 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-06 08:35:01 +00:00
FEA-eng
7357a1e4dc FEM: Update ccx_rigid_body.py 2025-03-06 09:30:09 +01:00
jffmichi
380e828fd3 Part: fix infinite recursion in boolean cut 2025-03-06 02:33:56 +01:00
Chris Hennes
3bd926fb34 Merge pull request #20002 from marioalexis84/fem-static_current_elmer
Fem: Some changes in static current features
2025-03-05 22:39:58 +00:00
clsergent
ce38cd7cca Merge branch 'main' into patch-1 2025-03-05 22:01:34 +01:00
mosfet80
9f6c5a1272 Merge branch 'FreeCAD:main' into QT_CLEAN 2025-03-05 21:53:36 +01:00
pre-commit-ci[bot]
6d474fe35a [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-05 20:11:44 +00:00
FEA-eng
a970ccfe2d FEM: Update CMakeLists.txt 2025-03-05 21:05:42 +01:00
FEA-eng
0229f5b063 FEM: add rigid body FEM example 2025-03-05 21:04:40 +01:00
Max Wilfinger
9c5164ab05 Merge pull request #19994 from marioalexis84/fem-cut_filter_crash
Fem: Fix crash in Cut filter
2025-03-05 19:36:33 +00:00
marioalexis
828be78ee5 Fem: Add nonlinear options to static current solver 2025-03-05 16:27:47 -03:00
marioalexis
e8833f003a Fem: Fix direction of current density symbol 2025-03-05 16:27:47 -03:00
pre-commit-ci[bot]
1c8603bde9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-05 17:58:37 +00:00
FEA-eng
ccf66e50ce FEM: Update CMakeLists.txt 2025-03-05 18:54:29 +01:00
FEA-eng
38734fe0df FEM: add example file 2025-03-05 18:53:02 +01:00
Alfredo Monclus
48adc41817 start: simplify cardspacing 2025-03-05 13:24:07 -03:00
Alfredo Monclus
eae8aec93d start: fix filecard text visibility on classic theme also fixes hover and pressed states 2025-03-05 13:23:39 -03:00
Alfredo Monclus
e4a14871f5 start: fix new file button layout size
fixes #15758
2025-03-05 13:23:28 -03:00
Alfredo Monclus
be08a2fd45 start: fix visibility by removing hardcoded styling from newfile buttons
this allows the new file buttons to change from light to dark dynamically
2025-03-05 13:23:00 -03:00
Roy-043
43762780bd Merge pull request #19986 from Roy-043/Draft-fix-make_sketch-hang
Draft: fix make_sketch hang
2025-03-05 11:10:28 +00:00
mosfet80
392aea5bf6 Update TaskBooleanParameters.cpp 2025-03-05 09:48:07 +01:00
pre-commit-ci[bot]
7f8722f49c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-05 09:32:06 +01:00
Andrea
25af2a6d92 Update PythonWrapper.cpp
.
2025-03-05 09:32:06 +01:00
Andrea
2d4ab5af20 REMOVE old QT<= 5.14 code
Ubuntu 22.04  use qt 1.15.3.
In the code is still used qt code <5.10.
A cleanup was done by removing qT code version used in ubuntu 18.04.
2025-03-05 09:32:06 +01:00
clsergent
4395d6ed0c Merge branch 'main' into patch-1 2025-03-05 07:46:56 +01:00