Commit Graph

30768 Commits

Author SHA1 Message Date
Roy-043
ea82500560 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
d9e731ca94 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
47cec43aae 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
64d658e38a FreeCAD: Compiler warning fixes 2025-03-19 10:13:34 +01:00
David Carter
507c3ba352 Linter fixes 2025-03-18 20:33:10 -05:00
David Carter
befa9844a9 Update src/Mod/Material/App/Materials.cpp
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-03-18 20:33:10 -05:00
David Carter
ce97507c32 Update src/Mod/Material/App/Library.cpp
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-03-18 20:33:10 -05:00
David Carter
17d5dc89eb Update src/Mod/Material/App/Model.cpp
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-03-18 20:33:10 -05:00
David Carter
592406a328 Materials: External Modules Part 1
Refactored code to support local and external material sources

This is the first PR in a series to support external modules. External
modules allow materials to be stored in external data sources such as
databases or web services. No new functionality is introduced in this
PR, rather it is a refactoring of code that will allow for changes to
be introduced in future PRs. Minor performance improvements have also
been made in the model and material managers.

The Python API has been enhanced for many data types to allow for
modification within Python.
2025-03-18 20:33:10 -05:00
Lawrence Woestman
f3bb974855 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
Chris Hennes
e574fa1efc Merge pull request #19899 from tritao/cmake-cleanup-targets
CMake: Cleanup targets with transitive dependencies
2025-03-17 13:15:37 -05:00
PaddleStroke
4ab281bd7d 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
c47507bad0 BIM: include selected objects when creating a level 2025-03-17 18:12:36 +01:00
Captain
384fcdf006 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
3d03bb45f8 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
c43fd51588 Merge pull request #20177 from captain0xff/flickering-cursor
TechDraw: Fix flickering cursor issue
2025-03-17 11:15:40 -05:00
Chris Hennes
0400673e1d 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
061876db82 Merge pull request #14176 from mosfet80/cleanmodPart
[mod:part] clean code
2025-03-17 11:13:19 -05:00
tritao
6c2c6847eb CMake: Cleanup targets with transitive dependencies 2025-03-17 12:12:06 +00:00
Chris Hennes
5f623390fb 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
72bf250859 Merge pull request #20040 from PaddleStroke/patch-12
QuickMeasure: Do not measure datums
2025-03-17 00:26:37 -05:00
Chris Hennes
42cc0d93be 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
4fcdac28fb Merge pull request #19583 from hyarion/refactor/base-type
Refactor Base::Type
2025-03-17 00:03:22 -05:00
Chris Hennes
998f713c97 Merge pull request #19788 from benj5378/state2
TechDraw: remove unneeded state, part 1
2025-03-17 00:02:20 -05:00
Chris Hennes
9765a6cb69 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
001d1377be 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
fdb3f70719 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
d09d2c02bb Merge pull request #17779 from wwmayer/noboostpy
Remove support for Boost.Python
2025-03-17 00:00:32 -05:00
Chris Hennes
31db67d375 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
fd4fd6ccf7 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
b89ad30bc0 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
89e20d561d 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
c6012c514a Merge pull request #20141 from semhustej/change_IfcElements_window_size
Change IfcElements window width
2025-03-16 23:58:40 -05:00
Chris Hennes
75bcc7d316 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
1ad5bc1284 Merge pull request #20207 from yorikvanhavre/bim-space-text
BIM: Fixed space text display
2025-03-16 23:57:19 -05:00
bofdahof
1043767919 Points: apply std::ranges 2025-03-16 17:19:22 -05:00
bofdahof
8b31b5c92d Mesh: apply std::ranges 2025-03-16 17:19:03 -05:00
bofdahof
20141d7f19 TechDraw: apply std::ranges 2025-03-16 17:18:23 -05:00
bofdahof
34881bc82e Sketcher: apply std::ranges 2025-03-16 17:18:12 -05:00
bofdahof
de16fe094a Part: apply std::ranges 2025-03-16 17:17:37 -05:00
bofdahof
965af2bf9a PartDesign: apply std::ranges 2025-03-16 17:17:15 -05:00
bofdahof
2e2f872da6 Measure: apply std::ranges 2025-03-16 17:16:56 -05:00
bofdahof
49cc124a68 Import: apply std::ranges 2025-03-16 17:16:42 -05:00
bofdahof
4dd92724b6 FEM: apply std::ranges 2025-03-16 17:16:30 -05:00
bofdahof
07aafd78c6 Drawing: apply std::ranges 2025-03-16 17:15:49 -05:00
bofdahof
b89f3353ce CAM: apply std::ranges 2025-03-16 17:15:38 -05:00
bofdahof
c4eeaa2d11 Assembly: apply std::ranges 2025-03-16 17:15:26 -05:00
Karliss
fa61131590 Add missing parent for messagebox and other popups
Unparented popups can easily get lost in backround, but they still block top level event loop when run with ::exec() thus preventing interactions with main window.  This mainly happens on wayland. Setting the parent ensures they are always kept on top and reasonably positioned.
2025-03-16 16:02:36 -05:00
PaddleStroke
db5dafaf2f QuickMeasure: Do not measure datums 2025-03-16 15:48:46 -05:00
Yorik van Havre
d3aaa4cfa6 BIM: Fixed space text display - fixes #20126 2025-03-15 14:35:17 +01:00