Commit Graph

36912 Commits

Author SHA1 Message Date
Johannes Wüller
6321d5ceb8 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
90a9020ed4 Part: add unit test for PR #13507 2024-04-20 14:31:59 +02:00
mosfet80
2807ceff8e [MOD] removed multiple pi definition
removed multiple pi definition
2024-04-20 11:30:38 +02:00
mosfet80
44449d32d6 App: clean
Clean  GeoFeatureGroupExtension.cpp
2024-04-20 11:29:00 +02:00
mosfet80
eb842aadff Update Application.cpp
removed commented code
2024-04-20 08:54:02 +02:00
Roy-043
eb59682a53 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
1a2e922dce Part: fix shape projection of complex BSpline curves 2024-04-19 20:47:51 +02:00
Roy-043
64bcdbf961 Draft: Fix error when deleting first digit of input
Fixes #13150.
2024-04-19 19:16:13 +02:00
Roy-043
0622cb784e 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
a043cfa376 Draft: Draft_ToggleGrid should update the grid
Fixes #13530.
2024-04-19 15:42:28 +02:00
David Carter
b331a9f7a2 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
6e55cd1c3a 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
8dd2f8e8fa [App] clean
removed dead code
2024-04-18 23:06:47 -05:00
FEA-eng
d79d3c0c8b FEM: Add NetGen Min Size (#12794) 2024-04-18 23:05:57 -05:00
dzid26
c6493f2ef8 Core: Bring ConfirmSave dialog to the top (#13352) 2024-04-18 22:56:28 -05:00
sliptonic
c4db0a667e Merge pull request #13528 from Ondsel-Development/translation
[path] translation fixes
2024-04-18 19:52:21 -06:00
sliptonic
85cdc56e60 translation stuff 2024-04-18 17:38:12 -05:00
wandererfan
1b39f6f3d9 [TD]set Leader QGraphicsItem parentage on restore 2024-04-18 14:41:38 -04:00
Chris Hennes
7ae62d74bf Base/Toponaming: Correct string hasher output 2024-04-18 13:25:57 -05:00
PaddleStroke
4f3bb4e543 TechDraw: Fix child of linked view. 2024-04-18 12:14:10 -04:00
PaddleStroke
156ae209f5 TechDraw: Fix child not moving when drag and dropping a view between pages. 2024-04-18 12:14:10 -04:00
PaddleStroke
0f06f509d3 TechDraw: Remove Share View from toolbars. Leave it in menu. 2024-04-18 12:14:10 -04:00
PaddleStroke
fc32946149 TechDraw: Enable App::Links to work with TechDraw views. 2024-04-18 12:14:10 -04:00
wandererfan
5ed00d52dc [TD]Expose getVisibleVertexes/getHiddenVertexes to Python 2024-04-18 08:35:31 -04:00
wandererfan
d611611055 [TD]fix crash on corrupt reference 2024-04-17 18:42:16 -04:00
Chris Hennes
6d504a0351 Update translations. 2024-04-17 16:50:38 -05:00
wmayer
64029d3a5b 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
wmayer
0226770b4c Base: handle exceptions in ParameterGrpPy 2024-04-17 21:52:32 +02:00
wmayer
757d564a7c Tests: add more unit tests for ParameterGrp 2024-04-17 21:45:26 +02:00
wandererfan
8ebb848154 [TD]fix merge issue from PR13369
- PR13369 will not merge.  This is the final 2 commits.
2024-04-17 08:06:05 -04:00
wmayer
cf1eeaab19 Gui: In property editor disable widget of Placement property is not part of a DocumentObject 2024-04-17 12:28:30 +02:00
wmayer
4a2190f835 Gui: In Placement dialog check that the object identifier has a valid property before binding it to a widget 2024-04-17 12:28:30 +02:00
wandererfan
96cfd6b3dc [TD]fix 3d dimension position on DetailView 2024-04-16 13:20:02 -04:00
marcuspollio
aff60eca02 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
9e76f0f65e 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
76554835ba 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
a837f710d3 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
7fbe738cea Arch: Fix continue mode for Arch_Panel and Arch_Structure.
See #13378.
2024-04-16 15:04:00 +02:00
bgbsww
a4dd600ec6 Toponaming/Part: Fix hashing, hasher mismatches, and adjust test results to match 2024-04-15 23:00:27 -05:00
wandererfan
41bce2eaf4 [TD]fix BrokenView dimensions 2024-04-15 19:59:22 -04:00
Jacob Oursland
4f4df89442 CI: Enable debug verbosity to conda package install. 2024-04-15 12:14:21 -04:00
sliptonic
d141c62327 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
wmayer
6c9b368b99 Data: Consistent data path
During the build process the example files are copied to the hardcoded path 'data/examples' while for the installed files
'/examples' is used. On Linux systems the value of the CMake variable is 'share' so that there is
an inconsistency between compiled and installed version.
2024-04-15 11:10:58 -05:00
David Carter
f950a0c086 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
Chris Hennes
0056038ff4 Toponaming/Base: Add ASCII stream output class (#13209)
* Toponaming/Base: Add ASCII stream output class

* Remove the ref from std::string

* Update based on review comments
2024-04-15 17:58:11 +02:00
PaddleStroke
4b968a607d Sketcher: Trim tool, hold click and move. Fixes #6152 2024-04-15 17:56:58 +02:00
Adrian Insaurralde Avalos
aabb6124b1 Move macos CI to arm 2024-04-15 10:46:01 -05:00
Patryk Skowroński
233a61e54e New integration with 3Dconnexion devices (#12929)
* New integration with 3Dconnexion devices

* CMake build option hidden for Mac

* Minor fixes, to be squashed to previous commit

* cmake: fix indent and case; to be squashed

* Corrected name case

---------

Co-authored-by: Patryk Skowroński <pskowronski@3dconnexion.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
Co-authored-by: Ladislav Michl <ladis@linux-mips.org>
2024-04-15 10:43:45 -05:00
Chris Hennes
87839c9f8b Merge pull request #13332 from wwmayer/fix_material_issues
Fix material issues
2024-04-15 10:33:29 -05:00
Chris Hennes
cd1f624afb Merge pull request #13411 from bgbsww/bgbsww-toponamingFeatureDressup10399
Toponaming/Part:  feature dressup and transform
2024-04-14 17:22:00 -05:00