Commit Graph

135 Commits

Author SHA1 Message Date
blobfish
53edc2f06f Part Design: Gui: Workbench: assign activePart and activeBody when doc has tip 2016-04-12 18:12:05 +02:00
blobfish
a494a5344a Part Design: Workbench: commonize construciton of default part and body 2016-04-12 18:12:04 +02:00
blobfish
f0d0264cae PartDesign: Gui: Update doc after setuppart 2016-04-12 18:12:04 +02:00
Stefan Tröger
148f5a9b7a Remove BasePlanes from part design 2016-04-12 18:12:04 +02:00
blobfish
9b9d79d2fe Part Design: adding const char PDBODYKEY and using. No functional change. 2016-04-12 18:12:04 +02:00
blobfish
74b667e634 PartDesign: adding some asserts to workbench 2016-04-12 18:12:04 +02:00
blobfish
512b68c553 PartDesign: Workbench: set active body post migration 2016-04-12 18:12:04 +02:00
blobfish
399ad04a32 Part Design: Workbench: don't try to remove active body 2016-04-12 18:12:04 +02:00
blobfish
5652cb4da4 not typo 2016-04-12 18:12:03 +02:00
blobfish
b7735098ba updating to setActiveObject call 2016-04-12 18:12:03 +02:00
jriegel
d7c932d714 Changing active object handling in PartDesign 2016-04-12 18:12:03 +02:00
jriegel
6ee85f65f5 some fixes in Active object handling on Viewer 2016-04-12 18:12:03 +02:00
jriegel
56dfb99239 fix errors from merge of master 2016-04-12 18:12:03 +02:00
jriegel
06186e6dcf tchnical commit 2016-04-12 18:12:03 +02:00
jriegel
d87d0e8376 Assembly: Rename to setActiveBody and make link indeipendant Part initialization 2016-04-12 18:12:02 +02:00
jriegel
15cf3387f4 Assembly: Add non PartDesign feature group to Part also 2016-04-12 18:12:02 +02:00
jriegel
5f4b0e867e Assembly: Add warning on conversion 2016-04-12 18:12:02 +02:00
jriegel
cf9158abc9 Make Part working 2016-04-12 18:12:02 +02:00
jriegel
0288bb756f Moving Part creation into PartDesign Workbench 2016-04-12 18:12:02 +02:00
Jan Rheinländer
4480ef9e84 Fix bug in PartDesign conversion that choked on unconsumed sketches 2016-04-12 18:12:00 +02:00
jrheinlaender
4cda43580e Fixed bug in Body conversion code 2016-04-12 18:11:58 +02:00
jrheinlaender
14b4a99e33 Fix bug in PartDesignGui Workbench that may cause a crash 2016-04-12 18:11:57 +02:00
jrheinlaender
44fdff91f5 Python code of Hole Feature 2016-04-12 18:11:56 +02:00
jrheinlaender
87aa6fbc77 Fixed bug that prevented proper switching to PartDesign workbench 2016-04-12 18:11:54 +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
85424bdd8b Improved migration of PartDesign parts to the new Body structure 2016-04-12 18:11:53 +02:00
jrheinlaender
983ef39f6a Added menu item to move a feature in the tree inside a body 2016-04-12 18:11:53 +02:00
jrheinlaender
e3d45ed61d PartDesign Body migration: Fix migration of MultiTransform sub-features 2016-04-12 18:11:53 +02:00
jrheinlaender
fcc2624eb6 PartDesign Body migration: Handle sketch planes offset from base planes 2016-04-12 18:11:53 +02:00
jrheinlaender
be7c6adc21 Allow moving features between bodies from context menu of tree view 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
dfce69c4b0 Allow booleans of bodies in PartDesign 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
2d7813295b Allow selecting back of base planes, miscellaneous fixes 2016-04-12 18:11:50 +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
dc9c6b0e5d Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
0fd0a5d605 Automatically add Body feature to Parts if the PartDesign workbench is active 2016-04-12 18:11:49 +02:00
jrheinlaender
d4898e51b7 Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
e5e05cd489 Update ActivePartObject etc. on switching documents, creating new documents, and loading documents in the PartDesign workbench 2016-04-12 18:11:48 +02:00
jrheinlaender
a1359fc9e9 Work on reference selection for Datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
571d5d2b7d Second step for implementing datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
8002584a52 Add skeleton support for datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
acf444e192 Moved getBody() to PartDesign namespace in Workbench.cpp because ActivePartObject is also declared there now 2016-04-12 18:11:48 +02:00
jrheinlaender
c494d616ee Moved ActivePartObject etc. to PartDesignGui namespace and added extern declaration to Workbench.h as suggested by logari81 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
0a893135c8 Show three base planes (XY, YZ, XZ) at the beginning of the feature tree and allow to create sketches on them 2016-04-12 18:11:47 +02:00
jrheinlaender
dde81fe8f5 Create standard XY, XZ, YZ planes when running the PartDesign_Body command if they don't exist yet 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
e028a0e782 Add command PartDesign_Body and integrate it into the Workbench 2016-04-12 18:11:47 +02:00