Commit Graph

42993 Commits

Author SHA1 Message Date
Benjamin Nauck
1876e68bcb Merge pull request #23240 from wwmayer/issue_23222
Sheet: Verify that UnitExpression is valid
2025-08-20 16:40:39 +02:00
PaddleStroke
fc463ee5d7 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
f176172faa PartDesign: Remove use of user parameters from Body constructor 2025-08-20 15:08:47 +02:00
wmayer
f5cfd3d64c 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
564e79b890 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
5e4fe3a3c3 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]
2151a39c48 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
d5b1d994a2 Fem: Fix module import in solver CalculiX object 2025-08-19 16:33:43 -05:00
dependabot[bot]
89dc1e360c 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]
40ada2daf5 [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
7cd161f066 FEM: Update color bar when switching postprocessing frames. Fixes #22284 2025-08-19 17:44:21 +02:00
Stefan Tröger
c9ca852ad0 FEM: Keep result pipeline and only reload data. Fixes #20542 2025-08-19 17:44:21 +02:00
Stefan Tröger
b20fe6039e FEM: Update color bar of children when switching postprocessing frames 2025-08-19 17:43:52 +02:00
Valentin Rusu
1c67ab7be2 Fix segfault where DatumLine does not have a refSubSHape 2025-08-19 11:54:32 +02:00
FEA-eng
91712dc810 FEM: Update commands.py 2025-08-19 08:05:02 +02:00
luzpaz
afb943df30 TechDraw: Fix tooltip in Gui/CommandAnnotate.cpp
Typo fix
2025-08-19 07:35:23 +02:00
Roy-043
3fb61d0c90 Update CommandBody.cpp 2025-08-19 07:29:06 +02:00
Chris Hennes
bafd9f75b5 Addon Manager: Sync with upstream 2025-08-18 2025-08-18 19:31:10 +02:00
Kacper Donat
9e047821bd Part: Fix wrong capitalization of Display options property group 2025-08-18 18:18:15 +02:00
drwho495
75d3d72e47 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]
eab4d2229a 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
569deff94d 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
3e1cc8302a Update translations 2025-08-18 17:55:24 +02:00
Kacper Donat
da5d6092e0 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
8721756f57 Draft: fix handling of MouseDelay (improved) (#23011)
* Update DraftGui.py

* Update gui_points.py
2025-08-18 17:47:44 +02:00
theo-vt
a94dc1463d 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
d8168d33f3 App: Remove use of dangerous localtime() function 2025-08-18 17:44:34 +02:00
Chris Hennes
abdd975089 CI: Try to gain more disk space for the CodeQL run 2025-08-18 17:42:52 +02:00
theo-vt
10ae4de2f2 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
c15cfd6615 [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
27c7eca010 FEM: Fix post processing branch working with data extraction. Fixes #23030 2025-08-18 10:35:42 -05:00
FEA-eng
b110102ca5 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
f8367d263e Fem: Add option to create conformal mesh from Netgen 2025-08-18 10:34:48 -05:00
marioalexis
dc967cdb1c Fem: Create CalculiX output from .dat file - fixes #22983 2025-08-18 10:34:32 -05:00
marioalexis
576fed8362 Fem: Set Elmer equation priority based on the order of definition - fixes #21351 2025-08-18 10:34:13 -05:00
FEA-eng
052ff9237b 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
7f8e34938a Mesh: Revert Triangle menu text to Add Triangle (#23168) 2025-08-18 08:18:23 +02:00
drwho495
68077de39b 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
84afc15c91 PartDesign: Enable compounds for PD bodies 2025-08-18 01:09:07 +02:00
captain0xff
ed770bf849 Sketcher: fix cropping of some icons on hidpi screens 2025-08-18 01:02:13 +02:00
Benjamin Nauck
51f4ad7432 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
37c6e93e8a OpenSCAD: make openscadexecutable path resolution more consistent 2025-08-17 14:51:45 -05:00
luzpaz
a55366e86e 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
2d12915a1c OpenSCAD: tweak tooltips (#23159)
* Update OpenSCADCommands.py
2025-08-17 19:24:36 +02:00
Stefan Tröger
70685aaa5d 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
1a4ff21bdd Addon Manager: Fix macro icon encoding bug 2025-08-15 22:35:00 +02:00
Kacper Donat
0c23e15cc4 Part: Prevent crash on cross-section of invalid object 2025-08-15 15:31:02 -05:00
dependabot[bot]
cb3973e773 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
af83b6883e PartDesign: Hole: fallback to getProfileNormal when a non-cylindrical surface is used 2025-08-15 10:09:23 -05:00
dependabot[bot]
a0705f1d85 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