Commit Graph

31768 Commits

Author SHA1 Message Date
herbkonik
572230cc95 Update SurfaceSupport.py (#18724) 2025-02-10 10:35:26 -06:00
Alfredo Monclus
2c4650ba82 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
b18150e048 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
ecfde4eed9 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
4815157107 Merge pull request #19487 from Roy-043/Draft-make-arrays-explodable
Draft: make arrays explodable
2025-02-10 16:16:18 +01:00
Furgo
7135525346 BIM: fix error on double-clicking on non-IFC objects 2025-02-10 14:32:20 +01:00
Roy-043
c423a3a892 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
2b62e91460 BIM: ifc_viewproviders.py make context menus translatable 2025-02-10 14:28:26 +01:00
Yorik van Havre
7829cab969 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
Benjamin Bræstrup Sayoc
5793b0d59d [TechDraw] Use templates instead of duplicate code: formatVector 2025-02-08 22:35:57 +01:00
Benjamin Bræstrup Sayoc
9f8f6b1f56 [TechDraw] Use templates instead of duplicate code: toGp 2025-02-08 22:35:57 +01:00
Roy-043
1de045ae66 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
2145b742eb Base: Standardize on Py::Long type for Python bindings. 2025-02-08 13:14:22 +00:00
Roy-043
f3854d155a 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
6edce0cafa PD: Add onlyHaveRefined() to FeatureRefine 2025-02-07 21:44:43 -06:00
colinRawlings
bec119b064 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
600b203683 Fix lint issues 2025-02-07 20:53:59 +01:00
Roy-043
a70cd6e6e3 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
d93cec7063 Draft: add some checks for font file of shapestring
Fixes #19447.
2025-02-07 20:03:49 +01:00
Chris Hennes
fc6aeeb9e3 Merge pull request #19444 from chennes/addonManagerChangeBranchCleanup
Addon manager: change branch cleanup
2025-02-07 11:41:56 -06:00
Roy-043
5948edda64 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
67750ed3be Draft: Fix line length input issue (#19461)
Fixes #19451.
2025-02-07 18:24:05 +01:00
Chris Hennes
04f4c69fa0 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
0fc0b2a3f5 Addon Manager: Linter cleanup 2025-02-07 08:57:33 -06:00
Chris Hennes
fed3eadd3d 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
bd0d0e011e Addon Manager: improve git branch changing 2025-02-07 08:52:49 -06:00
Chris Hennes
045fec3103 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
Roy-043
46eb356d76 Rebase... 2025-02-07 14:43:17 +01:00
Roy-043
20c920375c Draft: Fix line length input issue
Fixes #19451.
2025-02-07 13:38:56 +01:00
michaesc
f6b250115c 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
d4d74a4464 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
4a0fbe8768 Draft: Fixed small bug in draftgeoutils.edges 2025-02-06 13:56:08 +01:00
Roy-043
e47af7645c Draft: improved handling of 'crazy' edges in hatch
See #14114.
2025-02-06 13:43:52 +01:00
tritao
02ab2deac7 Gui: Reorganize the navigation files into a top Navigation folder. 2025-02-05 20:21:00 -06:00
Mark Ganson TheMarkster
3b7b7d6e5c [Start page] Implement ShowExamples parameter (#19376)
* [Start page] Implement ShowExamples parameter
2025-02-05 20:01:54 -06:00
tritao
4260bd6fa4 Gui: Minor cleanups. 2025-02-05 22:13:07 +00:00
Roy-043
375750d89d 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
2087ce149f 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
196ad38a14 Fem: Check reference temperature - fixes #19375 2025-02-05 14:54:45 +01:00
tritao
4843377790 Gui: Change SoFCSelection from highlight to preselection terminology. 2025-02-05 13:14:00 +00:00
tritao
38c9a7cdb3 Gui: Cleanup mystery comments around ResolveMode. 2025-02-05 13:11:05 +00:00
Furgo
b8071caa90 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
7e06bb1ec2 [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
Furgo
931db3dd59 BIM: fix unassigned variable reference 2025-02-05 09:40:41 +01:00
tritao
929a6a46fc BIM: Improve checking of IfcOpenShell imports in ifc_tools.py . 2025-02-05 09:23:08 +01:00
Chris Hennes
995c7a8736 Addon Manager: Use pip utility function
Also attempts to fix some bugs when dep installation fails.
2025-02-04 14:10:49 -06:00
Chris Hennes
b7cfb36665 Addon Manager: Create utility function to get pip 2025-02-04 14:10:49 -06:00
Chris Hennes
e849d8ac2e Addon Manager: Use FreeCAD QUiLoader wrapper when available 2025-02-04 14:10:25 -06:00
Roy-043
f98d4f8646 Draft: Avoid setRadiusValue error message
Fixes #19386.
2025-02-04 16:25:53 +01:00
james
6a2e956481 fix non compressed read 2025-02-04 15:57:26 +01:00