basic infrastructure for part design primitives

This commit is contained in:
Stefan Tröger
2015-05-10 20:14:10 +02:00
parent 9c00c9a1bd
commit 3690040dea
10 changed files with 632 additions and 1 deletions

View File

@@ -54,9 +54,11 @@
#include "ViewProviderDatumLine.h"
#include "ViewProviderDatumPlane.h"
#include "ViewProviderBoolean.h"
#include "ViewProviderPrimitive.h"
// use a different name to CreateCommand()
void CreatePartDesignCommands(void);
void CreatePartDesignPrimitiveCommands(void);
void loadPartDesignResource()
{
@@ -109,6 +111,7 @@ PyMODINIT_FUNC initPartDesignGui()
// instantiating the commands
CreatePartDesignCommands();
CreatePartDesignPrimitiveCommands();
PartDesignGui::Workbench ::init();
PartDesignGui::ViewProvider ::init();
@@ -132,6 +135,7 @@ PyMODINIT_FUNC initPartDesignGui()
PartDesignGui::ViewProviderDatumLine ::init();
PartDesignGui::ViewProviderDatumPlane ::init();
PartDesignGui::ViewProviderBoolean ::init();
PartDesignGui::ViewProviderPrimitive ::init();
// add resources and reloads the translators
loadPartDesignResource();