Commit Graph

31830 Commits

Author SHA1 Message Date
Chris Hennes
fcba3f5167 Merge pull request #19946 from j-hap/fix_double_free
TechDraw: Fix double free when resetting line formats
2025-03-11 20:29:06 +00:00
Chris Hennes
b87b5ff5b0 Merge pull request #20113 from mosfet80/cleanCheck
Remove unnecessary check (duplicated)
2025-03-11 20:26:04 +00:00
Roy-043
c526bd9bbe Draft: Fix error in #20118
The code in #20118 would fail if only Near snap was active.
2025-03-11 15:57:37 +01:00
Yorik van Havre
90143c3c8a Merge pull request #20072 from Roy-043/Draft-Implement-Dim-Auto-Flip-Text
Draft: Implement Dim Auto Flip Text
2025-03-11 12:58:03 +00:00
Yorik van Havre
b1a82114a8 Merge pull request #20109 from Syres916/IFCPropertiesWindow_Fix
[BIM] Correct styling of DeleteIFCProperties button and add GroupBox for the two lower comboboxes and the button
2025-03-11 12:48:45 +00:00
Yorik van Havre
afbdf7d917 Merge pull request #20118 from Roy-043/Draft-Correct-Near-snap-override-behavior
Draft: Correct Near snap override behavior
2025-03-11 12:19:44 +00:00
Yorik van Havre
fd50d7e1c8 Merge pull request #20108 from furgo16/patch-15
BIM: fix adding/removing boundaries to BIM Spaces
2025-03-11 12:18:32 +00:00
Roy-043
7b179f53a4 Draft: Correct Near snap override behavior
Fixes #15017.

Currently Near snap overrides all other 'on-object' snaps such as Midpoint snap and Endpoint snap. With this PR Near snap no longer 'wins' if a different snap point is within snapRange of the cursor.
2025-03-11 10:48:12 +01:00
Benjamin Nauck
fcb127b78e Remove outdated comment 2025-03-11 10:17:12 +01:00
PaddleStroke
60cdb7f7c5 Move getStandardButtons to cpp file 2025-03-11 10:09:09 +01:00
Chris Hennes
06d63f3856 Merge pull request #20050 from captain0xff/gp_pnt-conversion
TechDraw: removed gp_* conversion code from TechDraw workbench
2025-03-11 02:28:37 +00:00
captain0xff
13d31711f3 remove gp_* conversion code from TechDraw workbench 2025-03-11 05:21:58 +05:30
pre-commit-ci[bot]
9a134b53d2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-10 20:59:11 +00:00
Andrea
078e315d8f Remove unnecessary check (duplicated)
before including the library, it is uselessly checked if the variable __QtAll__ and __InventorAll__ have been defined. The same check is performed again once the library is included
2025-03-10 21:53:00 +01:00
Pascal de Bruijn
ee51dff498 PartDesignTests: explicitly thread pitch for regular profile ISO threads, fix enum 2025-03-10 18:54:48 +01:00
Chris Hennes
5a1170c795 Merge pull request #19941 from WandererFan/PropertiesAndSpinBoxes
[TD]Properties and spin boxes
2025-03-10 16:55:13 +00:00
Chris Hennes
40e58ff580 Merge pull request #20059 from marioalexis84/fem-heat_flux
Fem: Change from radio buttons to combo box to reduce space in heat flux task panel
2025-03-10 16:50:14 +00:00
Chris Hennes
ab55e536e0 Merge pull request #20053 from marioalexis84/fem-elmer_equation_references
Fem: Use disambiguation for solid references in Elmer equation task panels
2025-03-10 15:53:31 +00:00
Chris Hennes
d1346179e2 Merge pull request #19976 from clsergent/patch-1
CAM: Fix an error in CAM/Path/Post/UtilsParse.py
2025-03-10 15:49:47 +00:00
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
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
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