Commit Graph

38926 Commits

Author SHA1 Message Date
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
Bas Ruigrok
db4ab7e1f3 Gui: Fix Touchpad navigation style panning in edit mode 2024-10-07 12:40:35 -05:00
marioalexis
5438cc3a7f Fem: Add option to use old Netgen mesher implementation 2024-10-07 18:11:11 +02:00
Benjamin Bræstrup Sayoc
5b3ab4759d [Gui] TextEdit, zoom on Ctrl + wheel
Fixes #13861
2024-10-07 18:02:53 +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
mwganson
866a274268 [Step Import] fix issue with non-latin characters in import path 2024-10-07 17:43:14 +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
Max Wilfinger
fc7044350c Update images on XDGData and README 2024-10-07 14:54:41 +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
Jiří Pinkava
c218bc7fde Gui: fix warning with duplicate name in DlgSettingsLightSources 2024-10-03 13:22:48 -05:00
Kris Wilk
c5210ef989 Placement Dialog: Use default tab order (Fix #16944) 2024-10-03 11:43:42 -05:00
Chris Hennes
49dbc03f62 CI: Update linter settings 2024-10-03 10:36:36 -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
b15e376930 Chennes fix
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-10-03 09:59:15 -05:00
PaddleStroke
ced8869b49 Assembly: Use cpp getGlobalPlacement python binding rather than reimplementing it. 2024-10-03 09:59:15 -05:00
PaddleStroke
b01a4c6f3c Core: GeoFeature: Add python binding to the new getGlobalPlacement() 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
André Althaus
5fb4b236bf Only omit edges for group children in the dependecy graph
All edges for GeoFeatureGroupExtension where omited even if the
dependency was not a child of the object.
2024-10-02 21:44:30 -06:00
André Althaus
35ac785192 Show nested groups in the dependency graph
Depending on the creation order (objectArray) some nested groups where
not shown a nested because their children where processed before the
parents.
2024-10-02 21:44:30 -06:00
wmayer
84a307788c Core: Fix macro recording when using module_io 2024-10-02 21:13:19 -06:00
Benjamin Nauck
dbeeb1534a Fix macos crashes when unhandled exceptions reaches qt 2024-10-02 21:11:41 -06:00
wmayer
d626ed9690 Core: Do not save changes of a text object if the GUI document is about to be closed
This fixes #16873: Text document breaks some Analysis container objects
2024-10-02 20:42:00 -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
Pieter Hijma
6175bdc985 Gui: Fix segfault in Expression Editor/VarSet 2024-10-02 20:31:20 -06:00
André Althaus
32db9410e4 Remove the explicit dependency on Version.h from the fc_version target
This caused problems witht the Makefile generator because it doesn't
support the BYPRODUCTS option.
2024-10-02 20:30:42 -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