Commit Graph

29394 Commits

Author SHA1 Message Date
marioalexis
faa8bc2cf9 Fem: Enable expression for the mesh boundary layer task panel 2024-10-10 20:33:54 -05:00
marioalexis
c98af7fa83 Fem: Enable expression for the element geometry 2D task panel 2024-10-10 20:33:54 -05:00
marioalexis
02d62992b5 Fem: Enable expression for the element geometry 1D task panel 2024-10-10 20:33:54 -05:00
marioalexis
c88830e65f Fem: Enable expression for the centrif constraint task panel 2024-10-10 20:33:54 -05:00
marioalexis
7416a4eb62 Fem: Enable expression for the spring constraint task panel 2024-10-10 20:33:54 -05:00
marioalexis
f7f700eb1c Fem: Enable expression for the heat flux constraint task panel 2024-10-10 20:33:54 -05:00
PaddleStroke
5ce79a760b Assembly: Fix gear/belt switch on checkbox toggle 2024-10-10 20:26:18 -05:00
Syres916
6a3915316f [Gui] Disable the ability to change themes and preference packs... 2024-10-10 20:25:30 -05:00
marioalexis
b6dedffa5f Fem: Fix gap in constraint fixed symbol 2024-10-10 20:22:50 -05:00
Roy-043
f1b8efdcdd BIM: Remove calls to end_all_events to avoid Linux crash
Fixes #15723.
2024-10-10 13:47:09 +02:00
Paul Lee
5eb6fcf6fb [Arch] Bug: ArchRemove Creates Cyclic Dependency and TNP
FreeCAD Discussion Forum -
https://forum.freecad.org/viewtopic.php?t=91180&start=30#p786308
2024-10-10 10:06:09 +02:00
PaddleStroke
abc971254d Sketcher: Fix double click of wire and remove selection that was not working 2024-10-08 10:53:00 -05:00
PaddleStroke
4885b700b8 Core: Fix #7580 (#17013)
Fixes several undo/redo issues with the attachment dialog
2024-10-08 10:21:08 +02:00
PaddleStroke
29b719664b Assembly: Fix migrationScript2 error with bad joints (#17010)
* Fix migrationScript2 to handle bad joints
2024-10-07 18:48:38 -05:00
marioalexis
5438cc3a7f Fem: Add option to use old Netgen mesher implementation 2024-10-07 18:11:11 +02:00
marioalexis
ecaa200ad2 Fem: Use default size for mesh task panel quantity spin boxes 2024-10-07 17:55:39 +02:00
mwganson
6035f3028a [Part Workbench] Fix issue with Sketcher_NewSketch icon moving on changing back to workbench 2024-10-07 10:52:48 -05:00
Furgo
57df44b03d Create the assembly object inside the list of commands 2024-10-07 17:48:00 +02:00
Florian Foinant-Willig
151be5af1a Fix duplicate calculation at Task validation 2024-10-07 17:46:21 +02:00
marcuspollio
de33890cd4 Start: little layout tweak to First Start Region 2024-10-07 17:41:42 +02:00
wmayer
a54a7862f4 TD: Fix compiler warnings
This fixes the compiler warning: unused parameter 'mode' [-Wunused-parameter]

It's a regression of #16889 to not initialize the class member m_createMode any more that causes UB,
i.e. whenever m_createMode is accessed it may return an unexpected value.
2024-10-07 17:40:32 +02:00
Yorik van Havre
2a624e681c Merge pull request #16963 from FlachyJoe/fix_primitivePlacement
PartDesign: Fix primitive placement
2024-10-07 17:39:27 +02:00
Unl0gic
c214a18df6 Update SurfaceSupport.py
- Fixed mapping v_bit to ConeCutter
2024-10-07 17:35:02 +02:00
wandererfan
ddad57f20c [TD]fix parallel edge test (fix #16851)
- missing normalization before test
2024-10-07 17:34:11 +02:00
Benjamin Bræstrup Sayoc
35d5259c31 [Sketcher] If origin selected: don't do distance to origin
In auto constrainer. Fixes #12684
2024-10-07 09:02:43 -05:00
mwganson
502f3182f8 [PartDesign AllowCompound] recompute all features when AllowCompound property is changed either from true to false or from false to true 2024-10-07 08:56:07 -05:00
shai
e926b65b0c Fix issue #17035 2024-10-07 08:35:43 -05:00
Eric Price
29a4f08ed3 Changed QuickMeasurement to be conservative (#17060)
* Changed QuickMeasurement to be conservative

QuickMeasurement should not measure while tool dialogs are open
this includes but is not limited to editing sketches
also changed several other sanity checks to be opt-in vs opt-out, as discussed.

* move the test if it is safe to measure to when the measurement actually happens - avoids any potential race conditions
2024-10-07 08:33:31 -05:00
Roy-043
763f56bd98 BIM: BimWall add missing imports
Fixes #16996.
2024-10-07 15:21:11 +02:00
Roy-043
ae015a18b4 Draft: avoid confusing SVG warning for nested circles and ellipses
Forum topic:
https://forum.freecad.org/viewtopic.php?t=90942
2024-10-07 15:07:51 +02:00
bgbsww
7d9e955190 Disallow end_all_events in Gesture Nav Style 2024-10-07 15:03:17 +02:00
Roy-043
1dd4fd636c More logical implementation of the fix. 2024-10-07 14:58:36 +02:00
Roy-043
6ccca8b9ad Draft: Stop draftToolBar.escape() executing multiple times
Fixes #17027.

The `DraftTaskPanel.reject()` function can be called multiple times if Esc is pressed during a fast mouse move. We need to prevent multiple calls to `draftToolBar.escape()` as this will lead to multiple calls to `gui_utils.end_all_events()` which results in a crash.
2024-10-07 14:58:36 +02:00
Furgo
07e801be86 Prepend a single quote to BOM index to be interpreted as a string in generated spreadsheets 2024-10-04 08:53:02 -05:00
Roy-043
3608ed2613 BIM: Compatibility fix for walls based on wire or face with -Z normal
In V1.0 the handling of wall normals has changed. As a result existing walls with their Normal set to [0, 0, 0], based on wires or faces with a shape normal pointing towards -Z, would be extruded in that direction instead of towards +Z as before. To avoid this their Normal property is changed to [0, 0, 1].
2024-10-04 13:54:17 +02:00
Ajinkya Dahale
101040c395 [Sketcher] Apply tangent autoconstraint only when Dir given
This relates to `seekAutoConstraint` and `seekAndRenderAutoConstraint`.

Fixes #16321.
2024-10-03 23:17:43 -05:00
Florian Foinant-Willig
8945971578 [PD Helix] allow refinement to fail 2024-10-03 21:54:07 -05:00
Chris Hennes
d1cdcd18bf Merge pull request #16726 from bgbsww/bgbsww-AssemblySubNames
Assembly: Correctly build reference from selection subname
2024-10-03 13:46:35 -05:00
Kris Wilk
d1c04fd193 Prevent using reserved names for properties or aliases (Fix #16846) (#16902)
* Prevent naming properties with reserved words (Fix #16846)

* Prevent using reserved constant names for properties or aliases

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

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

* App: Add unit test for isTokenAConstant

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-10-03 10:03:10 -05:00
PaddleStroke
ced8869b49 Assembly: Use cpp getGlobalPlacement python binding rather than reimplementing it. 2024-10-03 09:59:15 -05:00
Frank Martinez
6c66acacf9 [AddonManager] Set default filter to ANY package type 2024-10-03 09:55:04 -05:00
PaddleStroke
c6e4f8a946 QuickMeasure: Prevent crash by limiting selection to Part::Features (#16921)
* QuickMeasure: Prevent crash by limiting selection to Part::Features

* chennes' fix

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-10-03 09:49:09 -05:00
Roy-043
2875a58482 BIM: check if Width and Height of window are not zero 2024-10-02 21:49:21 -06:00
Benjamin Nauck
dbeeb1534a Fix macos crashes when unhandled exceptions reaches qt 2024-10-02 21:11:41 -06:00
David Carter
8bc796cd9c Materials: Correct DiffuseColor custom attribute
Custom attributes were modified to maintain the behaviour of setting
transparencies using the DiffuseColor alpha channels
2024-10-02 20:35:09 -06:00
David Carter
b7021452b5 FEM: Translation error causing a crash
An error in the Italian translation added an extra '{}' to the
translation string resulting in a dump when formatting.

This has also been updated in CrowdIn but as it's causing a crash is
also beiung changed via this PR. It should updated correctly when
doing the next translation pull.

Fixes #16704
2024-10-02 20:29:01 -06:00
Florian Foinant-Willig
84ab834044 [PD] Fix subtractive primitive placement 2024-10-02 13:40:21 +02:00
Florian Foinant-Willig
49ff068db8 [PD] fix change primitive AttachmentOffset move the body 2024-10-02 13:40:17 +02:00
hlorus
299c27ab12 MeasureGui: Also hide delta measurements 2024-09-30 18:24:19 +02:00
hlorus
d186909f20 MeasureGui: Remove leftover reset of _mMeasureObject
This was introduced in af9097ce87 due to a faulty resolve of a merge conflict
2024-09-30 18:22:58 +02:00