Uwe
35f75064a0
[PD] remove superfluous nullptr checks
2022-07-17 18:12:41 +02:00
wmayer
3608ee7f51
PD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
fd19d1a7b0
[PD] more work to remove unused includes
2022-02-21 02:18:17 +01:00
wmayer
5bef110491
PD: do not throw an exception in TaskSketchBasedParameters::make2DLabel as otherwise editing a broken loft/pipe won't be possible
2021-12-15 15:36:36 +01:00
wmayer
a87c8dca31
PD: hide the profile of a sketch based feature only if it can be recomputed successfully
2021-12-15 15:13:03 +01:00
wmayer
ca5c799ce2
Gui: rename methods of SelectionObserver to clarify intention in client code
2021-12-07 14:17:07 +01:00
wmayer
ce88fa2052
PD: enable selection only on request and disable it after selecting an object
2021-12-07 13:06:48 +01:00
wmayer
a27b3067ba
PD: eliminate the boolean argument from TaskSketchBasedParameters::onSelectReference
2021-12-07 11:04:22 +01:00
wmayer
3ee1d91b88
PD: cleanup the mess with boolean arguments and replace them with a bitmask
2021-12-03 14:46:19 +01:00
Ajinkya Dahale
03a8ff7841
[PD] Support adding solid faces for loft and pipe sections
...
With these changes, one face per solid can be added as either the first
"profile" or subsequent sections in loft and pipe.
This commit depends on `App::PropertyXLinkSubList` preserving the order in which
sections are added.
A minor change this also adds is that when a solid's face is selected that face
is mentioned in the fields instead of the solid (eg `Box:Face1` instead of
`Box`).
2021-11-09 23:05:29 +01:00
wmayer
0f3e98588f
PD: AddressSanitizer: heap-use-after-free
...
Fix crash inside TaskDlgSketchBasedParameters::reject()
2021-03-03 15:53:12 +01:00
David Osterberg
f1d6c78cbe
PartDesign: Allow use of circle edge as axis in ProfileBased
2021-03-01 14:48:24 +01:00
David Osterberg
8e16225b03
PartDesign: Helix: fix preview
2021-02-17 13:19:06 +01:00
wmayer
53a500ecf5
PartDesign: make sure to remove selection gate when closing task panel
2020-09-16 12:15:19 +02:00
wmayer
5635f87d0e
PD: do not use active document in task dialogs because this is error-prone
...
and optimize string creation in TaskSketchBasedParameters::getFaceReference
2020-09-15 14:13:23 +02: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
Zheng, Lei
11a93a0578
PartDesign changes
...
* Mostly for supporting in-place editing
* Add new SubShapeBinder that support cross coordinate system,
external, and sub-object binding
2019-08-17 15:15:47 +02:00
wmayer
7acdb56d92
Replace Base::Exception with appropriate subclass
2018-11-14 19:28:00 +01:00
luz.paz
b45bc4889d
Misc. typos: Please merge right before 0.17 release
...
I'm still finding typos in the source code. I propose that you keep this PR open prior ro relaese and then merge so that if I find other typos in the meantime they will be part this release.
2018-03-18 15:15:16 +01:00
wmayer
f6ff4ed590
improve UpToFace option of pad/pocket for datum planes
2018-01-06 17:36:14 +01:00
Stefan Tröger
9a3b952fb9
PartDesign: Port body to be a origin group
2017-01-04 16:01:58 +01:00
wmayer
7004081805
avoid to create a circular dependency when modifying an existing pad or pocket operation
2016-12-28 17:05:20 +01: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
Stefan Tröger
f712f5e4ac
PartDesign: Modeling features work with faces
...
-Rename Sketchbased to ProfileBased to show new behavior
-Adopt ProfileBased to make the relevant helper functions work with faces too
-Adopt features for unified use of helper functions
-Adopt commands to allow face selection
2016-04-12 18:12:22 +02:00
Alexander Golubev
d43525370c
PartDesignGui: small rework to sketch-based task parameters
...
This done mostly for thurther unification them with other task
parameters/dialogs.
2016-04-12 18:12:21 +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
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
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
8c5d514b18
PartDesign: Body rework - add BaseFeature property and make Tip always point to solid
2016-04-12 18:12:16 +02:00
Alexander Golubev
f16829baee
PartDesignGui: Make DressUp and SketchSupport propertie dialogs use common accept() structure
2016-04-12 18:12:15 +02:00
Alexander Golubev
b14d7c2e14
PartDesign: move common code for TaskDlg{SketcherBased,DressUp}Parameters into new base class
...
Added a new class: TaskDlgFeatureBased which currently contains common
code for TaskDlgSketcherBasedParameters::reject() as well as the same
methode for TaskDlgDressUpParameters.
It's likely that other Feature task dialogs will inherit this class too.
2016-04-12 18:12:15 +02:00
Alexander Golubev
a6ebfa496f
PartDesign/Gui/TaskDlgSketchBasedParameters: emhance object hiding/unhiding on reject()
2016-04-12 18:12:14 +02:00
DeepSOIC
16e4ce20f0
PartDesign workflow without part/body
...
PartDesign: make datum features work outside of body/part
PartDesign old workflow: remove a few messageboxes about no part
PartDesign: old workflow: multitransform without body
Still has visibility issues, but generally works.
2016-04-12 18:12:14 +02:00
Stefan Tröger
20d551bc88
fix part and body search for invalid objects
2016-04-12 18:12:09 +02:00
Stefan Tröger
6347fe8c86
make origin work correct with multiple parts
2016-04-12 18:12:08 +02:00
blobfish
10a7f15c37
Part Design: adding const char PDBODYKEY and using. No functional change.
2016-04-12 18:12:04 +02:00
jriegel
45f7c99c1c
Changing active object handling in PartDesign
2016-04-12 18:12:03 +02:00
jrheinlaender
010761d162
Fix bug that did not show the correct shape to select a reference (e.g. face) from when editing a SketchBased feature in the tree
2016-04-12 18:11:54 +02:00
jrheinlaender
f1b5a6044d
Allow extruding from a datum plane to another face or plane, optionally with an offset
2016-04-12 18:11:53 +02:00
jriegel
9ce0d04175
fix on unclear types
2016-04-12 18:11:52 +02:00
jrheinlaender
106efeec02
Miscellaneous fixes
2016-04-12 18:11:51 +02:00
jrheinlaender
75dc92fd90
Enable edges and datum lines as rotation axis for Groove and Revolution features
2016-04-12 18:11:51 +02:00
jrheinlaender
7983862b52
Some code unification for sketchbased features
2016-04-12 18:11:51 +02:00
jrheinlaender
4645fdcd37
Miscellaneous fixes
2016-04-12 18:11:50 +02:00
jrheinlaender
b815656649
Refactored code of SketchBased features to have common code in an abstract superclass
2016-04-12 18:11:50 +02:00