command to create a structured points object from a unstructured points object
This commit is contained in:
@@ -54,7 +54,10 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
|
||||
Gui::ToolBarItem* root = StdWorkbench::setupToolBars();
|
||||
Gui::ToolBarItem* pnt = new Gui::ToolBarItem( root );
|
||||
pnt->setCommand("Points tools");
|
||||
*pnt << "Points_Import" << "Points_Export" << "Separator" << "Points_PolyCut";
|
||||
*pnt << "Points_Import"
|
||||
<< "Points_Export"
|
||||
<< "Separator"
|
||||
<< "Points_PolyCut";
|
||||
return root;
|
||||
}
|
||||
|
||||
@@ -64,7 +67,8 @@ Gui::ToolBarItem* Workbench::setupCommandBars() const
|
||||
Gui::ToolBarItem* root = new Gui::ToolBarItem;
|
||||
Gui::ToolBarItem* pnt = new Gui::ToolBarItem( root );
|
||||
pnt->setCommand("Points tools");
|
||||
*pnt << "Points_Import" << "Points_Export";
|
||||
*pnt << "Points_Import"
|
||||
<< "Points_Export";
|
||||
return root;
|
||||
}
|
||||
|
||||
@@ -76,9 +80,13 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
root->insertItem(item, pnts);
|
||||
|
||||
pnts->setCommand("&Points");
|
||||
*pnts << "Points_Convert" << "Separator" << "Points_Import"
|
||||
<< "Points_Export" << "Separator" << "Points_PolyCut"
|
||||
*pnts << "Points_Convert"
|
||||
<< "Points_Structure"
|
||||
<< "Separator"
|
||||
<< "Points_Import"
|
||||
<< "Points_Export"
|
||||
<< "Separator"
|
||||
<< "Points_PolyCut"
|
||||
<< "Points_Merge";
|
||||
return root;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user