wmayer
664cf65d26
fix -Wextra in PartDesign
2016-09-22 18:34:56 +02:00
Wolfgang E. Sanyer
7f4a437cc2
This commit adds getShape and setShape to TopoShape
2016-08-06 23:42:55 +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
1f3d2df4d5
PartDesign/Body: add ability to store facebinders inside a body
2016-04-12 18:12:20 +02:00
Alexander Golubev
26fb01b429
PartDesign/Gui: add origin sizing and rework datums sizing
2016-04-12 18:12:18 +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
c6797b6c29
Revert "part deletion handling"
...
This reverts commit 6ab2002021ac1df26ebe77f488f5cd94e1df0b26.
2016-04-12 18:12:17 +02:00
Alexander Golubev
5016054a8b
PartDesign/Body: move deletion of subobjects to view provider
2016-04-12 18:12:17 +02:00
Alexander Golubev
f9e67626ec
PartDesign/Body: remowe Part::Feature from isAllowed()
2016-04-12 18:12:17 +02:00
Alexander Golubev
a5fcd5775e
PartDesign: update body management commands according to the changes in body paradigms
2016-04-12 18:12:16 +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
ffc6cc2f23
Share code for finding a body containing a feature
2016-04-12 18:12:14 +02:00
Stefan Tröger
7d759a5793
delete features when deleting body
2016-04-12 18:12:13 +02:00
Alexander Golubev
445c26f658
PartDesign/Body: make insert/removeFeature treat NULL in a less special way
2016-04-12 18:12:11 +02:00
Alexander Golubev
ad461fc472
PartDesign: fix spacing in several files
2016-04-12 18:12:11 +02:00
Alexander Golubev
7c2413b0aa
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
f4a5bf6acd
PartDesign: remove Body::isFeature() because it's the same as BodyBase::hasFeature()
2016-04-12 18:12:10 +02:00
DeepSOIC
05b9dd60e3
fix build with MSVC11 aka 2012
2016-04-12 18:12:06 +02:00
Stefan Tröger
0e8b78d2fb
make bodies, origins, planes and lines unmovable
2016-04-12 18:12:06 +02:00
Stefan Tröger
051e93238b
fix body boolean placements
2016-04-12 18:12:06 +02:00
jriegel
45f7c99c1c
Changing active object handling in PartDesign
2016-04-12 18:12:03 +02:00
jriegel
0b28a757ab
Workaround for a wired linker problem on Windows. Actually still not solved...
2016-04-12 18:11:59 +02:00
jrheinlaender
f7874306b9
Allow Pyton features inside bodies
2016-04-12 18:11:55 +02:00
jrheinlaender
99fe9b6178
Moved Body::isAfterTip() to BodyBase
2016-04-12 18:11:55 +02:00
jrheinlaender
f9b0e5908a
Allow transforming a Pattern feature into a MultiTransform feature
2016-04-12 18:11:54 +02:00
jrheinlaender
d550506f28
Fix handling of MultiTransform features when migrating to Body
2016-04-12 18:11:53 +02:00
jrheinlaender
6a02b5849f
Body: Transformed Features inside a MultiTransform are not considered to be solid features
2016-04-12 18:11:53 +02:00
jrheinlaender
999b1c028b
Allow inserting at the beginning of a body
2016-04-12 18:11:51 +02:00
jrheinlaender
c4fe27d093
Miscellaneous fixes
2016-04-12 18:11:51 +02:00
jrheinlaender
ed2657380c
Fix bug that produced 'cannot update representation' error message on adding a fillet
2016-04-12 18:11:51 +02:00
jrheinlaender
ffc09ec50c
Duplicate Selection: Add duplicated features to active Body
2016-04-12 18:11:50 +02:00
jrheinlaender
0e8921c21f
Simplified datum features by making use of the placement property
2016-04-12 18:11:50 +02:00
jrheinlaender
2aea9bbf96
Automatically adjust datum line/plane size to Body bounding box
2016-04-12 18:11:49 +02:00
jrheinlaender
a6431ee5cf
Improved bounding box calculation for datum feature display size
2016-04-12 18:11:49 +02:00
jrheinlaender
02dfb8551d
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
5b3d5e6bd8
Moved generic Datum class to Part module to avoid Sketcher dependency on PartDesign
2016-04-12 18:11:49 +02:00
jrheinlaender
1c1531278c
Specialized viewproviders for datum features, create points from intersection of edges and faces
2016-04-12 18:11:49 +02:00
jrheinlaender
45af3e2a78
Miscellaneous fixes
2016-04-12 18:11:49 +02:00
jrheinlaender
d8d945a8b6
Work on reference selection for Datum features
2016-04-12 18:11:48 +02:00
jrheinlaender
63f782d8f0
More bug fixes for Body insertion/deletion of features
2016-04-12 18:11:48 +02:00
jrheinlaender
ee47c53339
Bug fixes for Body feature insert/remove functionality
2016-04-12 18:11:48 +02:00
jrheinlaender
1ec99c5d32
Work on inserting, removing, hiding and showing features in the body
2016-04-12 18:11:48 +02:00
jrheinlaender
2f658733b7
Feature tree: Insert mode for SketchBased features
2016-04-12 18:11:47 +02:00
jrheinlaender
6235385c5a
Create Base property for SketchBased features and changed Pad to use it
2016-04-12 18:11:47 +02:00
jrheinlaender
acd88878af
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
94b6b89610
Enhanced Pick dialog for PartDesign feature's sketches
2016-04-12 18:11:47 +02:00
jrheinlaender
5dbc66ae84
Integrated PartDesign::Pad into Body feature workflow
2016-04-12 18:11:47 +02:00
jriegel
aa216ee69d
Some fixes in Body visualls (ongoing)
2016-04-12 18:11:46 +02:00
jriegel
50652895d4
3D subgrouping for Body
2016-04-12 18:11:46 +02:00