[Gui] Add new Selection Filter functionality (#2)

* [Gui] Add Selection Filters

* [Gui] Add Selection Filters to Toolbar

* [Gui] Add Selection Filter Icons

* [Gui] Add 4 new Selection filter Icon Files

* [Gui] Update Context Menu

* [Gui] Add default Selection Filter icon

* [Gui] Update resource.qrc with new icon

* [Gui] Add SelectFilter dropdown toolbar

* [Gui] Update Content Menu and Toolbar

* [Gui] Icon changed to Plain SVG

* [Gui] edge-selection icon as Plain SVG

* [Gui] vertex-selection icon as Plain SVG

* [Gui] selection-filter.svg replace metadata
This commit is contained in:
Syres916
2023-08-18 15:04:03 +01:00
committed by Chris Hennes
parent f99e350770
commit 6770713eb1
8 changed files with 1543 additions and 4 deletions

View File

@@ -1359,6 +1359,230 @@ void StdCmdViewTop::activated(int iMsg)
doCommand(Command::Gui,"Gui.activeDocument().activeView().viewTop()");
}
//===============================================================================
// StdCmdSelectFilter (dropdown toolbar button for Vertex, Edge & Face Selection)
//===============================================================================
DEF_STD_CMD_ACL(StdCmdSelectFilter)
StdCmdSelectFilter::StdCmdSelectFilter()
: Command("Std_SelectFilter")
{
sGroup = "Standard-View";
sMenuText = QT_TR_NOOP("Selection filter");
sToolTipText = QT_TR_NOOP("Change the Selection filter");
sStatusTip = QT_TR_NOOP("Change the Selection filter");
sWhatsThis = "Std_SelectFilter";
sPixmap = "selection-filter";
eType = Alter3DView;
}
void StdCmdSelectFilter::activated(int iMsg)
{
Gui::CommandManager &rcCmdMgr = Gui::Application::Instance->commandManager();
if (iMsg==0)
rcCmdMgr.runCommandByName("Std_VertexSelection");
else if (iMsg==1)
rcCmdMgr.runCommandByName("Std_EdgeSelection");
else if (iMsg==2)
rcCmdMgr.runCommandByName("Std_FaceSelection");
else if (iMsg==3)
rcCmdMgr.runCommandByName("Std_RemoveSelectionGate");
else
return;
// Since the default icon is reset when enabling/disabling the command we have
// to explicitly set the icon of the used command.
Gui::ActionGroup* pcAction = qobject_cast<Gui::ActionGroup*>(_pcAction);
QList<QAction*> a = pcAction->actions();
assert(iMsg < a.size());
pcAction->setIcon(a[iMsg]->icon());
}
Gui::Action * StdCmdSelectFilter::createAction()
{
Gui::ActionGroup* pcAction = new Gui::ActionGroup(this, Gui::getMainWindow());
pcAction->setDropDownMenu(true);
applyCommandData(this->className(), pcAction);
QAction* cmd0 = pcAction->addAction(QString());
cmd0->setIcon(Gui::BitmapFactory().iconFromTheme("vertex-selection"));
cmd0->setShortcut(QKeySequence(QString::fromUtf8("X,S")));
QAction* cmd1 = pcAction->addAction(QString());
cmd1->setIcon(Gui::BitmapFactory().iconFromTheme("edge-selection"));
cmd1->setShortcut(QKeySequence(QString::fromUtf8("E,S")));
QAction* cmd2 = pcAction->addAction(QString());
cmd2->setIcon(Gui::BitmapFactory().iconFromTheme("face-selection"));
cmd2->setShortcut(QKeySequence(QString::fromUtf8("F,S")));
QAction* cmd3 = pcAction->addAction(QString());
cmd3->setIcon(Gui::BitmapFactory().iconFromTheme("clear-selection"));
cmd3->setShortcut(QKeySequence(QString::fromUtf8("C,S")));
_pcAction = pcAction;
languageChange();
pcAction->setIcon(Gui::BitmapFactory().iconFromTheme("selection-filter"));
int defaultId = 3;
pcAction->setProperty("defaultAction", QVariant(defaultId));
return pcAction;
}
void StdCmdSelectFilter::languageChange()
{
Command::languageChange();
if (!_pcAction)
return;
Gui::CommandManager &rcCmdMgr = Gui::Application::Instance->commandManager();
Gui::ActionGroup* pcAction = qobject_cast<Gui::ActionGroup*>(_pcAction);
QList<QAction*> a = pcAction->actions();
Gui::Command* vertexSelection = rcCmdMgr.getCommandByName("Std_VertexSelection");
if (vertexSelection) {
QAction* cmd0 = a[0];
cmd0->setText(QApplication::translate("View_SelectionFilter", vertexSelection->getMenuText()));
cmd0->setToolTip(QApplication::translate("View_SelectionFilter", vertexSelection->getToolTipText()));
cmd0->setStatusTip(QApplication::translate("View_SelectionFilter", vertexSelection->getStatusTip()));
}
Gui::Command* edgeSelection = rcCmdMgr.getCommandByName("Std_EdgeSelection");
if (edgeSelection) {
QAction* cmd1 = a[1];
cmd1->setText(QApplication::translate("View_SelectionFilter", edgeSelection->getMenuText()));
cmd1->setToolTip(QApplication::translate("View_SelectionFilter", edgeSelection->getToolTipText()));
cmd1->setStatusTip(QApplication::translate("View_SelectionFilter", edgeSelection->getStatusTip()));
}
Gui::Command* faceSelection = rcCmdMgr.getCommandByName("Std_FaceSelection");
if (faceSelection) {
QAction* cmd1 = a[2];
cmd1->setText(QApplication::translate("View_SelectionFilter", faceSelection->getMenuText()));
cmd1->setToolTip(QApplication::translate("View_SelectionFilter", faceSelection->getToolTipText()));
cmd1->setStatusTip(QApplication::translate("View_SelectionFilter", faceSelection->getStatusTip()));
}
Gui::Command* removeSelection = rcCmdMgr.getCommandByName("Std_RemoveSelectionGate");
if (removeSelection) {
QAction* cmd2 = a[3];
cmd2->setText(QApplication::translate("View_SelectionFilter", removeSelection->getMenuText()));
cmd2->setToolTip(QApplication::translate("View_SelectionFilter", removeSelection->getToolTipText()));
cmd2->setStatusTip(QApplication::translate("View_SelectionFilter", removeSelection->getStatusTip()));
}
}
bool StdCmdSelectFilter::isActive()
{
Gui::MDIView* view = Gui::getMainWindow()->activeWindow();
return view && view->isDerivedFrom(Gui::View3DInventor::getClassTypeId());
}
//===========================================================================
// Std_VertexSelection
//===========================================================================
DEF_3DV_CMD(StdCmdVertexSelection)
StdCmdVertexSelection::StdCmdVertexSelection()
: Command("Std_VertexSelection")
{
sGroup = "Standard-View";
sMenuText = QT_TR_NOOP("Vertex Selection");
sToolTipText = QT_TR_NOOP("Select a Vertex/Vertices");
sWhatsThis = "Std_VertexSelection";
sStatusTip = QT_TR_NOOP("Select a Vertex/Vertices");
sPixmap = "vertex-selection";
sAccel = "X, S";
eType = Alter3DView;
}
void StdCmdVertexSelection::activated(int iMsg)
{
Q_UNUSED(iMsg);
doCommand(Command::Gui,"Gui.Selection.addSelectionGate('SELECT Part::Feature SUBELEMENT Vertex')");
}
//===========================================================================
// Std_EdgeSelection
//===========================================================================
DEF_3DV_CMD(StdCmdEdgeSelection)
StdCmdEdgeSelection::StdCmdEdgeSelection()
: Command("Std_EdgeSelection")
{
sGroup = "Standard-View";
sMenuText = QT_TR_NOOP("Edge Selection");
sToolTipText = QT_TR_NOOP("Select Edge(s)");
sWhatsThis = "Std_EdgeSelection";
sStatusTip = QT_TR_NOOP("Select Edge(s)");
sPixmap = "edge-selection";
sAccel = "E, S";
eType = Alter3DView;
}
void StdCmdEdgeSelection::activated(int iMsg)
{
Q_UNUSED(iMsg);
doCommand(Command::Gui,"Gui.Selection.addSelectionGate('SELECT Part::Feature SUBELEMENT Edge')");
}
//===========================================================================
// Std_FaceSelection
//===========================================================================
DEF_3DV_CMD(StdCmdFaceSelection)
StdCmdFaceSelection::StdCmdFaceSelection()
: Command("Std_FaceSelection")
{
sGroup = "Standard-View";
sMenuText = QT_TR_NOOP("Face Selection");
sToolTipText = QT_TR_NOOP("Select Face(s)");
sWhatsThis = "Std_FaceSelection";
sStatusTip = QT_TR_NOOP("Select Face(s)");
sPixmap = "face-selection";
sAccel = "F, S";
eType = Alter3DView;
}
void StdCmdFaceSelection::activated(int iMsg)
{
Q_UNUSED(iMsg);
doCommand(Command::Gui,"Gui.Selection.addSelectionGate('SELECT Part::Feature SUBELEMENT Face')");
}
//===========================================================================
// Std_RemoveSelectionGate
//===========================================================================
DEF_3DV_CMD(StdCmdRemoveSelectionGate)
StdCmdRemoveSelectionGate::StdCmdRemoveSelectionGate()
: Command("Std_RemoveSelectionGate")
{
sGroup = "Standard-View";
sMenuText = QT_TR_NOOP("All selection filters cleared");
sToolTipText = QT_TR_NOOP("All selection filters cleared");
sWhatsThis = "Std_RemoveSelectionGate";
sStatusTip = QT_TR_NOOP("All selection filters cleared");
sPixmap = "clear-selection";
sAccel = "C, S";
eType = Alter3DView;
}
void StdCmdRemoveSelectionGate::activated(int iMsg)
{
Q_UNUSED(iMsg);
doCommand(Command::Gui,"Gui.Selection.removeSelectionGate()");
}
//===========================================================================
// Std_ViewIsometric
//===========================================================================
@@ -3789,6 +4013,11 @@ void CreateViewStdCommands()
rcCmdMgr.addCommand(new StdCmdViewRear());
rcCmdMgr.addCommand(new StdCmdViewRight());
rcCmdMgr.addCommand(new StdCmdViewTop());
rcCmdMgr.addCommand(new StdCmdSelectFilter());
rcCmdMgr.addCommand(new StdCmdVertexSelection());
rcCmdMgr.addCommand(new StdCmdEdgeSelection());
rcCmdMgr.addCommand(new StdCmdFaceSelection());
rcCmdMgr.addCommand(new StdCmdRemoveSelectionGate());
rcCmdMgr.addCommand(new StdCmdViewIsometric());
rcCmdMgr.addCommand(new StdCmdViewDimetric());
rcCmdMgr.addCommand(new StdCmdViewTrimetric());

View File

@@ -0,0 +1,174 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64px"
height="64px"
id="svg6248"
version="1.1"
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/">
<defs
id="defs6250">
<linearGradient
id="linearGradient4027">
<stop
style="stop-color:#16d0d2;stop-opacity:1"
offset="0"
id="stop4029" />
<stop
style="stop-color:#34e0e2;stop-opacity:1"
offset="1"
id="stop4031" />
</linearGradient>
<linearGradient
id="linearGradient3253">
<stop
style="stop-color:#89d5f8;stop-opacity:1;"
offset="0"
id="stop3255" />
<stop
style="stop-color:#00899e;stop-opacity:1;"
offset="1"
id="stop3257" />
</linearGradient>
<linearGradient
id="linearGradient6816">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop6818" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop6820" />
</linearGradient>
<linearGradient
id="linearGradient6781">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop6783" />
<stop
style="stop-color:#3465a4;stop-opacity:0;"
offset="1"
id="stop6785" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient6816"
id="radialGradient6822"
cx="33.369828"
cy="51.929391"
fx="33.369828"
fy="51.929391"
r="25.198714"
gradientTransform="matrix(1.1581633,0,0,0.6558985,-7.29237,16.126077)"
gradientUnits="userSpaceOnUse" />
<radialGradient
xlink:href="#linearGradient3253"
id="radialGradient3259"
cx="18.417862"
cy="17.013988"
fx="18.417862"
fy="17.013988"
r="27.986705"
gradientTransform="matrix(0.9724373,-0.105657,5.0523169e-2,0.4650009,-0.3519546,9.5854384)"
gradientUnits="userSpaceOnUse" />
<radialGradient
xlink:href="#linearGradient3253"
id="radialGradient3270"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9724373,-0.105657,0.05052317,0.4650009,-0.3519546,9.5854384)"
cx="18.417862"
cy="17.013988"
fx="18.417862"
fy="17.013988"
r="27.986705" />
<linearGradient
gradientTransform="translate(0,-2)"
xlink:href="#linearGradient3777"
id="linearGradient3783"
x1="53.896763"
y1="51.179787"
x2="47.502235"
y2="21.83742"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3777">
<stop
style="stop-color:#204a87;stop-opacity:1"
offset="0"
id="stop3779" />
<stop
style="stop-color:#3465a4;stop-opacity:1"
offset="1"
id="stop3781" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient4027"
id="linearGradient4033"
x1="26"
y1="54"
x2="20"
y2="20"
gradientUnits="userSpaceOnUse" />
</defs>
<metadata
id="metadata6253">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<path
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;opacity:0.6"
d="M 5,17 41,23 59,9 25,5 z"
id="path3961" />
<path
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;opacity:0.6"
d="M 59,9 59,43 41,59 41,23 z"
id="path2995" />
<path
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:13.2;opacity:0.6"
d="M 25,5 25,39 5,53 5,17 z"
id="path2995-1" />
<path
id="path3825-7"
d="M 25,5 59,9 59,43 25,39 z"
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6" />
<path
id="path3825-7-7"
d="M 25,5 59,9 59,43 25,39 z"
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6" />
<path
id="path3825"
d="M 5,17 41,23 41,59 5,53 z"
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6" />
<path
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1;opacity:0.6"
d="M 59,9 59,43 41,59 41,23 z"
id="path2995-7" />
<path
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:13.2;opacity:0.6"
d="M 25,5 25,39 5,53 5,17 z"
id="path2995-1-0" />
<path
id="path3825-9"
d="M 5,17 41,23 41,59 5,53 z"
style="fill:url(#linearGradient4033);stroke:#34e0e2;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;fill-opacity:1;opacity:0.26" />
<path
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;opacity:0.6"
d="M 5,17 25,5 59,9 41,23 z"
id="path3970" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@@ -0,0 +1,229 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64px"
height="64px"
id="svg6248"
version="1.1"
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/">
<defs
id="defs6250">
<linearGradient
id="linearGradient4027">
<stop
style="stop-color:#16d0d2;stop-opacity:1"
offset="0"
id="stop4029" />
<stop
style="stop-color:#34e0e2;stop-opacity:1"
offset="1"
id="stop4031" />
</linearGradient>
<linearGradient
id="linearGradient3253">
<stop
style="stop-color:#89d5f8;stop-opacity:1;"
offset="0"
id="stop3255" />
<stop
style="stop-color:#00899e;stop-opacity:1;"
offset="1"
id="stop3257" />
</linearGradient>
<linearGradient
id="linearGradient6816">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop6818" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop6820" />
</linearGradient>
<linearGradient
id="linearGradient6781">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop6783" />
<stop
style="stop-color:#3465a4;stop-opacity:0;"
offset="1"
id="stop6785" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient6816"
id="radialGradient6822"
cx="33.369828"
cy="51.929391"
fx="33.369828"
fy="51.929391"
r="25.198714"
gradientTransform="matrix(1.1581633,0,0,0.6558985,-7.29237,16.126077)"
gradientUnits="userSpaceOnUse" />
<radialGradient
xlink:href="#linearGradient3253"
id="radialGradient3259"
cx="18.417862"
cy="17.013988"
fx="18.417862"
fy="17.013988"
r="27.986705"
gradientTransform="matrix(0.9724373,-0.105657,5.0523169e-2,0.4650009,-0.3519546,9.5854384)"
gradientUnits="userSpaceOnUse" />
<radialGradient
xlink:href="#linearGradient3253"
id="radialGradient3270"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9724373,-0.105657,0.05052317,0.4650009,-0.3519546,9.5854384)"
cx="18.417862"
cy="17.013988"
fx="18.417862"
fy="17.013988"
r="27.986705" />
<linearGradient
gradientTransform="translate(0,-2)"
xlink:href="#linearGradient3777"
id="linearGradient3783"
x1="53.896763"
y1="51.179787"
x2="47.502235"
y2="21.83742"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3777">
<stop
style="stop-color:#204a87;stop-opacity:1"
offset="0"
id="stop3779" />
<stop
style="stop-color:#3465a4;stop-opacity:1"
offset="1"
id="stop3781" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient4027"
id="linearGradient4033"
x1="26"
y1="54"
x2="20"
y2="20"
gradientUnits="userSpaceOnUse" />
</defs>
<metadata
id="metadata6253">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<path
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;opacity:0.6"
d="M 5,17 41,23 59,9 25,5 z"
id="path3961" />
<path
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;opacity:0.6"
d="M 59,9 59,43 41,59 41,23 z"
id="path2995" />
<path
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:13.2;opacity:0.6"
d="M 25,5 25,39 5,53 5,17 z"
id="path2995-1" />
<path
id="path3825-7"
d="M 25,5 59,9 59,43 25,39 z"
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6" />
<path
id="path3825-7-7"
d="M 25,5 59,9 59,43 25,39 z"
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6" />
<path
id="path3825"
d="M 5,17 41,23 41,59 5,53 z"
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6" />
<path
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1;opacity:0.6"
d="M 59,9 59,43 41,59 41,23 z"
id="path2995-7" />
<path
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:13.2;opacity:0.6"
d="M 25,5 25,39 5,53 5,17 z"
id="path2995-1-0" />
<path
id="path3825-9"
d="M 5,17 41,23 41,59 5,53 z"
style="fill:url(#linearGradient4033);stroke:#34e0e2;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;fill-opacity:1;opacity:0.6" />
<path
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;opacity:0.6"
d="M 5,17 25,5 59,9 41,23 z"
id="path3970" />
<g
id="g1"
transform="translate(-36.269262,-0.42708358)">
<path
style="fill:none;fill-opacity:1;stroke:#a01717;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 75.306841,59.161314 v -36 z"
id="path2995-7-3-6" />
</g>
<g
id="g2-7"
transform="translate(-37.540097,-0.64435227)">
<path
style="fill:none;fill-opacity:1;stroke:#a01717;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 75.306841,59.161314 v -36 z"
id="path2995-7-3-6-5" />
</g>
<g
id="g2-6"
transform="translate(-38.891715,-0.92028713)">
<path
style="fill:none;fill-opacity:1;stroke:#a01717;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 75.306841,59.161314 v -36 z"
id="path2995-7-3-6-29" />
</g>
<g
id="g2"
transform="translate(-34.356832,-0.18472119)">
<path
style="fill:none;fill-opacity:1;stroke:#a01717;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 75.306841,59.161314 v -36 z"
id="path2995-7-3-6-7" />
</g>
<g
id="g2-5"
transform="translate(-32.382483,-0.21668723)">
<path
style="fill:none;fill-opacity:1;stroke:#a01717;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 75.306841,59.161314 v -36 z"
id="path2995-7-3-6-6" />
</g>
<g
id="g2-1"
transform="translate(-35.317912,-0.11103245)">
<path
style="fill:none;fill-opacity:1;stroke:#a01717;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 75.306841,59.161314 v -36 z"
id="path2995-7-3-6-2" />
</g>
<g
id="g2-9"
transform="translate(-33.580992,-0.19164672)">
<path
style="fill:none;fill-opacity:1;stroke:#a01717;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 75.306841,59.161314 v -36 z"
id="path2995-7-3-6-3" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@@ -0,0 +1,174 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64px"
height="64px"
id="svg6248"
version="1.1"
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/">
<defs
id="defs6250">
<linearGradient
id="linearGradient4027">
<stop
style="stop-color:#ca1414;stop-opacity:1;"
offset="0"
id="stop4029" />
<stop
style="stop-color:#730d0d;stop-opacity:1;"
offset="1"
id="stop4031" />
</linearGradient>
<linearGradient
id="linearGradient3253">
<stop
style="stop-color:#89d5f8;stop-opacity:1;"
offset="0"
id="stop3255" />
<stop
style="stop-color:#00899e;stop-opacity:1;"
offset="1"
id="stop3257" />
</linearGradient>
<linearGradient
id="linearGradient6816">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop6818" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop6820" />
</linearGradient>
<linearGradient
id="linearGradient6781">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop6783" />
<stop
style="stop-color:#3465a4;stop-opacity:0;"
offset="1"
id="stop6785" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient6816"
id="radialGradient6822"
cx="33.369828"
cy="51.929391"
fx="33.369828"
fy="51.929391"
r="25.198714"
gradientTransform="matrix(1.1581633,0,0,0.6558985,-7.29237,16.126077)"
gradientUnits="userSpaceOnUse" />
<radialGradient
xlink:href="#linearGradient3253"
id="radialGradient3259"
cx="18.417862"
cy="17.013988"
fx="18.417862"
fy="17.013988"
r="27.986705"
gradientTransform="matrix(0.9724373,-0.105657,5.0523169e-2,0.4650009,-0.3519546,9.5854384)"
gradientUnits="userSpaceOnUse" />
<radialGradient
xlink:href="#linearGradient3253"
id="radialGradient3270"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9724373,-0.105657,0.05052317,0.4650009,-0.3519546,9.5854384)"
cx="18.417862"
cy="17.013988"
fx="18.417862"
fy="17.013988"
r="27.986705" />
<linearGradient
gradientTransform="translate(0,-2)"
xlink:href="#linearGradient3777"
id="linearGradient3783"
x1="53.896763"
y1="51.179787"
x2="47.502235"
y2="21.83742"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3777">
<stop
style="stop-color:#204a87;stop-opacity:1"
offset="0"
id="stop3779" />
<stop
style="stop-color:#3465a4;stop-opacity:1"
offset="1"
id="stop3781" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient4027"
id="linearGradient4033"
x1="26"
y1="54"
x2="20"
y2="20"
gradientUnits="userSpaceOnUse" />
</defs>
<metadata
id="metadata6253">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<path
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;opacity:0.6"
d="M 5,17 41,23 59,9 25,5 z"
id="path3961" />
<path
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;opacity:0.6"
d="M 59,9 59,43 41,59 41,23 z"
id="path2995" />
<path
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:13.2;opacity:0.6"
d="M 25,5 25,39 5,53 5,17 z"
id="path2995-1" />
<path
id="path3825-7"
d="M 25,5 59,9 59,43 25,39 z"
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6" />
<path
id="path3825-7-7"
d="M 25,5 59,9 59,43 25,39 z"
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6" />
<path
id="path3825"
d="M 5,17 41,23 41,59 5,53 z"
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6" />
<path
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1;opacity:0.6"
d="M 59,9 59,43 41,59 41,23 z"
id="path2995-7" />
<path
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:13.2;opacity:0.6"
d="M 25,5 25,39 5,53 5,17 z"
id="path2995-1-0" />
<path
id="path3825-9"
d="M 5,17 41,23 41,59 5,53 z"
style="fill:url(#linearGradient4033);stroke:#34e0e2;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;fill-opacity:1;opacity:1" />
<path
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;opacity:0.6"
d="M 5,17 25,5 59,9 41,23 z"
id="path3970" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@@ -91,6 +91,11 @@
<file>sel-forward.svg</file>
<file>sel-instance.svg</file>
<file>sel-bbox.svg</file>
<file>vertex-selection.svg</file>
<file>edge-selection.svg</file>
<file>face-selection.svg</file>
<file>clear-selection.svg</file>
<file>selection-filter.svg</file>
<file>help-browser.svg</file>
<file>preferences-system.svg</file>
<file>process-stop.svg</file>

View File

@@ -0,0 +1,545 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
id="svg2568"
height="64px"
width="64px"
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/">
<defs
id="defs2570">
<linearGradient
id="linearGradient3864">
<stop
style="stop-color:#71b2f8;stop-opacity:1;"
offset="0"
id="stop3866" />
<stop
style="stop-color:#002795;stop-opacity:1;"
offset="1"
id="stop3868" />
</linearGradient>
<linearGradient
id="linearGradient3377">
<stop
style="stop-color:#71b2f8;stop-opacity:1;"
offset="0"
id="stop3379" />
<stop
style="stop-color:#002795;stop-opacity:1;"
offset="1"
id="stop3381" />
</linearGradient>
<linearGradient
id="linearGradient3023">
<stop
style="stop-color:#71b2f8;stop-opacity:1;"
offset="0"
id="stop3025" />
<stop
style="stop-color:#002795;stop-opacity:1;"
offset="1"
id="stop3027" />
</linearGradient>
<radialGradient
gradientUnits="userSpaceOnUse"
r="19.467436"
fy="28.869568"
fx="45.883327"
cy="28.869568"
cx="45.883327"
id="radialGradient3692"
xlink:href="#linearGradient3377" />
<linearGradient
id="linearGradient3030">
<stop
style="stop-color:#71b2f8;stop-opacity:1;"
offset="0"
id="stop3032" />
<stop
style="stop-color:#002795;stop-opacity:1;"
offset="1"
id="stop3034" />
</linearGradient>
<radialGradient
r="19.467436"
fy="81.869568"
fx="148.88333"
cy="81.869568"
cx="148.88333"
gradientTransform="matrix(0.98773287,-0.06324662,0.02642229,1.230404,-216.68819,-80.013158)"
gradientUnits="userSpaceOnUse"
id="radialGradient3837"
xlink:href="#linearGradient3377" />
<radialGradient
r="19.467436"
fy="97.369568"
fx="135.38333"
cy="97.369568"
cx="135.38333"
gradientTransform="matrix(0.69474204,0.27707782,-0.32964185,2.4645588,-139.05338,-247.09727)"
gradientUnits="userSpaceOnUse"
id="radialGradient3839"
xlink:href="#linearGradient3377" />
<radialGradient
r="19.467436"
fy="28.869568"
fx="45.883327"
cy="28.869568"
cx="45.883327"
gradientTransform="matrix(0.71303129,0,0,1.2312496,-173.62652,-89.498759)"
gradientUnits="userSpaceOnUse"
id="radialGradient3841"
xlink:href="#linearGradient3377" />
<linearGradient
id="linearGradient3794">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop3796" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop3798" />
</linearGradient>
<linearGradient
gradientTransform="translate(0,-4)"
xlink:href="#linearGradient3767"
id="linearGradient3773"
x1="22.116516"
y1="55.717518"
x2="17.328547"
y2="21.31134"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3767">
<stop
style="stop-color:#3465a4;stop-opacity:1"
offset="0"
id="stop3769" />
<stop
style="stop-color:#729fcf;stop-opacity:1"
offset="1"
id="stop3771" />
</linearGradient>
<linearGradient
gradientTransform="translate(0,-4)"
xlink:href="#linearGradient3777"
id="linearGradient3783"
x1="53.896763"
y1="51.179787"
x2="47.502235"
y2="21.83742"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3777">
<stop
style="stop-color:#204a87;stop-opacity:1"
offset="0"
id="stop3779" />
<stop
style="stop-color:#3465a4;stop-opacity:1"
offset="1"
id="stop3781" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3794"
id="radialGradient3800"
cx="1"
cy="45"
fx="1"
fy="45"
r="41"
gradientTransform="matrix(0.93348213,-2.2905276e-8,0,0.28687573,0.06651751,32.090592)"
gradientUnits="userSpaceOnUse" />
<linearGradient
gradientTransform="matrix(0.54576533,0,0,1,0.478854,-2.5327864)"
xlink:href="#linearGradient3777"
id="linearGradient3783-3"
x1="52.258991"
y1="44.532787"
x2="46.762123"
y2="27.532787"
gradientUnits="userSpaceOnUse" />
<linearGradient
gradientTransform="matrix(0.54576533,0,0,1,-13.236968,4.1776016)"
xlink:href="#linearGradient3777"
id="linearGradient3783-3-3"
x1="37.079983"
y1="43.822399"
x2="48.247574"
y2="30.922165"
gradientUnits="userSpaceOnUse" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="48.5"
x2="29.084745"
y1="52.5"
x1="33"
id="linearGradient845"
xlink:href="#linearGradient3777" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3692-0"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436"
gradientUnits="userSpaceOnUse" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3837-6"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.98773287,-0.06324662,0.02642229,1.230404,-216.68819,-80.013158)"
cx="148.88333"
cy="81.869568"
fx="148.88333"
fy="81.869568"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3839-0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.69474204,0.27707782,-0.32964185,2.4645588,-139.05338,-247.09727)"
cx="135.38333"
cy="97.369568"
fx="135.38333"
fy="97.369568"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3841-6"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.71303129,0,0,1.2312496,-173.62652,-89.498759)"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3804-2"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.98773287,-0.06324662,0.02642229,1.230404,-216.68819,-80.013158)"
cx="148.88333"
cy="81.869568"
fx="148.88333"
fy="81.869568"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3806-6"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.69474204,0.27707782,-0.32964185,2.4645588,-139.05338,-247.09727)"
cx="135.38333"
cy="97.369568"
fx="135.38333"
fy="97.369568"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3808-1"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.71303129,0,0,1.2312496,-173.62652,-89.498759)"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436" />
<linearGradient
xlink:href="#linearGradient4287"
id="linearGradient4293"
x1="25.559771"
y1="48.403759"
x2="31.477535"
y2="52.710686"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient4287">
<stop
id="stop4289"
offset="0"
style="stop-color:#f87c71;stop-opacity:1;" />
<stop
id="stop4291"
offset="1"
style="stop-color:#ff0000;stop-opacity:1;" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient4287"
id="radialGradient4285"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-0.54355955,-0.69959567,1.0924249,-0.61410558,95.667642,203.16161)"
cx="112.7718"
cy="66.255531"
fx="112.7718"
fy="66.255531"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3098"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.98773287,-0.06324662,0.02642229,1.230404,-216.68819,-80.013158)"
cx="148.88333"
cy="81.869568"
fx="148.88333"
fy="81.869568"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3100"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.69474204,0.27707782,-0.32964185,2.4645588,-139.05338,-247.09727)"
cx="135.38333"
cy="97.369568"
fx="135.38333"
fy="97.369568"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3102"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.71303129,0,0,1.2312496,-173.62652,-89.498759)"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436" />
<linearGradient
xlink:href="#linearGradient3994-3"
id="linearGradient4000-2"
x1="62.000004"
y1="34"
x2="52"
y2="34"
gradientUnits="userSpaceOnUse"
spreadMethod="reflect"
gradientTransform="matrix(0.87648555,0,0,1.1068128,0.81760416,1.3277733)" />
<linearGradient
id="linearGradient3994-3">
<stop
style="stop-color:#a40000;stop-opacity:1"
offset="0"
id="stop3996-7" />
<stop
style="stop-color:#ef2929;stop-opacity:1"
offset="1"
id="stop3998-5" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3692-7"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436"
gradientUnits="userSpaceOnUse" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3837-5"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.98773287,-0.06324662,0.02642229,1.230404,-216.68819,-80.013158)"
cx="148.88333"
cy="81.869568"
fx="148.88333"
fy="81.869568"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3839-03"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.69474204,0.27707782,-0.32964185,2.4645588,-139.05338,-247.09727)"
cx="135.38333"
cy="97.369568"
fx="135.38333"
fy="97.369568"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3841-61"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.71303129,0,0,1.2312496,-173.62652,-89.498759)"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3804-0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.98773287,-0.06324662,0.02642229,1.230404,-216.68819,-80.013158)"
cx="148.88333"
cy="81.869568"
fx="148.88333"
fy="81.869568"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3806-63"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.69474204,0.27707782,-0.32964185,2.4645588,-139.05338,-247.09727)"
cx="135.38333"
cy="97.369568"
fx="135.38333"
fy="97.369568"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3808-2"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.71303129,0,0,1.2312496,-173.62652,-89.498759)"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient4287"
id="radialGradient4285-1"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-0.54355955,-0.69959567,1.0924249,-0.61410558,95.667642,203.16161)"
cx="112.7718"
cy="66.255531"
fx="112.7718"
fy="66.255531"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3098-5"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.98773287,-0.06324662,0.02642229,1.230404,-216.68819,-80.013158)"
cx="148.88333"
cy="81.869568"
fx="148.88333"
fy="81.869568"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3100-5"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.69474204,0.27707782,-0.32964185,2.4645588,-139.05338,-247.09727)"
cx="135.38333"
cy="97.369568"
fx="135.38333"
fy="97.369568"
r="19.467436" />
<radialGradient
xlink:href="#linearGradient3864"
id="radialGradient3102-4"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.71303129,0,0,1.2312496,-173.62652,-89.498759)"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436" />
<linearGradient
y2="21.83742"
x2="47.502235"
y1="51.179787"
x1="53.896763"
gradientTransform="translate(0,-4)"
gradientUnits="userSpaceOnUse"
id="linearGradient1905"
xlink:href="#linearGradient3777" />
<linearGradient
y2="21.31134"
x2="17.328547"
y1="55.717518"
x1="22.116516"
gradientTransform="translate(0,-4)"
gradientUnits="userSpaceOnUse"
id="linearGradient1907"
xlink:href="#linearGradient3767" />
<linearGradient
xlink:href="#linearGradient4027"
id="linearGradient4033"
x1="26"
y1="54"
x2="20"
y2="20"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient4027">
<stop
style="stop-color:#16d0d2;stop-opacity:1"
offset="0"
id="stop4029" />
<stop
style="stop-color:#34e0e2;stop-opacity:1"
offset="1"
id="stop4031" />
</linearGradient>
</defs>
<metadata
id="metadata6253">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
transform="matrix(0.61881262,0,0,0.61184279,12.53438,0.81412326)">
<path
style="opacity:0.6;fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="M 5,17 41,23 59,9 25,5 Z"
id="path3961" />
<path
style="opacity:0.6;fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="M 59,9 V 43 L 41,59 V 23 Z"
id="path2995" />
<path
style="opacity:0.6;fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:6, 12;stroke-dashoffset:13.2;stroke-opacity:1"
d="M 25,5 V 39 L 5,53 V 17 Z"
id="path2995-1" />
<path
id="path3825-7"
d="M 25,5 59,9 V 43 L 25,39 Z"
style="display:inline;overflow:visible;visibility:visible;opacity:0.6;fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:6, 12;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
<path
id="path3825-7-7"
d="M 25,5 59,9 V 43 L 25,39 Z"
style="display:inline;overflow:visible;visibility:visible;opacity:0.6;fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:6, 12;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
<path
id="path3825"
d="m 5,17 36,6 V 59 L 5,53 Z"
style="display:inline;overflow:visible;visibility:visible;opacity:0.6;fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
<path
style="opacity:0.6;fill:none;fill-opacity:1;stroke:#34e0e2;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="M 59,9 V 43 L 41,59 V 23 Z"
id="path2995-7" />
<path
style="opacity:0.6;fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:6, 12;stroke-dashoffset:13.2;stroke-opacity:1"
d="M 25,5 V 39 L 5,53 V 17 Z"
id="path2995-1-0" />
<path
id="path3825-9"
d="m 5,17 36,6 V 59 L 5,53 Z"
style="display:inline;overflow:visible;visibility:visible;opacity:0.26;fill:url(#linearGradient4033);fill-opacity:1;stroke:#34e0e2;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
<path
style="opacity:0.6;fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 5,17 25,5 59,9 41,23 Z"
id="path3970" />
</g>
<path
id="path1628"
d="m 4.2024651,27.581734 h 5.9999999 v 6.126833 l 44.000001,-0.126833 v -6 h 6 v 12 l -16,9 v 12 h -24 v -12 l -16.0000009,-9 z"
style="fill:#9b3535;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
style="fill:#ff8080;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 10.202465,33.581734 h 44.000001 v 5 l -14,8 v 14.5 h -16 v -14.5 l -14.000001,-8 z"
id="path1926" />
</svg>

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -0,0 +1,180 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64px"
height="64px"
id="svg6248"
version="1.1"
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/">
<defs
id="defs6250">
<linearGradient
id="linearGradient4027">
<stop
style="stop-color:#16d0d2;stop-opacity:1"
offset="0"
id="stop4029" />
<stop
style="stop-color:#34e0e2;stop-opacity:1"
offset="1"
id="stop4031" />
</linearGradient>
<linearGradient
id="linearGradient3253">
<stop
style="stop-color:#89d5f8;stop-opacity:1;"
offset="0"
id="stop3255" />
<stop
style="stop-color:#00899e;stop-opacity:1;"
offset="1"
id="stop3257" />
</linearGradient>
<linearGradient
id="linearGradient6816">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop6818" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop6820" />
</linearGradient>
<linearGradient
id="linearGradient6781">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop6783" />
<stop
style="stop-color:#3465a4;stop-opacity:0;"
offset="1"
id="stop6785" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient6816"
id="radialGradient6822"
cx="33.369828"
cy="51.929391"
fx="33.369828"
fy="51.929391"
r="25.198714"
gradientTransform="matrix(1.1581633,0,0,0.6558985,-7.29237,16.126077)"
gradientUnits="userSpaceOnUse" />
<radialGradient
xlink:href="#linearGradient3253"
id="radialGradient3259"
cx="18.417862"
cy="17.013988"
fx="18.417862"
fy="17.013988"
r="27.986705"
gradientTransform="matrix(0.9724373,-0.105657,5.0523169e-2,0.4650009,-0.3519546,9.5854384)"
gradientUnits="userSpaceOnUse" />
<radialGradient
xlink:href="#linearGradient3253"
id="radialGradient3270"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9724373,-0.105657,0.05052317,0.4650009,-0.3519546,9.5854384)"
cx="18.417862"
cy="17.013988"
fx="18.417862"
fy="17.013988"
r="27.986705" />
<linearGradient
gradientTransform="translate(0,-2)"
xlink:href="#linearGradient3777"
id="linearGradient3783"
x1="53.896763"
y1="51.179787"
x2="47.502235"
y2="21.83742"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3777">
<stop
style="stop-color:#204a87;stop-opacity:1"
offset="0"
id="stop3779" />
<stop
style="stop-color:#3465a4;stop-opacity:1"
offset="1"
id="stop3781" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient4027"
id="linearGradient4033"
x1="26"
y1="54"
x2="20"
y2="20"
gradientUnits="userSpaceOnUse" />
</defs>
<metadata
id="metadata6253">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<path
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;opacity:0.6"
d="M 5,17 41,23 59,9 25,5 z"
id="path3961" />
<path
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;opacity:0.6"
d="M 59,9 59,43 41,59 41,23 z"
id="path2995" />
<path
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:13.2;opacity:0.6"
d="M 25,5 25,39 5,53 5,17 z"
id="path2995-1" />
<path
id="path3825-7"
d="M 25,5 59,9 59,43 25,39 z"
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6" />
<path
id="path3825-7-7"
d="M 25,5 59,9 59,43 25,39 z"
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6" />
<path
id="path3825"
d="M 5,17 41,23 41,59 5,53 z"
style="fill:none;stroke:#042a2a;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6" />
<path
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1;opacity:0.6"
d="M 59,9 59,43 41,59 41,23 z"
id="path2995-7" />
<path
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:6, 12;stroke-dashoffset:13.2;opacity:0.6"
d="M 25,5 25,39 5,53 5,17 z"
id="path2995-1-0" />
<path
id="path3825-9"
d="M 5,17 41,23 41,59 5,53 z"
style="fill:url(#linearGradient4033);stroke:#34e0e2;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;fill-opacity:1;opacity:0.6" />
<path
style="fill:none;stroke:#34e0e2;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;opacity:0.6"
d="M 5,17 25,5 59,9 41,23 z"
id="path3970" />
<ellipse
style="opacity:1;fill:#aa0000;stroke:#a01717;stroke-width:5.17639"
id="path1"
cx="40.750065"
cy="21.741346"
rx="6.5032139"
ry="6.4134073" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@@ -584,8 +584,10 @@ void StdWorkbench::setupContextMenu(const char* recipient, MenuItem* item) const
measure->setCommand("Measure");
*measure << "View_Measure_Toggle_All" << "View_Measure_Clear_All";
*item << "Std_ViewFitAll" << "Std_ViewFitSelection" << "Std_DrawStyle" << StdViews << measure
<< "Separator" << "Std_ViewDockUndockFullscreen";
*item << "Std_ViewFitAll" << "Std_ViewFitSelection" << "Std_DrawStyle"
<< StdViews << measure << "Std_SelectFilter" << "Separator"
<< "Std_ViewDockUndockFullscreen";
if (Gui::Selection().countObjectsOfType(App::DocumentObject::getClassTypeId()) > 0) {
*item << "Separator" << "Std_SetAppearance" << "Std_ToggleVisibility"
@@ -792,7 +794,7 @@ ToolBarItem* StdWorkbench::setupToolBars() const
<< "Separator" << "Std_SelBack" << "Std_SelForward" << "Std_LinkSelectActions"
<< "Separator" << "Std_TreeViewActions" << "Std_ViewIsometric" << "Separator" << "Std_ViewFront"
<< "Std_ViewTop" << "Std_ViewRight" << "Separator" << "Std_ViewRear" << "Std_ViewBottom"
<< "Std_ViewLeft" << "Separator" << "Std_MeasureDistance" ;
<< "Std_ViewLeft" << "Std_SelectFilter" << "Separator" << "Std_MeasureDistance" ;
// Structure
auto structure = new ToolBarItem( root );
@@ -816,7 +818,8 @@ ToolBarItem* StdWorkbench::setupCommandBars() const
view->setCommand("Standard views");
*view << "Std_ViewFitAll" << "Std_ViewFitSelection" << "Std_ViewIsometric" << "Separator"
<< "Std_ViewFront" << "Std_ViewRight" << "Std_ViewTop" << "Separator"
<< "Std_ViewRear" << "Std_ViewLeft" << "Std_ViewBottom";
<< "Std_ViewRear" << "Std_ViewLeft" << "Std_ViewBottom" << "Std_SelectFilter";
// Special Ops
auto macro = new ToolBarItem( root );
macro->setCommand("Special Ops");