Commit Graph

30708 Commits

Author SHA1 Message Date
Stefan Tröger
1296bb825a FEM: Make post object placement work 2025-03-22 23:27:10 +01:00
Stefan Tröger
12a6ea5038 FEM: Backward compatibility for post pipeline and multiple fixes 2025-03-22 23:27:10 +01:00
Stefan Tröger
f90b7a5755 FEM: Correctly implement Drag/Drop for post objects 2025-03-22 23:27:10 +01:00
Stefan Tröger
3f87627484 FEM: Add post pipeline branch 2025-03-22 23:27:10 +01:00
Stefan Tröger
a5e66bf542 FEM: Switch post groups to extension based system 2025-03-22 23:27:10 +01:00
Stefan Tröger
a4558f31b4 FEM: Multiframe adoptions
- To support timedata and the relevant filters the pipeline needs to be fully setup, hence not only working on data
 - Multiblock source algorithm is needed to supply the time data for the algorithms
2025-03-22 23:27:10 +01:00
xtemp09
79e7c3788e [Spreadsheet] Code base update in SheetModel.cpp (#20343)
* [Spreadsheet] Code base update in SheetModel.cpp

* [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-03-22 21:19:11 +00:00
Alfredo Monclus
8fb23b9117 start: fix file cards not respecting styling 2025-03-22 18:59:11 +00:00
PaddleStroke
11ff46f84a Assembly: ignore joints in error (#20253)
Co-authored-by: drwho495 <drwho495555@gmail.com>
2025-03-22 18:27:24 +01:00
PaddleStroke
91c588d449 Sketcher: Slot tool: Enforce correctly when angle is set (#20269) 2025-03-22 18:21:24 +01:00
Chris Hennes
2ddd96e315 Merge pull request #20110 from WandererFan/HeadlessViewCreation20024
[TD]Headless view creation (fix #20024)
2025-03-22 12:20:58 -05:00
PaddleStroke
557840f6d2 Sketcher: Line tool: Enforce correctly when angle is set (#20267) 2025-03-22 18:20:26 +01:00
Yorik van Havre
a2aa994897 BIM: Fixed project manager's save/restore - fixes #20288 2025-03-22 11:51:01 -05:00
pre-commit-ci[bot]
ba0e91beb1 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-22 11:38:48 -05:00
hasecilu
3285a89525 Mesh: change context for strings on task panel 2025-03-22 11:30:55 -05:00
xtemp09
14b2b254a4 [Spreadsheet] Fix input in expression editor (#19934)
* [Spreadsheet] Fix input in expression editor

Closes #19804

* [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-03-22 11:25:17 -05:00
PaddleStroke
f524e6302d PartDesign : Subshapebinder tooltip (#20023)
* PartDesign : Subshapebinder tooltip

* Update src/Mod/PartDesign/Gui/Command.cpp

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

---------

Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com>
2025-03-22 11:21:31 -05:00
WandererFan
43f5e134e9 [TD]fix view loses dimensions (fix #19968) (#20122)
* [TD]fix view loses dimensions (fix #19968)

* [TD]Apply review comment
2025-03-22 11:12:42 -05:00
Adrian Insaurralde
b0724a34d9 cmake: remove distutils usage for python < 3.10 2025-03-22 11:08:36 -05:00
Chris Hennes
4f0fbb1bbe FEM: Ensure node is initialized before use
Coverity issue 545328
2025-03-22 07:15:15 +01:00
Chris Hennes
dd340eab51 PD: Check threadType before using to index
Coverity issue 545314
2025-03-22 07:15:15 +01:00
Chris Hennes
f14fe6cd40 FEM: Initialize scalar
Coverity issue 545304
2025-03-22 07:15:15 +01:00
Chris Hennes
56e327e235 FEM: Ensure node is valid before accessing
Coverity issue 545293
2025-03-22 07:15:15 +01:00
Chris Hennes
05bba1ab42 Spreadsheet: Ensure copy of temp string is kept
Coverity issue 545269. A temporary string is constructed, and its address stored via c_str(). That pointer is then used after the string is destroyed. The fix is to store the std::string.
2025-03-22 07:15:15 +01:00
Chris Hennes
a95e355c9a Sketcher: Ensure copy of temp string is kept
Coverity issue 545249. A temporary string is constructed, and its address stored via c_str(). That pointer is then used after the string is destroyed. The fix is to store the std::string.
2025-03-22 07:15:15 +01:00
Chris Hennes
1c3f643420 Mesh: Sanity-check old file format size 2025-03-22 07:15:15 +01:00
Chris Hennes
9a2b0fb0f0 Part: Ensure ShapeHistory is fully initialized
Coverity issue 515690
2025-03-22 07:15:15 +01:00
Chris Hennes
10d482597e Sketcher: Ensure loop can exit
Coverity issue 513796
2025-03-22 07:15:15 +01:00
Chris Hennes
ddffc455c4 CAM: Add missing destructor
Coverity issue 513026
2025-03-22 07:15:15 +01:00
Chris Hennes
b8589b03ea Part: Remove inefficient vector reserve()
Coverity issue 356645
2025-03-22 07:15:15 +01:00
Chris Hennes
03bbcaf30d Part: Don't cast time_t to a potentially 32-bit type
Coverity (and possibly other static analyzers) detect when we attempt to use a time_t as what might be a 32-bit value, warning about Y2K38 safety. It is irrelevant in this case, but make the change to avoid the warning (so it doesn't hide any real problems).
2025-03-22 07:15:15 +01:00
Chris Hennes
04602f96c2 TD: Ensure WalkerEdge is fully initialized
Coverity thinks that the edge_t is not getting fully initialized, so add a constructor to WalkerEdge that ensures the two components in question are set to zero (resulting in an invalid edge).
2025-03-22 07:15:15 +01:00
tritao
c880b5704f PartDesign: Convert XML bindings to Python API bindings model. 2025-03-21 23:14:24 +01:00
wandererfan
a10e93befe [TD]apply review comments 2025-03-21 09:49:14 -04:00
mosfet80
3026bd413d Remove support to oldest occ <7.5 (#20084)
* remove support to oldest occ <7.5

The  os ubuntu 22.04 not supported use occ 7.5.1.
There is a lot of code implemented to support even older versions.
The patch removes support for versions lower than occ 7.5.0

* .

* move include library

#pieterhijma  change request :

* removed deprecated functions

get/setAngle functions has been removed with OCC 7.5
2025-03-21 13:06:47 +01:00
PaddleStroke
ae08c322b2 Update src/Mod/PartDesign/Gui/Command.cpp
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-03-20 19:51:18 +01:00
PaddleStroke
9e0a9185f9 PartDesign: clone tooltip 2025-03-20 19:51:18 +01:00
Roy-043
a8a48793ad BIM: Generate curtain wall panels in spanned grid openings
Fixes #20235.
2025-03-20 15:04:53 +01:00
PaddleStroke
9a48e7fcfd Remove unecessary if in DrawSketchHandlerArc.h 2025-03-20 13:40:24 +01:00
Tomas Polak
ae40f02626 BIM_ProjectManager typo fix 2025-03-20 12:25:09 +01:00
Roy-043
78a76ca627 BIM: HumanFigure.brep: fix typo in create_qrc.py
Fixes #20289

My bad. Because of this typo the brep file was not included in Arch_rc.py.
2025-03-20 12:07:19 +01:00
Tomas Polak
74b622cb08 BIM_Classification dialgue - change tooltips and text to better represent their functions (#20274)
* Change Ifc Classification dialgue tooltips and text

* Update src/Mod/BIM/bimcommands/BimClassification.py

Co-authored-by: Yorik van Havre <yorik.vanhavre@gmail.com>

---------

Co-authored-by: Tomas Polak <semhustej@users.noreply.github.com>
Co-authored-by: Yorik van Havre <yorik.vanhavre@gmail.com>
2025-03-20 12:06:20 +01:00
Furgo
de4f61b07e BIM: move add/removeSpace boundaries implementation to Arch module (#20222)
* BIM: move add/removeSpaceBoundaries definitions to the Arch module

* BIM: make add/removeSpaceBoundaries implementation consistent

* BIM: update and expand docstrings
2025-03-20 11:47:03 +01:00
Furgo
0bfe803f3a BIM: add unit test for addSpaceBoundaries (#20146)
* BIM: add unit test for addSpaceBoundaries

* BIM: remove test dependency on FreeCADGui
2025-03-20 11:44:56 +01:00
Paul Lee
b06c8b3522 [ArchStairs] ArchSketch Support and Refactoring Phase 1
FC Forum Discussion:-
https://forum.freecad.org/viewtopic.php?p=814274#p814274

ArchSketch Support, PropertySet, and Refactoring to enable more complex Stairs shape.
2025-03-20 10:24:03 +01:00
Roy-043
cbaf1f3c01 Draft: make Near snap obey 'Always snap' setting
Fixes: #19553.

Additionally:
* Removed 2 unused attributes (`self.lastSnappedObject` and `self.active`).
* Improved the readability of `snapToObject` a little bit.
* Made the return value of that function consistent (vector or None).
2025-03-20 10:14:49 +01:00
Johannes Thyssen Tishman
e2ea02b5a5 The PCL point_traits.h header was renamed (and deprecated) since
1.11.0 and removed in 1.15.0.
2025-03-19 08:29:46 -05:00
Furgo
e8c4d7ea2f BIM: allow boundaries to be defined from a single object (e.g. wall) (#20158)
* BIM: Add test for space from single wall boundaries

* BIM: Arch_Space, enable creation of spaces from single objects with
boundaries

* BIM: update and expand docstring
2025-03-19 10:45:26 +01:00
Chris Hennes
21c07cabc5 FreeCAD: Compiler warning fixes 2025-03-19 10:13:34 +01:00
Lawrence Woestman
1fecb21db7 CAM: Added three options to the refactored postprocessors
with tests.

Removed extra spaces in comments to work around auto-fix
removal of spaces at the end of lines in multi-line python strings.
2025-03-17 20:59:29 -05:00