Commit Graph

41368 Commits

Author SHA1 Message Date
Florian Foinant-Willig
d6958ea1e6 Add locked keyword argument to DocumentObject::addProperty 2025-04-22 23:52:17 +02:00
Pieter Hijma
c16935dce4 [Gui] Fix "Select dependent objects" with cycles
Doing "Add dependent objects to selection" in the context menu of an
object that has cyclic dependencies triggered an infinite recursive
loop.  This has been solved by using the function to get an outlist
recursively.
2025-04-22 17:23:38 -03:00
3x380V
ad244bf8d4 Fix SolverCalculiX object refactor (#20913)
Rename original SolverCalculix.ui to SolverCcxTools.ui to prevent
collision on case insensitive filesystems.

Fixes: 4f7a835e22 ("Fem: SolverCalculiX object refactor")
2025-04-22 16:53:58 -03:00
Pieter Hijma
05364b9eb4 [Doc] Process comments from review
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-04-22 13:42:50 +02:00
Pieter Hijma
519b78d775 [Doc] Improve documentation PropertyContainer 2025-04-22 13:42:50 +02:00
Pieter Hijma
8956c56235 [Doc] Add documentation top-level namespace App 2025-04-22 13:42:50 +02:00
Jackson Oursland
4c600f20d4 pixi: Match developer dependencies with weekly build and update. (#20711) 2025-04-21 20:56:33 -03:00
theo-vt
f2cc750250 PartDesign: Center holes on sketch points as well as circles and arcs (#20583)
Co-authored-by: Kacper Donat <kadet1090@gmail.com>
2025-04-21 23:30:57 +02:00
Kacper Donat
75bc5eed1c Sketcher: Remove not-needed print statements 2025-04-21 15:08:33 -05:00
Chris Hennes
b2e3659efe Start: Apply reviewer suggestion
Co-authored-by: Pieter Hijma <pieterhijma@users.noreply.github.com>
2025-04-21 21:21:52 +02:00
Chris Hennes
71932ac724 Start: Refactor f3d to use worker threads 2025-04-21 21:21:52 +02:00
Adrian Insaurralde Avalos
5635c41ed5 Start: refactor f3d previews, use caching and configurable f3d path 2025-04-21 21:21:52 +02:00
MaxiV
5f3c1aa5e8 Start: Switch to using QProcess, not std::system 2025-04-21 21:21:52 +02:00
MaxiV
55dd1f875d Start: add f3d previews 2025-04-21 21:21:52 +02:00
FilippoR
e165d808f7 App: cmake: add missing Coin_INCLUDE_DIR after #20487 (#20863) 2025-04-21 15:01:03 -03:00
Frank Martinez
bbd59caea4 [Core] Fix Color transparency misinterpretation 2025-04-21 11:12:37 -05:00
dependabot[bot]
54c9efafdb Bump github/issue-metrics from 3.1.1 to 3.18.4
Bumps [github/issue-metrics](https://github.com/github/issue-metrics) from 3.1.1 to 3.18.4.
- [Release notes](https://github.com/github/issue-metrics/releases)
- [Commits](4f29f34d9d...ed6e4b2b46)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 11:04:34 -05:00
dependabot[bot]
54f7099254 Bump peter-evans/create-issue-from-file from 4.0.1 to 5.0.1
Bumps [peter-evans/create-issue-from-file](https://github.com/peter-evans/create-issue-from-file) from 4.0.1 to 5.0.1.
- [Release notes](https://github.com/peter-evans/create-issue-from-file/releases)
- [Commits](433e51abf7...e8ef132d6d)

---
updated-dependencies:
- dependency-name: peter-evans/create-issue-from-file
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 11:04:08 -05:00
Chris Hennes
cc1c6c2ab0 Merge pull request #20609 from marioalexis84/fem-ccx_refactor
Fem: SolverCalculiX refactor - Add option to import results as pipeline - Fixes #20541
2025-04-21 11:01:23 -05:00
Chris Hennes
f1ef2159ee Merge pull request #20835 from oursland/python-binding-generator-const
python: Make const methods declared const in C++.
2025-04-21 10:58:21 -05:00
Lothaire Sicot
1a5bfdb2e9 Sketcher: Prevent bad constraint names (#20717)
* Sketcher: Prevent bad constraint names

Ensures the constraint names only contains alphanumericals and
underscores so that they can always be used in expressions.
That way, there cannot be any unicode character or quotes that
would need to be escaped.

Fixes: https://github.com/FreeCAD/FreeCAD/issues/19767

* Add helper function to check constraint names

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

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

---------

Co-authored-by: Lothaire Sicot <lothaire.sicot@telecom-paris.fr>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-21 17:53:37 +02:00
Florian Foinant-Willig
ef0ca1cff3 Core: Part::PartFeature should be Part::Feature 2025-04-21 10:51:15 -05:00
Luz Paz
914e756cf0 FEM: fix source typos
ConstraintDisplacmentPrescribed → ConstraintDisplacementPrescribed
FemConstraintDisplacment → FemConstraintDisplacement
2025-04-21 10:12:49 -05:00
mosfet80
a8a2b24532 Update sub_lint.yml
removing non-existent folders
2025-04-21 10:12:17 -05:00
marcuspollio
1647852305 BIM: cleanup encoding 2025-04-21 10:10:26 -05:00
Alfredo Monclus
db40acce72 refactor: add disambiguation to clearance hole names and use names from the standard (#19869)
* PD: refactor: threadFit use standard naming and add disambiguation

* PD: fix: do not use variables for tr
2025-04-21 09:54:23 -05:00
sliptonic
68d79ff4e7 Merge pull request #20888 from tarman3/movearea
CAM: Increased moveEye in New Simulator
2025-04-21 09:30:50 -05:00
sliptonic
8d2e3b2362 Merge pull request #20840 from tarman3/cam-toolbar
CAM: Dressup combined menu in toolbar
2025-04-21 09:28:23 -05:00
sliptonic
6732480f4c Merge pull request #18880 from dbtayl/adaptive_roughing
[CAM] Adaptive roughing/overhang detection
2025-04-21 09:21:13 -05:00
Roy-043
ca340da86c Draft: close task panels on doc close
Related: #17952.

This PR introduces a document observer to close task panels on doc close.

For now it is for the Draft Workbench only. The BIM Workbench will be dealt with in a future PR.

The basic code is simple, but to make things works some additional things were addressed:
* gui_base.py: the GuiCommandBase class was enhanced to handle App.activeDraftCommand, self.doc, self.view and self.planetracker. Strictly speaking only the first 2 are required for this PR.
* gui_base.py: self.command_name was changed to self.featureName for compatibility with gui_base_original.py. Not required for this PR.
* gui_arcs.py, gui_circulararray.py, gui_polararray.py and gui_orthoarray.py: updated in relation to the GuiCommandBase class.
* gui_arcs.py Arc_3Points: The command now has a ui property and shows a plane tracker. Only the first is required for this PR.
* gui_shapestrings.py: This command had two ui attributes: self.ui and self.task. This was problematic. To fix this the base class of the command was changed from gui_base_original.Creator to gui_base.GuiCommandBase. As a result the getStrings method is no longer available meaning that the useSupport parameter is ignored when creating a ShapeString. But since that mechanism does not work properly anyway, I feel that this is acceptable. Should many user complain the functionality can of course be reintroduced.
2025-04-20 22:53:52 -05:00
Chris Hennes
0009ddbd0b CI: Update to LibPack 3.1.1.2 2025-04-20 12:51:55 -05:00
tarman3
f568a9d831 CAM: Increased moveEye in New Simulator 2025-04-20 14:53:14 +03:00
tetektoza
7f49550dee Sketcher: Auto-scroll to selected geometry elements (#20866)
* Sketcher: Auto-scroll to selected geometry elements

Currently if user selects a geometry element on sketch, listview is not
scrolling to it.

So, this patch moves the previously added logic to constraints into a
separate helper function call and calls it for Geometry Elements as
well, resulting in scrolling in both lists - constraints and elements.

* Sketcher: Add QListWidget to enable QListWidget symbols for CI
2025-04-19 15:10:13 +02:00
captain0xff
afbb6e0ead Gui: forward declare SoTransformDragger in ViewProviderDragger.h 2025-04-19 00:24:46 +02:00
dependabot[bot]
1845abb135 Bump ossf/scorecard-action from 2.4.0 to 2.4.1
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](62b2cac7ed...f49aabe0b5)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-version: 2.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-18 17:13:37 -05:00
tetektoza
a75df5d7c0 Draft/BIM: Change Continue behavior and caching among commands (#20748)
* Draft: Cache ContinueMode setting for every tool separately

Currently ContinueMode is done to be held globally, so this patch
changes this to cache it inside `user.cfg` for every cmd separately.

* Draft: Add Chained Mode option for Dimension

Added new option under Dimension, although this is simply porting the
existing logic of "Continue" under "Chained Mode", whereas allowing
existing "Continue" mode to retrigger the command instead of placing
Dimensions in a chain.
2025-04-18 17:56:21 +02:00
Chris Hennes
67e1854029 Merge pull request #20822 from oursland/weekly-build-dependencies
CI: update weekly build dependencies.
2025-04-18 09:46:14 -05:00
Jackson Oursland
04c62bfb10 Merge branch 'main' into weekly-build-dependencies 2025-04-17 23:12:20 -07:00
Jackson Oursland
8d679b70f0 App: Use the legacy macOS version functionality for About FreeCAD dialog (#20858) 2025-04-18 06:41:18 +02:00
dependabot[bot]
6036a55aea Bump configparser from 5.3.0 to 7.2.0
Bumps [configparser](https://github.com/jaraco/configparser) from 5.3.0 to 7.2.0.
- [Release notes](https://github.com/jaraco/configparser/releases)
- [Changelog](https://github.com/jaraco/configparser/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/configparser/compare/v5.3.0...v7.2.0)

---
updated-dependencies:
- dependency-name: configparser
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-17 22:19:39 -05:00
dependabot[bot]
5658c96df6 Bump packaging from 23.0 to 24.2
Bumps [packaging](https://github.com/pypa/packaging) from 23.0 to 24.2.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/23.0...24.2)

---
updated-dependencies:
- dependency-name: packaging
  dependency-version: '24.2'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-17 22:11:37 -05:00
dependabot[bot]
73df37aabe Bump prefix-dev/setup-pixi from 0.8.3 to 0.8.8
Bumps [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) from 0.8.3 to 0.8.8.
- [Release notes](https://github.com/prefix-dev/setup-pixi/releases)
- [Commits](https://github.com/prefix-dev/setup-pixi/compare/v0.8.3...19eac09b398e3d0c747adc7921926a6d802df4da)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-17 22:32:49 +02:00
dependabot[bot]
8e19bd7550 Bump debugpy from 1.6.7 to 1.8.14
Bumps [debugpy](https://github.com/microsoft/debugpy) from 1.6.7 to 1.8.14.
- [Release notes](https://github.com/microsoft/debugpy/releases)
- [Commits](https://github.com/microsoft/debugpy/compare/v1.6.7...v1.8.14)

---
updated-dependencies:
- dependency-name: debugpy
  dependency-version: 1.8.14
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-17 22:31:33 +02:00
Jacob Oursland
5980b90224 CI: reduce disk usage on Ubuntu weekly build. 2025-04-17 11:22:01 -07:00
xtemp09
fdaa53d191 [GUI] Layout fixes in DlgActions.ui
Closes #20821
2025-04-17 19:26:00 +02:00
Ajinkya Dahale
4598283cad Sketcher: Add check for validity of geometry when trimming
Possibly solves #19425.
2025-04-17 15:37:42 +02:00
Jacob Oursland
1d46b54ae5 Assembly: align parameter names between decl and impl. 2025-04-17 15:11:36 +02:00
Jacob Oursland
54aab69304 Assembly: Remove unused headers. 2025-04-17 15:11:36 +02:00
Jacob Oursland
b1d5765d8d Assembly: convert if-else to switch. 2025-04-17 15:11:36 +02:00
StepSecurity Bot
df80079476 [StepSecurity] Apply security best practices
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2025-04-17 11:58:01 +02:00