Some notes on pad and draft features for future developments

This commit is contained in:
jrheinlaender
2012-11-27 19:45:06 +04:30
committed by wmayer
parent 433ead710f
commit 4fcbc4f3f1
2 changed files with 5 additions and 0 deletions

View File

@@ -814,6 +814,9 @@ void CmdPartDesignDraft::activated(int iMsg)
// We don't create any defaults for neutral plane and pull direction, but Draft::execute()
// will choose them.
// Note: When the body feature is there, the best thing would be to get pull direction and
// neutral plane from the preceding feature in the tree. Or even store them as default in
// the Body feature itself
openCommand("Make Draft");
doCommand(Doc,"App.activeDocument().addObject(\"PartDesign::Draft\",\"%s\")",FeatName.c_str());
doCommand(Doc,"App.activeDocument().%s.Base = %s",FeatName.c_str(),SelString.c_str());