Commit Graph

48 Commits

Author SHA1 Message Date
Kunda
99c99006b8 source typo fixes pt4 (only on py3 merged code) 2017-03-02 13:47:21 +01:00
wmayer
27c4136f58 TaskTransformedParameters derives from Gui::DocumentObserver to handle deletion of view provider when clicking Cancel button 2017-01-22 19:07:07 +01:00
wmayer
36b3d331fd issue #0001649: Changing names on Pads does not change them everywere 2016-10-21 15:38:45 +02:00
wmayer
6fef24f676 replace const char* with QString in removeItemFromListWidget 2016-10-21 13:48:45 +02:00
wmayer
664cf65d26 fix -Wextra in PartDesign 2016-09-22 18:34:56 +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
Stefan Tröger
99ef8e756d Fix transform feature crash on apply
-Redundant "reset edit" and command commit removed
-Redundant apply call removed
2016-04-12 18:12:22 +02:00
Alexander Golubev
efef23d8e2 PartDesign/Gui: prevent Task*PatternParameters not crash on non sketchBased features 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
c4f094bba4 PartDesign/Gui: rename some fonctions in ReferenceSelection.cpp
e.g. getPythonStr -> buildLinkListPythonStr etc
2016-04-12 18:12:17 +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
113c10a2b7 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
9776d30b87 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
6347fe8c86 make origin work correct with multiple parts 2016-04-12 18:12:08 +02:00
Stefan Tröger
d923bebccc make transform features work with non-sketch based features 2016-04-12 18:12:07 +02:00
Stefan Tröger
d6440b4143 switch linear pattern to coordinate system axis 2016-04-12 18:12:05 +02:00
Stefan Tröger
f873fb80e9 Remove BasePlanes from part design 2016-04-12 18:12:04 +02:00
Jan Rheinländer
0ddff2419f Fixed bugs in Transformed features 2016-04-12 18:12:01 +02:00
jrheinlaender
5376e3a3e5 Fixed bugs in various features that reversed the list of selections 2016-04-12 18:11:57 +02:00
jrheinlaender
fcea39b0d8 Enable multiple originals for the transformed features 2016-04-12 18:11:56 +02:00
jrheinlaender
f9b0e5908a Allow transforming a Pattern feature into a MultiTransform feature 2016-04-12 18:11:54 +02:00
jrheinlaender
106efeec02 Miscellaneous fixes 2016-04-12 18:11:51 +02:00
jrheinlaender
0e9ee59129 Some code unification for Gui selections 2016-04-12 18:11:51 +02:00
jrheinlaender
c751eefc00 Miscellaneous fixes 2016-04-12 18:11:51 +02:00
jrheinlaender
880587a627 Allow datum lines and planes for Transformed features' references 2016-04-12 18:11:50 +02:00
Mateusz Skowroński
cd2db00f22 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
b7be7aec13 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 13:38:17 +02:00
wmayer
aa5b388f4a + unlimit the value for occurrences 2015-10-04 10:32:58 +02:00
Eivind Kvedalen
9a0c58986f PartDesign: Replaced QuantitySpinBox by SpinBox for "occurrences" input field. 2015-09-30 15:54:19 +02:00
wmayer
b936514937 + fix build problems with MSVC and libpack 2015-09-21 14:51:12 +02:00
Eivind Kvedalen
ddfbe349cf PartDesign: Added support for expressions. 2015-09-21 14:51:09 +02:00
wmayer
d2cbd6817f + fixes 0001563: Add units to Linear Pattern in PartDesign 2014-07-22 10:39:44 +02:00
wmayer
e47b85994c + fix possible crashes in mirror and polar pattern feature 2014-03-31 16:35:22 +02:00
wmayer
aaeba38e78 + Fix crash when editing the linear pattern feature, suppress some warnings in release mode 2014-03-31 14:42:55 +02:00
wmayer
fb994e204c + fixes #0000854: Ability to change number of digits to the right of decimal place in spinboxes 2014-02-16 18:02:09 +01:00
wmayer
de9ad5ddfb 0001110: Decimal point entry in LinearPattern length field 2013-07-12 17:15:05 +02:00
wmayer
227b1f6eb2 0001110: Decimal point entry in LinearPattern length field 2013-07-12 12:49:37 +02:00
logari81
9907c09efd PartDesign: Custom sketch axes as references in linear pattern and mirrored feature 2013-02-07 21:04:00 +01:00
logari81
525cddaaf3 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
jriegel
8a40df6c22 [#874] remove x,y,z from linear patter, cause makes no sense 2012-11-15 19:55:23 +01:00
logari81
2540a19a5d PartDesign: use selection filter gate for picking references for pattern/transform features 2012-09-15 08:14:36 +02:00
logari81
f0917eff39 PartDesign: fix bug in checkbox "Update View" of pattern features and do some code refactoring 2012-09-13 15:46:46 +02:00
logari81
8b35efdb83 PartDesign: restrict patterns to only one original and improve selection of references 2012-09-11 16:54:45 +02:00
logari81
afc794894f PartDesign: fix small issue with embedded TaskPanels in MultiTransform 2012-09-10 11:37:48 +02:00
logari81
16047f452f PartDesign: select references for Pattern features from original object 2012-09-09 09:19:18 +02:00
jrheinlaender
b30a49ece3 PartDesign: implement Transform and Pattern features 2012-09-07 11:55:26 +02:00