wmayer
2f736ded84
Base: Do not use short int in Matrix4D
...
As discussed in https://forum.freecad.org/viewtopic.php?t=65959
replace short with int.
2025-06-16 10:05:43 +02:00
Chris Hennes
7d37d8dfa9
App: Extract BackupPolicy into its own file
...
No code changes except to add AppExport to BackupPolicy
2025-06-15 10:33:42 -05:00
Stefan Tröger
7557d49697
FEM: Extraction code CodeQL updated and typo fix
2025-06-15 13:03:26 +02:00
Stefan Tröger
3e3e6a2c7b
FEM: Include code quality improvements from review
2025-06-15 10:57:47 +02:00
Stefan Tröger
66f8674e63
FEM: Prevent invalid index for data extraction
2025-06-15 10:57:47 +02:00
Stefan Tröger
cb4ab225a6
FEM: Plot single frame index data as point
2025-06-15 10:57:47 +02:00
Stefan Tröger
f5533a5f53
FEM: Data extraction code version conflicts resolved: PySide, mpl, VTK
2025-06-15 10:57:47 +02:00
Stefan Tröger
ecf2dba626
FEM: Adopt data extraction code to ubuntu LTS
2025-06-15 10:57:47 +02:00
Stefan Tröger
997fa8a193
FEM: Remove VTK 9.4 only function
...
And make sure filters task dialogs can be used if something in python fails
2025-06-15 10:57:47 +02:00
Stefan Tröger
8786b072d9
FEM: Update data extraction dialog titles and spelling errors
2025-06-15 10:57:47 +02:00
Stefan Tröger
dcfc932711
FEM: Fix impact of stylesheet min button widht
2025-06-15 10:57:47 +02:00
Stefan Tröger
8dff03ff79
FEM: Ensure tests run without GUI with data extraction code
2025-06-15 10:57:47 +02:00
Stefan Tröger
fbf31f8657
FEM: Data extraction ui works better with stylesheets
2025-06-15 10:57:47 +02:00
Stefan Tröger
8cec9ad7f9
FEM: Adopt data extraction for VTK <9.3: different table filter
...
Additionally remove unneeded includes in c++ code remaining from earlier experiments
2025-06-15 10:57:47 +02:00
Stefan Tröger
d50a98b9cf
FEM: Ensure post task dialogs work without VTK python build
2025-06-15 10:57:47 +02:00
Stefan Tröger
64d864c944
FEM: Add data extraction objects to FEM test suite
2025-06-15 10:57:47 +02:00
Stefan Tröger
6ba5c0d0a5
FEM: port DataAlongLine filter to use arc length.
...
This makes it easier for the new data extraction to also plot data over line length.
2025-06-15 10:57:47 +02:00
Stefan Tröger
89c71c511a
FEM: Data extraction objects are FEM::FeaturePython
...
This allows them to be drag and droped in an analysis
2025-06-15 10:57:47 +02:00
Stefan Tröger
974f41fc96
FEM: Adopt post extraction code to updated main
2025-06-15 10:57:47 +02:00
Stefan Tröger
318d0645f0
FEM: Usability and UI improvements for data extraction
...
Update icons for post data extraction
Improve translatability of post data extraction
Fix post data extraction commit handling
2025-06-15 10:57:47 +02:00
Stefan Tröger
aa6bb428cc
FEM: Allow export of post processing data tables to CSV files or to cliboard to paste into spreadsheet programs
2025-06-15 10:57:47 +02:00
Stefan Tröger
8672a680e0
FEM: Post data visualization bug fixes and quality of life updates
2025-06-15 10:57:47 +02:00
Stefan Tröger
54a35a6c4d
FEM: Add extraction task panel to data plot filters
2025-06-15 10:57:46 +02:00
Stefan Tröger
d86040dd58
FEM: Add table post data visualization
2025-06-15 10:57:46 +02:00
Stefan Tröger
d3fa7ad8f0
FEM: Add index over frames visualizations
2025-06-15 10:57:46 +02:00
Stefan Tröger
c1b11a19f7
Fem: Implement lineplot visualization
2025-06-15 10:57:46 +02:00
Stefan Tröger
6e4fab1f50
FEM: Draft architecture of post data extraction with histogram example
2025-06-15 10:57:46 +02:00
Captain
f92d33944b
Gui: refactor SoLinearDragger ( #21451 )
...
* Gui: refactor SoLinearDragger
* further improvements
* allow changing label visibility
* change SoLinearDraggerContainer to not inherit from SoDragger
---------
Co-authored-by: captain <captain@captain.captain.com >
2025-06-14 23:21:25 +02:00
theo-vt
9ecb62c8f6
Sketcher: Fix autoscale issue with the origin ( #21952 )
...
* Correctly handle geo ids < 0 in scale handler
2025-06-14 13:07:19 -05:00
Benjamin Bræstrup Sayoc
117796bf08
Gui: use parameter observer for locale parameter
...
Parameter change should be independent of the use of the preference window.
2025-06-14 18:25:03 +02:00
Chris Hennes
9714e2f87a
Base: Disable XML external entity expansion
...
Addresses https://github.com/FreeCAD/FreeCAD/security/code-scanning/29
2025-06-13 10:44:01 +02:00
pre-commit-ci[bot]
f03900b58d
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-06-13 10:40:48 +02:00
Syres916
6eecd08f7c
[Gui] C++ preparation for deprecation of QCheckBox…
...
…stateChanged -> checkStateChanged
2025-06-13 10:40:48 +02:00
tetektoza
2c532ed924
Sketcher: Fix OVP accepting input prematurely in Position and Dimensions
...
Fixes the problem where if user has selected `Position and dimensions`
mode in Preferences, then after first keystroke on 2nd label after
typing something in 1st label before, the input is being accepted
without allowing them to enter a number with more than 2 digits.
2025-06-13 10:10:58 +02:00
tetektoza
60a86b05c4
Sketcher: Fix OOB access to OVPs
...
Stupid mistake of mine from previous refactor - some of the OVPs do not
contain those elements and thus should not be accessed prematurely.
This patch moves access to the OVPs when it's actually needed so it
won't go out of bounds.
2025-06-13 10:10:58 +02:00
Alfredo Monclus
f5c32243a6
Gui: fix double-click on checkboxes locking the properties
2025-06-13 10:10:31 +02:00
Roy-043
89cb9877b7
Draft: OrthoArray task panel change some strings to sentence case ( #21959 )
...
X Axis -> X axis
Same for Y and Z.
2025-06-12 19:52:52 +02:00
Samuel Abels
b88bafc138
CAM: fix: broken import in tests
2025-06-12 18:17:21 +02:00
Samuel Abels
c7a27e8b82
CAM: Remove obsolete images
2025-06-12 17:05:23 +02:00
Samuel Abels
07d466e1fb
CAM: move DetachedDocumentObject into a dedicated module for better reuse
2025-06-12 17:01:36 +02:00
Benjamin Nauck
f32fdcf48b
Gui: Fix regression pointed out in review
...
paddlestroke:
> Here we actually need to keep App::Origin. Because we do not allow deletion ONLY of origin objects. Not of normal LCS.
While the original code:
```cpp
auto origin = dynamic_cast<App::Origin*>(lcs);
if (origin && !origin->getInList().empty()) {
```
...handles this perfectly fine, intent isn't obvious when reading it.
Using `is<T>()` shows intent better and should avoid similar situations in the future.
2025-06-12 10:33:56 +02:00
Benjamin Nauck
4c66d2e3d4
Gui: Refactor LCS fixes
...
* use early exit to highlight main execution path
* use `auto*` for pointer
* use getObject<T>() instead of casting result from getObject()
* remove empty updateData()
* rename origin to lcs in setTemporaryVisibility for clarity
2025-06-12 10:27:06 +02:00
Luz Paz
775194b5b9
TechDraw: fix typo in comment
2025-06-11 21:51:23 +02:00
Max Wilfinger
9d1360fc8d
Gui: Fix dragger update when moving to target object and make flip independent of selected components.
2025-06-11 20:58:47 +02:00
tetektoza
a95d782ab0
Sketcher: Refactor access to OVPs to not repeat array access everytime
...
As the title says. I think personally this increases readability just a
little bit and I thought it's low effort to refactor.
Instead of checking the OVPs through array everytime, since we access
them multiple times in different scenarios - just cache them on the
beginning of state and access the variable, instead of array.
2025-06-11 13:30:35 +02:00
wmayer
f2780320cc
Gui: Fix crash when creating a LCS
...
This is a left-over of the regressions introduced with PR 18126.
Thanks to some moderinization of the code base and replacing static with dynamic casts undefined behaviour
has changed to well-defined behaviour but now unchecked null pointers.
This change does some extra null pointer checks and uses the now correct types for down casting.
Hint: Upstream still uses many static casts here that already cause undefined behaviour when creating a LCS.
This could be the reason for the possible crashes when deleting a LCS as described in 20261
# Conflicts:
# src/Gui/ViewProviderCoordinateSystem.cpp
2025-06-11 08:26:17 +02:00
Ladislav Michl
4d1d6f4e78
Revert "Sheet: Disable zooming"
...
This reverts 0c4fb60 ("Sheet: Disable zooming") as it breaks some
users workflow.
2025-06-11 06:54:59 +02:00
Kacper Donat
109e11e6b2
Spreadsheet: Fix cursor being stuck resize state when scaled
2025-06-11 06:54:59 +02:00
Furgo
195afca33f
BIM: Use PrefCheckableGroupBox in IFC exporter preferences page
2025-06-11 02:44:52 +02:00
Furgo
b584c506bd
Draft: handle reading defaults from PrefCheckableGroupBox
2025-06-11 02:44:52 +02:00