Commit Graph

36946 Commits

Author SHA1 Message Date
Chris Hennes
f8014e0e30 Merge pull request #13520 from wwmayer/fix_material
Fix further material issues
2024-04-22 11:16:44 -05:00
WandererFan
f2b1ad1419 Merge pull request #13519 from Roy-043/Sketcher-Improve-GUI-texts-in-SketcherSettingsAppearance.ui
Sketcher: Improve GUI texts in SketcherSettingsAppearance.ui
2024-04-22 12:16:00 -04:00
WandererFan
4ec4e9925a Merge pull request #13511 from Ondsel-Development/sk_polyline_midpoint
Sketcher: Fix mid-point autoconstraint not working with polyline.
2024-04-22 12:15:18 -04:00
PaddleStroke
f4aa66ce44 Sketcher: Joint Line and Polyline in a command group. 2024-04-22 11:14:45 -05:00
PaddleStroke
0ebf43a09c TabBar: Move + tab to beginning. 2024-04-22 11:13:12 -05:00
sliptonic
4056177dd5 Merge pull request #13503 from mosfet80/patch-34
[Mod] removed duplicated pi
2024-04-22 11:12:04 -05:00
David Carter
9f43b0ff76 Material: MaterialTreeWidget usability enhancements
Improves the MaterialTreeWidget beyond minimum viable product.

- Filters can now be filter lists to allow a variety of filtering
	options.
- User preferences allow the inclusion/exclusion of favorites and
	recents.
- Widget state such as expansion, tree expansions, etc are saved and
	restored.
- show current appearancee material when editing.
- implements a python interface

#fixes 13421: always opens full tree
2024-04-22 11:11:39 -05:00
Chris Hennes
9101454c4d Merge pull request #13495 from wwmayer/material_colors
Support to customize all material colors
2024-04-22 11:09:05 -05:00
WandererFan
c9498235ae Merge pull request #13489 from yorikvanhavre/draft-axes-colors
Draft: Use preference-stored colors for axes colors
2024-04-22 12:08:17 -04:00
Chris Mayo
d7e0182e6a Tools: Resolve SyntaxWarning in generateTools.py
src/Tools/generateBase/generateTools.py:144: SyntaxWarning: invalid escape sequence '\+'
  rbe = re.compile("\+")
2024-04-22 11:07:28 -05:00
Chris Hennes
97218d4c87 Merge pull request #13464 from marioalexis84/fem-ccx_element_types
Fem: Add element types to ABAQUS writer
2024-04-22 11:05:26 -05:00
Roy-043
d3e7c98965 Sketcher: Make geometry menu texts more consistent
Create circle -> Create circle by center
three points -> 3 points
2024-04-22 11:01:53 -05:00
Roy-043
4a586040d5 Sketcher: Make constraints menu texts more consistent
The current constraints menu texts are not very consistent. Particularly the mix of adverbs (horizontally) and adjectives (symmetrical) is strange.
2024-04-22 11:01:06 -05:00
FEA-eng
5f96c6dc3c FEM test INC value fix (#13397) 2024-04-22 10:56:25 -05:00
farley
789bbeedf6 Core: Fix searching model tree does not work for numbers #12723 (#13377)
* Fix problem #12723: Searching model tree does not work for numbers
- Modify ExpressionTokenizer::perform
- Add tests tokenizeCompletion
2024-04-22 10:55:42 -05:00
marioalexis84
0be9e68fcd Fem: Constraint symbol scaling (#13274)
* Fem: Constraint symbols rescaling

* Fem: Add constraint symbol .iv files

* Fem: Fix contact constraint symbol rescaling

* Fem: Fix displacement constraint symbol rescaling

* Fem: Fix fixed constraint symbol rescaling

* Fem: Fix force constraint symbol rescaling

* Fem: Fix heat flux constraint symbol rescaling

* Fem: Fix plane rotation constraint symbol rescaling

* Fem: Fix pressure constraint symbol rescaling

* Fem: Fix spring constraint symbol rescaling

* Fem: Fix temperature constraint symbol rescaling

* Fem: Add tie constraint symbol
2024-04-22 11:49:13 -04:00
mosfet80
4fb6891d11 Update sub_wrapup.yml (#12993)
update geekyeggo/delete-artifact to v5
2024-04-22 10:44:47 -05:00
Roy-043
58be610253 Merge pull request #13580 from Roy-043/Draft-Move-MouseDelay-pref-to-General-group-and-set-max-value
Draft: Move MouseDelay pref to General group and set max value
2024-04-21 20:38:25 +02:00
Roy-043
cd1f520788 Draft: Move MouseDelay pref to General group and set max value
* The MouseDelay pref does not belong in the "Grid and snapping" pref group.
* Max. value was missing. Without it the spinbox only goes to 100.
* The 3600 suggestion was removed from the tooltip as it is an unworkable value. But entering it is possible now.
2024-04-21 20:05:29 +02:00
Johannes Wüller
a1e18f1f96 Add myself as contributor 2024-04-20 23:03:16 +02:00
Johannes Wüller
13caf40036 Fix CSG computing geometry too early
onChanged() triggers for the first time before all of the properties are
loaded, so it can fail to compute properly at that stage, depending on
the load order.

However, it's not necessary to compute geometry in onChanged() at all,
because that's usually supposed to happen in execute() anyway. The
solution here is to just not do onChanged() at all.

Fixes #13558
2024-04-20 23:02:49 +02:00
wmayer
95b57d4dd4 Part: add unit test for PR #13507 2024-04-20 14:31:59 +02:00
mosfet80
7eeb389422 [MOD] removed multiple pi definition
removed multiple pi definition
2024-04-20 11:30:38 +02:00
mosfet80
18004ed845 App: clean
Clean  GeoFeatureGroupExtension.cpp
2024-04-20 11:29:00 +02:00
mosfet80
c6f2c8b370 Update Application.cpp
removed commented code
2024-04-20 08:54:02 +02:00
Roy-043
88c7502c15 Merge pull request #13543 from Roy-043/Draft-Fix-error-when-deleting-first-digit-of-input
Draft: Fix error when deleting first digit of input
2024-04-19 21:36:38 +02:00
tomate44
efc6fd87a4 Part: fix shape projection of complex BSpline curves 2024-04-19 20:47:51 +02:00
Roy-043
6ad75fb315 Draft: Fix error when deleting first digit of input
Fixes #13150.
2024-04-19 19:16:13 +02:00
Roy-043
f281e3ef7f Merge pull request #13540 from Roy-043/Draft-Draft_ToggleGrid-should-update-the-grid
Draft: Draft_ToggleGrid should update the grid
2024-04-19 18:46:16 +02:00
Roy-043
11903d2d1b Draft: Draft_ToggleGrid should update the grid
Fixes #13530.
2024-04-19 15:42:28 +02:00
wmayer
6d6ca16198 Tests: add unit tests for Color class 2024-04-19 13:07:54 +02:00
wmayer
38090de37c App: use std::lround() to fix linter warnings 2024-04-19 13:07:10 +02:00
wmayer
17222f2927 Part: Support of material colors in settings 2024-04-19 11:14:00 +02:00
wmayer
2b0a88ca7d Gui: Read material colors from settings 2024-04-19 11:13:59 +02:00
wmayer
331bdacd83 App: Add setPackedRGB() and getPackedRGB() to Color class 2024-04-19 11:13:59 +02:00
David Carter
8d5e2bc428 Material: Problems editing Quantity properties
There were several issues here, not just one. The following are fixed:

Incorrect display of Quantity items (NaN)
Editing and updating quantity items
Editing and updating items on the first row.

There are still issues with editing lists, but these were known issues at the time of initial merge. This has been split out into issue #13435

fixes #13020
2024-04-18 23:48:05 -05:00
wmayer
0c25b29680 Base: Fix possible race condition when restarting the application
When restarting the application (e.g. after installing an addon) the application will be closed and a new instance will be launched. Now it can happen that the old instance is still busy writing the config files to disk while the new instance wants to read them in. At this time it's possible that a config file is in an invalid state so that the new instance will ignore it but then starts with a default configuration.
Later when closing the new instance the config files will be overwritten and destroy the user's original settings.

By using a lock file this race condition will be avoided. It uses a timeout of 1 second that should be enough for the old instance to write the files to disk.
2024-04-18 23:07:58 -05:00
mosfet80
d21dc9b62c [App] clean
removed dead code
2024-04-18 23:06:47 -05:00
FEA-eng
1d1547e849 FEM: Add NetGen Min Size (#12794) 2024-04-18 23:05:57 -05:00
dzid26
f9c423e979 Core: Bring ConfirmSave dialog to the top (#13352) 2024-04-18 22:56:28 -05:00
sliptonic
b1de80596a Merge pull request #13528 from Ondsel-Development/translation
[path] translation fixes
2024-04-18 19:52:21 -06:00
sliptonic
5504a22285 translation stuff 2024-04-18 17:38:12 -05:00
wandererfan
2a9900e478 [TD]set Leader QGraphicsItem parentage on restore 2024-04-18 14:41:38 -04:00
Chris Hennes
b985f6339e Base/Toponaming: Correct string hasher output 2024-04-18 13:25:57 -05:00
PaddleStroke
60290a2a34 TechDraw: Fix child of linked view. 2024-04-18 12:14:10 -04:00
PaddleStroke
ffb34ebe54 TechDraw: Fix child not moving when drag and dropping a view between pages. 2024-04-18 12:14:10 -04:00
PaddleStroke
beda33d9e6 TechDraw: Remove Share View from toolbars. Leave it in menu. 2024-04-18 12:14:10 -04:00
PaddleStroke
4d84efb061 TechDraw: Enable App::Links to work with TechDraw views. 2024-04-18 12:14:10 -04:00
wandererfan
ed6c12773e [TD]Expose getVisibleVertexes/getHiddenVertexes to Python 2024-04-18 08:35:31 -04:00
wmayer
550fd359c0 CAM: fix regressions with material handling
The ShapeAppearance is a list of materials and thus assigning a color with 'obj.ViewObject.ShapeAppearance.DiffuseColor = color'
is incorrect.
But doing it with 'obj.ViewObject.ShapeAppearance[0].DiffuseColor = color' doesn't work as expected because the
internal notification doesn't work with a list.

So, the only viable way is to revert the changes and do it by assigning the color to the 'ShapeColor' attribute.
2024-04-18 13:57:48 +02:00