PartGui: add 2D Offset feature creation command
(made offset toolbar button into a dropdown button) Icon for 2D offset was copied from Draft workbench.
This commit is contained in:
@@ -86,7 +86,7 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
<< "Part_CrossSections" << "Part_Compound" << "Part_MakeFace" << "Part_Extrude"
|
||||
<< "Part_Revolve" << "Part_Mirror" << "Part_Fillet" << "Part_Chamfer"
|
||||
<< "Part_RuledSurface" << "Part_Loft" << "Part_Sweep"
|
||||
<< "Part_Offset" << "Part_Thickness" << "Separator" << "Part_EditAttachment";
|
||||
<< "Part_Offset" << "Part_Offset2D" << "Part_Thickness" << "Separator" << "Part_EditAttachment";
|
||||
|
||||
Gui::MenuItem* measure = new Gui::MenuItem;
|
||||
root->insertItem(item,measure);
|
||||
@@ -122,7 +122,7 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
|
||||
tool->setCommand("Part tools");
|
||||
*tool << "Part_Extrude" << "Part_Revolve" << "Part_Mirror" << "Part_Fillet"
|
||||
<< "Part_Chamfer" << "Part_RuledSurface" << "Part_Loft" << "Part_Sweep"
|
||||
<< "Part_Offset" << "Part_Thickness";
|
||||
<< "Part_CompOffset" << "Part_Thickness";
|
||||
|
||||
Gui::ToolBarItem* boolop = new Gui::ToolBarItem(root);
|
||||
boolop->setCommand("Boolean");
|
||||
|
||||
Reference in New Issue
Block a user