Commit Graph

3497 Commits

Author SHA1 Message Date
PaddleStroke
9a48e7fcfd Remove unecessary if in DrawSketchHandlerArc.h 2025-03-20 13:40:24 +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
Chris Hennes
b2862ceaba Merge pull request #14176 from mosfet80/cleanmodPart
[mod:part] clean code
2025-03-17 11:13:19 -05: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
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
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
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
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
bofdahof
fb71aa3292 Sketcher: apply std::ranges 2025-03-16 17:18:12 -05:00
Karliss
42790475d6 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
Luz Paz
6564a7b107 Fix various typos 2025-03-14 12:37:12 -04:00
PaddleStroke
22c3250692 Update src/Mod/Sketcher/Gui/SketcherSettings.ui
Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com>
2025-03-13 15:05:00 +01:00
PaddleStroke
33cb93d655 Update src/Mod/Sketcher/Gui/SketcherSettings.ui
Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com>
2025-03-13 15:04:52 +01:00
PaddleStroke
cb05aad833 Add line group checkbox to SketcherSettings.cpp 2025-03-13 14:47:02 +01:00
PaddleStroke
6854120f66 add line group checkbox in SketcherSettings.ui 2025-03-13 14:45:40 +01:00
pre-commit-ci[bot]
f8f4ab61ef [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-13 11:12:48 +00:00
PaddleStroke
41bcf79d6b Sketcher: Add parameter to combine line and polyline 2025-03-13 12:08:56 +01:00
Chris Hennes
a9bf681844 Sketcher: Clean up compiler warnings
* numpoints from double to int
* Remove redundant out-of-line definition for constexpr static data member
2025-03-11 22:33:32 -05:00
Chris Hennes
7b4df25dc8 Merge pull request #19843 from Shkolik/sketcher_spline_intersection
fix #19831 Sketcher: Create external Intersection geometry not working with complex surfaces
2025-03-11 21:44:28 +00:00
Chris Hennes
b45efe56ec Merge pull request #20117 from hyarion/ps-move-func-to-cpp
Sketcher: Move getStandardButtons to cpp file
2025-03-11 20:55:40 +00:00
Chris Hennes
7ae079a5d8 Merge pull request #19926 from benj5378/toStringasd
Gui: clean up PropertyItem::toString
2025-03-11 20:38:15 +00:00
Benjamin Nauck
fcb127b78e Remove outdated comment 2025-03-11 10:17:12 +01:00
PaddleStroke
60cdb7f7c5 Move getStandardButtons to cpp file 2025-03-11 10:09:09 +01:00
Andrea
078e315d8f Remove unnecessary check (duplicated)
before including the library, it is uselessly checked if the variable __QtAll__ and __InventorAll__ have been defined. The same check is performed again once the library is included
2025-03-10 21:53:00 +01:00
PaddleStroke
b4221b72f9 Sketcher: DSH: add OVP constraints before AutoConstraints. 2025-03-10 12:49:17 +01:00
Andrew Shkolik
01ffabccaa fix #18356 Sketcher: External reference line defaults to geometry, but vertex does not 2025-03-04 21:29:54 -06:00
pre-commit-ci[bot]
c889ae4174 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-04 16:22:36 +00:00
mosfet80
6f40ad5325 Merge branch 'FreeCAD:main' into cleanmodPart 2025-03-04 15:26:14 +01:00
Andrew Shkolik
76611ef3dc Sketcher: Preference pattern and width added for External defining geometry 2025-03-03 23:51:26 -06:00
Chris Hennes
1a2070c36f Merge pull request #19636 from kadet1090/color-in-base
Base: Move App::Color to Base
2025-03-02 16:36:40 -06:00
Andrew
8605bc1747 Merge pull request #19747 from Shkolik/sketcher_datums_projection
fix #18894 Sketcher: Create external projection geometry not working with datum objects
2025-03-02 16:20:45 -06:00
Benjamin Bræstrup Sayoc
b7f1fc9a4d Gui: clean up PropertyItem::toString
I have no idea why the return type of toString was ever QVariant
2025-03-01 16:10:46 +01:00
Andrew Shkolik
dd76aa1aa7 Merge branch 'sketcher_spline_intersection' of https://github.com/Shkolik/FreeCAD into sketcher_spline_intersection 2025-02-28 12:34:14 -06:00
Andrew Shkolik
90198413e7 fixes #19831 - additional code to cover projection of split curve edge 2025-02-28 12:33:56 -06:00
pre-commit-ci[bot]
269f0aed20 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-27 06:42:55 +00:00
Andrew Shkolik
aaf0d897c3 Sketcher: Preference color added for External defining geometry 2025-02-27 00:28:20 -06:00
Benjamin Bræstrup Sayoc
ee1c73cd04 Build: suppress warnings from 3rd party libraries
Warnings from 3rd parties are not relevant and are only polluting the warning output. Marking these libraries as SYSTEM suppresses warning.

https://gcc.gnu.org/onlinedocs/cpp/Invocation.html#index-I
https://gcc.gnu.org/onlinedocs/cpp/System-Headers.html
2025-02-25 14:39:05 +00:00
Andrea
d28391dfab [mod:part] fix compile warning
.
2025-02-25 08:49:20 +01:00
pre-commit-ci[bot]
c502fc26d4 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-25 07:45:29 +00:00
Andrew Shkolik
db78be8e59 fix #19831 Sketcher: Create external Intersection geometry not working with complex surfaces
Co-authored-by: Zheng Lei <realthunder.dev@gmail.com>
2025-02-25 01:36:25 -06:00
Max Wilfinger
28aa531a02 Remove hack around geometry visibility in active sketch.
Revert #14386 and #16378
2025-02-24 22:09:37 +00:00
Joao Matos
15076cb504 Core: Move PyCXX library to src/3rdParty. 2025-02-24 16:36:06 +00:00
Chris Hennes
bd3133a5f2 Merge pull request #19397 from kadet1090/three-point-lighting
Add three-point lighting
2025-02-24 16:22:34 +00:00
Andrew
5c7a65bdb9 fixes #19582 Sketcher - cannot project BSpline from another sketch (#19700)
Also fixes some other types of external geo

---------

Co-authored-by: Andrew Shkolik <andrew.shkolik@selerix.com>
Co-authored-by: realthunder <realthunder.dev@gmail.com>
2025-02-24 10:17:24 -06:00
Benjamin Nauck
9c173d2b35 Sketcher: Use constant for Type::BadType instead Type::badType() 2025-02-24 08:30:18 +01:00
Benjamin Nauck
8e3a4483a4 Sketcher: Use isBad() instead of comparing types with == 2025-02-24 08:30:18 +01:00
Chris Hennes
51613a5b56 Merge pull request #19253 from Jonezzzzz/SketcherGroupCommandsFix
Sketcher: Fixed Inconsistency between button tooltips and labeling for shortcuts.
2025-02-23 22:20:07 +00:00
Kacper Donat
8dbc4042b3 Gui: Add 3 point lighting 2025-02-23 22:51:13 +01:00