Commit Graph

91 Commits

Author SHA1 Message Date
Stefan Tröger
69b02b6ac5 add command for adding a new part
note that the icon is a placeholder as currently parts have a system icon which can not be set for commands
2016-04-12 18:12:08 +02:00
Stefan Tröger
6301fce72c add part design thickness 2016-04-12 18:12:08 +02:00
Stefan Tröger
27d46a6593 primitive bug fixes, add cylinder and sphere 2016-04-12 18:12:07 +02:00
DeepSOIC
da545f3978 Fix crash when adding datum and there's no active body
Plus fix double messageboxes about the lack of the body,
2016-04-12 18:12:07 +02:00
Stefan Tröger
3690040dea basic infrastructure for part design primitives 2016-04-12 18:12:06 +02:00
blobfish
e002ca6087 PartDesign: Workbench: comment out switchToDocument inside 'slots'
This causing a crash when opening a previous versioned file while already in part design.
    Can't predict timing of migration call from signals.
2016-04-12 18:12:06 +02:00
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