Commit Graph

31830 Commits

Author SHA1 Message Date
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
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
FEA-eng
1d1547e849 FEM: Add NetGen Min Size (#12794) 2024-04-18 23:05:57 -05:00
David Carter
4a7e7b7f27 Materials: Update Material Models
Several minor material updates:
- Separate Hardness from LinearElastic model
- Add UUID definitions for FEM dependent models
- Update unit tests
2024-04-18 20:18:50 -04: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
wmayer
378f720291 Arch: fix regressions with material handling 2024-04-18 13:46:59 +02:00
Roy-043
091a149017 Sketcher: Improve GUI texts in SketcherSettingsAppearance.ui 2024-04-18 12:15:34 +02:00
wandererfan
1bd3379bef [TD]fix crash on corrupt reference 2024-04-17 18:42:16 -04:00
Chris Hennes
e7069e6797 Update translations. 2024-04-17 16:50:38 -05:00
wmayer
95df9e3244 Sketcher: fix crash in CmdRenderingOrder::updateIcon()
If a parameter in the observed parameter group is changed then CmdRenderingOrder::OnChange() is called but the ActionGroup may not be created yet
2024-04-17 21:52:32 +02:00
PaddleStroke
cc30e9f395 Sketcher: Fix mid-point autoconstraint not working on polyline. Fixes #13277 2024-04-17 16:27:21 +02:00
wandererfan
1d62aad88d [TD]fix merge issue from PR13369
- PR13369 will not merge.  This is the final 2 commits.
2024-04-17 08:06:05 -04:00
mosfet80
94303ebc38 [Mod] removed duplicated pi
removed duplicated pi definition
2024-04-17 08:08:45 +02:00
wandererfan
e5dacc9c9b [TD]fix 3d dimension position on DetailView 2024-04-16 13:20:02 -04:00
marioalexis
8d13863bfd Fem: Remove unused functions 2024-04-16 11:28:52 -03:00
marioalexis
be65d1a252 Fem: Add element types to ABAQUS writer 2024-04-16 11:28:52 -03:00
marcuspollio
c37712afea ArchSpace - Improve Tooltip in Text following 13039 PR (#13422)
Co-authored-by: Yorik van Havre <yorik@uncreated.net>
2024-04-16 15:05:51 +02:00
Roy-043
1efa8ca451 Arch: Arch_Structure beam could have wrong length (#13399)
A beam created with Arch_Structure would have the wrong length if the 1st point was clicked and the 2nd point was entered in the task panel.

Forum topic: https://forum.freecad.org/viewtopic.php?t=86595

Aditionally: simplified rotateLH and rotateLW.

Co-authored-by: Yorik van Havre <yorik@uncreated.net>
2024-04-16 15:05:24 +02:00
Roy-043
062b7d4c94 Draft: FIx issue with get_shape_normal
Forum topic: https://forum.freecad.org/viewtopic.php?t=86817
2024-04-16 15:04:49 +02:00
Roy-043
c87ae18f61 Arch: Fix several Arch_Wall issues
* The Placement of Draft Line base objects was not adjusted to account for the current working plane. Forum topic: https://forum.freecad.org/viewtopic.php?t=86780
* Continue mode checkbox did not behave correctly because its value was based on FreeCADGui.draftToolBar.continueMode, which does not update as the parameter is changed. Will update other Arch code later.
* There was an issue with Draft Line based walls and continue mode. A Draft Line is selected after creation and the next command call would also use that line because of that. Resulting in 2 walls using the same line and an interuption of continue mode.
* setUseSketch changed the wrong parameter.
2024-04-16 15:04:29 +02:00
Roy-043
1e36043446 Arch: Fix continue mode for Arch_Panel and Arch_Structure.
See #13378.
2024-04-16 15:04:00 +02:00
Yorik van Havre
8acf9f7093 Draft: Use preference-stored colors for axes colors - issue #12208 2024-04-16 10:20:01 +02:00
bgbsww
0d8631973e Toponaming/Part: Fix hashing, hasher mismatches, and adjust test results to match 2024-04-15 23:00:27 -05:00
wandererfan
301d928cba [TD]fix BrokenView dimensions 2024-04-15 19:59:22 -04:00
sliptonic
5988731660 Merge pull request #13394 from bgbsww/bgbsww-CAMTestsLeaveFile
Have grbl_post not write - file just like other postprocessors
2024-04-15 10:11:48 -06:00
David Carter
bc36c8dab5 Material: Compatibility with older FCMat files
Provides compatibility loading older files outside the context of
a library.

Older material files were loaded by specifying a path. The new
material system used the path to associated the material with a
library, which may not be appropriate for legacy files. This change
allows the use of materials outside of a library.

Additionally, legacy files often have name/value pairs not part of the
standard list of properties. Since these were unable to be mapped to
a model property they were ignored. Materials now maintain a legacy
map to hold properties not associated with a property model. These
properties are considered transient and will not be saved. It is not
intended for this feature to be used as a generic container for
properties not mapped to an appropriate model.

Fixes #13302
2024-04-15 18:05:18 +02:00
PaddleStroke
0d6ac37353 Sketcher: Trim tool, hold click and move. Fixes #6152 2024-04-15 17:56:58 +02:00
Chris Hennes
ed3e1cf544 Merge pull request #13332 from wwmayer/fix_material_issues
Fix material issues
2024-04-15 10:33:29 -05:00
bgbsww
98880ca5df Merge branch 'main' into bgbsww-toponamingFeatureDressup10399 2024-04-14 18:16:03 -04:00
Chris Mayo
014cf9b458 Addon Manager: Remove mentions of GitPython
Not used since:
a1b2107ffd ("Addon Manager: Complete migration away from GitPython", 2024-01-27)
2024-04-14 17:13:55 -05:00
bgbsww
bd406dbcfd TopoNaming/PartDesign: Implement shapebinders 2024-04-14 17:13:14 -05:00
bgbsww
ccc03e8e60 Merge branch 'main' into bgbsww-toponamingFeatureDressup10399 2024-04-14 18:08:58 -04:00
Chris Hennes
305bba6db4 Merge pull request #13401 from bgbsww/bgbsww-toponamingPD6FeaturePrimitive
Toponaming/Part:  Enhance testing for  primitive features
2024-04-14 16:21:38 -05:00
Chris Hennes
2aaa856661 Merge pull request #13387 from bgbsww/bgbsww-toponamingPD5FeaturePad
Toponaming/Part Transfer more python ElementMapVersion and add feature pad testing
2024-04-14 16:06:40 -05:00
wmayer
4f8606fddb PD: Fixes #13446: Crash with hole in additive loft 2024-04-14 21:24:06 +02:00
bgbsww
459644be31 TopoShape/Part: Bug fixes; pass Hasher parms, OCCT 7.8 compatibility, ElementMaps correct item count 2024-04-14 13:56:07 -04:00
David Planella
6aedddba5f Renamed locale folders according to IETF subtags, added README file with instructions on how to add a new translation 2024-04-14 08:51:25 -04:00
David Planella
c6378ae51b Remove stray translations into their own locale folder 2024-04-14 08:51:25 -04:00
David Planella
58cd0f8353 Move all existing translation folders into locale subfolder 2024-04-14 08:51:25 -04:00
bgbsww
c5e481441d Toponaming/Part: Add Pad test, cleanup 2024-04-14 07:10:27 -04:00
bgbsww
9ebb23f234 Toponaming/Part: Initialize the hasher so that it operates 2024-04-13 22:41:57 -05:00