Commit Graph

38615 Commits

Author SHA1 Message Date
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
tritao
a178e3bb71 App: Modernize Python bindings with new API model. 2025-03-20 11:07:27 +01:00
Joao Matos
154e00f9a3 Tools: Improve identation handling for attribute docstring comments. 2025-03-20 11:07:27 +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
tritao
b71d5fe684 Base: Remove XML binding files. 2025-03-19 20:04:19 -05:00
tritao
09918fac13 Tools: Re-enable XML comparison mode Python API bindings generator. 2025-03-19 08:32:06 -05: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
Guillaume Roguez
17719536bc fix dialogs button size in case of long text
Let the layout engine computes the size of all QPushButton by unset
the minimalSize value set by "min-width" QSS property in themes.

Fix #18019.
2025-03-19 13:37:47 +01: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
xtemp09
b6a1a15b64 [App] Fix the crash reported in #20212 2025-03-19 00:23:22 -03:00
Chris Hennes
09cdcee1bb App: Coverity fixes 2025-03-18 15:59:22 +01:00
Chris Hennes
eedb743959 Base: Coverity cleanup 2025-03-18 15:59:22 +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
Thomas Gimpel
b86c7c4a8f App: reverted commit 8ff4b1b and improved comments in order to fix the MacOS build (#20068) 2025-03-17 20:23:01 +01:00
Chris Hennes
5e6a37a1fa Merge pull request #19899 from tritao/cmake-cleanup-targets
CMake: Cleanup targets with transitive dependencies
2025-03-17 13:15:37 -05:00
bofdahof
186c3d135e Base: Switch small enum base type to std::uint8_t
int and size_t are much larger than necessary for storage of these
enum types.
2025-03-17 12:34:14 -05:00
PaddleStroke
edabd3311b Assembly: Fix: Select datum should not show dragger. (#20051)
* Assembly: Fix: Select datum should not show dragger.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update ViewProviderAssembly.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-17 18:13:20 +01:00
Furgo
f4276ae8f1 BIM: include selected objects when creating a level 2025-03-17 18:12:36 +01:00
Captain
65236b9e69 TechDraw: changed CosmeticVertex point picker dashed circle to filled dot. (#20095)
* techdraw: changed the cosmetic vertex shape

* add back the call to prepareGeometryChange

* add getVertexSize and getLineWidth methods to QGIViewPart

* use doubles for sizes

* update setRadius in QGMarker to use double instead of float
2025-03-17 12:05:29 -05:00
Chris Hennes
43a3626624 Merge pull request #20201 from Roy-043/Draft-make-Draft_Edit-also-detect-key-up-events
Draft: make Draft_Edit also detect key up events
2025-03-17 11:57:24 -05:00
Chris Hennes
e04b8b05b2 Merge pull request #20177 from captain0xff/flickering-cursor
TechDraw: Fix flickering cursor issue
2025-03-17 11:15:40 -05:00
Chris Hennes
b60b4eaf67 Merge pull request #20149 from phaseloop/vcarve-improvements
[CAM] Change VBit tip diameter to 0.1 mm.
2025-03-17 11:13:51 -05:00
Chris Hennes
b2862ceaba Merge pull request #14176 from mosfet80/cleanmodPart
[mod:part] clean code
2025-03-17 11:13:19 -05:00
Benjamin Bræstrup Sayoc
d2a55a0f17 Gui: fix centering in color button 2025-03-17 15:19:00 +01:00
tritao
cdab9c7837 CMake: Cleanup targets with transitive dependencies 2025-03-17 12:12:06 +00:00
Chris Hennes
9a77120e82 Merge pull request #20142 from bofdahof/ranges
Apply C++20 std::ranges (mainly to std::find)
2025-03-17 03:08:27 -05:00
Chris Hennes
cae6d0549c Merge pull request #20040 from PaddleStroke/patch-12
QuickMeasure: Do not measure datums
2025-03-17 00:26:37 -05:00
Chris Hennes
0924f159a1 Merge pull request #20160 from karliss/popup-parent
Add missing parent for messagbox and other popups.
2025-03-17 00:16:49 -05:00
Chris Hennes
9e0d77d7f4 Merge pull request #19583 from hyarion/refactor/base-type
Refactor Base::Type
2025-03-17 00:03:22 -05:00
Chris Hennes
6e3a63fec3 Merge pull request #20172 from PaddleStroke/patch-17
Sketcher: Fix negative angle rendering negative bug
2025-03-17 00:02:37 -05:00
Chris Hennes
92a99ac71a Merge pull request #19788 from benj5378/state2
TechDraw: remove unneeded state, part 1
2025-03-17 00:02:20 -05:00
Chris Hennes
5dea134d97 Merge pull request #19924 from benj5378/codeDupEditor
Gui: avoid code duplication in PythonEditor
2025-03-17 00:02:03 -05:00
Chris Hennes
aaa9c8bf42 Merge pull request #20140 from yorikvanhavre/bim-classification-fix
BIM: Fixed classification dialog's Cancel button
2025-03-17 00:01:47 -05:00
Chris Hennes
836dd843a4 Merge pull request #20114 from mosfet80/CleanShibokenCmake
Clean Salome Cmake
2025-03-17 00:01:33 -05:00
Chris Hennes
1243cd480b Merge pull request #20061 from alfrix/start_fixes_3
start: fix listview height always being too small
2025-03-17 00:01:14 -05:00
Chris Hennes
f8ac7a47dc Merge pull request #19661 from jbaehr/cam-improve-unit-warning
CAM: Improve warning text for improper unit scheme
2025-03-17 00:00:52 -05:00
Chris Hennes
ede962835d Merge pull request #17779 from wwmayer/noboostpy
Remove support for Boost.Python
2025-03-17 00:00:32 -05:00
Chris Hennes
88ab38a100 Merge pull request #19252 from pmjdebruijn/thread
PartDesign: explicitly thread pitch for regular profile ISO threads
2025-03-17 00:00:14 -05:00
Chris Hennes
f17addb214 Merge pull request #19890 from Shkolik/sketcher_defining_color
Sketcher: Preference color added for External defining geometry
2025-03-17 00:00:02 -05:00
Chris Hennes
e0aa5f3c30 Merge pull request #19917 from tritao/refactor-document-recompute
Core: Refactor code around document and feature recompute
2025-03-16 23:59:12 -05:00
Chris Hennes
a1786fa797 Merge pull request #20105 from PaddleStroke/patch-15
Sketcher: DSH: add OVP constraints before AutoConstraints.
2025-03-16 23:58:57 -05:00
Chris Hennes
a4de381e2f Merge pull request #20141 from semhustej/change_IfcElements_window_size
Change IfcElements window width
2025-03-16 23:58:40 -05:00
Chris Hennes
a92cb4499c Merge pull request #20165 from PaddleStroke/patch-16
Sketcher: Add parameter to combine line and polyline
2025-03-16 23:58:07 -05:00
Chris Hennes
ef24ad9e1b Merge pull request #20207 from yorikvanhavre/bim-space-text
BIM: Fixed space text display
2025-03-16 23:57:19 -05:00
Chris Hennes
93daa022f5 Merge pull request #20191 from mosfet80/patch-12
clean  Gui/CMakeLists.txt
2025-03-16 23:57:01 -05:00
bofdahof
ed2a99e37b Points: apply std::ranges 2025-03-16 17:19:22 -05:00
bofdahof
477f9aa401 Mesh: apply std::ranges 2025-03-16 17:19:03 -05:00
bofdahof
479e6ad708 TechDraw: apply std::ranges 2025-03-16 17:18:23 -05:00