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
Alexander Golubev
3ed51ac4bd
PartDesign: add Origin to the Body and unstrap the module from the Parts
2016-04-12 18:12:18 +02:00
Alexander Golubev
d72a919384
OriginGroup: add new abstraction layer between the Part and the GeoFeatureGroup
2016-04-12 18:12:18 +02:00
Alexander Golubev
305151be34
App/Origin: big refactoring
...
- Rebase App::Origin on App::DocumentObject
- Keep all control over the Origin structure inside the Origin and it's
ViewProvider
- Add OriginFeature class as common base for App::Plane and App::Line
- Rebase App::Plane and App::Line on top of newly created class and
move to the file.
- Change Origin's ViewProvider API associated with temporary display
- Lots of associated changes to files
- Several minor fixes
- Lots of new bugs
2016-04-12 18:12:18 +02:00
Alexander Golubev
9347f66a9e
PartDesign/Gui: Move various utility stuff from Workbench to a separate file
...
Also do some header cleanup.
2016-04-12 18:12:17 +02:00
Alexander Golubev
974a434e1f
PartDesign/Gui: enhance the TaskFeaturePick with new cotegory of sketches: notInBody
...
Also add option tp show already used sketches and fix some spacing.
2016-04-12 18:12:14 +02:00
Stefan Tröger
b8ccce827e
prevent part design features from accidently cross referencing
2016-04-12 18:12:14 +02:00
Stefan Tröger
1711dd4739
fix independent copy and cross reference
2016-04-12 18:12:14 +02:00
Stefan Tröger
a2dba9be6e
first take on enhanced feature pick task
2016-04-12 18:12:14 +02:00
DeepSOIC
5e18faa018
assert before crashing
2016-04-12 18:12:07 +02:00
DeepSOIC
878b9df68f
fix build with MSVC11 aka 2012
2016-04-12 18:12:06 +02:00