Commit Graph

6826 Commits

Author SHA1 Message Date
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
34af72186c Make sure that App::Plane sketch placement is identical to deprecated SketchOrientationDialog placement 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
0e6cdbe397 Added check in Tree.cpp DocumentItem::slotChangeObject to check for invalid pointers returned by claimChildren() 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
2e4b91a2d7 Automatically create Body feature when choosing "New PartDesign Project" from StartPage 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
jrheinlaender
f63a8d9ea6 Fixed build error on Ubuntu 2016-04-12 18:11:47 +02:00
Stefan Tröger
7438a156e1 add missing files 2016-04-12 18:11:47 +02:00
Stefan Tröger
220d009d1c remove unneeded files 2016-04-12 18:11:47 +02:00
Stefan Tröger
d700fff649 add more constraints and rebuild solver system everytime it needs to be executed 2016-04-12 18:11:47 +02:00
Stefan Tröger
f4331f28c9 remove typename outside templates 2016-04-12 18:11:46 +02:00
Stefan Tröger
2bd104ad7a remove gui dependencies in app 2016-04-12 18:11:46 +02:00
Stefan Tröger
7a95658cdb add solver.hpp 2016-04-12 18:11:46 +02:00