Zheng, Lei
8bec44934b
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Chris Hennes
65aa374083
PD: PR6497 move return statement to new line
2022-03-29 12:37:21 -05:00
wmayer
d1d4b996e7
PD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
8f786ea6ef
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
Uwe
1d58c674a2
[PD] some more work to remove unused includes
2022-02-21 02:50:16 +01:00
wmayer
b7237f6876
PD: 0004582: Mulit-transformation dialog cannot be cancelled
2021-12-09 06:13:25 +01:00
wmayer
b165947625
PD: cleanup the mess with boolean arguments and replace them with a bitmask
2021-12-03 14:46:19 +01:00
David Osterberg
1110f1198b
PartDesign: Allow use of circle edge as axis in PolarPattern
2021-03-01 14:48:24 +01:00
donovaly
b483fc0518
[PD] make pointers to the UI std::unique_ptr
...
Same as PR #4293 , just for PartDesign
as noted in https://github.com/FreeCAD/FreeCAD/pull/4271#discussion_r554673632
the pointer to the UI should be a unique pointer.
This PR does this for all PartDesign dialogs that don't already use a unique_ptr.
2021-02-05 18:01:57 +01:00
wmayer
033e4d900b
Base: [skip ci] Coverity: Uncaught exception
2020-09-14 18:34:25 +02:00
wmayer
87e7a3762b
PartDesign: [skip ci] move indexesMoved() to base class TaskTransformedParameters to avoid code duplication
2020-07-31 13:16:44 +02:00
wmayer
cbee07d53a
PartDesign: fix issues of PR #3108
...
* in the undo/redo list use an object's label and not the internal name
* check by the transaction ID instead of name to open a transaction to make the workbenches independent of implementation details of the core system
* when rejecting a task do not call undo() because this is not the same as aborting a pending transaction
* this also fixes the warning: <App> Document.cpp(1182): Cannot commit transaction while transacting
2020-03-14 14:51:45 +01:00
Zheng, Lei
e9bbae0a89
PartDesign: fix task dressup/transformed creation cancel
2020-03-14 14:51:45 +01:00
wmayer
fe103a482f
PartDesign: add/remove features to list view in linear pattern panel
2020-02-15 15:55:11 +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
Zheng, Lei
cd2b7e297c
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
00de5bb7ad
Replace Base::Exception with appropriate subclass
2018-11-14 19:28:00 +01:00
wmayer
36271b4052
move from deprecated boost.signals to boost.signals2 library
2018-10-30 19:09:03 +01:00
wmayer
a0517c1036
TaskTransformedParameters derives from Gui::DocumentObserver to handle deletion of view provider when clicking Cancel button
2017-01-22 19:07:07 +01:00
wmayer
70ba1b994b
replace const char* with QString in removeItemFromListWidget
2016-10-21 13:48:45 +02:00
Sergo
0bca05a5f2
remove make_unique call
2016-10-15 17:41:56 +02:00
Sergo
e1a50ca414
PD: add SelectionFilterGate to filter dependents, fix mirror taskview
2016-10-15 17:41: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
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
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
f6ed16438f
PartDesign: make transform parameter dialogs use common base code with other dialogs
...
subj;
Make PasrtDesign::Transformed provide common for all features
classes interface getBaseObject() instead of specific getSupportObject ();
Refactor some TransformedParameters methods.
2016-04-12 18:12:16 +02:00
DeepSOIC
cd4dce2f1b
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
DeepSOIC
3d93c906d1
PartDesign: rework axis and plane comboboxes and make it work without part.
...
Rework combobox filling and link hadling for revolution and transformed features, in order to get rid of hard-coded item indexes and make the lists more dynamic.
2016-04-12 18:12:14 +02:00
Stefan Tröger
eba61e360d
make origin work correct with multiple parts
2016-04-12 18:12:08 +02:00
DeepSOIC
da545f3978
Fix crash when adding datum and there's no active body
...
Plus fix double messageboxes about the lack of the body,
2016-04-12 18:12:07 +02:00
Stefan Tröger
b0817ff086
allow non-sketch based additive and subtractive features
2016-04-12 18:12:06 +02:00
blobfish
9b9d79d2fe
Part Design: adding const char PDBODYKEY and using. No functional change.
2016-04-12 18:12:04 +02:00
jriegel
d7c932d714
Changing active object handling in PartDesign
2016-04-12 18:12:03 +02:00
jrheinlaender
011dbf53da
Enable multiple originals for the transformed features
2016-04-12 18:11:56 +02:00
jrheinlaender
c5ca269980
Allow transforming a Pattern feature into a MultiTransform feature
2016-04-12 18:11:54 +02:00
jrheinlaender
c382fb3afb
Some code unification for Gui selections
2016-04-12 18:11:51 +02:00
jrheinlaender
6a90c30a89
Draft: Accept datum lines and planes as references
2016-04-12 18:11:50 +02:00
jrheinlaender
4524103dbc
Allow datum lines and planes for Transformed features' references
2016-04-12 18:11:50 +02:00
jrheinlaender
4f643b2218
Made the rest of the PartDesign features aware of the Body
2016-04-12 18:11:49 +02:00
Mateusz Skowroński
c275b35d48
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
wmayer
055dcb0512
+ fix warnings with clang
2014-09-24 15:55:36 +02:00
wmayer
f03cd23df7
0001110: Decimal point entry in LinearPattern length field
2013-07-12 17:15:05 +02:00
logari81
9b1966f43c
PartDesign: fix exiting a TransformedFeature editing while in reference selection mode
2013-02-07 23:46:53 +01:00
logari81
3562efa5d5
PartDesign: Refactor pattern features and gui
...
- remove StdDirection,StdAxis and StdMirrorPlane properties
- support sketch H_Axis, V_Axis, N_axis as valid references in patterns
- polish reference selection gui (unified for standard axes and custom references)
2013-01-09 23:18:38 +01:00
wmayer
f87d7fe1f6
0000906: Segmentation Fault when try to use linear pattern on Part, fix some issues with selection gate
2012-12-07 14:01:49 +01:00