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

@@ -150,6 +150,8 @@ public:
/// trim a curve
int trim(int geoId, const Base::Vector3d& point);
/// adds symmetric geometric elements with respect to the refGeoId (line or point)
int addSymmetric(const std::vector<int> &geoIdList, int refGeoId, Sketcher::PointPos refPosId=Sketcher::none);
/// Exposes all internal geometry of an object supporting internal geometry
/*!
* \return -1 on error