Commit Graph

42993 Commits

Author SHA1 Message Date
Benjamin Nauck
bd5ecda896 Merge pull request #23240 from wwmayer/issue_23222
Sheet: Verify that UnitExpression is valid
2025-08-20 16:40:39 +02:00
PaddleStroke
1476927434 Sketcher: Revert DPI adjustment error #22941 (#23237)
* Revert #22941

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

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

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-20 15:25:32 +02:00
marioalexis
94d20bbc95 PartDesign: Remove use of user parameters from Body constructor 2025-08-20 15:08:47 +02:00
wmayer
a8959de56d Sheet: Verify that UnitExpression is valid
The crash happens because the UnitExpression is null and thus segfaults when trying to access the unit and scalar value.
This fixes https://github.com/FreeCAD/FreeCAD/issues/23222
2025-08-20 10:15:08 +02:00
tetektoza
7d4e704030 Gui: Don't use this pointer after valueChanged in EditableDatumLabel
Simple fix for such a simple error I didn't see. Basically,
`valueChanged` signal can result in EditableDatumLabel being deleted
(for example, when we are on the last OVP and all of the OVPs have been
accepted). This could result in crashes as reported in previous issues,
because just after emitting this signal we were trying to use `this` pointer,
which wasn't available anymore as we deleted EditableDatumLabel obj that
was attached to it, so in essence we were dereferencing some random
address.

Fix for that is simple - move the check for `hasFinishedEditing` flag to
check locked appearance in `validateAndFinish` lambda, as it already
does validation and this way we will avoid referencing internals (which
could be deallocated) after emitting this signal.
2025-08-19 19:33:20 -05:00
Chris Hennes
1ac1d93069 Merge pull request #23164 from ickby/FEM_post_fixes_4
Fem: Fix for 3 issues
2025-08-19 19:00:55 -05:00
dependabot[bot]
cabf699225 Bump actions/dependency-review-action from 4.7.1 to 4.7.2
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.7.1 to 4.7.2.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](da24556b54...bc41886e18)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 4.7.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-19 17:01:48 -05:00
marioalexis
71d7a2b0c6 Fem: Fix module import in solver CalculiX object 2025-08-19 16:33:43 -05:00
dependabot[bot]
992c705cfc Bump github/issue-metrics from 3.22.1 to 3.22.3
Bumps [github/issue-metrics](https://github.com/github/issue-metrics) from 3.22.1 to 3.22.3.
- [Release notes](https://github.com/github/issue-metrics/releases)
- [Commits](2fd323a2f8...9f2ad7e5b0)

---
updated-dependencies:
- dependency-name: github/issue-metrics
  dependency-version: 3.22.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-19 15:30:44 -05:00
pre-commit-ci[bot]
58afc1ea3c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-08-19 15:48:09 +00:00
Stefan Tröger
261b2205b5 FEM: Update color bar when switching postprocessing frames. Fixes #22284 2025-08-19 17:44:21 +02:00
Stefan Tröger
96ed82f0cf FEM: Keep result pipeline and only reload data. Fixes #20542 2025-08-19 17:44:21 +02:00
Stefan Tröger
a8cd293d6a FEM: Update color bar of children when switching postprocessing frames 2025-08-19 17:43:52 +02:00
Valentin Rusu
fd1855268a Fix segfault where DatumLine does not have a refSubSHape 2025-08-19 11:54:32 +02:00
FEA-eng
0ebd8e9d3c FEM: Update commands.py 2025-08-19 08:05:02 +02:00
luzpaz
1906198901 TechDraw: Fix tooltip in Gui/CommandAnnotate.cpp
Typo fix
2025-08-19 07:35:23 +02:00
Roy-043
8e20557ddb Update CommandBody.cpp 2025-08-19 07:29:06 +02:00
Chris Hennes
d5b0628910 Addon Manager: Sync with upstream 2025-08-18 2025-08-18 19:31:10 +02:00
Kacper Donat
8c86469486 Part: Fix wrong capitalization of Display options property group 2025-08-18 18:18:15 +02:00
drwho495
a43e712700 Toponaming: Update element references of PropertyLinks everytime the program needs to access the values (#22785) 2025-08-18 11:11:49 -05:00
dependabot[bot]
b1a423a390 Bump prefix-dev/setup-pixi from 0.8.14 to 0.9.0
Bumps [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) from 0.8.14 to 0.9.0.
- [Release notes](https://github.com/prefix-dev/setup-pixi/releases)
- [Commits](8ca4608ef7...fef5c9568c)

---
updated-dependencies:
- dependency-name: prefix-dev/setup-pixi
  dependency-version: 0.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 11:11:05 -05:00
PaddleStroke
426f9c899d Sketcher: Coinmanager: remove dpi (#22941)
* Sketcher: Coinmanager: remove dpi

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

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

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-18 11:06:37 -05:00
Chris Hennes
40b1ea294c Update translations 2025-08-18 17:55:24 +02:00
Kacper Donat
a673e6acf3 Merge pull request #22945 from ryankembrey/cosmetic-circles
TechDraw: Clarify and group cosmetic circle commands
2025-08-18 17:51:06 +02:00
Roy-043
13f3c37715 Draft: fix handling of MouseDelay (improved) (#23011)
* Update DraftGui.py

* Update gui_points.py
2025-08-18 17:47:44 +02:00
theo-vt
f32ae1ca17 TechDraw: add transactions to multiple commands (#22795)
* TechDraw: add transactions to multiple commands

* Feed each 'Create Dimension' option to the translation macro

* Call fixSceneDependencies when re-adding dimensions so that it shows up at the right place
2025-08-18 11:46:15 -04:00
Chris Hennes
867708c3c0 App: Remove use of dangerous localtime() function 2025-08-18 17:44:34 +02:00
Chris Hennes
1c079af7ed CI: Try to gain more disk space for the CodeQL run 2025-08-18 17:42:52 +02:00
theo-vt
b6c96c51bb TechDraw: Fix balloon annotation unlinked after undo-redo (#22805)
* TechDraw: remove then add balloon annotation when changing the SourceView

* Use fixSceneDependencies
2025-08-18 10:37:02 -05:00
WandererFan
db5e855ed8 [Meas]Fix visibility at load (#23145)
* [Meas]Fix visibility at load

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

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

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-18 10:36:05 -05:00
Stefan Tröger
188ebaf6af FEM: Fix post processing branch working with data extraction. Fixes #23030 2025-08-18 10:35:42 -05:00
FEA-eng
ce66713c57 FEM: Amplitude support for rigid body constraint (#22898)
* FEM: Update FemConstraintRigidBody.cpp

* FEM: Update FemConstraintRigidBody.h

* FEM: Update write_constraint_rigidbody_step.py

* FEM: Update write_amplitude.py
2025-08-18 10:35:23 -05:00
marioalexis
c9df4da05b Fem: Add option to create conformal mesh from Netgen 2025-08-18 10:34:48 -05:00
marioalexis
07f5f50119 Fem: Create CalculiX output from .dat file - fixes #22983 2025-08-18 10:34:32 -05:00
marioalexis
79f840bd95 Fem: Set Elmer equation priority based on the order of definition - fixes #21351 2025-08-18 10:34:13 -05:00
FEA-eng
b8179953e0 FEM: Add support for CalculiX membrane elements (#22912)
* FEM: Update solver.py

* FEM: Update write_femelement_geometry.py

* FEM: Update write_mesh.py

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

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

* FEM: Update solver_calculix.py

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-18 10:33:49 -05:00
Roy-043
2e98cc8e46 Mesh: Revert Triangle menu text to Add Triangle (#23168) 2025-08-18 08:18:23 +02:00
drwho495
a48cc162cb Part: Fix toponaming issues. (#23151)
* fix split apart and splice

* fix hasher gen issue in extrusion

* fix broken gen in fillet/chamfer

* error when elements go missing in fillet/chamfer

* fix hashing in some elements

* fix compiler errors

* fix sweep

* remove hasher from mirror

* remove old import

* add clarifying comment

* Linter cleanup

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-08-18 01:35:46 +00:00
Max Wilfinger
abb7007596 PartDesign: Enable compounds for PD bodies 2025-08-18 01:09:07 +02:00
captain0xff
b39e097fea Sketcher: fix cropping of some icons on hidpi screens 2025-08-18 01:02:13 +02:00
Benjamin Nauck
8e774e4309 PartDesign: Use sketch as neutral plane for Draft (continuation of 20135) (#21901)
* Enabled Draft to accept sketch as neutral plane

* Resolving the last review

* Fix: tested the Feature with test file

* Fix: error with sketch pointer

* PartDesign: Simplify selection implementation

---------

Co-authored-by: Ziad <ziad.ashraf.cs@gmail.com>
2025-08-17 14:55:53 -05:00
Dmitry Moskowski
fcfb2af17b OpenSCAD: make openscadexecutable path resolution more consistent 2025-08-17 14:51:45 -05:00
luzpaz
3ac1043a5a GUI: start cleaning up Parameter Editor
Begins to address a few issues brought up in #17351
2025-08-17 19:25:48 +02:00
Roy-043
1eb2f69925 OpenSCAD: tweak tooltips (#23159)
* Update OpenSCADCommands.py
2025-08-17 19:24:36 +02:00
Stefan Tröger
3dd39db073 FEM: Purge tool deletes all result objects. Fixes #23028
- Correctly deletes children of pipeline without error on delete
- Ensures visualizations are also deleted as they are result objects too
- Ensures purge tool uses a transaction, like all tools should
2025-08-17 18:29:31 +02:00
Chris Hennes
b6d0819618 Addon Manager: Fix macro icon encoding bug 2025-08-15 22:35:00 +02:00
Kacper Donat
c76e21f125 Part: Prevent crash on cross-section of invalid object 2025-08-15 15:31:02 -05:00
dependabot[bot]
5076e67f81 Bump korthout/backport-action from 3.2.1 to 3.3.0
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 3.2.1 to 3.3.0.
- [Release notes](https://github.com/korthout/backport-action/releases)
- [Commits](0193454f0c...ca4972adce)

---
updated-dependencies:
- dependency-name: korthout/backport-action
  dependency-version: 3.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-15 13:30:51 -05:00
theo-vt
270776c92f PartDesign: Hole: fallback to getProfileNormal when a non-cylindrical surface is used 2025-08-15 10:09:23 -05:00
dependabot[bot]
63fef883d7 Bump github/issue-metrics from 3.22.0 to 3.22.1
Bumps [github/issue-metrics](https://github.com/github/issue-metrics) from 3.22.0 to 3.22.1.
- [Release notes](https://github.com/github/issue-metrics/releases)
- [Commits](f5c0d3ba93...2fd323a2f8)

---
updated-dependencies:
- dependency-name: github/issue-metrics
  dependency-version: 3.22.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-15 09:49:23 -05:00