Sketcher: Offset DSH
This commit is contained in:
@@ -74,6 +74,7 @@ SET(SketcherGui_SRCS
|
||||
DrawSketchHandlerExternal.h
|
||||
DrawSketchHandlerCarbonCopy.h
|
||||
DrawSketchHandlerSlot.h
|
||||
DrawSketchHandlerOffset.h
|
||||
CommandCreateGeo.cpp
|
||||
CommandConstraints.h
|
||||
CommandConstraints.cpp
|
||||
|
||||
@@ -50,6 +50,8 @@
|
||||
#include "Utils.h"
|
||||
#include "ViewProviderSketch.h"
|
||||
|
||||
#include "DrawSketchHandlerOffset.h"
|
||||
|
||||
// Hint: this is to prevent to re-format big parts of the file. Remove it later again.
|
||||
// clang-format off
|
||||
using namespace std;
|
||||
@@ -2253,6 +2255,66 @@ bool CmdSketcherRemoveAxesAlignment::isActive()
|
||||
return isCommandActive(getActiveGuiDocument(), true);
|
||||
}
|
||||
|
||||
|
||||
// Offset tool =====================================================================
|
||||
DEF_STD_CMD_A(CmdSketcherOffset)
|
||||
|
||||
CmdSketcherOffset::CmdSketcherOffset()
|
||||
: Command("Sketcher_Offset")
|
||||
{
|
||||
sAppModule = "Sketcher";
|
||||
sGroup = "Sketcher";
|
||||
sMenuText = QT_TR_NOOP("Offset geometries");
|
||||
sToolTipText = QT_TR_NOOP("Offset selected geometries. A positive offset length makes the offset go outward, a negative length inward.");
|
||||
sWhatsThis = "Sketcher_Offset";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_Offset";
|
||||
sAccel = "Z, O";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
void CmdSketcherOffset::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
std::vector<int> listOfGeoIds = {};
|
||||
|
||||
// get the selection
|
||||
std::vector<Gui::SelectionObject> selection;
|
||||
selection = getSelection().getSelectionEx(0, Sketcher::SketchObject::getClassTypeId());
|
||||
|
||||
// only one sketch with its subelements are allowed to be selected
|
||||
if (selection.size() != 1) {
|
||||
Gui::TranslatedUserWarning(
|
||||
getActiveGuiDocument(),
|
||||
QObject::tr("Wrong selection"),
|
||||
QObject::tr("Select elements from a single sketch."));
|
||||
return;
|
||||
}
|
||||
|
||||
// get the needed lists and objects
|
||||
const std::vector<std::string>& SubNames = selection[0].getSubNames();
|
||||
if (!SubNames.empty()) {
|
||||
for (std::vector<std::string>::const_iterator it = SubNames.begin(); it != SubNames.end(); ++it) {
|
||||
// only handle non-external edges
|
||||
if (it->size() > 4 && it->substr(0, 4) == "Edge") {
|
||||
int geoId = std::atoi(it->substr(4, 4000).c_str()) - 1;
|
||||
if (geoId >= 0) {
|
||||
listOfGeoIds.push_back(geoId);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ActivateHandler(getActiveGuiDocument(), new DrawSketchHandlerOffset(listOfGeoIds));
|
||||
}
|
||||
|
||||
bool CmdSketcherOffset::isActive(void)
|
||||
{
|
||||
return isCommandActive(getActiveGuiDocument(), true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void CreateSketcherCommandsConstraintAccel()
|
||||
{
|
||||
Gui::CommandManager& rcCmdMgr = Gui::Application::Instance->commandManager();
|
||||
@@ -2268,6 +2330,7 @@ void CreateSketcherCommandsConstraintAccel()
|
||||
rcCmdMgr.addCommand(new CmdSketcherSelectElementsAssociatedWithConstraints());
|
||||
rcCmdMgr.addCommand(new CmdSketcherSelectElementsWithDoFs());
|
||||
rcCmdMgr.addCommand(new CmdSketcherRestoreInternalAlignmentGeometry());
|
||||
rcCmdMgr.addCommand(new CmdSketcherOffset());
|
||||
rcCmdMgr.addCommand(new CmdSketcherSymmetry());
|
||||
rcCmdMgr.addCommand(new CmdSketcherCopy());
|
||||
rcCmdMgr.addCommand(new CmdSketcherClone());
|
||||
|
||||
1142
src/Mod/Sketcher/Gui/DrawSketchHandlerOffset.h
Normal file
1142
src/Mod/Sketcher/Gui/DrawSketchHandlerOffset.h
Normal file
File diff suppressed because it is too large
Load Diff
@@ -271,6 +271,9 @@
|
||||
<file>icons/tools/Sketcher_SelectRedundantConstraints.svg</file>
|
||||
<file>icons/tools/Sketcher_SelectVerticalAxis.svg</file>
|
||||
<file>icons/tools/Sketcher_Symmetry.svg</file>
|
||||
<file>icons/tools/Sketcher_Offset.svg</file>
|
||||
<file>icons/tools/Sketcher_OffsetArc.svg</file>
|
||||
<file>icons/tools/Sketcher_OffsetIntersection.svg</file>
|
||||
</qresource>
|
||||
<qresource>
|
||||
<file>icons/dialogs/Sketcher_Settings.svg</file>
|
||||
|
||||
195
src/Mod/Sketcher/Gui/Resources/icons/tools/Sketcher_Offset.svg
Normal file
195
src/Mod/Sketcher/Gui/Resources/icons/tools/Sketcher_Offset.svg
Normal file
@@ -0,0 +1,195 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg3136"
|
||||
height="64px"
|
||||
width="64px"
|
||||
sodipodi:docname="Sketcher_Offset.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="namedview25"
|
||||
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="5.8828125"
|
||||
inkscape:cx="5.3545817"
|
||||
inkscape:cy="38.416999"
|
||||
inkscape:window-width="3840"
|
||||
inkscape:window-height="1570"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg3136" />
|
||||
<defs
|
||||
id="defs3138">
|
||||
<linearGradient
|
||||
id="linearGradient3802">
|
||||
<stop
|
||||
id="stop3804"
|
||||
offset="0"
|
||||
style="stop-color:#729fcf;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3806"
|
||||
offset="1"
|
||||
style="stop-color:#204a87;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3841">
|
||||
<stop
|
||||
id="stop3843"
|
||||
offset="0"
|
||||
style="stop-color:#0619c0;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3845"
|
||||
offset="1"
|
||||
style="stop-color:#379cfb;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
gradientTransform="translate(1,0)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="31.75"
|
||||
x2="37"
|
||||
y1="31.75"
|
||||
x1="19.25"
|
||||
id="linearGradient4243"
|
||||
xlink:href="#linearGradient3841" />
|
||||
<linearGradient
|
||||
y2="2560.25"
|
||||
x2="1270.7085"
|
||||
y1="2560.25"
|
||||
x1="844.9165"
|
||||
gradientTransform="matrix(0.1390891,0,0,0.1390891,-116.65366,-325.33528)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient4246"
|
||||
xlink:href="#linearGradient3841" />
|
||||
<linearGradient
|
||||
gradientTransform="translate(1)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="56"
|
||||
x2="44"
|
||||
y1="4"
|
||||
x1="29"
|
||||
id="linearGradient3808"
|
||||
xlink:href="#linearGradient3802" />
|
||||
<linearGradient
|
||||
gradientTransform="matrix(0.35072612,0,0,0.35072612,18.762241,21.142012)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="56"
|
||||
x2="44"
|
||||
y1="4"
|
||||
x1="29"
|
||||
id="linearGradient3808-7"
|
||||
xlink:href="#linearGradient3802-5" />
|
||||
<linearGradient
|
||||
id="linearGradient3802-5">
|
||||
<stop
|
||||
id="stop3804-3"
|
||||
offset="0"
|
||||
style="stop-color:#729fcf;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3806-5"
|
||||
offset="1"
|
||||
style="stop-color:#204a87;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3836-0-6-4"
|
||||
id="linearGradient3801-1-3-7"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="-18"
|
||||
y1="18"
|
||||
x2="-22"
|
||||
y2="5" />
|
||||
<linearGradient
|
||||
id="linearGradient3836-0-6-4">
|
||||
<stop
|
||||
style="stop-color:#a40000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3838-2-7-0" />
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3840-5-5-9" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<path
|
||||
id="path2996"
|
||||
d="M 8,19 19,8 h 35 v 26 c 0,9 -8,22 -24,22"
|
||||
style="fill:none;stroke:#2e3436;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
id="path2996-3"
|
||||
d="M 8,19 19,8 h 35 v 26 c 0,9 -8,22 -24,22"
|
||||
style="fill:none;stroke:#d3d7cf;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
id="path2996-3-6"
|
||||
d="M 7.03125,18.59375 18.6875,6.9375 54.353553,7 M 53,11 v 22 c 0,9 -7,22 -23,22"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
id="path2996-6"
|
||||
d="M 21,28 25.075311,23.947821 38,24 v 9 c 0,3.156535 -3.388382,8 -9,8"
|
||||
style="fill:none;stroke:#2e3436;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
id="path2996-3-2"
|
||||
d="M 21,28 25.075311,23.947821 38,24 v 9.118879 C 38,36.275414 34.611618,41 29,41"
|
||||
style="fill:none;stroke:#d3d7cf;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
id="path2996-3-6-9"
|
||||
d="M 20.158808,27.44735 25,23 h 13 m -1,4.096525 V 32 c 0,4 -3,8 -8,8"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<metadata
|
||||
id="metadata5033">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<cc:license
|
||||
rdf:resource="" />
|
||||
<dc:date>Mon Oct 10 13:44:52 2011 +0000</dc:date>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[wmayer]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Draft/Resources/icons/Draft_Offset.svg</dc:identifier>
|
||||
<dc:relation>http://www.freecadweb.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
<dc:subject>
|
||||
<rdf:Bag>
|
||||
<rdf:li>offset</rdf:li>
|
||||
</rdf:Bag>
|
||||
</dc:subject>
|
||||
<dc:description>An angled and curved shape nested within a similar, but larger version of itself</dc:description>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.2 KiB |
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg3136"
|
||||
height="64px"
|
||||
width="64px"
|
||||
sodipodi:docname="Sketcher_OffsetArc.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="namedview25"
|
||||
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="5.8828125"
|
||||
inkscape:cx="22.52324"
|
||||
inkscape:cy="24.308101"
|
||||
inkscape:window-width="1500"
|
||||
inkscape:window-height="978"
|
||||
inkscape:window-x="-6"
|
||||
inkscape:window-y="-6"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg3136" />
|
||||
<defs
|
||||
id="defs3138">
|
||||
<linearGradient
|
||||
id="linearGradient3802">
|
||||
<stop
|
||||
id="stop3804"
|
||||
offset="0"
|
||||
style="stop-color:#729fcf;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3806"
|
||||
offset="1"
|
||||
style="stop-color:#204a87;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3841">
|
||||
<stop
|
||||
id="stop3843"
|
||||
offset="0"
|
||||
style="stop-color:#0619c0;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3845"
|
||||
offset="1"
|
||||
style="stop-color:#379cfb;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
gradientTransform="translate(1,0)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="31.75"
|
||||
x2="37"
|
||||
y1="31.75"
|
||||
x1="19.25"
|
||||
id="linearGradient4243"
|
||||
xlink:href="#linearGradient3841" />
|
||||
<linearGradient
|
||||
y2="2560.25"
|
||||
x2="1270.7085"
|
||||
y1="2560.25"
|
||||
x1="844.9165"
|
||||
gradientTransform="matrix(0.1390891,0,0,0.1390891,-116.65366,-325.33528)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient4246"
|
||||
xlink:href="#linearGradient3841" />
|
||||
<linearGradient
|
||||
gradientTransform="translate(1)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="56"
|
||||
x2="44"
|
||||
y1="4"
|
||||
x1="29"
|
||||
id="linearGradient3808"
|
||||
xlink:href="#linearGradient3802" />
|
||||
<linearGradient
|
||||
gradientTransform="matrix(0.35072612,0,0,0.35072612,18.762241,21.142012)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="56"
|
||||
x2="44"
|
||||
y1="4"
|
||||
x1="29"
|
||||
id="linearGradient3808-7"
|
||||
xlink:href="#linearGradient3802-5" />
|
||||
<linearGradient
|
||||
id="linearGradient3802-5">
|
||||
<stop
|
||||
id="stop3804-3"
|
||||
offset="0"
|
||||
style="stop-color:#729fcf;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3806-5"
|
||||
offset="1"
|
||||
style="stop-color:#204a87;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3836-0-6-4"
|
||||
id="linearGradient3801-1-3-7"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="-18"
|
||||
y1="18"
|
||||
x2="-22"
|
||||
y2="5" />
|
||||
<linearGradient
|
||||
id="linearGradient3836-0-6-4">
|
||||
<stop
|
||||
style="stop-color:#a40000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3838-2-7-0" />
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3840-5-5-9" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<path
|
||||
id="path2996"
|
||||
d="M 6.5999925,17.374804 32.887133,17.253918 c 0,0 11.472924,0.284316 17.811866,6.769642 6.338941,6.485328 5.681663,15.821017 5.681663,15.821017 v 14.510154"
|
||||
style="fill:none;stroke:#2e3436;stroke-width:11.3785;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
sodipodi:nodetypes="cczcc" />
|
||||
<path
|
||||
id="path2996-3"
|
||||
d="M 6.5999925,17.374804 H 31.920042 c 0,0 13.955461,0.01495 19.504275,7.615848 5.548813,7.600898 4.956345,15.095698 4.956345,15.095698 v 14.268381"
|
||||
style="fill:none;stroke:#d3d7cf;stroke-width:5.68922;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
sodipodi:nodetypes="cczcc" />
|
||||
<path
|
||||
id="path2996-3-6"
|
||||
d="m 6.1555223,15.863605 25.8856167,0.04536 c 6.66608,-0.152922 14.025735,2.415434 17.830968,5.604311 m -0.595414,3.392376 c 4.754868,4.455799 5.762255,10.604009 5.681665,15.059808 v 12.966963"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:2.8446;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
sodipodi:nodetypes="cccccc" />
|
||||
<path
|
||||
id="path2996-6"
|
||||
d="m 15.240937,40.057468 18.382848,0.07421 v 12.800745"
|
||||
style="fill:none;stroke:#2e3436;stroke-width:11.3785;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
<path
|
||||
id="path2996-3-2"
|
||||
d="m 15.240937,40.057468 18.382848,0.07421 v 12.969826"
|
||||
style="fill:none;stroke:#d3d7cf;stroke-width:5.68922;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
<path
|
||||
id="path2996-3-6-9"
|
||||
d="m 15.133821,38.709377 h 18.489964 m -1.422306,5.826508 v 6.974236"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:2.8446;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<metadata
|
||||
id="metadata5033">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<cc:license
|
||||
rdf:resource="" />
|
||||
<dc:date>Mon Oct 10 13:44:52 2011 +0000</dc:date>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[wmayer]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Draft/Resources/icons/Draft_Offset.svg</dc:identifier>
|
||||
<dc:relation>http://www.freecadweb.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
<dc:subject>
|
||||
<rdf:Bag>
|
||||
<rdf:li>offset</rdf:li>
|
||||
</rdf:Bag>
|
||||
</dc:subject>
|
||||
<dc:description>An angled and curved shape nested within a similar, but larger version of itself</dc:description>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.7 KiB |
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg3136"
|
||||
height="64px"
|
||||
width="64px"
|
||||
sodipodi:docname="Sketcher_OffsetIntersection.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="namedview25"
|
||||
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="5.8828125"
|
||||
inkscape:cx="5.3545817"
|
||||
inkscape:cy="38.416999"
|
||||
inkscape:window-width="1500"
|
||||
inkscape:window-height="978"
|
||||
inkscape:window-x="-6"
|
||||
inkscape:window-y="-6"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg3136" />
|
||||
<defs
|
||||
id="defs3138">
|
||||
<linearGradient
|
||||
id="linearGradient3802">
|
||||
<stop
|
||||
id="stop3804"
|
||||
offset="0"
|
||||
style="stop-color:#729fcf;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3806"
|
||||
offset="1"
|
||||
style="stop-color:#204a87;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3841">
|
||||
<stop
|
||||
id="stop3843"
|
||||
offset="0"
|
||||
style="stop-color:#0619c0;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3845"
|
||||
offset="1"
|
||||
style="stop-color:#379cfb;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
gradientTransform="translate(1,0)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="31.75"
|
||||
x2="37"
|
||||
y1="31.75"
|
||||
x1="19.25"
|
||||
id="linearGradient4243"
|
||||
xlink:href="#linearGradient3841" />
|
||||
<linearGradient
|
||||
y2="2560.25"
|
||||
x2="1270.7085"
|
||||
y1="2560.25"
|
||||
x1="844.9165"
|
||||
gradientTransform="matrix(0.1390891,0,0,0.1390891,-116.65366,-325.33528)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient4246"
|
||||
xlink:href="#linearGradient3841" />
|
||||
<linearGradient
|
||||
gradientTransform="translate(1)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="56"
|
||||
x2="44"
|
||||
y1="4"
|
||||
x1="29"
|
||||
id="linearGradient3808"
|
||||
xlink:href="#linearGradient3802" />
|
||||
<linearGradient
|
||||
gradientTransform="matrix(0.35072612,0,0,0.35072612,18.762241,21.142012)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="56"
|
||||
x2="44"
|
||||
y1="4"
|
||||
x1="29"
|
||||
id="linearGradient3808-7"
|
||||
xlink:href="#linearGradient3802-5" />
|
||||
<linearGradient
|
||||
id="linearGradient3802-5">
|
||||
<stop
|
||||
id="stop3804-3"
|
||||
offset="0"
|
||||
style="stop-color:#729fcf;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3806-5"
|
||||
offset="1"
|
||||
style="stop-color:#204a87;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3836-0-6-4"
|
||||
id="linearGradient3801-1-3-7"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="-18"
|
||||
y1="18"
|
||||
x2="-22"
|
||||
y2="5" />
|
||||
<linearGradient
|
||||
id="linearGradient3836-0-6-4">
|
||||
<stop
|
||||
style="stop-color:#a40000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3838-2-7-0" />
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3840-5-5-9" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<path
|
||||
id="path2996"
|
||||
d="M 6.8347888,18.148045 H 56.260986 v 36.716603"
|
||||
style="fill:none;stroke:#2e3436;stroke-width:11.2975;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
<path
|
||||
id="path2996-3"
|
||||
d="M 6.8347888,18.148045 H 56.260986 v 36.716603"
|
||||
style="fill:none;stroke:#d3d7cf;stroke-width:5.64871;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
<path
|
||||
id="path2996-3-6"
|
||||
d="m 6.3934833,16.647607 50.3667817,0.08826 m -1.911456,5.648707 v 31.067897"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:2.82436;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
id="path2996-6"
|
||||
d="m 15.414204,40.669192 18.251949,0.07368 v 12.709595"
|
||||
style="fill:none;stroke:#2e3436;stroke-width:11.2975;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
<path
|
||||
id="path2996-3-2"
|
||||
d="m 15.414204,40.669192 18.251949,0.07368 v 12.877471"
|
||||
style="fill:none;stroke:#d3d7cf;stroke-width:5.64871;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
<path
|
||||
id="path2996-3-6-9"
|
||||
d="m 15.307851,39.330701 h 18.358302 m -1.412177,5.785019 v 6.924574"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:2.82436;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<metadata
|
||||
id="metadata5033">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<cc:license
|
||||
rdf:resource="" />
|
||||
<dc:date>Mon Oct 10 13:44:52 2011 +0000</dc:date>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[wmayer]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Draft/Resources/icons/Draft_Offset.svg</dc:identifier>
|
||||
<dc:relation>http://www.freecadweb.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
<dc:subject>
|
||||
<rdf:Bag>
|
||||
<rdf:li>offset</rdf:li>
|
||||
</rdf:Bag>
|
||||
</dc:subject>
|
||||
<dc:description>An angled and curved shape nested within a similar, but larger version of itself</dc:description>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.4 KiB |
@@ -479,6 +479,7 @@ inline void SketcherAddWorkbenchTools<Gui::MenuItem>(Gui::MenuItem& consaccel)
|
||||
<< "Sketcher_SelectHorizontalAxis"
|
||||
<< "Sketcher_SelectVerticalAxis"
|
||||
<< "Separator"
|
||||
<< "Sketcher_Offset"
|
||||
<< "Sketcher_Symmetry"
|
||||
<< "Sketcher_Clone"
|
||||
<< "Sketcher_Copy"
|
||||
@@ -502,6 +503,7 @@ inline void SketcherAddWorkbenchTools<Gui::ToolBarItem>(Gui::ToolBarItem& consac
|
||||
// message.
|
||||
//<< "Sketcher_SelectConflictingConstraints"
|
||||
<< "Sketcher_RestoreInternalAlignmentGeometry"
|
||||
<< "Sketcher_Offset"
|
||||
<< "Sketcher_Symmetry"
|
||||
<< "Sketcher_CompCopy"
|
||||
<< "Sketcher_RectangularArray"
|
||||
|
||||
Reference in New Issue
Block a user