Sketcher: New Feature: Symmetric tool

=====================================

Creates geometry symmetric to the selected one with respect to the last selected point or line.

It does not support the following constraints:

- Angle
- Horiz/vertical distance
- SnellLaw

Horizontal and Vertical (directional) dimensions removed from the the copying process when created
on a single edge (by picking one edge instead of two points), i.e. Constraint involving only one GeoId at "First".
This commit is contained in:
Abdullah Tahiri
2015-07-16 05:00:00 +02:00
committed by wmayer
parent 5958749b7a
commit 38256931af
6 changed files with 640 additions and 2 deletions

View File

@@ -245,14 +245,16 @@ inline void SketcherAddWorkbenchTools<Gui::MenuItem>(Gui::MenuItem& consaccel){
<< "Sketcher_SelectRedundantConstraints"
<< "Sketcher_SelectConflictingConstraints"
<< "Sketcher_SelectElementsAssociatedWithConstraints"
<< "Sketcher_RestoreInternalAlignmentGeometry";
<< "Sketcher_RestoreInternalAlignmentGeometry"
<< "Sketcher_Symmetry";
}
template <>
inline void SketcherAddWorkbenchTools<Gui::ToolBarItem>(Gui::ToolBarItem& consaccel){
consaccel << "Sketcher_CloseShape"
<< "Sketcher_ConnectLines"
<< "Sketcher_SelectConstraints"
<< "Sketcher_RestoreInternalAlignmentGeometry";
<< "Sketcher_RestoreInternalAlignmentGeometry"
<< "Sketcher_Symmetry";
}
template <typename T>