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
jrheinlaender
90d2508efb
More bug fixes for Body insertion/deletion of features
2016-04-12 18:11:48 +02:00
jrheinlaender
0cd8fc816b
Bug fixes for Body feature insert/remove functionality
2016-04-12 18:11:48 +02:00
jrheinlaender
8390bbb999
Work on inserting, removing, hiding and showing features in the body
2016-04-12 18:11:48 +02:00
jrheinlaender
9fc73e6abe
Feature tree: Insert mode for SketchBased features
2016-04-12 18:11:47 +02:00
jrheinlaender
e9d8c03665
Create Base property for SketchBased features and changed Pad to use it
2016-04-12 18:11:47 +02:00
jrheinlaender
13f3ff24c3
When switching to the PartDesign workbench, activate the Body feature that was active when the document was last saved,
...
and move the selection to its Tip feature so that the user can start creating new features right away
2016-04-12 18:11:47 +02:00
jrheinlaender
fb85cd2899
Enhanced Pick dialog for PartDesign feature's sketches
2016-04-12 18:11:47 +02:00
jrheinlaender
d9ad63ba06
Integrated PartDesign::Pad into Body feature workflow
2016-04-12 18:11:47 +02:00
jriegel
39d6d914a8
Some fixes in Body visualls (ongoing)
2016-04-12 18:11:46 +02:00
jriegel
96f2a734ae
3D subgrouping for Body
2016-04-12 18:11:46 +02:00
jriegel
ee712eecf8
Automatic WB switching and Active PartDesign body
2016-04-12 18:11:45 +02:00
jriegel
5b23d06cfe
implement active body in PartDesign
2016-04-12 18:11:45 +02:00