Commit Graph

41016 Commits

Author SHA1 Message Date
Syres916
134d94785f [BIM} Correct styling of DeleteIFCProperties window and add GroupBox 2025-03-10 13:49:57 +00:00
Furgo
e0389c308d BIM: Arch imports ArchSpace methods 2025-03-10 14:42:49 +01:00
Ladislav Michl
e3efee641b CMake: Fix PySide6 pip search
Since ac77cd779e ("CMake: PySide cleanup") compatibility variables depends
on PySide6_FOUND, but setting that was later removed, leaving pip installed
PySide6 undetected.

Fixes: 9119d392c9 ("CMake: Fix PySide6 search")
2025-03-10 14:15:49 +01:00
PaddleStroke
b4221b72f9 Sketcher: DSH: add OVP constraints before AutoConstraints. 2025-03-10 12:49:17 +01:00
wandererfan
0884babb4d [TD]allow view creation in main thread if gui no available 2025-03-09 19:48:22 -04:00
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
Benjamin Nauck
cc6dcbd7e6 Refactor static type checks 2025-03-09 17:50:20 +01: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
Max Wilfinger
fb2e57b4d3 Merge pull request #20077 from marioalexis84/fem-gmsh_qsb_alignment
Fem: Use left alignment in Gmsh task panel
2025-03-09 13:41:26 +00:00
marioalexis
f0a1a2ed9d Fem: Use left alignment in Gmsh task panel 2025-03-08 18:32:16 -03:00
Alfredo Monclus
cf278e45ac refactor: qsint fix clazy property without notify 2025-03-08 15:54:32 -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
bofdahof
b0d34801db cleanup commented lines 2025-03-08 13:37:46 +10:00
bofdahof
7b3b7068ca remove using namespace Base::FileInfo 2025-03-08 13:37:46 +10:00
bofdahof
bfe6d21163 remove using namespace boost::program_options 2025-03-08 13:20:32 +10:00
bofdahof
1dc20ee0d6 remove using namespace std 2025-03-08 13:18:06 +10:00
bofdahof
7a69a7d8c3 remove using namespace boost 2025-03-08 13:14:35 +10:00
bofdahof
5f691bee69 remove using namespace Base 2025-03-08 13:13:38 +10: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
c03819a9a8 Merge pull request #20008 from PaddleStroke/patch-4
QuantitySpinbox: Fix right padding when not bound
2025-03-07 22:38:23 +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
08564607c2 App: Fix regression when creating new document coming from the main document. 2025-03-07 20:54:16 +00:00
Joao Matos
6dd5246fa1 Rename DocumentCreateFlags to DocumentInitFlags. 2025-03-07 20:54:16 +00:00
Joao Matos
ed111d1f8e App: Fix memory leak regression in ApplicationPy::newDocument. 2025-03-07 20:42:51 +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
Chris Hennes
5bdfd8000b Merge pull request #20017 from chennes/applicationCleanupFixNames
App: Cleanup parameter names in Application.*
2025-03-07 15:38:18 +00:00
Chris Hennes
53b2a46db1 Merge pull request #20028 from PaddleStroke/patch-9
Assembly: Make it possible to select LCS elements when the LCS is in a body
2025-03-07 15:26:29 +00: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
Chris Hennes
caccda384b App: Cleanup parameter names in Application.*
* Unify names in header and cpp files
* Make names consistent across methods with similar uses
* Fix spacing

Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-03-07 08:47:49 -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
Chris Hennes
3197f9664f Merge pull request #20036 from hyarion/fix/remove-pyexport-warnings
Suppress erroneous warnings for GCC in python template
2025-03-07 14:41:22 +00: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
878466a8a8 Merge pull request #20015 from chennes/addGitHubFilesToPrecommit
Add GitHub files to precommit
2025-03-06 21:29:39 +00:00
Benjamin Nauck
bef00d5a9c Tools: Suppress erroneous warnings for GCC 2025-03-06 21:47:50 +01:00
Benjamin Nauck
9fbccaf4b5 Base: Make Type::importModule private 2025-03-06 20:50:04 +01:00
Benjamin Nauck
0089388a5b Base: Add documentation of Type 2025-03-06 20:50:04 +01:00
Benjamin Nauck
01ad16e2e8 Base: Add asserts to check that Type has been initialized 2025-03-06 20:50:04 +01:00
Benjamin Nauck
667b2d27b7 Base: Minor cleanup
* Add const
* Add final
* [[nodiscard]]
* Fix parameter names
* Add TypeId instead of unsigned int
* Add "BadType" string constant

Some some other tweaks
2025-03-06 20:49:58 +01: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
4566843fb4 App::Link : deleting it deletes its elements if any 2025-03-06 17:46:30 +01:00