wmayer
88accdb421
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
9b2b0e0acf
modernize C++: replace boost::function with std::function
2022-06-30 20:31:55 +02:00
Uwe
278abf5675
[PD] remove more unused includes
2022-02-22 01:19:32 +01:00
0penBrain
e3c0a43797
[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
f147986fa9
App: Bugfix for NULL-Pointer dereference of Property->getName()
2022-01-16 14:30:51 +01:00
Pierre LeMoine
7999536858
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
99b2cba5f1
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
d38f18af23
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
5ea062f669
use ShapeBinder to create a copy from Origin feature
2019-06-15 15:43:29 +02:00
luz.paz
0660fd737c
Reverting partial commit 2a53eb043
2018-10-26 00:47:18 +02:00
luz.paz
2a53eb0432
Please review these and then I'll squash all in to one commit
2018-10-25 11:06:28 -03:00
wmayer
dc46910231
fix crash when creating a copy of datum object
2018-09-29 12:34:55 +02:00
luzpaz
c1152f2a2c
PartDesign: typos
2017-12-25 11:04:43 +01:00
wmayer
046954a05b
fix coverity issues
2017-11-18 18:07:00 +01:00
luzpaz
6f1691fec9
PartDesign: Fix previous commit + more typos
2017-11-18 12:50:26 +01:00
wmayer
770c9ce095
fix various coverity issues
2017-09-15 11:48:38 +02:00
Stefan Tröger
d0954e6e42
Allow interchangable use of link properties and their derivatives
2017-09-09 16:47:07 +02:00
wmayer
6b26fa6ca7
fix segmentation fault in TaskFeaturePick::makeCopy
2017-04-17 11:07:54 +02:00
wmayer
004324bbc5
fix scan coverity issues: uncaught exception
2017-04-11 14:03:08 +02:00
wmayer
52c3b4580e
properly close task dialog when document is getting closed
2017-04-07 15:16:04 +02:00
wmayer
bf542266c4
close sketch selection task panel on undo
2017-04-07 13:07:52 +02:00
Ian Rees
e2b73e5bb1
Add abort method to PartDesign TaskDlgFeaturePick
2017-04-06 19:26:19 +02:00
Kunda
99c99006b8
source typo fixes pt4 (only on py3 merged code)
2017-03-02 13:47:21 +01:00
Stefan Tröger
9a3b952fb9
PartDesign: Port body to be a origin group
2017-01-04 16:01:58 +01:00
Yorik van Havre
1c35bd8cd9
Fixed typos notified on crowdin
2016-12-28 16:59:24 -02:00
wmayer
9c1134940b
fixes #0002502 : Inconsistent selection
2016-10-24 01:49:24 +02:00
wmayer
d5f02ffde3
fix i18n issues in feature pick panel
2016-10-24 00:34:56 +02:00
wmayer
664cf65d26
fix -Wextra in PartDesign
2016-09-22 18:34:56 +02:00
wmayer
63ad26491f
fix Coverity issues
2016-08-22 15:02:18 +02:00
Mateusz Skowroński
b5519922d8
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
3df6064e85
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
df48d1668b
+ remove 'using namespace Attacher' inside header file
2016-04-13 15:57:49 +02:00
Stefan Tröger
e7d8a1a9a4
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
0cfc0cd424
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
e675c43ddf
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
ef2437bb5c
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
2ff2d29f02
Fix crossreference handling
2016-04-12 18:12:20 +02:00
Stefan Tröger
5725dd7721
handle independent copies more gracefully
2016-04-12 18:12:20 +02:00
Stefan Tröger
d5e035741a
ask user if he creates inter part/body references
2016-04-12 18:12:20 +02:00
Stefan Tröger
9969aac671
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
1a26f7551f
PartDesign: add Origin to the Body and unstrap the module from the Parts
2016-04-12 18:12:18 +02:00
Alexander Golubev
2c2d155ee9
OriginGroup: add new abstraction layer between the Part and the GeoFeatureGroup
2016-04-12 18:12:18 +02:00
Alexander Golubev
797d6d3a11
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
c782a11aab
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
4590305921
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
a8bd2f6f7f
prevent part design features from accidently cross referencing
2016-04-12 18:12:14 +02:00
Stefan Tröger
318c65eafd
fix independent copy and cross reference
2016-04-12 18:12:14 +02:00
Stefan Tröger
a35c231d2a
first take on enhanced feature pick task
2016-04-12 18:12:14 +02:00
DeepSOIC
fe59e5286e
assert before crashing
2016-04-12 18:12:07 +02:00
DeepSOIC
05b9dd60e3
fix build with MSVC11 aka 2012
2016-04-12 18:12:06 +02:00