Add some commands to assembly

This commit is contained in:
jriegel
2012-02-08 22:29:34 +01:00
committed by Stefan Tröger
parent 4f0f3e8c94
commit 6700512efe
14 changed files with 373 additions and 14 deletions

View File

@@ -35,11 +35,11 @@ using namespace PartDesign;
namespace PartDesign {
PROPERTY_SOURCE(PartDesign::Body, Part::Feature)
PROPERTY_SOURCE(PartDesign::Body, Part::Body)
Body::Body()
{
ADD_PROPERTY(Model,(0));
}
short Body::mustExecute() const

View File

@@ -25,22 +25,19 @@
#define PARTDESIGN_Body_H
#include <App/PropertyStandard.h>
#include <Mod/Part/App/PartFeature.h>
#include <Mod/Part/App/Body.h>
namespace PartDesign
{
class Body : public Part::Feature
class Body : public Part::Body
{
PROPERTY_HEADER(PartDesign::Body);
public:
Body();
App::PropertyLinkList Model;
App::PropertyLink Tip;
/** @name methods override feature */
//@{
/// recalculate the feature