Commit Graph

40774 Commits

Author SHA1 Message Date
tritao
f4f0b6affc Tools: Refactor existing XML generator for extra readability. 2025-02-08 13:14:22 +00:00
tritao
90374c641b Base: Minor cleanups to base XML bindings. 2025-02-08 13:14:22 +00:00
tritao
10513144d9 Base: Standardize on Py::Long type for Python bindings. 2025-02-08 13:14:22 +00:00
tritao
19fd9e6c7e Base: Clean documentation for PyObjectBase.h. 2025-02-08 13:14:22 +00:00
Roy-043
c88b44f0da Draft: Introduce Edit option for Draft Clone scaling
Fixes #13324.

The Edit option is available from the Tree view context menu, but you can also double-click the clone in the Tree view.

The task panel is based on that of the Draft Scale command. The "Uniform scaling" checkbox is (un)checked depending on the current scaling of the clone.
2025-02-08 11:22:20 +01:00
Chris Hennes
a56756d814 PD: Add onlyHaveRefined() to FeatureRefine 2025-02-07 21:44:43 -06:00
pre-commit-ci[bot]
ef39aebe70 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-08 02:44:47 +00:00
Chris Hennes
71732dcb5b Base: Add comments to new macros 2025-02-07 20:41:44 -06:00
mosfet80
20ac96f4c8 Delete src/Tools/RegExp directory
remove unnecessary tool
2025-02-07 20:29:34 -06:00
xtemp09
5317d25254 Assembly: Fix the crash described in #18475 2025-02-07 17:39:03 -06:00
colinRawlings
293c8b0bc6 Fem: Display popup menu when MeshGroup solid selection is ambiguous (#18812)
* Fem: Display popup menu when MeshGroup solid selection is ambiguous

* FEM: Update license to new language

---------

Co-authored-by: Chris Hennes <chennes@gmail.com>
2025-02-07 16:25:55 -06:00
Benjamin Nauck
dbbd07510f Fix lint issues 2025-02-07 20:53:59 +01:00
Roy-043
7ec76ffc9b Merge pull request #19470 from Roy-043/Draft-add-some-checks-for-font-file-of-shapestring
Draft: add some checks for font file of shapestring
2025-02-07 20:38:06 +01:00
Roy-043
c6ce42a383 Draft: add some checks for font file of shapestring
Fixes #19447.
2025-02-07 20:03:49 +01:00
Chris Hennes
c1dddaeadc Merge pull request #19444 from chennes/addonManagerChangeBranchCleanup
Addon manager: change branch cleanup
2025-02-07 11:41:56 -06:00
Roy-043
b17904a2e9 Merge pull request #19427 from Roy-043/Draft-implement-Draft_AddToLayer-command
Draft: implement Draft_AddToLayer command
2025-02-07 18:40:34 +01:00
Roy-043
4f45d9b259 Draft: Fix line length input issue (#19461)
Fixes #19451.
2025-02-07 18:24:05 +01:00
Chris Hennes
a3e436d211 Addon Manager: Update background UI earlier
The modal confirmation dialog blocks, so update the UI before showing it.
2025-02-07 10:17:16 -06:00
Chris Hennes
5dbc5c95ca Addon Manager: Linter cleanup 2025-02-07 08:57:33 -06:00
Chris Hennes
2dd2381c70 Addon Manager: Add GUI tests for branch change dialog
Further protect utils gui code during testing so the same utils file can be used
for CLI and GUI tests.
2025-02-07 08:52:49 -06:00
Chris Hennes
d4ea028edf Addon Manager: improve git branch changing 2025-02-07 08:52:49 -06:00
Chris Hennes
fd126aba1b Merge pull request #19394 from FreeCAD/pre-commit-ci-update-config
Update Black to 25.1.0 so that it is in sync with the CI. Updates code to correspond to new Black standards, mostly changing the Addon Manager to eliminate spaces around docstrings.
2025-02-07 08:52:20 -06:00
Chris Hennes
9eed1922d0 CI: Make black line length match pre-commit 2025-02-07 08:37:16 -06:00
Roy-043
235f8de27f Rebase... 2025-02-07 14:43:17 +01:00
Roy-043
8b124b659c Draft: Fix line length input issue
Fixes #19451.
2025-02-07 13:38:56 +01:00
michaesc
0e579d5de0 Material: Add the polycarbonate material physical property #19431 (#19432)
* Material: Add the polycarbonate material physical property (#19431.)

* Material: Add the PC material physical property to the buildconf (#19431.)

---------

Co-authored-by: Michael Schloh von Bennewitz <michael+scm@getmonero.org>
2025-02-06 19:53:41 -06:00
Chris Hennes
9986dfe4f2 Gui: Disable spacemouse init if not legacy 2025-02-06 16:49:18 -05:00
Chris Hennes
b051185ae0 Merge pull request #19433 from tritao/gui-general-code-cleanups
Gui: General code cleanups
2025-02-06 11:33:44 -06:00
Yorik van Havre
eb5037937c Draft: Fixed small bug in draftgeoutils.edges 2025-02-06 13:56:08 +01:00
Roy-043
0dc0372570 Draft: improved handling of 'crazy' edges in hatch
See #14114.
2025-02-06 13:43:52 +01:00
tritao
4de3a1a99e Gui: Use SO_SWITCH_NONE instead of -1. 2025-02-06 10:06:04 +00:00
tritao
1e6bdc9fd3 Gui: Update MSVC legacy code comments from ViewProviderLink. 2025-02-06 10:06:04 +00:00
tritao
48f0f07176 Gui: Reorganize the navigation files into a top Navigation folder. 2025-02-05 20:21:00 -06:00
Mark Ganson TheMarkster
48c1d309dd [Start page] Implement ShowExamples parameter (#19376)
* [Start page] Implement ShowExamples parameter
2025-02-05 20:01:54 -06:00
tritao
3b47599e43 Gui: Minor cleanups. 2025-02-05 22:13:07 +00:00
tritao
9e6c6682d8 Gui: Cleanup legacy code. 2025-02-05 19:19:40 +00:00
Roy-043
be0f3f9c4a Draft: implement Draft_AddToLayer command
Fixes #17323.

* Instead of extending Draft_AddToGroup a separate, but similar, command has been created.
* The three "Add to" tools have been grouped in the menu and the toolbar.
* The Draft_AddToGroup icon is provisional. Ideally the "Add to" tools should have related icons (it would then be nice to keep the trowel image in some way for the construction group). Draft_AddNamedGroup.svg and Draft_SelectGroup.svg probably also need to be updated in that context.
2025-02-05 16:21:58 +01:00
Paweł Pohl
aef46ad56d Draft: New path array features - reverse path, etc (#19017)
Some missing quality-of-life features in Path Array:
1. A setting to reverse path
2. A "Fixed spacing" mode
3. Ability to use spacing patterns
2025-02-05 15:16:25 +01:00
marioalexis
703a1b52ff Fem: Check reference temperature - fixes #19375 2025-02-05 14:54:45 +01:00
tritao
9e1fa947e5 Gui: Fix single usage of SelectionSingleton::instance(). 2025-02-05 13:14:00 +00:00
tritao
8d6775e837 Gui: Rename SoFCHighlightAction to preselect terminology. 2025-02-05 13:14:00 +00:00
tritao
0f675bb635 Gui: Rename SoFCEnableHighlightAction to preselection terminology. 2025-02-05 13:14:00 +00:00
tritao
18299a6d83 Gui: Change SoFCSelection from highlight to preselection terminology. 2025-02-05 13:14:00 +00:00
tritao
4ace865b91 Gui: Some SoFCUnifiedSelection code readability improvements. 2025-02-05 13:13:59 +00:00
tritao
b4e5614bff Gui: Change SoFCUnifiedSelection from highlight to preselection terminology. 2025-02-05 13:13:59 +00:00
tritao
ee078645d7 Gui: Document ResolveMode directly. 2025-02-05 13:13:58 +00:00
tritao
ae56e62049 Gui: Cleanup mystery comments around ResolveMode. 2025-02-05 13:11:05 +00:00
Furgo
81040d684d Core: add Ifcopenshell version in about info clipboard (#19264)
* Core: return information about ifcopenshell version in About info clipboard

* Core: remove whitespace introduced by mistake

* Core: handle case where ifcopenshell is not installed

* Core: remove colon for consistency with other library versions

* Core: change type of cmd to const char* to avoid allocating memory

* Core: make failure to import ifcopenshell a debug message

* Core: fix non-existing Debug message with DeveloperWarning

* Core: go back to Log() to show info about non-installed ifcopenshell
2025-02-05 10:18:54 +01:00
Furgo
be7b1acefd BIM: add support for array elements in BIM Schedule (#19219)
* BIM: add support for array elements in BIM Schedule

* BIM: reintroduce Arch.pruneIncluded

* BIM: support expanded arrays in BIM schedule

* BIM: support elements belonging to multiple arrays
2025-02-05 10:16:47 +01:00
Paul Lee
de0ec8d6ce [Draft_shape2dview] Fix Bug : Closed Wall Wrong Fill
Git-hub issues : https://github.com/FreeCAD/FreeCAD/issues/16363#issuecomment-2619643946

"Problem description

In a group of closed walls, the entire interior is completely filled, which should not be the case."
2025-02-05 10:09:09 +01:00