Commit Graph

470 Commits

Author SHA1 Message Date
jrheinlaender
575b6cf6df Added Reversed button to Pocket UI if the sketch plane is a datum plane 2016-04-12 18:11:50 +02:00
jrheinlaender
fb9d56911d Miscellaneous fixes 2016-04-12 18:11:50 +02:00
jrheinlaender
4addc00d97 Drop into insert mode when user double-clicks on a PartDesign feature in the Tree 2016-04-12 18:11:50 +02:00
jrheinlaender
5ebdc82b5d Moved unsetEdit() to ViewProvider to avoid code duplication in all feature ViewProviders 2016-04-12 18:11:50 +02:00
jrheinlaender
d082f16bbf Try to be consistent with sketch plane orientation PartDesign module <-> Sketcher module 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
c7d4ab22b9 Simplified datum features by making use of the placement property 2016-04-12 18:11:50 +02:00
jrheinlaender
939c39c515 Miscellaneous fixes 2016-04-12 18:11:49 +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
6b21b6937f Datum planes with offset and angle. Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
dc9c6b0e5d Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
4b8aa48a2c Make Datum features pickable 2016-04-12 18:11:49 +02:00
jrheinlaender
3992a9805f Visualization of datum lines and planes 2016-04-12 18:11:49 +02:00
jrheinlaender
b5bc152839 Fix compile error after rebase 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
9ca63b603a Switch to PartDesign workbench as soon as a PartDesign feature is edited 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
4f643b2218 Made the rest of the PartDesign features aware of the Body 2016-04-12 18:11:49 +02:00
jrheinlaender
ae7dd86b4d Honour the ordering of the children returned by claimChildren() in the TreeWidget 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
d13560bea5 Work on Gui of Datum features 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
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
8002584a52 Add skeleton support for datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
0701b237ac More work on highlighting and hiding/showing 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
218f386990 Moved BaseFeature Property from SketchBased to PartDesign::Feature because all PartDesign features need it 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
61b0f03778 Made Pocket, Revolution and Groove aware of the SketchBased::BaseFeature property 2016-04-12 18:11:48 +02:00
jrheinlaender
cb14c7ae65 Renamed SketchBased::Base property to BaseFeature because of name clash with Revolution::Base property 2016-04-12 18:11:48 +02:00
jrheinlaender
9b29b9b5b0 Highlight current insert point (Tip feature) in blue 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
e9d8c03665 Create Base property for SketchBased features and changed Pad to use it 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
jrheinlaender
c4eb454d3f Hide previous Tip shape when adding a new SketchBased feature 2016-04-12 18:11:47 +02:00
jrheinlaender
5af543c9ce Preliminary work on Transformed feature's pick dialog to make Command.cpp compile 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
wmayer
7d03751e57 Fix some build and runtime failures 2016-04-12 18:11:46 +02:00
jriegel
6dec685ba7 Assembly import script & PartDesign Solid object 2016-04-12 18:11:46 +02:00