Sketcher: Rename External to Projection

This commit is contained in:
PaddleStroke
2024-11-12 10:33:23 +01:00
committed by WandererFan
parent 8c6b437314
commit 4a15ca643b
8 changed files with 173 additions and 125 deletions

View File

@@ -555,8 +555,8 @@
<FCText Name="Sketcher_Dimension">D</FCText>
<FCText Name="Sketcher_EditSketch"></FCText>
<FCText Name="Sketcher_Extend">G, Q</FCText>
<FCText Name="Sketcher_External">G, X</FCText>
<FCText Name="Sketcher_Grid"></FCText>
<FCText Name="Sketcher_Intersection">G, I</FCText>
<FCText Name="Sketcher_JoinCurves"></FCText>
<FCText Name="Sketcher_LeaveSketch"></FCText>
<FCText Name="Sketcher_MapSketch"></FCText>
@@ -565,6 +565,7 @@
<FCText Name="Sketcher_Move">Z, M</FCText>
<FCText Name="Sketcher_NewSketch"></FCText>
<FCText Name="Sketcher_ProfilesHexagon1"></FCText>
<FCText Name="Sketcher_Projection">G, X</FCText>
<FCText Name="Sketcher_RectangularArray">Z, A</FCText>
<FCText Name="Sketcher_RemoveAxesAlignment">Z, R</FCText>
<FCText Name="Sketcher_RenderingOrder"></FCText>

View File

@@ -116,7 +116,7 @@ CmdSketcherToggleConstruction::CmdSketcherToggleConstruction()
rcCmdMgr.addCommandMode("ToggleConstruction", "Sketcher_CompCreateBSpline");
rcCmdMgr.addCommandMode("ToggleConstruction", "Sketcher_CarbonCopy");
rcCmdMgr.addCommandMode("ToggleConstruction", "Sketcher_CompExternal");
rcCmdMgr.addCommandMode("ToggleConstruction", "Sketcher_External");
rcCmdMgr.addCommandMode("ToggleConstruction", "Sketcher_Projection");
rcCmdMgr.addCommandMode("ToggleConstruction", "Sketcher_Intersection");
rcCmdMgr.addCommandMode("ToggleConstruction", "Sketcher_ToggleConstruction");
}

View File

@@ -1452,7 +1452,7 @@ public:
setCheckable(false);
addCommand("Sketcher_External");
addCommand("Sketcher_Projection");
addCommand("Sketcher_Intersection");
}
@@ -1467,12 +1467,12 @@ public:
int index = pcAction->property("defaultAction").toInt();
switch (static_cast<GeometryCreationMode>(mode)) {
case GeometryCreationMode::Normal:
al[0]->setIcon(Gui::BitmapFactory().iconFromTheme("Sketcher_External"));
al[0]->setIcon(Gui::BitmapFactory().iconFromTheme("Sketcher_Projection"));
al[1]->setIcon(Gui::BitmapFactory().iconFromTheme("Sketcher_Intersection"));
getAction()->setIcon(al[index]->icon());
break;
case GeometryCreationMode::Construction:
al[0]->setIcon(Gui::BitmapFactory().iconFromTheme("Sketcher_External_Constr"));
al[0]->setIcon(Gui::BitmapFactory().iconFromTheme("Sketcher_Projection_Constr"));
al[1]->setIcon(Gui::BitmapFactory().iconFromTheme("Sketcher_Intersection_Constr"));
getAction()->setIcon(al[index]->icon());
break;
@@ -1492,10 +1492,10 @@ public:
// Externals - Projection ==================================================================
DEF_STD_CMD_AU(CmdSketcherExternal)
DEF_STD_CMD_AU(CmdSketcherProjection)
CmdSketcherExternal::CmdSketcherExternal()
: Command("Sketcher_External")
CmdSketcherProjection::CmdSketcherProjection()
: Command("Sketcher_Projection")
{
sAppModule = "Sketcher";
sGroup = "Sketcher";
@@ -1503,22 +1503,22 @@ CmdSketcherExternal::CmdSketcherExternal()
sToolTipText = QT_TR_NOOP("Create the projection edges of an external geometry.\n"
"External edges can be either defining or construction geometries.\n"
"You can use the toggle construction tool.");
sWhatsThis = "Sketcher_External";
sWhatsThis = "Sketcher_Projection";
sStatusTip = sToolTipText;
sPixmap = "Sketcher_External";
sPixmap = "Sketcher_Projection";
sAccel = "G, X";
eType = ForEdit;
}
CONSTRUCTION_UPDATE_ACTION(CmdSketcherExternal, "Sketcher_External")
CONSTRUCTION_UPDATE_ACTION(CmdSketcherProjection, "Sketcher_Projection")
void CmdSketcherExternal::activated(int iMsg)
void CmdSketcherProjection::activated(int iMsg)
{
Q_UNUSED(iMsg);
ActivateHandler(getActiveGuiDocument(), std::make_unique<DrawSketchHandlerExternal>());
}
bool CmdSketcherExternal::isActive()
bool CmdSketcherProjection::isActive()
{
return isCommandActive(getActiveGuiDocument());
}
@@ -2159,7 +2159,7 @@ void CreateSketcherCommandsCreateGeo()
rcCmdMgr.addCommand(new CmdSketcherExtend());
rcCmdMgr.addCommand(new CmdSketcherSplit());
rcCmdMgr.addCommand(new CmdSketcherCompCurveEdition());
rcCmdMgr.addCommand(new CmdSketcherExternal());
rcCmdMgr.addCommand(new CmdSketcherProjection());
rcCmdMgr.addCommand(new CmdSketcherIntersection());
rcCmdMgr.addCommand(new CmdSketcherCompExternal());
rcCmdMgr.addCommand(new CmdSketcherCarbonCopy());

View File

@@ -198,8 +198,8 @@
<file>icons/geometry/Sketcher_CreateTriangle.svg</file>
<file>icons/geometry/Sketcher_CreateTriangle_Constr.svg</file>
<file>icons/geometry/Sketcher_Extend.svg</file>
<file>icons/geometry/Sketcher_External.svg</file>
<file>icons/geometry/Sketcher_External_Constr.svg</file>
<file>icons/geometry/Sketcher_Projection.svg</file>
<file>icons/geometry/Sketcher_Projection_Constr.svg</file>
<file>icons/geometry/Sketcher_Intersection.svg</file>
<file>icons/geometry/Sketcher_Intersection_Constr.svg</file>
<file>icons/geometry/Sketcher_Split.svg</file>

View File

@@ -262,7 +262,7 @@
y1="37"
x2="-19"
y2="37"
gradientTransform="rotate(15,69.468151,244.38323)" />
gradientTransform="rotate(15,-47.524311,105.68178)" />
<linearGradient
xlink:href="#linearGradient3836-9-3"
id="linearGradient25"
@@ -272,6 +272,16 @@
y1="18"
x2="-22"
y2="5" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3836-9-3"
id="linearGradient1013"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.82607043,0,0,0.82533448,-4.0098079,1.346708)"
x1="-18"
y1="18"
x2="-22"
y2="5" />
</defs>
<metadata
id="metadata2874">
@@ -304,50 +314,49 @@
</metadata>
<g
id="g3849"
transform="translate(-60)">
transform="translate(-50.14077,-31.192563)">
<path
id="path3023"
d="m 63,39 v 20 l 32,2 V 41 Z"
style="fill:url(#linearGradient3856);fill-opacity:1;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3025"
d="M 95,61 115,51 V 31 L 95,41 Z"
style="fill:url(#linearGradient3858);fill-opacity:1;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
d="m 95,61 13.71049,-6.770252 v -20 L 95,41 Z"
style="fill:url(#linearGradient3858);fill-opacity:1;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
sodipodi:nodetypes="ccccc" />
<path
id="path3027"
d="M 63,39 83,29 115,31 95,41 Z"
style="fill:#729fcf;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
d="M 63,39 79.090305,32.739708 108.71049,34.229748 95,41 Z"
style="fill:#729fcf;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
sodipodi:nodetypes="ccccc" />
<path
id="path3023-1"
d="M 65,41 V 57.1 L 93,59 V 42.836 Z"
style="fill:none;stroke:#729fcf;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3025-7"
d="M 97.000001,57.8 113,49.767 V 34.2 L 97,42 Z"
style="fill:none;stroke:#3465a4;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
d="m 97.000001,57.8 9.710489,-4.803252 v -15.567 L 97,42 Z"
style="fill:none;stroke:#3465a4;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
sodipodi:nodetypes="ccccc" />
</g>
<path
id="path3027-1"
d="M 1.6952577,58.574014 24.90853,38.141633 62.049763,42.22811 38.836491,62.660491 Z"
style="fill:#d21919;fill-opacity:0.368313;stroke:#d21919;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
style="fill:none;stroke:#151819;stroke-width:8;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 22,8.8951451 56,10.895145"
d="M 13.146126,49.495348 47.170479,51.02616"
id="path3921" />
<path
style="fill:none;stroke:#d3d7cf;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 22,8.8951451 56,10.895145"
d="M 13.146126,49.495348 47.170479,51.02616"
id="path3921-4" />
<path
style="display:inline;fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 22.3125,7.8950195 34,2"
d="m 13.444801,48.491007 34.024353,1.530812"
id="path11" />
<g
id="g3971"
transform="rotate(34.600775,37.262309,14.601933)">
<path
id="path3941"
d="m 40,28 -3.863704,-1.035276 2.070553,-7.727407 -3.863704,-1.035276 7.607289,-5.208567 3.983821,8.314395 -3.863703,-1.035276 z"
style="fill:url(#linearGradient3978);fill-opacity:1;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
</g>
<g
transform="matrix(0.77869459,0,0,0.77869445,36.54595,1.1036616)"
transform="matrix(0.57567349,-0.00794162,0.00794162,0.57567338,24.656812,43.511196)"
id="g34"
style="stroke-width:1.2842">
<path
@@ -360,16 +369,24 @@
d="m -24.358888,7.0362241 a 5.782493,5.7773415 0 1 1 8.784093,7.5158349 5.782493,5.7773415 0 0 1 -8.784093,-7.5158349 z" />
</g>
<g
transform="matrix(0.77869459,0,0,0.77869445,70.129085,1.6640417)"
id="g25"
transform="matrix(0.57567349,-0.00794162,0.00794162,0.57567338,57.575533,44.452128)"
id="g34-1"
style="stroke-width:1.2842">
<path
style="fill:none;stroke:#2e0000;stroke-width:2.56841;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path24"
id="path33-8"
d="M -26.310778,5.3580033 A 8.3519646,8.3515832 0.02039876 1 1 -13.623399,16.222662 8.3519646,8.3515832 0.02039876 1 1 -26.310778,5.3580033 Z" />
<path
style="fill:url(#linearGradient25);fill-opacity:1;stroke:#ef2929;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path25"
style="fill:url(#linearGradient1013);fill-opacity:1;stroke:#ef2929;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path34-8"
d="m -24.358888,7.0362241 a 5.782493,5.7773415 0 1 1 8.784093,7.5158349 5.782493,5.7773415 0 0 1 -8.784093,-7.5158349 z" />
</g>
<g
id="g3971"
transform="rotate(165.83719,15.237196,44.270894)">
<path
id="path3941"
d="m 0.11500267,53.55374 -3.86370397,-1.035276 2.070553,-7.727407 -3.863704,-1.035276 7.607289,-5.208567 3.983821,8.314395 -3.863703,-1.035276 z"
style="fill:url(#linearGradient3978);fill-opacity:1;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -1,18 +1,41 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
id="svg2869"
version="1.1"
viewBox="0 0 64 64"
sodipodi:docname="Sketcher_External_Constr.svg"
inkscape:version="1.1-beta1 (77e7b44db3, 2021-03-28)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<sodipodi:namedview
id="namedview71"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
objecttolerance="10.0"
gridtolerance="10.0"
guidetolerance="10.0"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="11.765625"
inkscape:cx="-32.169987"
inkscape:cy="32.76494"
inkscape:window-width="3840"
inkscape:window-height="1571"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1"
inkscape:current-layer="svg2869" />
<defs
id="defs2871">
<linearGradient
@@ -239,7 +262,7 @@
y1="37"
x2="-19"
y2="37"
gradientTransform="rotate(15,69.468151,244.38323)" />
gradientTransform="rotate(15,-47.524311,105.68178)" />
<linearGradient
xlink:href="#linearGradient3836-9-3"
id="linearGradient25"
@@ -249,6 +272,16 @@
y1="18"
x2="-22"
y2="5" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3836-9-3"
id="linearGradient1013"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.82607043,0,0,0.82533448,-4.0098079,1.346708)"
x1="-18"
y1="18"
x2="-22"
y2="5" />
</defs>
<metadata
id="metadata2874">
@@ -280,84 +313,80 @@
</rdf:RDF>
</metadata>
<g
id="layer3"
style="display:inline">
<g
id="layer1">
<g
id="g3849"
transform="translate(-60)">
<path
id="path3023"
d="m 63,39 v 20 l 32,2 V 41 Z"
style="fill:url(#linearGradient3856);fill-opacity:1;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3025"
d="M 95,61 115,51 V 31 L 95,41 Z"
style="fill:url(#linearGradient3858);fill-opacity:1;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3027"
d="M 63,39 83,29 115,31 95,41 Z"
style="fill:#729fcf;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3023-1"
d="M 65,41 V 57.1 L 93,59 V 42.836 Z"
style="fill:none;stroke:#729fcf;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3025-7"
d="M 97.000001,57.8 113,49.767 V 34.2 L 97,42 Z"
style="fill:none;stroke:#3465a4;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g26"
transform="translate(0,0.89514509)">
<path
style="fill:none;stroke:#0b1521;stroke-width:8;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 22,8 34,2"
id="path3921" />
<path
style="fill:none;stroke:#3465a4;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 22,8 34,2"
id="path3921-4" />
<path
style="display:inline;fill:none;stroke:#729fcf;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 22.3125,6.9998744 34,2"
id="path11" />
</g>
<g
id="g3971"
transform="rotate(34.600775,37.262309,14.601933)">
<path
id="path3941"
d="m 40,28 -3.863704,-1.035276 2.070553,-7.727407 -3.863704,-1.035276 7.607289,-5.208567 3.983821,8.314395 -3.863703,-1.035276 z"
style="fill:url(#linearGradient3978);fill-opacity:1;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
</g>
</g>
<g
transform="matrix(0.77869459,0,0,0.77869445,36.54595,1.1036616)"
id="g34"
style="stroke-width:1.2842">
<path
style="fill:none;stroke:#2e0000;stroke-width:2.56841;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path33"
d="M -26.310778,5.3580033 A 8.3519646,8.3515832 0.02039876 1 1 -13.623399,16.222662 8.3519646,8.3515832 0.02039876 1 1 -26.310778,5.3580033 Z" />
<path
style="fill:url(#linearGradient34);fill-opacity:1;stroke:#ef2929;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path34"
d="m -24.358888,7.0362241 a 5.782493,5.7773415 0 1 1 8.784093,7.5158349 5.782493,5.7773415 0 0 1 -8.784093,-7.5158349 z" />
</g>
<g
transform="matrix(0.77869459,0,0,0.77869445,70.129085,1.6640417)"
id="g25"
style="stroke-width:1.2842">
<path
style="fill:none;stroke:#2e0000;stroke-width:2.56841;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path24"
d="M -26.310778,5.3580033 A 8.3519646,8.3515832 0.02039876 1 1 -13.623399,16.222662 8.3519646,8.3515832 0.02039876 1 1 -26.310778,5.3580033 Z" />
<path
style="fill:url(#linearGradient25);fill-opacity:1;stroke:#ef2929;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path25"
d="m -24.358888,7.0362241 a 5.782493,5.7773415 0 1 1 8.784093,7.5158349 5.782493,5.7773415 0 0 1 -8.784093,-7.5158349 z" />
</g>
id="g3849"
transform="translate(-50.14077,-31.192563)">
<path
id="path3023"
d="m 63,39 v 20 l 32,2 V 41 Z"
style="fill:url(#linearGradient3856);fill-opacity:1;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3025"
d="m 95,61 13.71049,-6.770252 v -20 L 95,41 Z"
style="fill:url(#linearGradient3858);fill-opacity:1;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
sodipodi:nodetypes="ccccc" />
<path
id="path3027"
d="M 63,39 79.090305,32.739708 108.71049,34.229748 95,41 Z"
style="fill:#729fcf;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
sodipodi:nodetypes="ccccc" />
<path
id="path3023-1"
d="M 65,41 V 57.1 L 93,59 V 42.836 Z"
style="fill:none;stroke:#729fcf;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3025-7"
d="m 97.000001,57.8 9.710489,-4.803252 v -15.567 L 97,42 Z"
style="fill:none;stroke:#3465a4;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
sodipodi:nodetypes="ccccc" />
</g>
<path
id="path3027-1"
d="M 1.6952577,58.574014 24.90853,38.141633 62.049763,42.22811 38.836491,62.660491 Z"
style="fill:#d21919;fill-opacity:0.368313;stroke:#d21919;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
style="fill:none;stroke:#0b1521;stroke-width:8;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 13.146126,49.495348 47.170479,51.02616"
id="path3921" />
<path
style="fill:none;stroke:#3465a4;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 13.146126,49.495348 47.170479,51.02616"
id="path3921-4" />
<path
style="display:inline;fill:none;stroke:#729fcf;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 13.444801,48.491007 34.024353,1.530812"
id="path11" />
<g
transform="matrix(0.57567349,-0.00794162,0.00794162,0.57567338,24.656812,43.511196)"
id="g34"
style="stroke-width:1.2842">
<path
style="fill:none;stroke:#2e0000;stroke-width:2.56841;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path33"
d="M -26.310778,5.3580033 A 8.3519646,8.3515832 0.02039876 1 1 -13.623399,16.222662 8.3519646,8.3515832 0.02039876 1 1 -26.310778,5.3580033 Z" />
<path
style="fill:url(#linearGradient34);fill-opacity:1;stroke:#ef2929;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path34"
d="m -24.358888,7.0362241 a 5.782493,5.7773415 0 1 1 8.784093,7.5158349 5.782493,5.7773415 0 0 1 -8.784093,-7.5158349 z" />
</g>
<g
transform="matrix(0.57567349,-0.00794162,0.00794162,0.57567338,57.575533,44.452128)"
id="g34-1"
style="stroke-width:1.2842">
<path
style="fill:none;stroke:#2e0000;stroke-width:2.56841;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path33-8"
d="M -26.310778,5.3580033 A 8.3519646,8.3515832 0.02039876 1 1 -13.623399,16.222662 8.3519646,8.3515832 0.02039876 1 1 -26.310778,5.3580033 Z" />
<path
style="fill:url(#linearGradient1013);fill-opacity:1;stroke:#ef2929;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path34-8"
d="m -24.358888,7.0362241 a 5.782493,5.7773415 0 1 1 8.784093,7.5158349 5.782493,5.7773415 0 0 1 -8.784093,-7.5158349 z" />
</g>
<g
id="g3971"
transform="rotate(165.83719,15.237196,44.270894)">
<path
id="path3941"
d="m 0.11500267,53.55374 -3.86370397,-1.035276 2.070553,-7.727407 -3.863704,-1.035276 7.607289,-5.208567 3.983821,8.314395 -3.863703,-1.035276 z"
style="fill:url(#linearGradient3978);fill-opacity:1;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -4337,7 +4337,8 @@ void ViewProviderSketch::generateContextMenu()
<< "Sketcher_Trimming"
<< "Sketcher_Extend"
<< "Separator"
<< "Sketcher_External"
<< "Sketcher_Projection"
<< "Sketcher_Intersection"
<< "Separator"
<< "Sketcher_CompDimensionTools"
<< "Sketcher_CompConstrainTools"

View File

@@ -537,7 +537,7 @@ inline void SketcherAddWorkbenchTools<Gui::MenuItem>(Gui::MenuItem& consaccel)
{
SketcherAddWorkspaceFillets(consaccel);
SketcherAddWorkspaceCurveEdition(consaccel);
consaccel << "Sketcher_External"
consaccel << "Sketcher_Projection"
<< "Sketcher_Intersection"
<< "Sketcher_CarbonCopy"
<< "Separator"