Add some commands to assembly
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user