Commit Graph

38775 Commits

Author SHA1 Message Date
Syres916
f00b236dfb [Draft] Improve the color activation and ability to change… (#16603)
* [Draft] Improve the color activation and ability to change size of the snap text

* [Draft] Correct dimension text size calculation
2024-09-19 09:03:33 +02:00
bgbsww
27ca64a201 Sketcher: Do not consider missing external geometry to be an error (#16590)
* Do not consider missing external geometry to be an error; highlight in conflict color.
2024-09-18 15:18:11 -05:00
hlorus
a54a9e2e1e MeasureGui: Auto close task on document deletion 2024-09-18 13:03:56 -05:00
Zheng, Lei
64ff5ac078 Base: fix XMLReader non-closing character stream 2024-09-18 12:58:41 -05:00
Benjamin Bræstrup Sayoc
a6975c8cef Revert "[Measure] Fix redundant variable assignment"
Fixes #16564. This reverts commit a7831eee4b.

Co-authored-by: Murmele <Murmele@users.noreply.github.com>
2024-09-18 08:36:22 -05:00
bgbsww
e4ad21e48f If we are creating a Sketch inside a Body that is in a link, use link position 2024-09-18 08:35:20 -05:00
bgbsww
914a7616f7 Gui: fix python syntax in C++ code that broke some compilers (#16614) 2024-09-18 09:06:20 -04:00
Ladislav Michl
758674d40b Main: simplify banner
FreeCAD advertizes itself too noisy way which brings no usefull
infomation. Unify banner for commandline and GUI application and
drop unicode '(C)' character.
2024-09-16 18:14:52 +02:00
Jiří Pinkava
60b8c89fc4 Gui: fix size of ComboBox in Preferences/Navigation
Fixes visual artifact in the Preferences/Navigation dialog. The
default value for this field is 0 (at least for some Qt versions),
which does not make sense, because the element would be invisible.

Also the element is actually invisible when editing the UI file in
QtCreator.

Using the default "max" value set for other fields.
2024-09-16 18:07:14 +02:00
hlorus
ab031bc92c Measure: Use getGlobalPlacement method (#16251)
* Initial commit to apply delta also for interactive measurement

* Not required special logic to check if possible, it can be easily checked if the property exists

* remember setting so it is not required to turn it always on

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Measure: Use getGlobalPlacement method

Fixes #16058

---------

Co-authored-by: Martin Marmsoler <martin.marmsoler@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-16 18:05:21 +02:00
Yorik van Havre
eb14fc9253 Merge pull request #16558 from CalligaroV/toponaming-sketcher-ViewProviderSketch-addSelection2-call-convertSubName
Sketcher/Toponaming: call SketchObject::convertSubName() in Gui selections
2024-09-16 18:01:23 +02:00
Yorik van Havre
0b6c9d3b4b Merge pull request #16433 from marioalexis84/fem-mesh_netgen
Fem: New implementation of FemMesh Netgen object
2024-09-16 17:56:56 +02:00
Yorik van Havre
585c9e236a Merge pull request #16515 from marioalexis84/fem-meshing_no_blocking
Fem: Enable cancel meshing for Gmsh - fixes #5914
2024-09-16 17:53:29 +02:00
Yorik van Havre
d9fc1cd8b9 BIM: Support for IfcOpenShell 0.8 2024-09-16 09:51:34 -06:00
bgbsww
0f53f2195d Add override flag for recomputes; set it in relevant tests with old files. 2024-09-16 17:49:35 +02:00
bgbsww
a54f03f666 Move code for recompute dialog and disable warning 2024-09-16 17:49:35 +02:00
Zheng, Lei
445a884682 Transfer in LS3 code 2024-09-16 17:49:35 +02:00
qewer33
aa81b03bee Update about dialog thumbnail image 2024-09-16 17:46:27 +02:00
Shai Seger
edf330558c [Cam Simulator][1.0] Limit anti alias samples for better compatibility. (#16416)
* Limit anti alias samples for better compatibility. might solve Wayland problem, issue #15665

* Antialias samples are taken from display prefs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-16 10:42:05 -05:00
Jiří Pinkava
89ac26e711 Sketcher: initialize geometry history limit variable (#16337)
* Sketcher: initialize geometry history limit variable

The variable seems to be uninitialized, valgrind complais about it.

The `git grep geoHistoryLevel` and the code ispection suggest it is never set.
If initialized to zero, most of the related code is never used, which
can point to the fact there is either another bug or the code is unused.

The variable was introduced in 42bf92ad12.

* Sketcher: Default geoHistoryLevel to 1

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-09-16 17:41:12 +02:00
wandererfan
ef2669deea [TD]allow SaveCopy from MDIViewPage (fix #16447) 2024-09-16 17:35:51 +02:00
Roy-043
79c694945f BIM: exportIFC.py fix UnboundLocalError
As shown in the image here:
https://github.com/FreeCAD/FreeCAD/issues/16485#issue-2523042111
2024-09-16 13:37:56 +02:00
Jiří Pinkava
fdb72e83e5 BIM: refactor wellcome window, drop most obvious comment 2024-09-16 13:27:25 +02:00
Jiří Pinkava
b2faf00fa3 BIM: drop unnecessary setPixmap from wellcome window
The image is already set in the UI file, it is not necessary to set it again
2024-09-16 13:27:25 +02:00
Jiří Pinkava
c8a12f81e8 BIM: adjust size of wellcome window to fit content
The actual optimal size of the window depends on many details, like UI style, system fonts,
OS etc ... so lets auto-resize the window to fit the content before display.
2024-09-16 13:27:25 +02:00
Roy-043
b6599c5315 Draft: Fix regression with layer print color
Problem with the same cause as #16212.
2024-09-16 10:07:40 +02:00
hoshengwei
9b63b1b4d9 fix Material TaskPanel Load Preset not working bug 2024-09-16 10:03:26 +02:00
marioalexis
2b5a40c782 Fem: Replace old FemMesh Netgen object implementation 2024-09-16 00:06:20 -03:00
marioalexis
cabfbb749f Fem: Enable cancel meshing for Gmsh - fixes #5914 2024-09-15 21:04:41 -03:00
marioalexis
5aeb03675a Fem: Add base class for FemMesh task panels 2024-09-15 21:03:17 -03:00
marioalexis
018182572a Fem: New implementation of FemMesh Netgen object 2024-09-15 20:49:38 -03:00
marioalexis
5a7bc6101b Fem: Add set of mesh elements from a list 2024-09-15 20:47:09 -03:00
marioalexis
ab790dd9ce Fem: Add base class for FemMesh task panels 2024-09-15 20:46:08 -03:00
CalligaroV
c3bad9da25 Do the same for the elements selected in the Task Panel
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-09-15 19:54:09 +02:00
Zheng, Lei
3da4b59b37 Sketcher/Toponaming: call SketchObject::convertSubName() in ViewProviderSketch::addSelection2() 2024-09-15 19:26:48 +02:00
Kacper Donat
b4923d1c58 Gui: Use FreeCAD Theme only for FreeCAD stuff 2024-09-14 17:38:47 +02:00
Yorik van Havre
f09dfa72d0 Draft: Fixed restrained movement - Fixes #16386 2024-09-13 13:20:45 -06:00
Chris Hennes
5fb2361d63 Merge pull request #15262 from Rexbas/fix-alignment-direction
Move getGlobalPlacement() and fix alignment direction for transformed objects
2024-09-13 13:09:23 -06:00
Jacob Oursland
f8c4842d6f Windows: Make FreeCAD.exe debuggable on PDB builds. 2024-09-13 12:30:10 -06:00
Jacob Oursland
c80ab28f41 CMake: conda-macos-* do not search Homebrew for dependencies. 2024-09-13 12:28:05 -06:00
Jacob Oursland
b6ac2b2920 Base: switch header include type for consistency with codebase. 2024-09-13 12:27:18 -06:00
Jiří Pinkava
ede67d4b24 GUI: Fix tree visibility click when a tree item gets collapsed
The tree can change shape during handling the mousePressEvent() event,
because some part of the tree can be (un)folded. This might lead to
shift of the three (up or down). The position of items in tree change
relatively to the position of mouse (which stays in place).
If the visibility click is handled after mousePressEvent, the shift in
position can lead to cursor beeing over visibility icon and the click
is handled like if the visibility icon vas clicked, which is unexpected.

Handling the visibility click first fixes this. The setAccepted(true),
was removed, it is left to the subroutine to set it.
2024-09-13 13:24:42 -05:00
Chris Hennes
9de78e27f4 Core: Bump minor version, now 1.1dev 2024-09-13 08:51:27 -05:00
Jacob Oursland
a64fd6babe Version: set development branch back to 'dev' suffix. 2024-09-13 08:51:27 -05:00
Chris Hennes
14ca86827d Merge pull request #16480 from benj5378/measurementSegFault
[Measure] Redirect enter key press to apply button
2024-09-13 08:42:41 -05:00
wmayer
86806cb353 Port: Include changes of FreeBSD port 2024-09-13 08:31:54 -05:00
Yorik van Havre
6c5e90a6d2 Draft: Fixed function case 2024-09-13 15:00:47 +02:00
Yorik van Havre
8ef66ad73d Draft: Fixes error in Draft trackers when not on a 3D view 2024-09-13 15:00:47 +02:00
hoshengwei
5d87b26a91 fix ArchMaterialTaskPanel wrong import BimClassification Path
1. fix ArchMaterialTaskPanel wrong import BimClassification Path and icon after BIM merge into Arch

2. change taskpanel name to BIM material 

3. fix Qt slot and signal (more up to date style)
2024-09-13 12:11:56 +02:00
Roy-043
3fd57efbb0 Use max instead of if-else for numerical checks (as per linter warning) 2024-09-13 12:07:52 +02:00