Commit Graph

41712 Commits

Author SHA1 Message Date
wandererfan
ac4ba822b4 [TD]allow view creation in main thread if gui no available 2025-03-09 19:48:22 -04:00
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
Benjamin Nauck
ad59054918 Refactor static type checks 2025-03-09 17:50:20 +01: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
Max Wilfinger
844cceb04f 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
c97cb7aa06 Fem: Use left alignment in Gmsh task panel 2025-03-08 18:32:16 -03:00
Alfredo Monclus
9abea00484 refactor: qsint fix clazy property without notify 2025-03-08 15:54:32 -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
bofdahof
2d3f0d714d cleanup commented lines 2025-03-08 13:37:46 +10:00
bofdahof
ae9eec20a6 remove using namespace Base::FileInfo 2025-03-08 13:37:46 +10:00
bofdahof
65619fae39 remove using namespace boost::program_options 2025-03-08 13:20:32 +10:00
bofdahof
00173ebe02 remove using namespace std 2025-03-08 13:18:06 +10:00
bofdahof
f66561b23a remove using namespace boost 2025-03-08 13:14:35 +10:00
bofdahof
00ce73dc45 remove using namespace Base 2025-03-08 13:13:38 +10: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
c845969a54 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
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
668b0acc00 App: Fix regression when creating new document coming from the main document. 2025-03-07 20:54:16 +00:00
Joao Matos
9bcdd2d44c Rename DocumentCreateFlags to DocumentInitFlags. 2025-03-07 20:54:16 +00:00
Joao Matos
d6510061b3 App: Fix memory leak regression in ApplicationPy::newDocument. 2025-03-07 20:42:51 +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
Chris Hennes
8db175189f Merge pull request #20017 from chennes/applicationCleanupFixNames
App: Cleanup parameter names in Application.*
2025-03-07 15:38:18 +00:00
Chris Hennes
187630077f 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
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
Chris Hennes
750d8c6a96 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
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
Chris Hennes
d8ca8766b1 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
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
aa90da1541 Merge pull request #20015 from chennes/addGitHubFilesToPrecommit
Add GitHub files to precommit
2025-03-06 21:29:39 +00:00
Benjamin Nauck
486fb593db Tools: Suppress erroneous warnings for GCC 2025-03-06 21:47:50 +01:00
Benjamin Nauck
a0a64c1fb8 Base: Make Type::importModule private 2025-03-06 20:50:04 +01:00
Benjamin Nauck
e7119ee243 Base: Add documentation of Type 2025-03-06 20:50:04 +01:00
Benjamin Nauck
ece25df768 Base: Add asserts to check that Type has been initialized 2025-03-06 20:50:04 +01:00
Benjamin Nauck
280c1c610d 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
e12dd64d06 Merge pull request #19901 from alfrix/start_fixes_1
Start: fix text visbility
2025-03-06 17:32:31 +00:00
PaddleStroke
dcaddb9488 App::Link : deleting it deletes its elements if any 2025-03-06 17:46:30 +01:00
PaddleStroke
077745d737 PartDesign: Fix App::Line as ref for polar pattern 2025-03-06 17:31:38 +01:00
Chris Hennes
b864b46f55 Merge pull request #20026 from PaddleStroke/patch-8
Assembly: Fix use of datum axis in joints
2025-03-06 15:29:52 +00:00
Chris Hennes
dc084c0208 Merge pull request #20012 from tritao/ci-lint-refactor-python
CI: Refactor Python checks linting setup.
2025-03-06 14:45:17 +00:00
Chris Hennes
65527974fb Merge pull request #20019 from PaddleStroke/patch-5
Core: Text object: Fix icon of the tab.
2025-03-06 14:39:25 +00:00