[Surface]: Implementation of BlenCurve.
This commit is contained in:
@@ -44,40 +44,42 @@ Workbench::~Workbench()
|
||||
{
|
||||
}
|
||||
|
||||
Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
Gui::MenuItem *Workbench::setupMenuBar() const
|
||||
{
|
||||
Gui::MenuItem* root = StdWorkbench::setupMenuBar();
|
||||
Gui::MenuItem* item = root->findItem( "&Windows" );
|
||||
Gui::MenuItem *root = StdWorkbench::setupMenuBar();
|
||||
Gui::MenuItem *item = root->findItem("&Windows");
|
||||
|
||||
Gui::MenuItem* surface = new Gui::MenuItem;
|
||||
root->insertItem( item, surface );
|
||||
Gui::MenuItem *surface = new Gui::MenuItem;
|
||||
root->insertItem(item, surface);
|
||||
surface->setCommand("Surface");
|
||||
*surface << "Surface_Filling"
|
||||
<< "Surface_GeomFillSurface"
|
||||
<< "Surface_Sections"
|
||||
<< "Surface_ExtendFace"
|
||||
<< "Surface_CurveOnMesh";
|
||||
/*
|
||||
<< "Surface_CurveOnMesh"
|
||||
<< "BlendCurve";
|
||||
/*
|
||||
*surface << "Surface_Cut";
|
||||
*/
|
||||
*/
|
||||
|
||||
return root;
|
||||
}
|
||||
|
||||
Gui::ToolBarItem* Workbench::setupToolBars() const
|
||||
Gui::ToolBarItem *Workbench::setupToolBars() const
|
||||
{
|
||||
Gui::ToolBarItem* root = StdWorkbench::setupToolBars();
|
||||
Gui::ToolBarItem *root = StdWorkbench::setupToolBars();
|
||||
|
||||
Gui::ToolBarItem* surface = new Gui::ToolBarItem(root);
|
||||
Gui::ToolBarItem *surface = new Gui::ToolBarItem(root);
|
||||
surface->setCommand("Surface");
|
||||
*surface << "Surface_Filling"
|
||||
<< "Surface_GeomFillSurface"
|
||||
<< "Surface_Sections"
|
||||
<< "Surface_ExtendFace"
|
||||
<< "Surface_CurveOnMesh";
|
||||
/*
|
||||
<< "Surface_CurveOnMesh"
|
||||
<< "BlendCurve";
|
||||
/*
|
||||
*surface << "Surface_Cut";
|
||||
*/
|
||||
*/
|
||||
|
||||
return root;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user