Commit Graph

36391 Commits

Author SHA1 Message Date
Chris Hennes
52fffaf50e Merge pull request #12804 from bgbsww/bgbsww-toponamingPartFeature
Toponaming/Part: methods in part feature and dependencies for correct elementMaps
2024-03-11 13:35:59 -05:00
Max
0b761c1d57 Relable Path to CAM in GH template and lable action 2024-03-11 12:39:50 -05:00
Chris Hennes
0263199b57 Addon Manager: Python package installer wait for thread 2024-03-11 18:36:42 +01:00
Chris Hennes
87fb94342f Addon Manager: Fix README fetch for macros
When no macro metadata is downloaded, the macro has no URL yet.
2024-03-11 18:35:48 +01:00
Chris Hennes
ee50a0474f Addon Manager: Strip some HTML tags from Markdown 2024-03-11 18:35:29 +01:00
Yorik van Havre
4e3467ae5e Draft: Allow to prevent layers to claim children 2024-03-11 12:29:13 -05:00
Roy-043
18f6abb3c0 Sketcher: correct position of ConstrainLock and ConstrainRadiam in GUI
Sketcher_ConstrainLock after Sketcher_ConstrainAngle.
Sketcher_ConstrainRadiam before Sketcher_ConstrainRadius.

This was not always correct.

See also #12667.
2024-03-11 12:28:28 -05:00
wmayer
eb32abe7ef Part: fixes #12744: mesh export creates open edges
For the concatenated domains check if points are duplicate and if yes remove them
2024-03-11 12:25:57 -05:00
Florian Foinant-Willig
0625ac026d Core: Fix unselectable area in SoDatumLabel 2024-03-11 12:24:00 -05:00
André Althaus
2224d87e6e Fix #12780: An additional visibility icon is shown for features in groups
The icons in the testStatus() function are taken by reference and modified
inside. This seems to be used for caching when the same item occurs
multiple times in the tree. This can be the case for groups.

The visibility icon was added without taking the cached icon into
consideration and so it was added a second time.
The code is now moved into the if statement checking for this case.
2024-03-11 12:23:04 -05:00
FEA-eng
a7fe334a91 Elmer FEM 2D flow examples fix (#12777)
* Update equation_flow_elmer_2D.py

* Update equation_flow_initial_elmer_2D.py

* Update equation_flow_turbulent_elmer_2D.py
2024-03-11 12:21:46 -05:00
FEA-eng
b92e3477f5 Update meshtools.py (#12774) 2024-03-11 12:21:14 -05:00
mosfet80
97b5fb68c7 [Mod] Removed unnecessary function (#12772)
* Removed unnecessary function

the "renamedDocumentObjet" function does nothing

* [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-03-11 12:20:32 -05:00
Chris Hennes
46e2c45e2e Sketcher: Translate QWidgetAction items
Explicitly set the context used by tr() to fix missing context without it.
2024-03-11 18:17:32 +01:00
Chris Hennes
93d58802aa Tests: Migrate Google Test to a submodule
Pin Google Test submodule to v1.14.0
2024-03-11 12:16:09 -05:00
mosfet80
ab89eb0cfd [MOD] clean SMESH (#12754)
removed old smesh CODE <7
2024-03-11 12:13:00 -05:00
Chris Hennes
f6eead2e3b Merge pull request #12753 from davesrocketshop/20240301_FEM_Models
Material: New data models to support elasticity
2024-03-11 12:11:05 -05:00
Chris Hennes
9dac8385f6 Fix missing translations in task panel (#12738)
* Draft: Add missing translation to task panel

* PD: Add missing translation to task panel
2024-03-11 18:10:42 +01:00
Chris Hennes
8a6bc53dd6 PD: Translate attachment task title
Eliminate default title, which is untranslatable.
2024-03-11 18:08:22 +01:00
Chris Hennes
b0fab6ec79 Sketcher: Fix missing translations in DSH tools 2024-03-11 18:07:42 +01:00
Chris Hennes
d56a051c4c Sketcher: Translate menu entries for rectangle spec 2024-03-11 18:06:09 +01:00
Chris Hennes
e91c16aae1 PD: Translate shaft end types
Adds support for menu items having 'user data' that is the untranslated string. It would be better if these were enumerations, but that's a much larger refactoring process.
2024-03-11 18:05:29 +01:00
marioalexis
673f5d0745 Fem: Add partial support for hexahedral elements - fixes #12526 2024-03-11 12:03:15 -05:00
FEA-eng
8e3fed1ad5 FEM CalculiX output frequency setting (#12672)
* Update solver.py

* Update write_step_output.py

* Update box_frequency.inp

* Update box_static.inp

* Update ccx_buckling_flexuralbuckling.inp

* Update ccx_cantilever_beam_circle.inp

* Update ccx_cantilever_beam_pipe.inp

* Update ccx_cantilever_beam_rect.inp

* Update ccx_cantilever_ele_hexa20.inp

* Update ccx_cantilever_ele_quad4.inp

* Update ccx_cantilever_ele_quad8.inp

* Update ccx_cantilever_ele_seg2.inp

* Update ccx_cantilever_ele_seg3.inp

* Update ccx_cantilever_ele_tria3.inp

* Update ccx_cantilever_ele_tria6.inp

* Update ccx_cantilever_faceload.inp

* Update ccx_cantilever_nodeload.inp

* Update ccx_cantilever_prescribeddisplacement.inp

* Update constraint_contact_shell_shell.inp

* Update constraint_sectionprint.inp

* Update constraint_selfweight_cantilever.inp

* Update constraint_tie.inp

* Update constraint_transform_beam_hinged.inp

* Update constraint_transform_torque.inp

* Update frequency_beamsimple.inp

* Update material_multiple_bendingbeam_fiveboxes.inp

* Update material_multiple_bendingbeam_fivefaces.inp

* Update material_multiple_tensionrod_twoboxes.inp

* Update material_nonlinear.inp

* Update square_pipe_end_twisted_edgeforces.inp

* Update square_pipe_end_twisted_nodeforces.inp

* Update thermomech_bimetall.inp

* Update box_frequency.inp
2024-03-11 12:02:41 -05:00
sliptonic
575f282f45 Merge pull request #12665 from Ondsel-Development/pathrename
Rename the Path Workbench to CAM
2024-03-11 11:01:59 -06:00
Yorik van Havre
b2f1add784 Draft: Introduce mouse delay (#12624)
* Draft: Introduce mouse delay - fixes #11807

* Draft: set default mouse delay to 1
2024-03-11 11:54:07 -05:00
wmayer
d3e790cf21 Tests: add test function to write to file stream 2024-03-11 16:05:30 +01:00
wmayer
7b7a806bdf App: Change output stream from std::stringstream to std::ostream 2024-03-11 16:05:30 +01:00
wmayer
1775991b50 Base: Implement FileInfo::size() 2024-03-11 16:05:30 +01:00
wmayer
2cdc94e15c Gui: Fix using context-menu of ExpressionLineEdit
If for the DlgExpressionInput the user config parameter 'NoSystemBsckground' is set to True it's not used as a normal dialog but as a pop-up window.
In this mode the context-menu of the ExpressionLineEdit isn't working. A previous commit (a3036d16f1) fixed a crash but not this issue.

For Qt4 DlgExpressionInput has overridden the eventFilter() to handle using the context-menu but this is not working any more for Qt5 or Qt6.
Luckily, it has appeared that with Qt5 and Qt6 it works out-of-the box now and the event filter is not needed any more.
2024-03-11 16:04:00 +01:00
wmayer
2ce903a46c Fix build failure for MinGW
MinGW needs to know about the COIN_DLL export macro
2024-03-11 16:02:48 +01:00
xtemp09
9961f2949a Fix segmentation fault in Sketcher
Closes #11954.
2024-03-11 16:02:15 +01:00
wmayer
053d0fa047 Mesh: replace QtConcurrent::run with std::async 2024-03-11 16:00:25 +01:00
wmayer
33cacc3fb0 Mesh: make sure in VisitNeighbourFacets() and VisitNeighbourFacetsOverCorners() that start index is within the valid range 2024-03-11 16:00:25 +01:00
Max Wilfinger
9099d75884 Merge pull request #12863 from furgo16/title-removed
Remove placeholder title from PROBLEM_REPORT.yml issue report template
2024-03-11 13:49:28 +01:00
furgo16
63f7e7cd17 Remove title from PROBLEM_REPORT.yml 2024-03-11 08:13:17 +01:00
Chris Hennes
1c7dc55eda Material: Linter cleanup 2024-03-10 17:44:47 -05:00
Max Wilfinger
addf08ce6b Update PROBLEM_REPORT.yml
change title of issue report
2024-03-10 16:39:44 -05:00
Max Wilfinger
6ad3f0df9e Update PROBLEM_REPORT.yml
remove "[Problem]" in the title.
2024-03-10 14:40:03 -05:00
wmayer
5b5be480a3 Increment year in copyright notice 2024-03-09 16:18:57 +01:00
wmayer
81177b08e8 Test: change license of test file 2024-03-09 16:18:14 +01:00
wmayer
d42518c214 App: fix some linter issues 2024-03-09 16:18:14 +01:00
xtemp09
a3036d16f1 Fix the crash described in #12785
Closes #12785. The cause of the segmentation fault is access to the
already deleted _QMenu_. Simple setting attribute `Qt::WA_DeleteOnClose`
and removal of `delete menu` prevented it. To reproduce the crash, one
needs to mess up the `user.cfg` file in the way described in the issue.

Here is the fragment from the issue to mess up the `user.cfg` file:

```xml
<FCParamGroup Name="Expression">
<FCText Name="EditorTrigger">=</FCText>
<FCBool Name="AntoHideEditorIcon" Value="1"/>
<FCBool Name="NoSystemBackground" Value="1"/>
<FCInt Name="EditDialogBGAlpha" Value="1"/>
<FCInt Name="EditDialogWidth" Value="300"/>
<FCInt Name="EditDialogHeight" Value="214"/>
<FCInt Name="EditDialogTextHeight" Value="35"/>
</FCParamGroup>
```

---

This commit changes also unconnected things:

- usage of `QObject::connect` instead of if statements
- relocation of a separator and an action inside the if statement (I saw
no reason to have a separator and an action for _ExpressionCompleter_ if
there is no expression completer)
- usage of asynchronous `QMenu::popup()` instead of synchronous
`QMenu::exec()`. This way is used within [the source code of Qt]
(https://github.com/qt/qtbase/blob/5.15/src/widgets/widgets/
qlineedit.cpp#L2191-L2197).
2024-03-09 16:12:47 +01:00
pavltom
7212cccae5 [TechDraw] Reimplement Weld Symbol parent linking 2024-03-09 08:32:24 -05:00
wmayer
5af2cc89cc Tests: add tests for ProjectFile 2024-03-08 22:25:59 -06:00
wmayer
87716e1102 App: Add class ProjectFile to access metadata and data files of a project 2024-03-08 22:25:59 -06:00
wmayer
eb5a1b3339 Fix MinGW build
The commit 028739df caused a regression by breaking MinGW builds because the line
'#if defined(__MINGW32__)' has been removed.
As a result the 'if defined (FC_OS_WIN64) || defined (FC_OS_WIN32)' has become active
where the types '__int64' or 'unsigned __int64' that are not defined for MinGW
2024-03-08 10:24:49 +01:00
bgbsww
3df25821e5 Toposhape/Part:: Fix, relocate and test element methods in ComplexGeoData and TopoShape 2024-03-07 23:00:48 -05:00
Zheng, Lei
ae5c0a6d9c Toposhape/Part: Bring in element methods in FeaturePart, TopoShapePy::Init and TopoShape::GetPyObject 2024-03-07 13:15:40 -05:00
wmayer
2e96599903 Tests: fix compiler warning about unused parameters 2024-03-06 15:22:21 +01:00