+ issue #0001475: Implement a 3 point arc similar to solidworks in sketcher

This commit is contained in:
wmayer 2014-03-16 13:29:44 +01:00
parent cb04827d94
commit 35b10d68aa
2 changed files with 5 additions and 4 deletions

View File

@ -1231,8 +1231,8 @@ CmdSketcherCreateArc::CmdSketcherCreateArc()
{
sAppModule = "Sketcher";
sGroup = QT_TR_NOOP("Sketcher");
sMenuText = QT_TR_NOOP("Create arc");
sToolTipText = QT_TR_NOOP("Create an arc in the sketch");
sMenuText = QT_TR_NOOP("Create arc by center");
sToolTipText = QT_TR_NOOP("Create an arc by its center and by its end points");
sWhatsThis = sToolTipText;
sStatusTip = sToolTipText;
sPixmap = "Sketcher_CreateArc";
@ -1484,8 +1484,8 @@ CmdSketcherCreate3PointArc::CmdSketcherCreate3PointArc()
{
sAppModule = "Sketcher";
sGroup = QT_TR_NOOP("Sketcher");
sMenuText = QT_TR_NOOP("Create a 3 point arc");
sToolTipText = QT_TR_NOOP("Create an arc in the sketch");
sMenuText = QT_TR_NOOP("Create arc by three points");
sToolTipText = QT_TR_NOOP("Create an arc by its end points and a point along the arc");
sWhatsThis = sToolTipText;
sStatusTip = sToolTipText;
sPixmap = "Sketcher_Create3PointArc";

View File

@ -748,6 +748,7 @@ bool ViewProviderSketch::mouseButtonPressed(int Button, bool pressed, const SbVe
geom->setCommand("Sketcher geoms");
*geom << "Sketcher_CreatePoint"
<< "Sketcher_CreateArc"
<< "Sketcher_Create3PointArc"
<< "Sketcher_CreateCircle"
<< "Sketcher_CreateLine"
<< "Sketcher_CreatePolyline"