Commit Graph

31547 Commits

Author SHA1 Message Date
Stefan Tröger
0e7f7e7813 FEM: Extraction code CodeQL updated and typo fix 2025-06-15 13:03:26 +02:00
Stefan Tröger
bd64303686 FEM: Include code quality improvements from review 2025-06-15 10:57:47 +02:00
Stefan Tröger
f88e9b281a FEM: Prevent invalid index for data extraction 2025-06-15 10:57:47 +02:00
Stefan Tröger
56def6c86d FEM: Plot single frame index data as point 2025-06-15 10:57:47 +02:00
Stefan Tröger
919cc87674 FEM: Data extraction code version conflicts resolved: PySide, mpl, VTK 2025-06-15 10:57:47 +02:00
Stefan Tröger
a7a79d6d90 FEM: Adopt data extraction code to ubuntu LTS 2025-06-15 10:57:47 +02:00
Stefan Tröger
b5a92b752f 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
fb6d0b75ac FEM: Update data extraction dialog titles and spelling errors 2025-06-15 10:57:47 +02:00
Stefan Tröger
2f55e4d276 FEM: Fix impact of stylesheet min button widht 2025-06-15 10:57:47 +02:00
Stefan Tröger
09eeb15e4a FEM: Ensure tests run without GUI with data extraction code 2025-06-15 10:57:47 +02:00
Stefan Tröger
820f867bf4 FEM: Data extraction ui works better with stylesheets 2025-06-15 10:57:47 +02:00
Stefan Tröger
27f1fdabd4 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
5f4a8f7a49 FEM: Ensure post task dialogs work without VTK python build 2025-06-15 10:57:47 +02:00
Stefan Tröger
bb971c1cf7 FEM: Add data extraction objects to FEM test suite 2025-06-15 10:57:47 +02:00
Stefan Tröger
8dd3e90896 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
4c642e63c6 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
463c6c9149 FEM: Adopt post extraction code to updated main 2025-06-15 10:57:47 +02:00
Stefan Tröger
3c22e30cd2 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
005d0aa854 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
0fb7c3cc5c FEM: Post data visualization bug fixes and quality of life updates 2025-06-15 10:57:47 +02:00
Stefan Tröger
a5ac5571b7 FEM: Add extraction task panel to data plot filters 2025-06-15 10:57:46 +02:00
Stefan Tröger
0a4dd0c31d FEM: Add table post data visualization 2025-06-15 10:57:46 +02:00
Stefan Tröger
2c983ce75e FEM: Add index over frames visualizations 2025-06-15 10:57:46 +02:00
Stefan Tröger
7694594338 Fem: Implement lineplot visualization 2025-06-15 10:57:46 +02:00
Stefan Tröger
ac02a222ff FEM: Draft architecture of post data extraction with histogram example 2025-06-15 10:57:46 +02:00
theo-vt
76952aabc7 Sketcher: Fix autoscale issue with the origin (#21952)
* Correctly handle geo ids < 0 in scale handler
2025-06-14 13:07:19 -05:00
pre-commit-ci[bot]
bc5cf27109 [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
39dc1e6210 [Gui] C++ preparation for deprecation of QCheckBox…
…stateChanged -> checkStateChanged
2025-06-13 10:40:48 +02:00
tetektoza
b4dcfe57f6 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
2bbd570754 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
Roy-043
b1358b7f55 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
Luz Paz
78d995f2b8 TechDraw: fix typo in comment 2025-06-11 21:51:23 +02:00
tetektoza
53c394ea52 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
wandererfan
9a18895cd0 [TD]fix bad element name in Vertex::Restore 2025-06-10 13:46:57 -05:00
wmayer
2c2ebc6ed2 Test: Do not write test files into CWD
When running the tests make sure to write the test files into the temp directory.

This fixes issue 19112
2025-06-10 17:11:25 +02:00
Mino-Tsuzuku
e70fde5773 Draft: Fix several SVG import bugs (#20293)
* Fix #19422 SVG: use tag create wrong size object
Fix #19072 SVG: import <defs> keyword as object without <use>
and Fix bug that not reported, <symbol> keyword as object without <use>
and Fix bug that not reported, nested use tag not import correctly.
 To do this. I make preprocessor that replace use tag to it's referenced object.
and remove symbol tag and defs tag from loaded svg.
 there is a subeffect, name of imported object that related to symbol tag is changed.

* Fix  incorrect import when use tag nesting context.

* fix error when use tag not exist.

* rebased aprospero PR20293.
fix several bugs.
1,x and y attribute of use tag is not processed under certain condition.
2,Doesn't finish importing when referenced ID is not exist.
3,Doesn't finish importing when use tag use href instead of xlink:href

* Refactor: Use data.get() for cleaner dictionary key handling

* Refactored code for simplicity following suggested changes.

* Add <a> tag support.( <a>tag  is  almost same with <g> tag at visual effect )

* Correct mistakes in the if condition handling href and xlink:href

* Modify the code to retain the original namespace definitions, as removing all namespaces may cause incorrect importing process.
2025-06-09 23:44:37 +02:00
Syres916
0967b3b3f4 [BIM] Fix Attribute Error when user moves and then deletes the BimViewArea dock widget (#21830)
* [BIM] Fix attribute error when user deletes the BimViewArea dock widget

* [BIM] Fix Attribute Error for both Qt5 and Qt6

* Update src/Mod/BIM/bimcommands/BimViews.py

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-06-09 17:36:04 +00:00
theo-vt
be24c6bbf3 Sketcher: Sketch autoscale (#21084)
* Working scale prototype

* Call viewAll to fit geometries in the viewport post-scaling

* Exclude angle dimensions

* Scale the viewport rather than calling viewAll

* Scale dimension annotation along geometries

* Early return when counting more than one dimensional constraint

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

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

* Disable sketch autoscale if there are external geometries in the sketch

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

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

* Add a setting to disable the feature _ and eventually parametrize

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

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

* Check for objects in the viewport in the sketch's ancestry to decide wheter or not to autoscale

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

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

* More consistent camera scaling

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

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

* Check for visual indicator in the whole document

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

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

* Find visible items in nested assemblies

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

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

* Check visual elements in assemblies nested in assemblies

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

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

* Set the dimension even if the scaling fails

* Allow constraints that interact with the origin axis/root

* Remove unused variable

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

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

* Misc fixes from review

* [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>
2025-06-09 18:31:44 +02:00
wmayer
2a7498c930 Helper function to get preferred delete key depending on platform 2025-06-09 18:10:52 +02:00
Tomas Mudrunka
73a1de4d83 Add 3.175mm milling bit to default tool library as it's extremely common bit size 2025-06-09 12:06:36 -04:00
Chris Hennes
6a4901c30d Merge pull request #21813 from maxwxyz/siemens-nx-navigation
Navigation: Add Siemens NX style
2025-06-09 12:03:31 -04:00
João Matos
bd58e7f3da Material: Fix unused parameters warnings. (#21584)
Just another round of compiler warnings fixes for material code.
2025-06-09 10:53:43 -05:00
Ralf Habacker
5900b21fda Partial homogenization of FEM dialogs for constraints (#21538)
* FEM: Add context menu entry for clearing the reference list in constraints

See #6085

* FEM: Add 'Remove' button to python based dialogs for adding geometry references

See #6085
2025-06-09 10:51:36 -05:00
wandererfan
ca20e8baad [TD]fix dim reference repair 2025-06-09 11:49:25 -04:00
WandererFan
8d0e9be09b [TD]Cosmetic vertex tag save/restore fail (fix #21069) (#21374)
* [TD]fix tag handling on Save/Restore

* [TD]fix linter messages

* [TD]remove c-style cast x4

* [TD]do not write VertexTag element in Vertex::Save
2025-06-09 17:48:00 +02:00
Ralf Habacker
d63b837326 BIM: Add top level group when importing obj file into active document
When importing an obj file into an existing document,
the imported objects are now stored below a new group
object in order to improve the structure and avoid
flooding the top level with imported objects.

Fixup for #21349
2025-06-09 17:36:45 +02:00
tetektoza
46b7c6c385 Draft: Introduce 1-axis mode for ortho array (#21602)
* Draft: Introduce 1-axis mode for ortho array

As the title says - the 1 axis mode allows to switch between all of the
axises mode and allows to modify only 1 axis at the time that user can
select with the checkbox.

* Draft: Rename to Linear Mode and remove redundant comments

* Draft: Display only one interval for the selected axis

* Draft: Cache selected variables in user.cfg - axis mode, intervals, etc...

* Draft: Make sure the checkboxes in OrthoArray are exclusively selected

* Draft: Apply review comments

Changed a couple of things according to review:
* linear mode is now being used as default during first startup (it
  wasn't before)
* applied Roy's comments about coding style, etc.
* grouped everything into separate QGroupBox which is dedicated for
  Linear Mode and has it's own labels, although spinboxes are shared so
  during mode switch we reparent them now
* removed Orthogonal Array's icon
* in the QGroup applied naming suggested in the review, X Intervals ->
  interval, etc.
* changed to radio buttons since we want exclusivity in selection
2025-06-09 17:33:51 +02:00
Syres916
3eb160ac87 [Start] add Tooltip to show full path when the ShortCustomFolder is true 2025-06-08 22:11:05 +02:00
Samuel Abels
26f18a298e CAM: Remove unwanted transparency from shape icons 2025-06-08 21:15:18 +02:00
Chris Hennes
16dde93180 Addon Manager: Update to latest main
Fixes problem with installer
2025-06-08 18:03:43 +02:00