Commit Graph

63 Commits

Author SHA1 Message Date
PaddleStroke
b2f965c06e ViewProviderOrigin: Renamed to ViewProviderCoordinateSystem 2024-11-27 12:15:53 +01:00
PaddleStroke
a558475d8a Rename 'OriginFeature' to 'DatumElement' 2024-11-26 15:36:48 +01:00
PaddleStroke
8f43f3cc8b Core: Rename 'OriginFeature' file to 'Datums' 2024-11-26 15:36:48 +01:00
wwmayer
c5384dc36a PartDesign: Prepare for clang-format (#16048)
* PartDesign: Prepare for clang-format

* [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>
2024-09-02 17:48:26 +02:00
marcuspollio
12a09af5cd PartDesign UI: Update Task panels titles and icons
update Workbench.cpp, TaskFeaturePick.cpp
2024-05-12 15:08:14 +12:00
Josh Coalson
fbd8767242 Part: Rename AttachExtension::Support property to AttachmentSupport, to avoid name conflict with base features. Fixes #7052 2024-03-04 18:22:43 +01:00
Florian Foinant-Willig
24934d7843 PartDesign: modernize type checking 2023-10-23 18:08:16 +02:00
wmayer
3e09b8ee2d PD: modernize C++: use range-based for loop 2023-08-16 21:54:56 -05:00
wmayer
a0548860d2 PD: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
a122aa01a7 PD: move to new style connect() 2023-01-15 14:27:33 +01:00
wmayer
a93082bc06 PD: [skip ci] Fix several clazy issues:
* Maybe you meant to call base method instead [-Wclazy-skipped-base-method]
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Mixing iterators with const_iterators [-Wclazy-strict-iterators]
* Unused QByteArray [-Wclazy-unused-non-trivial-variable]
* C++11 range-loop might detach Qt container (QList) [-Wclazy-range-loop-detach]
2022-07-25 13:40:19 +02:00
wmayer
0f5725b34a modernize C++: replace boost::function with std::function 2022-06-30 20:31:55 +02:00
Uwe
17e6ebf120 [PD] remove more unused includes 2022-02-22 01:19:32 +01:00
0penBrain
015b229162 [PartDesign] Allow single (viewport) click for mapping feature selection
Parameter 'singleClickFeatureSelect' can be used to enable/disable
2022-01-22 16:14:30 +01:00
wmayer
b35623e680 App: Bugfix for NULL-Pointer dereference of Property->getName() 2022-01-16 14:30:51 +01:00
Pierre LeMoine
67aee7cd21 Transform patterns can be created from multiple base features
The infrastructure/piping seems to have been in place for a long while.
Not tested for all variations of pattern transforms.
The major enabler was removing the `break`.
Some extra piping added to let the code at call-site decide if to select multiple features or not.
2021-02-04 11:58:47 +01:00
David Osterberg
c19341b866 PartDesign: Allow selection of sketch plane by double click in picker dialog
Thanks to @0penBrain for solving a tricky segmentation fault
2021-02-03 16:46:47 +01:00
luz.paz
dc8bf3dc39 PartDesign: [skip ci] fix header uniformity
This PR fixes header uniformity across all PartDesign WB files
2019-12-22 00:58:38 +01:00
wmayer
657bcef798 use ShapeBinder to create a copy from Origin feature 2019-06-15 15:43:29 +02:00
luz.paz
7948cccd9a Reverting partial commit 34c4ceb82 2018-10-26 00:47:18 +02:00
luz.paz
2535665ee8 Please review these and then I'll squash all in to one commit 2018-10-25 11:06:28 -03:00
wmayer
c2d97241ee fix crash when creating a copy of datum object 2018-09-29 12:34:55 +02:00
luzpaz
0bafb04924 PartDesign: typos 2017-12-25 11:04:43 +01:00
wmayer
f1f2a90190 fix coverity issues 2017-11-18 18:07:00 +01:00
luzpaz
fa0f8cd9a7 PartDesign: Fix previous commit + more typos 2017-11-18 12:50:26 +01:00
wmayer
fde42545ba fix various coverity issues 2017-09-15 11:48:38 +02:00
Stefan Tröger
9cda1b53bc Allow interchangable use of link properties and their derivatives 2017-09-09 16:47:07 +02:00
wmayer
a3be7248ac fix segmentation fault in TaskFeaturePick::makeCopy 2017-04-17 11:07:54 +02:00
wmayer
c526c18b94 fix scan coverity issues: uncaught exception 2017-04-11 14:03:08 +02:00
wmayer
2bb5f432d3 properly close task dialog when document is getting closed 2017-04-07 15:16:04 +02:00
wmayer
9637dcbd44 close sketch selection task panel on undo 2017-04-07 13:07:52 +02:00
Ian Rees
c51f4ff4c6 Add abort method to PartDesign TaskDlgFeaturePick 2017-04-06 19:26:19 +02:00
Kunda
9410e751e9 source typo fixes pt4 (only on py3 merged code) 2017-03-02 13:47:21 +01:00
Stefan Tröger
526d895a5d PartDesign: Port body to be a origin group 2017-01-04 16:01:58 +01:00
Yorik van Havre
1f261cef34 Fixed typos notified on crowdin 2016-12-28 16:59:24 -02:00
wmayer
0e301eb987 fixes #0002502: Inconsistent selection 2016-10-24 01:49:24 +02:00
wmayer
670e2f6fa2 fix i18n issues in feature pick panel 2016-10-24 00:34:56 +02:00
wmayer
dd7c91ddcf fix -Wextra in PartDesign 2016-09-22 18:34:56 +02:00
wmayer
17de4e2efa fix Coverity issues 2016-08-22 15:02:18 +02:00
Mateusz Skowroński
a8d37dabbe QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-04-15 11:55:12 +02:00
Mateusz Skowroński
596155061f QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-04-15 11:54:59 +02:00
wmayer
ab43e18b00 + remove 'using namespace Attacher' inside header file 2016-04-13 15:57:49 +02:00
Stefan Tröger
815a8e4d30 Remove ShapeBinder2D
As profile based features can work with faces and wires now ShapeBinder can do everything that needed ShapeBinder2D before.
2016-04-12 18:12:23 +02:00
Alexander Golubev
27667cf5e6 Fix warnings introduced in new PartDesign
Mostly unused wariables and compare of signed & unsigned
2016-04-12 18:12:21 +02:00
Stefan Tröger
1a748c4d51 Simplify the feature pick dialog
less options are easier to grasp for the user
2016-04-12 18:12:21 +02:00
Stefan Tröger
d878028c60 Fix sketch on face of other body or part
The shapebinder object reduces the number of faces to 1, hence the subshape to select is always Face1 and not the original face name
2016-04-12 18:12:21 +02:00
Stefan Tröger
08287504fa Fix crossreference handling 2016-04-12 18:12:20 +02:00
Stefan Tröger
a8781fdacc handle independent copies more gracefully 2016-04-12 18:12:20 +02:00
Stefan Tröger
4e1a9c05cb ask user if he creates inter part/body references 2016-04-12 18:12:20 +02:00
Stefan Tröger
b610dcc97c fix dependent copy references
to make them work with sketches an additional Part2DObject reference needed to be created
2016-04-12 18:12:19 +02:00