Commit Graph

42111 Commits

Author SHA1 Message Date
Jacob Oursland
8be9b5924d Pixi: remove explictly setting Qt6 now that it is the default. 2025-06-08 18:30:53 +02:00
Chris Hennes
4f7ce9270c Addon Manager: Update to latest main
Fixes problem with installer
2025-06-08 18:03:43 +02:00
Kacper Donat
593e946639 Merge pull request #21825 from maxwxyz/surface-blend-curve
Surface: Task dialog for blend curve
2025-06-08 16:21:01 +02:00
Syres916
0622e5014f [Start] show the actual custom folder name...
...instead of 'Custom Folder'
2025-06-08 16:19:19 +02:00
Alfredo Monclus
d48dcd8bb0 Gui: remove taskheader animation 2025-06-08 16:18:28 +02:00
Max Wilfinger
0386189c51 Advanced options for move to other object in the transform tool.
Allows for masking of individual translation or rotation axes.
2025-06-08 16:18:01 +02:00
tetektoza
6664907bd5 Sketcher: Allow user to reset OVP state using backspace key
Currently if user tries to reset OVP, they can only do that by entering
"0" for example, and then the parameters will get unset in
unsetOnViewParameter. But that will only happen if user types a value
that's under confusion point (typically 1e^-7). In my opinion, it would
be cool to reset that state if user deletes all content in the label, to
allow them to specify coordinates with mouse once again.

Also, this patch fixes a regression with backspace, where deleting stuff
from OVP was working on unix systems, but seems like on Windows it
doesn't pass the check.
2025-06-08 15:00:58 +02:00
Max Wilfinger
e4b1512ae9 Update stale action (#21860)
* Increase operations per run
2025-06-08 07:51:25 +00:00
Max Wilfinger
277bbf1f70 Update GitHub stale action and fix typo 2025-06-08 09:04:35 +02:00
longrackslabs
8a58d225c8 - Refactor Point tool hint implementation with direct return (trival) pattern 2025-06-08 02:31:19 +02:00
Chris Hennes
b8da3568d2 CMake: Switch default Qt to Qt6 2025-06-08 00:38:03 +02:00
Max Wilfinger
111dbc08f4 Change hint size for status bar consistency 2025-06-08 00:33:31 +02:00
saso badovinac
1b0ea183c2 Update codeql.yml (#21819)
* Update codeql.yml

this splits the cpp scan into a separate file, makes the configuration more readable and cleaner checks in push and pull requests

* Create codeql_cpp.yml
2025-06-07 17:31:54 -04:00
Max Wilfinger
23f29e3aa8 Fix linter warnings 2025-06-07 21:10:01 +02:00
Max Wilfinger
9c017b0dbf Fix label action for changes in Mod/Surface.
Adding label action for 3rd party changes.
2025-06-06 18:36:48 +02:00
wmayer
680ba751b3 Surface: Fix transaction support of BlendCurvePanel and bind widgets to properties 2025-06-06 16:11:00 +02:00
wmayer
327222f780 Surface: Add task panel for blending curve 2025-06-06 16:10:47 +02:00
Chris Hennes
e7c9d64577 Gui: KeypadModifier should be used via bitwise or 2025-06-06 14:15:13 +02:00
Bas Ruigrok
74e329cc74 Gui: Improve orthographic camera rotation stability 2025-06-06 12:39:24 +02:00
Roy-043
c567b75fa9 BIM: Roof add tolerance to parallel check (#21814)
Fixes #21796.
2025-06-06 11:39:57 +02:00
Roy-043
c9a434377a Draft: fix focus behavior if Length has default focus and axis constraint is used
Fixes #21774.

The X, Y or Z input should have priority is an axis constraint is used.
2025-06-06 10:21:17 +02:00
Alfredo Monclus
e3a320fd2c Gui: fix taskpanel header label font descents 2025-06-06 10:20:40 +02:00
dzid26
4b068f4b81 Block preselect on selection 2025-06-05 12:18:41 -05:00
Max Wilfinger
281d4e0b91 Gui: Adding translation comments to hints and new numpad keys. 2025-06-05 11:47:50 -05:00
Chris Hennes
493817a775 Merge pull request #21785 from 3x380V/sheet_fixes
Sheet: random fixes
2025-06-05 10:16:32 -05:00
Samuel
39e79cee58 CAM: fix default asset directory (#21775) 2025-06-05 08:20:19 -05:00
Luz Paz
5c219bea41 Sketcher: fix typo in source comment
Found via codespell
2025-06-05 14:39:32 +02:00
Furgo
de37c5157a BIM: Arch, docstring and linter fixes (#21763)
- Fix docstring markup, improve types
- Fix max length to 100 chars on comments
- Wrap all code to 100 chars max
- Add deprecation notice
2025-06-05 14:02:25 +02:00
paul
f6bba5d58e [ArchWindow] Bug-fix Changing Sill _&_ SketchArch Support Sill Property (#21726)
* [ArchWindow] Bug-fix Changing Sill _&_ SketchArch Support Sill Property

1.  Bug found in https://github.com/FreeCAD/FreeCAD/pull/21005 (Allow changing Sill parameter)

self.baseSill
self.basePos :
- need to be restored as 'initial' settings in onDocumentRestored() as corresponding codes in onChanged() does upon object creation

2.  ArchWindow with SketchArch add-on to support above 'Allow changing Sill paramemeter' feature
- Update to ArchWindow following groundworks in https://github.com/FreeCAD/FreeCAD/pull/21568/

* [ArchWindow] Bug-fix Changing Sill _&_ SketchArch Support Sill Property (rev)
2025-06-05 14:01:06 +02:00
wmayer
b38c8867d0 Sheet: Further cleanup in Sheet class
With PR 21445 an unused function has been removed. But the underlying
class member isn't used anywhere else and can be removed as well.
2025-06-05 10:15:58 +02:00
wmayer
513260d29d Sheet: Improve handling of unsupported formulas
With the example file of issue 20299 the parser stops with an exception
and reads in the formulas only partially. This PR doesn't fix the issue
but avoids to raise an exception so that as much as possible will be
read in. For unsupported formulas a suitable message is printed with
the content of the cell.
2025-06-05 10:15:28 +02:00
wmayer
a46f79aa68 Sheet: Fix crash in Cell::setContent
This fixes issue 14697
2025-06-05 10:15:24 +02:00
wmayer
c215bd7be9 Sheet: Fix reading xlsx files
for the specs of the XLSX file format see:
https://jkp-ads.com/articles/excel2007fileformat00.aspx or
https://www.data2type.de/xml-xslt-xslfo/spreadsheetml/xlsx-format

In order to find the correct sheet file one has to first read-in
xl/_rels/workbook.xml.rels and save the relations of Id and Target.
The file xl/workbook.xml contains a list of sheet elements where for
each element the attribute 'r:id' is set. This attribute can be used
to look up for the actual data file.

This fixes issue 19757
2025-06-05 10:14:42 +02:00
wmayer
0c4fb60225 Sheet: Disable zooming
With PR 16130 the zooming capability was added to spreadsheet view.

The SheetTableView is added to a QGraphicsScene of a QGraphicsView
that provides the method scale(). However, this causes some problems
with header of the table view and makes resizing columns or rows
very unintuitive.

A correctly working table view is probably more important than the
possibility to zoom in or out and that's why the latter will be
disabled.

This fixes issue 19863
2025-06-05 10:14:03 +02:00
Gonzalo
bcfda35b42 Avoid error importing spreadsheet with deleted sheet (#19757)
This fix was proposed by pageeddie on https://github.com/FreeCAD/FreeCAD/issues/19757
2025-06-04 21:54:31 -05:00
Chris Hennes
b1ea693492 Merge pull request #21714 from zbynekwinkler/fix-typing-extensions
Fix typing extensions
2025-06-04 21:27:22 -05:00
Roy-043
cfdb99fb60 BIM: improve unit handling in Arch_Roof task panel (#21773)
* BIM: improve unit handling in Arch_Roof task panel

Fixes #21137.
Improvement for #21175.

units are now kept when a cell receives the focus.

Additionally:
* The first and last column have been made read-only.
* Some columns have been widened.
* The text in the task panel has been reordered to match the order of the columns.

* _RoofTaskPanel_Delegate class only if Gui is up

* typo
2025-06-04 21:25:33 -05:00
Andrea
85b7e0a498 update addonManager submodule to main 2025-06-04 21:17:13 -05:00
Kacper Donat
0b62d19528 Preferences: Better grouping for Selection page (#21750)
* Preferences: Better grouping for Selection page

* Update src/Gui/PreferencePages/DlgSettingsSelection.ui

Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com>

* Update src/Gui/PreferencePages/DlgSettingsSelection.ui

Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com>

---------

Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com>
2025-06-04 21:16:40 -05:00
dependabot[bot]
804e0dd69d Bump github/codeql-action from 3.28.18 to 3.28.19
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.18 to 3.28.19.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](ff0a06e83c...fca7ace96b)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.28.19
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-04 21:15:39 -05:00
Max Wilfinger
068ab727e4 Gui: Fix hints on high DPI screens (#21762) 2025-06-04 18:20:06 +00:00
David Carter
657da35e6b Materials: Set array quantity format (#21647)
* Materials: Set array quantity format

When setting quantity formats, the default format is not actually the
default. Instead fixed format is, which causes issues for very small
and very large values. This was fixed for C++ but arrays created in
Python were not setting the format correctly.

* Apply suggestions from code review

Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-06-04 16:27:37 +00:00
Benjamin Nauck
7105a2332e Merge pull request #21147 from 3x380V/units
Units rework II
2025-06-04 15:58:00 +02:00
wmayer
edc8013670 Base: Fix size in array 2025-06-04 14:14:20 +02:00
wmayer
9a7646ab74 Base: Fix typo 2025-06-04 14:14:20 +02:00
wmayer
753130de56 Base: Remove weird error parameter from encode 2025-06-04 14:14:20 +02:00
wmayer
7358ef9b9f Base: Allow to also throw exception by given Python type 2025-06-04 14:14:20 +02:00
wmayer
0576c129cd Base: Improve Python exception handling
If the Python profiler is activated then transporting the dict as
exception object is broken where InteractiveInterpreter::runCode()
fails to restore it.
To fix the problem use Exception::setPyException() instead inside
the macto PY_CATCH and the generated wrapper code.

This also improves exception handling in command line mode.
2025-06-04 14:14:20 +02:00
Benjamin Nauck
69eea91c8f Merge pull request #21749 from kadet1090/qss-aware-checkbox-property-panel 2025-06-04 12:31:49 +02:00
Ryan Kembrey
9d8952627c Fem: Fix typo in VTK module warning: 'then' -> 'than' (#21752)
Co-authored-by: Ryan Kembrey <ryan.kembrey@student.uts>
2025-06-04 07:22:20 +02:00