diff --git a/src/Mod/TechDraw/CMakeLists.txt b/src/Mod/TechDraw/CMakeLists.txt index 61936b2c9d..137681117b 100644 --- a/src/Mod/TechDraw/CMakeLists.txt +++ b/src/Mod/TechDraw/CMakeLists.txt @@ -21,10 +21,12 @@ set(TechDraw_ToolsScripts TechDrawTools/CommandMoveView.py TechDrawTools/CommandShareView.py TechDrawTools/CommandAxoLengthDimension.py + TechDrawTools/CommandVertexCreations.py TechDrawTools/CommandHoleShaftFit.py TechDrawTools/TaskMoveView.py TechDrawTools/TaskShareView.py TechDrawTools/TaskHoleShaftFit.py + TechDrawTools/TaskAddOffsetVertex.py TechDrawTools/TDToolsUtil.py TechDrawTools/TDToolsMovers.py ) @@ -32,6 +34,7 @@ set(TechDraw_ToolsScripts set(TechDraw_ToolsGui Gui/TaskMoveView.ui Gui/TaskHoleShaftFit.ui + Gui/TaskAddOffsetVertex.ui Gui/DlgPageChooser.ui ) diff --git a/src/Mod/TechDraw/Gui/Resources/TechDraw.qrc b/src/Mod/TechDraw/Gui/Resources/TechDraw.qrc index 47b36b19a9..e7598ff235 100644 --- a/src/Mod/TechDraw/Gui/Resources/TechDraw.qrc +++ b/src/Mod/TechDraw/Gui/Resources/TechDraw.qrc @@ -29,6 +29,7 @@ icons/actions/TechDraw_Midpoints.svg icons/actions/TechDraw_MoveView.svg icons/actions/TechDraw_AxoLengthDimension.svg + icons/actions/TechDraw_AddOffsetVertex.svg icons/actions/TechDraw_HoleShaftFit.svg icons/actions/TechDraw_Multiview.svg icons/actions/TechDraw_PageDefault.svg diff --git a/src/Mod/TechDraw/Gui/Workbench.cpp b/src/Mod/TechDraw/Gui/Workbench.cpp index 79bc5b6f93..c0dc7938ae 100644 --- a/src/Mod/TechDraw/Gui/Workbench.cpp +++ b/src/Mod/TechDraw/Gui/Workbench.cpp @@ -126,7 +126,8 @@ Gui::MenuItem* Workbench::setupMenuBar() const *toolcenter << "TechDraw_ExtensionThreadBoltSide"; *toolcenter << "TechDraw_ExtensionThreadBoltBottom"; *toolcenter << "Separator"; - *toolcenter << "TechDraw_ExtensionVertexAtIntersection"; + *toolcenter << "TechDraw_CommandVertexCreationGroup"; + //*toolcenter << "TechDraw_ExtensionVertexAtIntersection"; *toolcenter << "TechDraw_ExtensionDrawCosmCircle"; *toolcenter << "TechDraw_ExtensionDrawCosmArc"; *toolcenter << "TechDraw_ExtensionDrawCosmCircle3Points"; @@ -345,7 +346,8 @@ Gui::ToolBarItem* Workbench::setupToolBars() const extcenter->setCommand("TechDraw Centerlines"); *extcenter << "TechDraw_ExtensionCircleCenterLinesGroup"; *extcenter << "TechDraw_ExtensionThreadsGroup"; - *extcenter << "TechDraw_ExtensionVertexAtIntersection"; + *extcenter << "TechDraw_CommandVertexCreationGroup"; + //*extcenter << "TechDraw_ExtensionVertexAtIntersection"; *extcenter << "TechDraw_ExtensionDrawCirclesGroup"; *extcenter << "TechDraw_ExtensionLinePPGroup"; @@ -456,7 +458,8 @@ Gui::ToolBarItem* Workbench::setupCommandBars() const extcenter->setCommand("TechDraw Centerlines"); *extcenter << "TechDraw_ExtensionCircleCenterLinesGroup"; *extcenter << "TechDraw_ExtensionThreadsGroup"; - *extcenter << "TechDraw_ExtensionVertexAtIntersection"; + *extcenter << "TechDraw_CommandVertexCreationGroup"; + //*extcenter << "TechDraw_ExtensionVertexAtIntersection"; *extcenter << "TechDraw_ExtensionDrawCirclesGroup"; *extcenter << "TechDraw_ExtensionLinePPGroup";