Commit Graph

30757 Commits

Author SHA1 Message Date
wandererfan
1fc53e5f27 [TD]add check for Gui up 2025-03-09 19:48:12 -04:00
wandererfan
a6b89251a4 [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
6aa8ddbfe7 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
b0947a7a64 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
345778ac3a 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
c97cb7aa06 Fem: Use left alignment in Gmsh task panel 2025-03-08 18:32:16 -03:00
Roy-043
5f7f9cb7ba 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
50e80f4a03 Merge pull request #20052 from mosfet80/CleanPython
removed old python code <3.10
2025-03-08 01:10:58 +00:00
Chris Hennes
a028d8d299 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
05780c4f7f 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
f3567bce8b 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
5baa847a72 Merge pull request #20055 from marioalexis84/fem-magnetization
Fem: Improve magnetization
2025-03-07 22:37:11 +00:00
mos
c70a7933e6 Removed old Python code <3.10 2025-03-07 16:34:08 -06:00
Joao Matos
9bcdd2d44c Rename DocumentCreateFlags to DocumentInitFlags. 2025-03-07 20:54:16 +00:00
Joao Matos
1c2ac570f8 Convert DocumentCreateFlags instances to use designated initializer list. 2025-03-07 20:42:51 +00:00
marioalexis
14692ef526 Fem: Improve magnetization 2025-03-07 14:30:54 -03:00
PaddleStroke
d2721aaadd 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
cdb8c22b2a Fem: Use disambiguation for solids in equation task panel 2025-03-07 11:47:46 -03:00
marioalexis
4941203b2f Fem: Move label to tooltip in selection widget 2025-03-07 11:47:46 -03:00
Pascal de Bruijn
599f100c4f PartDesign: explicitly thread pitch for regular profile ISO threads 2025-03-07 08:27:58 -06:00
Alfredo Monclus
eb7d85605a start: fix listview height alwasys being too small 2025-03-07 00:07:11 -03:00
Chris Hennes
e12dd64d06 Merge pull request #19901 from alfrix/start_fixes_1
Start: fix text visbility
2025-03-06 17:32:31 +00:00
PaddleStroke
077745d737 PartDesign: Fix App::Line as ref for polar pattern 2025-03-06 17:31:38 +01:00
PaddleStroke
a67080a777 Assembly: Fix use of datum axis in joints 2025-03-06 15:39:11 +01:00
Furgo
59ddb94aba 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]
1fc630413f [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
f4bfbfb493 FEM: Update ccx_rigid_body.py 2025-03-06 09:30:09 +01:00
jffmichi
abacccb690 Part: fix infinite recursion in boolean cut 2025-03-06 02:33:56 +01:00
Chris Hennes
da3baddf8d 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
7c0b65ad2d Merge branch 'main' into patch-1 2025-03-05 22:01:34 +01:00
mosfet80
8709e1f5a9 Merge branch 'FreeCAD:main' into QT_CLEAN 2025-03-05 21:53:36 +01:00
pre-commit-ci[bot]
fe43ab7bbe [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
b885e8a90f FEM: Update CMakeLists.txt 2025-03-05 21:05:42 +01:00
FEA-eng
2d17269a11 FEM: add rigid body FEM example 2025-03-05 21:04:40 +01:00
Max Wilfinger
a14f6f18ea 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
8ed98ab27f Fem: Add nonlinear options to static current solver 2025-03-05 16:27:47 -03:00
marioalexis
613b29a28e Fem: Fix direction of current density symbol 2025-03-05 16:27:47 -03:00
pre-commit-ci[bot]
91dd0c9492 [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
06725a39d5 FEM: Update CMakeLists.txt 2025-03-05 18:54:29 +01:00
FEA-eng
d95505e717 FEM: add example file 2025-03-05 18:53:02 +01:00
Alfredo Monclus
ed8e8ae774 start: simplify cardspacing 2025-03-05 13:24:07 -03:00
Alfredo Monclus
635839029f start: fix filecard text visibility on classic theme also fixes hover and pressed states 2025-03-05 13:23:39 -03:00
Alfredo Monclus
ce2cae5bc3 start: fix new file button layout size
fixes #15758
2025-03-05 13:23:28 -03:00
Alfredo Monclus
cfb1197fc0 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
c2cf154bd6 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
9834729b05 Update TaskBooleanParameters.cpp 2025-03-05 09:48:07 +01:00
pre-commit-ci[bot]
fdd21e95b0 [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
5f6f2d04ad Update PythonWrapper.cpp
.
2025-03-05 09:32:06 +01:00
Andrea
da66720d3a 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
97645765f8 Merge branch 'main' into patch-1 2025-03-05 07:46:56 +01:00