Commit Graph

40182 Commits

Author SHA1 Message Date
Chris Hennes
516595fbce Merge pull request #18594 from Flast/performance/base/find_element
Base: Improved FindElement performance by reducing call of transcode
2025-02-10 14:33:49 -06:00
Chris Hennes
2745f43602 Merge pull request #17082 from benj5378/useTemplates
[TechDraw] Use templates
2025-02-10 11:17:26 -06:00
mosfet80
cf5d66d201 clean SketchObject.cpp (#15728)
* clean SketchObject.cpp

Code clean 
small optimization

* Restore comment

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-02-10 11:04:26 -06:00
Chris Hennes
86e2ae8a6b Merge pull request #18916 from AjinkyaDahale/sk-refactor-stage-3
[Sketcher] Round 3 of refactors
2025-02-10 11:01:55 -06:00
tritao
d60358443e App: Improve Document.copyObject Python API.
This updates the `Document.copyObject` Python API by allowing for
keyword arguments and aligning the documentation with the C++ API.

This can make the Python code more readable, by using the keywords form:

```python
document.copyObject(obj, recursive=True, return_all=False)
```

Previous keyword-less version tested and still working for backwards
compatibility.
2025-02-10 10:57:17 -06:00
Chris Hennes
aa76a63abf Merge pull request #19420 from tritao/gui-selection-refactor
Gui: Selection code cleanups
2025-02-10 10:56:23 -06:00
tritao
e94d1cf872 Base: Remove Boost-based filesystem and switch to standard <filesystem> 2025-02-10 10:48:54 -06:00
Joao Matos
1eb7468710 CMake: Improve Pivy Coin3D version mismatch checking. 2025-02-10 10:41:47 -06:00
LarryWoestman
0edcb29f09 CAM: converted the refactored* postprocessors to the new (more object-oriented) API (#19006)
* CAM:  converted the refactored* postprocessors to the new API

      with corresponding tests

* [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-02-10 10:37:57 -06:00
herbkonik
1de6c974c0 Update SurfaceSupport.py (#18724) 2025-02-10 10:35:26 -06:00
tritao
ad584fa351 Gui: Check if document exists in View3DInventorViewer::setOverrideMode. 2025-02-10 10:33:22 -06:00
Alfredo Monclus
dc53d3dba2 feat(PD): guess closest thread designation
fixes metric to metric-fine not working when switching threadtype from cli and property panel and the cases when changing from metric to inch based types and vice-versa
2025-02-10 10:32:52 -06:00
Chris Hennes
6b59e4b2ec Merge pull request #19479 from tritao/base-cleanup-xml-generation
Base: Minor cleanups to base XML bindings generation
2025-02-10 09:34:50 -06:00
Roy-043
5bcc0d9612 Merge pull request #19477 from Roy-043/Draft-Introduce-Edit-option-for-Draft-Clone-scaling
Draft: Introduce Edit option for Draft Clone scaling
2025-02-10 16:16:59 +01:00
Roy-043
9df36e8fc6 Merge pull request #19487 from Roy-043/Draft-make-arrays-explodable
Draft: make arrays explodable
2025-02-10 16:16:18 +01:00
Furgo
dc422e1f35 BIM: fix error on double-clicking on non-IFC objects 2025-02-10 14:32:20 +01:00
Roy-043
340f446654 BIM: Panel does not require a Base
https://forum.freecad.org/viewtopic.php?t=94657
2025-02-10 14:28:26 +01:00
Roy-043
4fb0425375 BIM: ifc_viewproviders.py make context menus translatable 2025-02-10 14:28:26 +01:00
Yorik van Havre
e38ead30e9 Bim project manager upgrade (#17909)
* BIM: NativeIFC 2D support - basic import/export + linework annotations

* BIM: NativeIFC 2D support - texts

* BIM: NativeIFC 2D support - dimensions

* BIM: NativeIFC 2D support - optimized export of FreeCAD dimensions

* BIM: NativeIFC 2D support - section planes

* BIM: NativeIFC 2D support - misc fixes cf comment #2383181661

* BIM: NativeIFC 2D support - axes

* BIM: Project manager upgrade

* BIM: Fixed rebase leftover
2025-02-10 10:40:46 +01:00
Chris Hennes
f74a44ab4f CI: Update linter settings
* Updates Clazy to only run on changed files
* Ensures clazy does not analyze #included files
* Disables a few unnecessary cpplint checks
2025-02-09 18:51:36 -06:00
Benjamin Bræstrup Sayoc
7bc9304a21 [TechDraw] Use templates instead of duplicate code: formatVector 2025-02-08 22:35:57 +01:00
Benjamin Bræstrup Sayoc
1d7e7c86a0 [TechDraw] Use templates instead of duplicate code: toGp 2025-02-08 22:35:57 +01:00
Roy-043
c26264ec98 Draft: make arrays explodable
Fixes #13085.

This PR adds the `PlacementList` property to non-link arrays.
2025-02-08 19:20:33 +01:00
tritao
adf8e62ec0 Tools: Move bindings generator into generator folder. 2025-02-08 16:11:01 +00:00
tritao
0fda88daeb Tools: Add verbose mode to Python bindings generator. 2025-02-08 13:14:22 +00:00
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
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
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