Commit Graph

64 Commits

Author SHA1 Message Date
Stefan Tröger
2e2c12219b Partially fix PartDesign move test 2017-06-19 15:37:09 +02:00
Stefan Tröger
1d10dd2835 Extend python interface for groups and fix test cases 2017-06-19 15:37:09 +02:00
Stefan Tröger
ce9a078584 GeoFeatureGroup: Handle drag into document 2017-06-19 15:37:09 +02:00
wmayer
692dda9082 fix crash when trying to drag and drop origin object in body object 2017-04-06 19:16:27 +02:00
Stefan Tröger
ea73e55eb6 Extensions: Fix GeoFeatureGroup drag&drop 2017-01-04 16:01:58 +01:00
Stefan Tröger
22c26d043a PartDesign: Adopt python interface to body group 2017-01-04 16:01:58 +01:00
Stefan Tröger
8bd07747ae PartDesign: Change body viewprovider to group 2017-01-04 16:01:58 +01:00
Stefan Tröger
526d895a5d PartDesign: Port body to be a origin group 2017-01-04 16:01:58 +01:00
Stefan Tröger
2ca8d51498 PartDesign: Fix crash on pattern abort 2016-11-28 22:13:41 +01:00
Sergo
1a688a6375 PartDesign: fix Polar and Mirror accepting Datum 2016-09-30 11:09:00 -03:00
wmayer
dd7c91ddcf fix -Wextra in PartDesign 2016-09-22 18:34:56 +02:00
Wolfgang E. Sanyer
d1d2f1f811 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +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
1ac37a44f3 PartDesign/Body: add ability to store facebinders inside a body 2016-04-12 18:12:20 +02:00
Alexander Golubev
68c78de00d PartDesign/Gui: add origin sizing and rework datums sizing 2016-04-12 18:12:18 +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
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
ade1dec103 Revert "part deletion handling"
This reverts commit 6ab2002021ac1df26ebe77f488f5cd94e1df0b26.
2016-04-12 18:12:17 +02:00
Alexander Golubev
9db890015c PartDesign/Body: move deletion of subobjects to view provider 2016-04-12 18:12:17 +02:00
Alexander Golubev
37aab92bbc PartDesign/Body: remowe Part::Feature from isAllowed() 2016-04-12 18:12:17 +02:00
Alexander Golubev
5459768c3f PartDesign: update body management commands according to the changes in body paradigms 2016-04-12 18:12:16 +02:00
Alexander Golubev
f6b0ed3a47 PartDesign: Body rework - add BaseFeature property and make Tip always point to solid 2016-04-12 18:12:16 +02:00
Alexander Golubev
340c52a939 Share code for finding a body containing a feature 2016-04-12 18:12:14 +02:00
Stefan Tröger
81601959ab delete features when deleting body 2016-04-12 18:12:13 +02:00
Alexander Golubev
7c88cacf25 PartDesign/Body: make insert/removeFeature treat NULL in a less special way 2016-04-12 18:12:11 +02:00
Alexander Golubev
94c066772b PartDesign: fix spacing in several files 2016-04-12 18:12:11 +02:00
Alexander Golubev
a688b2848b PartDesign/Body: add methodes to insert features into specific place
Add a Body::insertFeature() methodes as well as python API for it.
2016-04-12 18:12:11 +02:00
Alexander Golubev
1635b5c807 PartDesign: remove Body::isFeature() because it's the same as BodyBase::hasFeature() 2016-04-12 18:12:10 +02:00
DeepSOIC
878b9df68f fix build with MSVC11 aka 2012 2016-04-12 18:12:06 +02:00
Stefan Tröger
e6b96067f9 make bodies, origins, planes and lines unmovable 2016-04-12 18:12:06 +02:00
Stefan Tröger
ecd07d4451 fix body boolean placements 2016-04-12 18:12:06 +02:00
jriegel
d7c932d714 Changing active object handling in PartDesign 2016-04-12 18:12:03 +02:00
jriegel
67889a2f40 Workaround for a wired linker problem on Windows. Actually still not solved... 2016-04-12 18:11:59 +02:00
jrheinlaender
047bd2f7f0 Allow Pyton features inside bodies 2016-04-12 18:11:55 +02:00
jrheinlaender
58822e07fd Moved Body::isAfterTip() to BodyBase 2016-04-12 18:11:55 +02:00
jrheinlaender
c5ca269980 Allow transforming a Pattern feature into a MultiTransform feature 2016-04-12 18:11:54 +02:00
jrheinlaender
ce9e0572b6 Fix handling of MultiTransform features when migrating to Body 2016-04-12 18:11:53 +02:00
jrheinlaender
34096b5300 Body: Transformed Features inside a MultiTransform are not considered to be solid features 2016-04-12 18:11:53 +02:00
jrheinlaender
525c489fa5 Allow inserting at the beginning of a body 2016-04-12 18:11:51 +02:00
jrheinlaender
67b36115a4 Miscellaneous fixes 2016-04-12 18:11:51 +02:00
jrheinlaender
245486b382 Fix bug that produced 'cannot update representation' error message on adding a fillet 2016-04-12 18:11:51 +02:00
jrheinlaender
54a1707da7 Duplicate Selection: Add duplicated features to active Body 2016-04-12 18:11:50 +02:00
jrheinlaender
c7d4ab22b9 Simplified datum features by making use of the placement property 2016-04-12 18:11:50 +02:00
jrheinlaender
e3d2eea982 Automatically adjust datum line/plane size to Body bounding box 2016-04-12 18:11:49 +02:00
jrheinlaender
c12f34300a Improved bounding box calculation for datum feature display size 2016-04-12 18:11:49 +02:00
jrheinlaender
5ac8aeaf2c Moved some methods from PartDesign::Body to Part::BodyBase so the SketchObjects will be removed cleanly from the Body when deleted 2016-04-12 18:11:49 +02:00
jrheinlaender
857ede8847 Moved generic Datum class to Part module to avoid Sketcher dependency on PartDesign 2016-04-12 18:11:49 +02:00
jrheinlaender
696bdf9a2a Specialized viewproviders for datum features, create points from intersection of edges and faces 2016-04-12 18:11:49 +02:00
jrheinlaender
d4898e51b7 Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
a1359fc9e9 Work on reference selection for Datum features 2016-04-12 18:11:48 +02:00