Add SVG workbench icons

This commit is contained in:
triplus 2016-02-26 23:17:43 +01:00
parent 28b6c82555
commit d432c72a15
91 changed files with 7179 additions and 939 deletions

View File

@ -74,5 +74,13 @@ INSTALL(
Presets
DESTINATION
${CMAKE_INSTALL_DATADIR}/Mod/Arch
FILES_MATCHING PATTERN "*.csv*"
FILES_MATCHING PATTERN "*.csv*"
)
SET(ArchGuiIcon_SVG
Resources/icons/ArchWorkbench.svg
)
fc_copy_sources(Arch "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Arch" ${ArchGuiIcon_SVG})
INSTALL(FILES ${ArchGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Arch/Resources/icons")

View File

@ -23,46 +23,10 @@
class ArchWorkbench(Workbench):
"Arch workbench object"
Icon = """
/* XPM */
static char * arch_xpm[] = {
"16 16 17 1",
" c None",
". c #373936",
"+ c #464845",
"@ c #545553",
"# c #626461",
"$ c #6B6D6A",
"% c #727471",
"& c #7E807D",
"* c #8A8C89",
"= c #949693",
"- c #A1A3A0",
"; c #ADAFAC",
"> c #BEC1BD",
", c #C9CBC8",
"' c #D9DCD8",
") c #E4E6E3",
"! c #FDFFFC",
" ",
" ",
" & ",
" >)'-% ",
" #,))))),@ ",
" >%*-))))*# ",
" $')>!)**>%*% ",
"@=')>!!!!$==# ",
"=!=**;'!!&=$++ ",
"=!!!)*@&-%#@#&-.",
" ,!!!!#>&#=,'=%@",
" ;)!#!!!-*$&=@",
" *@!!!!!$=* ",
" =>!!$& ",
" -+ ",
" "};"""
MenuText = "Arch"
ToolTip = "Architecture workbench"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Arch/Resources/icons/ArchWorkbench.svg"
self.__class__.MenuText = "Arch"
self.__class__.ToolTip = "Architecture workbench"
def Initialize(self):
import DraftTools,DraftGui,Arch_rc,Arch,Draft_rc

View File

@ -57,6 +57,7 @@
<file>icons/Arch_Material.svg</file>
<file>icons/Arch_Material_Group.svg</file>
<file>icons/Arch_Schedule.svg</file>
<file>icons/ArchWorkbench.svg</file>
<file>ui/preferences-arch.ui</file>
<file>ui/preferences-archdefaults.ui</file>
<file>ui/preferences-ifc.ui</file>

View File

@ -0,0 +1,223 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg2816"
version="1.1"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="preferences-arch.svg">
<defs
id="defs2818">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="64 : 32 : 1"
inkscape:persp3d-origin="32 : 21.333333 : 1"
id="perspective2824" />
<inkscape:perspective
id="perspective3622"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3622-9"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3653"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3675"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3697"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3720"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3742"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3764"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3785"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3806"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3806-3"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3835"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.75"
inkscape:cx="29.770815"
inkscape:cy="15.617924"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:bbox-nodes="true"
inkscape:snap-bbox-edge-midpoints="true"
inkscape:snap-bbox-midpoints="true"
inkscape:object-paths="true"
inkscape:object-nodes="true"
inkscape:window-width="1920"
inkscape:window-height="1057"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata2821">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<rect
style="color:#000000;fill:#969696;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.14880727;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"
id="rect2840-3-4-0-8"
width="15.936329"
height="12.585408"
x="32.997906"
y="59.61282"
transform="matrix(0.7577145,-0.65258619,0,1,0,0)" />
<rect
style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.03287753;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;stroke-linecap:butt;stroke-dashoffset:0"
id="rect2840"
width="24.362967"
height="12.482594"
x="2.3111296"
y="28.888771"
transform="matrix(0.93735109,0.34838619,0,1,0,0)" />
<rect
style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.03287753;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;stroke-linecap:butt;stroke-dashoffset:0"
id="rect2840-9"
width="24.362967"
height="12.482594"
x="28.963516"
y="28.866888"
transform="matrix(0.93735109,0.34838619,0,1,0,0)" />
<path
style="color:#000000;fill:#e6e6e6;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.99999994000000003;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;stroke-linecap:butt;stroke-dasharray:none;stroke-dashoffset:0"
d="M 14.241527,19.294108 37.07818,27.781829 25.002993,38.181657 2.1663398,29.693936 14.241527,19.294108 z"
id="rect2840-3-5-3-5"
sodipodi:nodetypes="ccccc" />
<path
style="color:#000000;fill:#e6e6e6;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.99999994000000003;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;stroke-linecap:butt;stroke-dasharray:none;stroke-dashoffset:0"
d="M 39.224174,28.454727 62.060827,36.942448 49.98564,47.342276 27.148987,38.854555 39.224174,28.454727 z"
id="rect2840-3-5-3"
sodipodi:nodetypes="ccccc" />
<path
style="fill:#000000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;opacity:0.60305344"
d="m 39.510988,41.014833 13.307194,-1.651197 4.898989,-4.035599 -20.638992,-7.649023 -8.324649,7.169655 10.757458,6.166164 z"
id="path3849"
sodipodi:nodetypes="cccccc" />
<rect
style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.03287752999999993;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;stroke-linecap:butt;stroke-dashoffset:0"
id="rect2840-3"
width="24.362967"
height="12.482594"
x="17.78878"
y="13.847153"
transform="matrix(0.93735109,0.34838619,0,1,0,0)" />
<rect
style="color:#000000;fill:#969696;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.14880727;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;stroke-linecap:butt;stroke-dashoffset:0"
id="rect2840-3-4"
width="15.936329"
height="12.585408"
x="65.968956"
y="90.392708"
transform="matrix(0.7577145,-0.65258619,0,1,0,0)" />
<rect
style="color:#000000;fill:#969696;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.14880727000000005;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;stroke-linecap:butt;stroke-dashoffset:0"
id="rect2840-3-4-0"
width="15.936329"
height="12.585408"
x="52.144951"
y="62.458496"
transform="matrix(0.7577145,-0.65258619,0,1,0,0)" />
<path
style="color:#000000;fill:#e6e6e6;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.99999994000000003;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;stroke-linecap:butt;stroke-dasharray:none;stroke-dashoffset:0"
d="M 28.74952,9.541872 51.586172,18.029593 39.510985,28.429421 16.674332,19.9417 28.74952,9.541872 z"
id="rect2840-3-5"
sodipodi:nodetypes="ccccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -38,3 +38,11 @@ SET_BIN_DIR(CompleteGui CompleteGui /Mod/Complete)
SET_PYTHON_PREFIX_SUFFIX(CompleteGui)
install(TARGETS CompleteGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(CompleteGuiIcon_SVG
Resources/icons/CompleteWorkbench.svg
)
fc_copy_sources(CompleteGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Complete" ${CompleteGuiIcon_SVG})
INSTALL(FILES ${CompleteGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Complete/Resources/icons")

View File

@ -1,5 +1,6 @@
<RCC>
<qresource>
<qresource>
<file>icons/CompleteWorkbench.svg</file>
<file>translations/Complete_af.qm</file>
<file>translations/Complete_de.qm</file>
<file>translations/Complete_fi.qm</file>
@ -27,4 +28,4 @@
<file>translations/Complete_el.qm</file>
<file>translations/Complete_sl.qm</file>
</qresource>
</RCC>
</RCC>

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="32px" height="32px" id="svg2989" version="1.1" inkscape:version="0.48.1 r9760" sodipodi:docname="Workbench Complete.svg">
<defs id="defs2991">
<linearGradient id="linearGradient3767">
<stop style="stop-color:#ff8d00;stop-opacity:1;" offset="0" id="stop3769"/>
<stop style="stop-color:#fff000;stop-opacity:1;" offset="1" id="stop3771"/>
</linearGradient>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3767" id="linearGradient3773" x1="-2.6557214" y1="13.003332" x2="15.07192" y2="-9.1497173" gradientUnits="userSpaceOnUse"/>
</defs>
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="11.197802" inkscape:cx="19.55134" inkscape:cy="15.557739" inkscape:current-layer="layer1" showgrid="true" inkscape:grid-bbox="true" inkscape:document-units="px" inkscape:window-width="1280" inkscape:window-height="757" inkscape:window-x="0" inkscape:window-y="20" inkscape:window-maximized="1"/>
<metadata id="metadata2994">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<g id="layer1" inkscape:label="Layer 1" inkscape:groupmode="layer">
<path transform="matrix(0.87880031,0,0,0.87880031,11.60124,14.302874)" style="color:#000000;fill:url(#linearGradient3773);fill-opacity:1;fill-rule:nonzero;stroke:#3e2709;stroke-width:2.27582979;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" inkscape:transform-center-y="-1.3581163" d="m 5.0902853,-13.118105 c 0,0 2.61399,6.4668068 4.7563156,9.9945605 4.4795741,0.479169 10.6354451,1.1882088 10.6354451,1.1882088 0,0 -2.653993,2.51408794 -3.993261,3.7827569 -1.339268,1.268669 -4.042349,3.8292571 -4.042349,3.8292571 0,0 0.291668,1.4177217 0.651081,3.164736 0.359414,1.7470147 1.505399,7.3173497 1.505399,7.3173497 0,0 -3.457225,-1.881081 -5.077658,-2.76276 -1.6204326,-0.88168 -4.6449376,-2.527317 -4.6449376,-2.527317 0,0 -3.1650691,1.799856 -4.71551361,2.681535 -1.55044459,0.88168 -4.58715369,2.608542 -4.58715369,2.608542 0,0 0.8798471,-4.723911 1.2176329,-6.5374882 0.3377859,-1.8135769 0.8090822,-4.3439736 0.8090822,-4.3439736 0,0 -2.2441924,-2.0474156 -3.5618331,-3.2495221 -1.3176407,-1.20210642 -4.3440111,-3.9631166 -4.3440111,-3.9631166 0,0 3.7595049,-0.4079106 6.5032761,-0.8503223 2.7437711,-0.4424116 4.47189827,-0.5847137 4.47189827,-0.5847137 z" id="path2997" inkscape:connector-curvature="0" sodipodi:nodetypes="ccczczczczczczczcc"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -32,44 +32,17 @@
class CompleteWorkbench ( Workbench ):
"Complete workbench object"
Icon = """
/* XPM */
static char * complete_xpm[] = {
"16 15 9 1",
" c None",
". c #DB7B07",
"+ c #DA8100",
"@ c #F49500",
"# c #E89900",
"$ c #FEA200",
"% c #FEAD00",
"& c #FFBB00",
"* c #FDC500",
" + ",
" ++ ",
" +##+ ",
" +&*+ ",
" +#&*#+ ",
"++.++#&&**#+.++ ",
" +$%%%&&&*****++",
" +$%%%&&&***++ ",
" +$%%%&&*&+ ",
" .+%%%&&&+ ",
" .@%%%%&&# ",
" .@$%$%%&#+ ",
" .@@++++%%+ ",
" ..+ +++ ",
" . ++ "};
"""
MenuText = "Complete"
ToolTip = "Complete workbench"
"Complete workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Complete/Resources/icons/CompleteWorkbench.svg"
self.__class__.MenuText = "Complete"
self.__class__.ToolTip = "Complete workbench"
def Initialize(self):
# load the module
import CompleteGui
import Complete
def GetClassName(self):
return "CompleteGui::Workbench"
def Initialize(self):
# load the module
import CompleteGui
import Complete
def GetClassName(self):
return "CompleteGui::Workbench"
Gui.addWorkbench(CompleteWorkbench())

View File

@ -44,3 +44,11 @@ INSTALL(
DESTINATION
Mod/Draft
)
SET(DraftGuiIcon_SVG
Resources/icons/DraftWorkbench.svg
)
fc_copy_sources(Draft "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Draft" ${DraftGuiIcon_SVG})
INSTALL(FILES ${DraftGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Draft/Resources/icons")

View File

@ -26,46 +26,10 @@ __url__ = ["http://www.freecadweb.org"]
class DraftWorkbench (Workbench):
"the Draft Workbench"
Icon = """
/* XPM */
static char * draft_xpm[] = {
"16 16 17 1",
" c None",
". c #5F4A1C",
"+ c #5A4E36",
"@ c #8A4D00",
"# c #835A04",
"$ c #7E711F",
"% c #847954",
"& c #C27400",
"* c #817D74",
"= c #E79300",
"- c #BFAB0C",
"; c #ADA791",
"> c #B3AE87",
", c #B0B2AE",
"' c #ECD200",
") c #D6D8D5",
"! c #FCFEFA",
" ,!!)!!!!!!!!!",
" ,!!>;!!!!!!!!",
" ,!!>-,!!!!!!!",
" ,!!>'$)!!!!!!",
" ,!!>-'%!!!!!!",
" ,!!>-$-;!!!!!",
" ,!!>-*-$)!!!!",
" @&+!!>-*;-%!!!!",
"@&=+)!;'-''-*!!!",
".@@.;;%%....+;;!",
".&&===========$,",
".&&=====&&####.,",
".&&.++***,,)))!!",
"#==+)!!!!!!!!!!!",
" ##+)!!!!!!!!!!!",
" *,,,,,,,,,,,,"};"""
MenuText = "Draft"
ToolTip = "The Draft module is used for basic 2D CAD Drafting"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Draft/Resources/icons/DraftWorkbench.svg"
self.__class__.MenuText = "Draft"
self.__class__.ToolTip = "The Draft module is used for basic 2D CAD Drafting"
def Initialize(self):
def QT_TRANSLATE_NOOP(scope, text):

View File

@ -68,6 +68,7 @@
<file>icons/Draft_FlipDimension.svg</file>
<file>icons/Draft_Mirror.svg</file>
<file>icons/Draft_Grid.svg</file>
<file>icons/DraftWorkbench.svg</file>
<file>patterns/concrete.svg</file>
<file>patterns/cross.svg</file>
<file>patterns/line.svg</file>

View File

@ -0,0 +1,235 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg2980"
sodipodi:version="0.32"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="Draft_Workbench_Idea2.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1"
inkscape:export-filename="/home/yorik/Draft_Workbench_Idea16.png"
inkscape:export-xdpi="22.5"
inkscape:export-ydpi="22.5">
<defs
id="defs2982">
<linearGradient
id="linearGradient3855">
<stop
style="stop-color:#d07200;stop-opacity:1;"
offset="0"
id="stop3857" />
<stop
style="stop-color:#fcb200;stop-opacity:1;"
offset="1"
id="stop3859" />
</linearGradient>
<linearGradient
id="linearGradient3786"
osb:paint="solid">
<stop
style="stop-color:#a0eb07;stop-opacity:1;"
offset="0"
id="stop3788" />
</linearGradient>
<linearGradient
id="linearGradient3864">
<stop
id="stop3866"
offset="0"
style="stop-color:#71b2f8;stop-opacity:1;" />
<stop
id="stop3868"
offset="1"
style="stop-color:#002795;stop-opacity:1;" />
</linearGradient>
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="64 : 32 : 1"
inkscape:persp3d-origin="32 : 21.333333 : 1"
id="perspective2988" />
<linearGradient
id="linearGradient3377">
<stop
style="stop-color:#ffaa00;stop-opacity:1;"
offset="0"
id="stop3379" />
<stop
style="stop-color:#faff2b;stop-opacity:1;"
offset="1"
id="stop3381" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3855"
id="linearGradient3861"
x1="3.9825215"
y1="31.552309"
x2="60.769054"
y2="51.094166"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.95198975,0,0,0.91651928,0.07298588,1.7291139)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3855"
id="linearGradient3863"
x1="3.9825215"
y1="31.552309"
x2="23.852976"
y2="45.686504"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.95198975,0,0,0.91651928,0.07298588,1.7291139)" />
<linearGradient
gradientTransform="translate(63.406413,58.258077)"
inkscape:collect="always"
xlink:href="#linearGradient3855-2"
id="linearGradient3861-4"
x1="3.9825215"
y1="31.552309"
x2="60.769054"
y2="51.094166"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3855-2">
<stop
style="stop-color:#d07200;stop-opacity:1;"
offset="0"
id="stop3857-1" />
<stop
style="stop-color:#fcb200;stop-opacity:1;"
offset="1"
id="stop3859-6" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3855-2"
id="linearGradient3863-2"
x1="3.9825215"
y1="31.552309"
x2="23.852976"
y2="45.686504"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3880">
<stop
style="stop-color:#d07200;stop-opacity:1;"
offset="0"
id="stop3882" />
<stop
style="stop-color:#fcb200;stop-opacity:1;"
offset="1"
id="stop3884" />
</linearGradient>
<linearGradient
gradientTransform="translate(63.406413,58.258077)"
y2="45.686504"
x2="23.852976"
y1="31.552309"
x1="3.9825215"
gradientUnits="userSpaceOnUse"
id="linearGradient3889"
xlink:href="#linearGradient3855-2"
inkscape:collect="always" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3855-2"
id="linearGradient3921"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(63.406413,58.258077)"
x1="3.9825215"
y1="31.552309"
x2="23.852976"
y2="45.686504" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.8890873"
inkscape:cx="40.657951"
inkscape:cy="30.318818"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="1920"
inkscape:window-height="1057"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:snap-nodes="false"
inkscape:object-paths="true"
inkscape:object-nodes="true" />
<metadata
id="metadata2985">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<rect
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none"
id="rect3924"
width="50.65456"
height="62.482525"
x="12.856487"
y="0.48895457" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 12.856487,0.48895457 0,62.48252643"
id="path3926"
inkscape:connector-curvature="0" />
<path
style="opacity:0.63876654;fill:#000000;fill-opacity:1;stroke:none"
d="m 30.471844,5.6253174 0.535494,33.0519766 22.609757,0 L 30.471844,5.6253174 z M 34.964045,20.375549 44.75169,33.69372 35.321041,33.92285 34.964045,20.375549 z m -24.573235,9.451605 -4.8491983,3.207818 0.2974968,23.829501 4.5517015,4.095696 6.098684,-0.200488 0.08925,-9.566171 44.59477,-2.921405 1.636233,-7.246231 -46.141754,-0.343694 0.118999,-10.855026 -6.396181,0 z"
id="path3010-7"
inkscape:connector-curvature="0" />
<path
style="fill:url(#linearGradient3863);fill-opacity:1;stroke:#000000;stroke-width:1.16431034;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="M 6.7484353,28.04146 1.8898368,31.242417 2.1934992,55.07178 6.7484353,59.161894 12.821683,58.984063 13.125346,28.04146 z"
id="path3010"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccc" />
<path
style="fill:url(#linearGradient3861);fill-opacity:1;stroke:#000000;stroke-width:1.16431034;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 59.162002,39.234097 -1.641628,7.255521 -54.2816054,3.546854 0,-11.205391 z"
id="path3012"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<path
style="fill:#ffe400;fill-opacity:1;stroke:#000000;stroke-width:1.16431034;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 26.808896,3.8396874 0.555024,33.0451956 22.60454,0 L 26.808896,3.8396874 z m 4.490635,14.7446996 9.788573,13.322381 -9.435378,0.237054 -0.353195,-13.559435 z"
id="path3782"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 12.856487,62.971481 50.65456,0"
id="path3928"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

@ -95,16 +95,15 @@ fc_target_copy_resource(DrawingGui
${CMAKE_BINARY_DIR}/Mod/Drawing
InitGui.py)
SET(DrawingGuiIcon_SVG
Resources/icons/actions/drawing-landscape.svg
)
fc_copy_sources(DrawingGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Drawing" ${DrawingGuiIcon_SVG})
INSTALL(FILES ${DrawingGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Drawing/Resources/icons/actions")
SET_BIN_DIR(DrawingGui DrawingGui /Mod/Drawing)
SET_PYTHON_PREFIX_SUFFIX(DrawingGui)
INSTALL(TARGETS DrawingGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(DrawingGuiIcon_SVG
Resources/icons/DrawingWorkbench.svg
)
fc_copy_sources(DrawingGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Drawing" ${DrawingGuiIcon_SVG})
INSTALL(FILES ${DrawingGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Drawing/Resources/icons")

View File

@ -0,0 +1,436 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48.000000px"
height="48.000000px"
id="svg249"
sodipodi:version="0.32"
inkscape:version="0.45.1"
sodipodi:docbase="D:\Develop\Projekte\FreeCAD\FreeCAD_0.7\src\Mod\Drawing\Gui\Resources\icons\actions"
sodipodi:docname="drawing-landscape.svg"
inkscape:export-filename="/home/jimmac/gfx/novell/pdes/trunk/docs/BIGmime-text.png"
inkscape:export-xdpi="240.00000"
inkscape:export-ydpi="240.00000"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs3">
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient5060"
id="radialGradient5031"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-2.774389,0,0,1.969706,112.7623,-872.8854)"
cx="605.71429"
cy="486.64789"
fx="605.71429"
fy="486.64789"
r="117.14286" />
<linearGradient
inkscape:collect="always"
id="linearGradient5060">
<stop
style="stop-color:black;stop-opacity:1;"
offset="0"
id="stop5062" />
<stop
style="stop-color:black;stop-opacity:0;"
offset="1"
id="stop5064" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient5060"
id="radialGradient5029"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.774389,0,0,1.969706,-1891.633,-872.8854)"
cx="605.71429"
cy="486.64789"
fx="605.71429"
fy="486.64789"
r="117.14286" />
<linearGradient
id="linearGradient5048">
<stop
style="stop-color:black;stop-opacity:0;"
offset="0"
id="stop5050" />
<stop
id="stop5056"
offset="0.5"
style="stop-color:black;stop-opacity:1;" />
<stop
style="stop-color:black;stop-opacity:0;"
offset="1"
id="stop5052" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient5048"
id="linearGradient5027"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.774389,0,0,1.969706,-1892.179,-872.8854)"
x1="302.85715"
y1="366.64789"
x2="302.85715"
y2="609.50507" />
<linearGradient
inkscape:collect="always"
id="linearGradient4542">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop4544" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop4546" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient4542"
id="radialGradient4548"
cx="24.306795"
cy="42.07798"
fx="24.306795"
fy="42.07798"
r="15.821514"
gradientTransform="matrix(1.000000,0.000000,0.000000,0.284916,-6.310056e-16,30.08928)"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient15662">
<stop
style="stop-color:#ffffff;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop15664" />
<stop
style="stop-color:#f8f8f8;stop-opacity:1.0000000;"
offset="1.0000000"
id="stop15666" />
</linearGradient>
<radialGradient
gradientUnits="userSpaceOnUse"
fy="64.5679"
fx="20.8921"
r="5.257"
cy="64.5679"
cx="20.8921"
id="aigrd3">
<stop
id="stop15573"
style="stop-color:#F0F0F0"
offset="0" />
<stop
id="stop15575"
style="stop-color:#9a9a9a;stop-opacity:1.0000000;"
offset="1.0000000" />
</radialGradient>
<radialGradient
gradientUnits="userSpaceOnUse"
fy="114.5684"
fx="20.8921"
r="5.256"
cy="114.5684"
cx="20.8921"
id="aigrd2">
<stop
id="stop15566"
style="stop-color:#F0F0F0"
offset="0" />
<stop
id="stop15568"
style="stop-color:#9a9a9a;stop-opacity:1.0000000;"
offset="1.0000000" />
</radialGradient>
<linearGradient
id="linearGradient269">
<stop
style="stop-color:#a3a3a3;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop270" />
<stop
style="stop-color:#4c4c4c;stop-opacity:1.0000000;"
offset="1.0000000"
id="stop271" />
</linearGradient>
<linearGradient
id="linearGradient259">
<stop
style="stop-color:#fafafa;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop260" />
<stop
style="stop-color:#bbbbbb;stop-opacity:1.0000000;"
offset="1.0000000"
id="stop261" />
</linearGradient>
<linearGradient
id="linearGradient12512">
<stop
style="stop-color:#ffffff;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop12513" />
<stop
style="stop-color:#fff520;stop-opacity:0.89108908;"
offset="0.50000000"
id="stop12517" />
<stop
style="stop-color:#fff300;stop-opacity:0.0000000;"
offset="1.0000000"
id="stop12514" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient12512"
id="radialGradient278"
gradientUnits="userSpaceOnUse"
cx="55.000000"
cy="125.00000"
fx="55.000000"
fy="125.00000"
r="14.375000" />
<radialGradient
r="37.751713"
fy="3.7561285"
fx="8.8244190"
cy="3.7561285"
cx="8.8244190"
gradientTransform="matrix(0.968273,0,0,1.032767,3.4281936,-47.492271)"
gradientUnits="userSpaceOnUse"
id="radialGradient15656"
xlink:href="#linearGradient269"
inkscape:collect="always" />
<radialGradient
r="86.708450"
fy="35.736916"
fx="33.966679"
cy="35.736916"
cx="33.966679"
gradientTransform="matrix(0.960493,0,0,1.041132,7.4640626e-2,-48.138718)"
gradientUnits="userSpaceOnUse"
id="radialGradient15658"
xlink:href="#linearGradient259"
inkscape:collect="always" />
<radialGradient
r="38.158695"
fy="7.2678967"
fx="8.1435566"
cy="7.2678967"
cx="8.1435566"
gradientTransform="matrix(0.968273,0,0,1.032767,3.4281936,-47.492271)"
gradientUnits="userSpaceOnUse"
id="radialGradient15668"
xlink:href="#linearGradient15662"
inkscape:collect="always" />
<radialGradient
inkscape:collect="always"
xlink:href="#aigrd2"
id="radialGradient2283"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.229703,0,0,0.229703,4.613529,3.979808)"
cx="20.8921"
cy="114.5684"
fx="20.8921"
fy="114.5684"
r="5.256" />
<radialGradient
inkscape:collect="always"
xlink:href="#aigrd3"
id="radialGradient2285"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.229703,0,0,0.229703,4.613529,3.979808)"
cx="20.8921"
cy="64.5679"
fx="20.8921"
fy="64.5679"
r="5.257" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="0.32941176"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="9.6458333"
inkscape:cx="24"
inkscape:cy="24"
inkscape:current-layer="layer4"
showgrid="false"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="1145"
inkscape:window-height="944"
inkscape:window-x="305"
inkscape:window-y="98"
inkscape:showpageshadow="false" />
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>New Document</dc:title>
<dc:creator>
<cc:Agent>
<dc:title>Jakub Steiner</dc:title>
</cc:Agent>
</dc:creator>
<dc:source>http://jimmac.musichall.cz</dc:source>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/2.0/">
<cc:permits
rdf:resource="http://web.resource.org/cc/Reproduction" />
<cc:permits
rdf:resource="http://web.resource.org/cc/Distribution" />
<cc:requires
rdf:resource="http://web.resource.org/cc/Notice" />
<cc:requires
rdf:resource="http://web.resource.org/cc/Attribution" />
<cc:permits
rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
<cc:requires
rdf:resource="http://web.resource.org/cc/ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:label="Shadow"
id="layer6"
inkscape:groupmode="layer">
<g
style="display:inline"
id="g5022"
transform="matrix(2.165152e-2,0,0,1.485743e-2,43.0076,42.68539)">
<rect
y="-150.69685"
x="-1559.2523"
height="478.35718"
width="1339.6335"
id="rect4173"
style="opacity:0.40206185;color:black;fill:url(#linearGradient5027);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" />
<path
sodipodi:nodetypes="cccc"
id="path5058"
d="M -219.61876,-150.68038 C -219.61876,-150.68038 -219.61876,327.65041 -219.61876,327.65041 C -76.744594,328.55086 125.78146,220.48075 125.78138,88.454235 C 125.78138,-43.572302 -33.655436,-150.68036 -219.61876,-150.68038 z "
style="opacity:0.40206185;color:black;fill:url(#radialGradient5029);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" />
<path
style="opacity:0.40206185;color:black;fill:url(#radialGradient5031);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
d="M -1559.2523,-150.68038 C -1559.2523,-150.68038 -1559.2523,327.65041 -1559.2523,327.65041 C -1702.1265,328.55086 -1904.6525,220.48075 -1904.6525,88.454235 C -1904.6525,-43.572302 -1745.2157,-150.68036 -1559.2523,-150.68038 z "
id="path5018"
sodipodi:nodetypes="cccc" />
</g>
</g>
<g
id="layer1"
inkscape:label="Base"
inkscape:groupmode="layer"
style="display:inline">
<rect
ry="1.1490486"
y="-44.492271"
x="6.6781936"
height="40.920494"
width="34.875"
id="rect15391"
style="color:#000000;fill:url(#radialGradient15658);fill-opacity:1;fill-rule:nonzero;stroke:url(#radialGradient15656);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
rx="1.1490486"
transform="matrix(3.7443726e-4,0.9999999,-0.9999999,3.7443726e-4,0,0)" />
<rect
rx="0.14904857"
ry="0.14904857"
y="-43.554771"
x="7.7406945"
height="38.946384"
width="32.775887"
id="rect15660"
style="color:#000000;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:url(#radialGradient15668);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
transform="matrix(3.7443726e-4,0.9999999,-0.9999999,3.7443726e-4,0,0)" />
<g
id="g2270"
transform="matrix(3.7443726e-4,0.9999999,-0.9999999,3.7443726e-4,48.176974,0.7030484)">
<g
transform="matrix(0.229703,0,0,0.229703,4.967081,4.244972)"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-miterlimit:4"
id="g1440">
<radialGradient
gradientUnits="userSpaceOnUse"
fy="114.5684"
fx="20.892099"
r="5.256"
cy="114.5684"
cx="20.892099"
id="radialGradient1442">
<stop
id="stop1444"
style="stop-color:#F0F0F0"
offset="0" />
<stop
id="stop1446"
style="stop-color:#474747"
offset="1" />
</radialGradient>
<path
id="path1448"
d="M 23.428,113.07 C 23.428,115.043 21.828,116.642 19.855,116.642 C 17.881,116.642 16.282,115.042 16.282,113.07 C 16.282,111.096 17.882,109.497 19.855,109.497 C 21.828,109.497 23.428,111.097 23.428,113.07 z "
style="stroke:none" />
<radialGradient
gradientUnits="userSpaceOnUse"
fy="64.567902"
fx="20.892099"
r="5.257"
cy="64.567902"
cx="20.892099"
id="radialGradient1450">
<stop
id="stop1452"
style="stop-color:#F0F0F0"
offset="0" />
<stop
id="stop1454"
style="stop-color:#474747"
offset="1" />
</radialGradient>
<path
id="path1456"
d="M 23.428,63.07 C 23.428,65.043 21.828,66.643 19.855,66.643 C 17.881,66.643 16.282,65.043 16.282,63.07 C 16.282,61.096 17.882,59.497 19.855,59.497 C 21.828,59.497 23.428,61.097 23.428,63.07 z "
style="stroke:none" />
</g>
<path
id="path15570"
d="M 9.9950109,29.952326 C 9.9950109,30.40553 9.6274861,30.772825 9.1742821,30.772825 C 8.7208483,30.772825 8.3535532,30.405301 8.3535532,29.952326 C 8.3535532,29.498892 8.721078,29.131597 9.1742821,29.131597 C 9.6274861,29.131597 9.9950109,29.499122 9.9950109,29.952326 z "
style="fill:url(#radialGradient2283);fill-rule:nonzero;stroke:none;stroke-miterlimit:4" />
<path
id="path15577"
d="M 9.9950109,18.467176 C 9.9950109,18.92038 9.6274861,19.287905 9.1742821,19.287905 C 8.7208483,19.287905 8.3535532,18.92038 8.3535532,18.467176 C 8.3535532,18.013742 8.721078,17.646447 9.1742821,17.646447 C 9.6274861,17.646447 9.9950109,18.013972 9.9950109,18.467176 z "
style="fill:url(#radialGradient2285);fill-rule:nonzero;stroke:none;stroke-miterlimit:4" />
</g>
<path
sodipodi:nodetypes="cc"
id="path15672"
d="M 42.648774,11.564395 L 4.7421847,11.578589"
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.98855311;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.01754384" />
<path
sodipodi:nodetypes="cc"
id="path15674"
d="M 43.122908,12.558495 L 5.105198,12.57273"
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#ffffff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.20467828" />
</g>
<g
inkscape:groupmode="layer"
id="layer4"
inkscape:label="new"
style="display:inline" />
</svg>

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -33,7 +33,7 @@
class DrawingWorkbench (Workbench):
"Drawing workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Drawing/Resources/icons/actions/drawing-landscape.svg"
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Drawing/Resources/icons/DrawingWorkbench.svg"
self.__class__.MenuText = "Drawing"
self.__class__.ToolTip = "Drawing workbench"

View File

@ -225,7 +225,7 @@ fc_target_copy_resource(FemGui
)
SET(FemGuiIcon_SVG
Resources/icons/preferences-fem.svg
Resources/icons/FemWorkbench.svg
)
fc_copy_sources(FemGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Fem" ${FemGuiIcon_SVG})

View File

@ -24,6 +24,7 @@
<file>icons/fem-shell-thickness.svg</file>
<file>icons/fem-beam-section.svg</file>
<file>icons/preferences-fem.svg</file>
<file>icons/FemWorkbench.svg</file>
<file>translations/Fem_af.qm</file>
<file>translations/Fem_de.qm</file>
<file>translations/Fem_fi.qm</file>

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 96 KiB

View File

@ -37,7 +37,7 @@ import FreeCADGui
class FemWorkbench (Workbench):
"Fem workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Fem/Resources/icons/preferences-fem.svg"
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Fem/Resources/icons/FemWorkbench.svg"
self.__class__.MenuText = "FEM"
self.__class__.ToolTip = "FEM workbench"

View File

@ -78,3 +78,11 @@ SET_BIN_DIR(ImageGui ImageGui /Mod/Image)
SET_PYTHON_PREFIX_SUFFIX(ImageGui)
INSTALL(TARGETS ImageGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(ImageGuiIcon_SVG
Resources/icons/ImageWorkbench.svg
)
fc_copy_sources(ImageGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Image" ${ImageGuiIcon_SVG})
INSTALL(FILES ${ImageGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Image/Resources/icons")

View File

@ -1,6 +1,7 @@
<RCC>
<qresource>
<file>icons/image-import.svg</file>
<file>icons/ImageWorkbench.svg</file>
<file>translations/Image_af.qm</file>
<file>translations/Image_de.qm</file>
<file>translations/Image_fi.qm</file>

View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="64px" height="64px" id="svg2816" version="1.1" inkscape:version="0.47 r22583" sodipodi:docname="New document 2">
<defs id="defs2818">
<linearGradient id="linearGradient3691">
<stop style="stop-color:#ffffff;stop-opacity:1;" offset="0" id="stop3693"/>
<stop style="stop-color:#ffffff;stop-opacity:0;" offset="1" id="stop3695"/>
</linearGradient>
<linearGradient id="linearGradient3614">
<stop style="stop-color:#ff9100;stop-opacity:1;" offset="0" id="stop3616"/>
<stop style="stop-color:#ffcb00;stop-opacity:1;" offset="1" id="stop3618"/>
</linearGradient>
<inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 32 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="64 : 32 : 1" inkscape:persp3d-origin="32 : 21.333333 : 1" id="perspective2824"/>
<inkscape:perspective id="perspective2834" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3614" id="linearGradient3620" x1="11.743128" y1="32.170429" x2="48.130219" y2="45.026917" gradientUnits="userSpaceOnUse"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3691" id="linearGradient3697" x1="31.066811" y1="17.542589" x2="26.010498" y2="24.832104" gradientUnits="userSpaceOnUse"/>
</defs>
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="5.5" inkscape:cx="36.443262" inkscape:cy="37.115994" inkscape:current-layer="layer1" showgrid="true" inkscape:document-units="px" inkscape:grid-bbox="true" inkscape:window-width="1280" inkscape:window-height="758" inkscape:window-x="0" inkscape:window-y="19" inkscape:window-maximized="0"/>
<metadata id="metadata2821">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<g id="layer1" inkscape:label="Layer 1" inkscape:groupmode="layer">
<path style="fill:url(#linearGradient3620);stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;fill-opacity:1" d="M 15.5625,7.1875 C 9.3030958,8.0438884 4.3678703,15.275413 4.625,23.375 4.9515534,33.661434 21.60932,54.318007 32.15625,56.53125 42.70318,58.744492 54.188679,52.372502 57.84375,45.5 61.498821,38.627498 61.941413,25.449497 55.011528,20.277915 48.081643,15.106334 38.919251,19.010413 32.660649,17.707222 26.402047,16.404031 21.821904,6.3311116 15.5625,7.1875 z m 3.84375,13.03125 c 3.317245,0.06828 6.589652,3.301752 6.53125,6.71875 -0.955433,9.86142 -14.912326,0.966181 -9.75,-5.625 0.99025,-0.792613 2.113002,-1.116509 3.21875,-1.09375 z" id="path2840" sodipodi:nodetypes="cszzzzzcccc"/>
<path style="fill:#008f10;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" d="m 26.484363,35.972858 c -3.430345,1.49337 -1.427147,5.521391 -0.995166,8.148201 0.07684,2.825426 3.049863,6.651994 6.009348,4.612197 2.725914,-2.617267 2.01049,-6.876427 0.925458,-10.088285 -0.847269,-2.556979 -3.463456,-3.681919 -5.93964,-2.672113 z" id="path3644"/>
<path style="fill:#e32c00;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" d="m 35.483904,38.801286 c -0.614014,3.657403 -0.588904,7.644227 1.24659,10.969758 0.526463,0.878063 1.097031,1.827625 2.013469,2.339827 1.295182,0.687126 3.044551,0.542866 4.059789,-0.573318 1.649455,-1.632946 2.102305,-4.363465 1.071235,-6.439563 -0.760845,-1.232935 -2.036005,-2.003223 -3.125803,-2.914563 -1.34932,-1.039951 -2.730874,-2.328706 -2.998644,-4.099852 -0.174498,-1.08408 0.399099,-2.293989 -0.293445,-3.274314 -0.410772,-0.711168 -1.462137,-1.306295 -2.192922,-0.701898 -0.73315,0.818306 -0.346058,2.017311 -0.155827,2.971112 0.141329,0.57038 0.30568,1.13773 0.375558,1.722811 z" id="path3654"/>
<path style="fill:#0027e3;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" d="m 35.998163,30.058875 c 2.8139,0.725202 5.667849,2.68437 6.055182,5.780259 -0.324522,2.843364 2.643122,3.395323 4.816063,3.564547 2.43744,-0.225527 2.724431,4.475957 5.109502,2.908887 2.027846,-2.172623 1.204782,-5.559781 -0.180215,-7.835537 -1.508283,-2.056753 -2.407321,-5.463248 -5.708611,-4.057709 -3.157474,0.569068 -5.221518,-3.684217 -8.46863,-2.397408 -0.898837,0.220429 -2.117867,0.917831 -1.623291,2.036961 z" id="path3666"/>
<path style="fill:url(#linearGradient3697);stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" d="m 8.4545455,16 c 0.3729909,-2.870498 3.8305635,-6.7852537 7.5614375,-6.8417847 3.730873,-0.056531 5.876442,3.4550297 8.19629,5.5046247 2.319847,2.049595 5.771043,5.128064 9.412612,5.445747 3.641568,0.317684 15.02154,-2.069696 19.155465,1.318072 4.133925,3.387768 -0.871431,3.832023 -2.490539,3.212457 -1.619108,-0.619566 -1.352078,-0.939581 -4.911282,-1.038375 -3.559204,-0.09879 -11.811244,1.104267 -16.176385,-0.70779 -4.365141,-1.812057 -6.862758,-6.001185 -9.727103,-6.668204 -2.864345,-0.667019 -3.263795,0.398284 -4.750374,1.21977 -1.486579,0.821486 -4.595606,1.863537 -5.4884704,0.654879 C 8.3433326,16.890738 8.0815545,18.870499 8.4545455,16 z" id="path3677" sodipodi:nodetypes="czzzzzzzzzzz"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

@ -32,170 +32,17 @@
class ImageWorkbench ( Workbench ):
"Image workbench object"
Icon = """
/* XPM */
static const char *colors[]={
"16 16 134 2",
"Qt c None",
".# c #000000",
"#y c #000000",
".L c #000000",
".e c #000000",
"#X c #000000",
"#M c #000000",
"#z c #000000",
"#L c #120000",
".Y c #000000",
".d c #0c0c00",
".K c #140a00",
"ad c #120900",
".a c #1b0909",
"ab c #0f0800",
".A c #231106",
"ac c #1b0b00",
".c c #291a0f",
".b c #2e2012",
".X c #311f09",
"#l c #362104",
"#Y c #241000",
"## c #2b1900",
".l c #402300",
".J c #3f2611",
".M c #372000",
"#7 c #3b1f00",
"#. c #503511",
".s c #51361e",
"#6 c #542d00",
"#N c #462700",
".f c #603805",
"#m c #4d2b00",
"aa c #693900",
"#A c #583000",
".k c #71553d",
".B c #6b4100",
".t c #754800",
".G c #764d27",
"#x c #94651a",
".W c #946b35",
"#8 c #8e5100",
".I c #a07749",
"#W c #a5660d",
"#Z c #945200",
".R c #9f6932",
".Z c #9d5d00",
"#K c #ba801a",
".j c #c4aa92",
".V c #cea05c",
"a# c #c67700",
".F c #c69869",
".g c #cda881",
"#9 c #c57700",
"#O c #b87700",
".9 c #d4a558",
".z c #dab68c",
"#k c #c99c51",
"#a c #d47c00",
"a. c #d58300",
".i c #e6d2bf",
".m c #e88400",
"#B c #d88300",
".h c #ead8c7",
"#n c #e88600",
".S c #e8b877",
".N c #e98600",
"#0 c #e98d00",
".U c #efc27c",
".Q c #f0bd7e",
".H c #ecc28c",
"#5 c #f3a204",
".r c #f2d9bb",
".x c #f3d3b0",
".y c #f4d6b1",
".3 c #fcc478",
".4 c #fdc878",
"#D c #0ccd06",
"#p c #13950d",
"#v c #4547cc",
"#u c #5e589f",
"#C c #62a200",
"#q c #69af39",
"#i c #6e6ba1",
"#I c #7a668f",
"#P c #80ac00",
"#j c #9084a1",
"#E c #91831e",
"#d c #95a24e",
"#Q c #a08500",
"#h c #a28d84",
"#F c #a62f2f",
"#t c #a8745f",
"#w c #ae9381",
"#J c #af8e6c",
"#R c #b21e07",
"#H c #b56e49",
"#G c #b93932",
"#o c #bd8900",
"#s c #c77d4b",
"#S c #cc0d12",
"#T c #da2d17",
"#2 c #da5100",
"#3 c #db3b01",
"#c c #de8f0e",
"#e c #e0bb65",
"#1 c #ea8300",
"#r c #ebb04b",
"#U c #eda11a",
".8 c #edc882",
"#4 c #ee9603",
".7 c #f3cc83",
"#g c #fcc664",
".C c #fe8c00",
".O c #ff8500",
".D c #ff890a",
".u c #ff8a00",
".1 c #ff8c05",
".0 c #ff8d00",
"#b c #ff8e00",
".v c #ff9f38",
".P c #ffa336",
".2 c #ffb352",
"#V c #ffbf1c",
"#f c #ffc563",
".n c #ffc683",
".E c #ffc885",
".5 c #ffcd7c",
".6 c #ffd17d",
".T c #ffd894",
".w c #ffe1bf",
".p c #fff3e2",
".o c #fff3e4",
".q c #fff6e4",
"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
"QtQt.#.a.b.c.d.#QtQtQtQtQtQtQtQt",
"Qt.e.f.g.h.i.j.k.dQtQtQtQtQtQtQt",
"Qt.l.m.n.o.p.q.r.sQtQtQtQtQtQtQt",
"Qt.t.u.v.w.x.y.z.AQtQtQtQtQtQtQt",
"Qt.B.C.D.E.F.G.H.I.J.K.LQtQtQtQt",
"Qt.M.N.O.P.Q.R.S.T.U.V.W.X.#QtQt",
"Qt.Y.Z.0.1.2.3.4.5.6.7.8.9#..#Qt",
"QtQt###a#b#c#d#e#f#g#h#i#j#k#lQt",
"QtQt.L#m#n#o#p#q#r#s#t#u#v#w#x#y",
"QtQtQt#z#A#B#C#D#E#F#G#H#I#J#K#L",
"QtQtQtQt#M#N#O#P#Q#R#S#T#U#V#W#X",
"QtQtQtQtQt#y#Y#Z#0#1#2#3#4#5#6Qt",
"QtQtQtQtQtQtQt.Y#7#8#9a.a#aa#zQt",
"QtQtQtQtQtQtQtQtQt#zabacad#yQtQt",
"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt"};
"""
MenuText = "Image"
ToolTip = "Image workbench"
"Image workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Image/Resources/icons/ImageWorkbench.svg"
self.__class__.MenuText = "Image"
self.__class__.ToolTip = "Image workbench"
def Initialize(self):
# load the module
import ImageGui
def GetClassName(self):
return "ImageGui::Workbench"
def Initialize(self):
# load the module
import ImageGui
def GetClassName(self):
return "ImageGui::Workbench"
Gui.addWorkbench(ImageWorkbench())

View File

@ -61,3 +61,11 @@ SET_BIN_DIR(InspectionGui InspectionGui /Mod/Inspection)
SET_PYTHON_PREFIX_SUFFIX(InspectionGui)
INSTALL(TARGETS InspectionGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(InspectionGuiIcon_SVG
Resources/icons/InspectionWorkbench.svg
)
fc_copy_sources(InspectionGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Inspection" ${InspectionGuiIcon_SVG})
INSTALL(FILES ${InspectionGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Inspection/Resources/icons")

View File

@ -1,5 +1,6 @@
<RCC>
<qresource>
<file>icons/inspect_pipette.svg</file>
<file>icons/InspectionWorkbench.svg</file>
</qresource>
</RCC>

View File

@ -0,0 +1,113 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64"
height="64"
id="svg2"
version="1.1"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="pipette.svg"
inkscape:export-filename="/home/user/Downloads/cad/mystuff/icons/main_icons/pipette_32px.png"
inkscape:export-xdpi="45"
inkscape:export-ydpi="45">
<defs
id="defs4">
<linearGradient
inkscape:collect="always"
id="linearGradient3757">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop3759" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop3761" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3757"
id="linearGradient3763"
x1="28.796343"
y1="39.303909"
x2="22.936319"
y2="33.977303"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3757"
id="linearGradient3769"
gradientUnits="userSpaceOnUse"
x1="28.796343"
y1="39.303909"
x2="23.453451"
y2="34.596916" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="6.1953125"
inkscape:cx="6.6860156"
inkscape:cy="29.015327"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
showborder="true"
inkscape:showpageshadow="false"
borderlayer="false"
inkscape:snap-global="false"
inkscape:window-width="1280"
inkscape:window-height="964"
inkscape:window-x="-2"
inkscape:window-y="-3"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-988.36218)">
<g
id="g3765"
transform="matrix(0.99864903,0.05196261,-0.05196261,0.99864903,48.174955,7.8870736)">
<path
sodipodi:nodetypes="ccccccccc"
transform="translate(0,988.36218)"
inkscape:connector-curvature="0"
id="path3753"
d="m 9.7409699,49.372599 2.8491941,-3.93502 c -1.772756,-1.98964 -1.637691,-3.216153 -1.291299,-4.358134 l 19.208071,-21.54855 c 5.989818,1.898292 9.182121,5.311906 10.007566,10.007567 L 20.822194,50.27995 c -2.710668,1.819219 -3.579088,0.09127 -4.7674,-0.498084 l -3.787455,2.999975 z"
style="fill:url(#linearGradient3769);fill-opacity:1;stroke:#000000;stroke-width:1.50000000000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
sodipodi:nodetypes="ccccccc"
transform="translate(0,988.36218)"
inkscape:connector-curvature="0"
id="path3755"
d="m 29.054225,19.127365 c 9.162698,3.938983 8.239348,5.048599 12.02522,12.428751 3.235523,3.832459 8.524177,-2.535238 5.437607,-6.045801 C 49.363581,14.305558 56.519343,23.389424 60.440651,18.977722 74.468092,4.0560931 49.580343,-15.271369 37.986546,-1.3051721 33.830088,3.6454628 45.521604,10.422305 33.727728,13.346818 c -4.8537,-3.223384 -8.219062,1.686494 -4.673503,5.780547 z"
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -32,13 +32,16 @@
class InspectionWorkbench ( Workbench ):
"Inspection workbench object"
MenuText = "Inspection"
ToolTip = "Inspection workbench"
def Initialize(self):
# load the module
import InspectionGui
def GetClassName(self):
return "InspectionGui::Workbench"
"Inspection workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Inspection/Resources/icons/InspectionWorkbench.svg"
self.__class__.MenuText = "Inspection"
self.__class__.ToolTip = "Inspection workbench"
def Initialize(self):
# load the module
import InspectionGui
def GetClassName(self):
return "InspectionGui::Workbench"
Gui.addWorkbench(InspectionWorkbench())

View File

@ -133,16 +133,15 @@ fc_target_copy_resource(MeshGui
${CMAKE_BINARY_DIR}/Mod/Mesh
InitGui.py)
SET_BIN_DIR(MeshGui MeshGui /Mod/Mesh)
SET_PYTHON_PREFIX_SUFFIX(MeshGui)
INSTALL(TARGETS MeshGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(MeshGuiIcon_SVG
Resources/icons/Tree_Mesh.svg
Resources/icons/MeshWorkbench.svg
)
fc_copy_sources(MeshGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Mesh" ${MeshGuiIcon_SVG})
INSTALL(FILES ${MeshGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Mesh/Resources/icons")
SET_BIN_DIR(MeshGui MeshGui /Mod/Mesh)
SET_PYTHON_PREFIX_SUFFIX(MeshGui)
INSTALL(TARGETS MeshGui DESTINATION ${CMAKE_INSTALL_LIBDIR})

View File

@ -13,6 +13,7 @@
<file>icons/Mesh_Regular_Solid.svg</file>
<file>icons/Mesh_Remove_Components.svg</file>
<file>icons/Mesh_Tree_Curvature_Plot.svg</file>
<file>icons/MeshWorkbench.svg</file>
<file>icons/RegularSolids/Mesh_Cone.svg</file>
<file>icons/RegularSolids/Mesh_Cube.svg</file>
<file>icons/RegularSolids/Mesh_Cylinder.svg</file>

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg2568"
sodipodi:version="0.32"
inkscape:version="0.91 r"
sodipodi:docname="MeshWorkbench.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1">
<defs
id="defs2570">
<linearGradient
id="linearGradient3864">
<stop
id="stop3866"
offset="0"
style="stop-color:#71f873;stop-opacity:1;" />
<stop
id="stop3868"
offset="1"
style="stop-color:#009520;stop-opacity:1;" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3864"
id="radialGradient3552"
gradientUnits="userSpaceOnUse"
cx="48.645836"
cy="25.149042"
fx="48.645836"
fy="25.149042"
r="19.571428" />
<linearGradient
id="linearGradient3593">
<stop
style="stop-color:#c8f9d7;stop-opacity:1;"
offset="0"
id="stop3595" />
<stop
style="stop-color:#63ca72;stop-opacity:1;"
offset="1"
id="stop3597" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3593"
id="radialGradient3599"
gradientUnits="userSpaceOnUse"
cx="51.63789367675781"
cy="24.96270370483398"
fx="51.63789367675781"
fy="24.96270370483398"
r="19.5714282989502" />
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="64 : 32 : 1"
inkscape:persp3d-origin="32 : 21.333333 : 1"
id="perspective2576" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.6568542"
inkscape:cx="27.041072"
inkscape:cy="6.5171491"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="966"
inkscape:window-height="684"
inkscape:window-x="286"
inkscape:window-y="142"
inkscape:window-maximized="0" />
<metadata
id="metadata2573">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<g
id="g4154">
<ellipse
ry="8.4563856"
rx="25.596207"
id="path3554"
style="display:inline;overflow:visible;visibility:visible;opacity:0.66523605;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;marker:none;enable-background:accumulate"
cx="37.403759"
cy="50.04628" />
<path
style="display:inline;overflow:visible;visibility:visible;fill:#00af00;fill-opacity:1;fill-rule:evenodd;stroke:#003706;stroke-width:2.19997978;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
d="M 52.718468,35.352956 44.361612,50.226596 27.544944,57.050218 8.8275113,48.704579 2.1532007,35.352956 5.2391744,20.171027 14.052285,10.675966 27.544944,6.6677848 45.823267,14.804301 Z"
id="path3768"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccccc" />
<path
inkscape:connector-curvature="0"
id="path3770"
d="m 14.042992,10.945806 31.423502,4.804187 -39.7158153,4.804187 46.6988153,14.849305 -49.7538779,0 L 43.938963,49.379301 9.0239601,47.850696"
style="fill:none;stroke:#002f00;stroke-width:1.8;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@ -33,7 +33,7 @@
class MeshWorkbench (Workbench):
"Mesh workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Mesh/Resources/icons/Tree_Mesh.svg"
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Mesh/Resources/icons/MeshWorkbench.svg"
self.__class__.MenuText = "Mesh Design"
self.__class__.ToolTip = "Mesh design workbench"
@ -43,4 +43,4 @@ class MeshWorkbench (Workbench):
def GetClassName(self):
return "MeshGui::Workbench"
Gui.addWorkbench(MeshWorkbench())
Gui.addWorkbench(MeshWorkbench())

View File

@ -54,3 +54,11 @@ INSTALL(
DESTINATION
Mod/OpenSCAD
)
SET(OpenSCADGuiIcon_SVG
Resources/icons/OpenSCADWorkbench.svg
)
fc_copy_sources(OpenSCAD "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/OpenSCAD" ${OpenSCADGuiIcon_SVG})
INSTALL(FILES ${OpenSCADGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/OpenSCAD/Resources/icons")

View File

@ -36,62 +36,11 @@ openscadfilename = param.GetString('openscadexecutable')
class OpenSCADWorkbench ( Workbench ):
"OpenSCAD workbench object"
Icon = """
/* XPM */
static char * openscadlogo_xpm[] = {
"16 16 33 1",
" c None",
". c #61320B",
"+ c #5D420B",
"@ c #4F4C09",
"# c #564930",
"$ c #754513",
"% c #815106",
"& c #666509",
"* c #875F55",
"= c #6E7000",
"- c #756A53",
"; c #717037",
"> c #946637",
", c #92710E",
"' c #797A0A",
") c #7C7720",
"! c #8A8603",
"~ c #88886F",
"{ c #AF8181",
"] c #999908",
"^ c #BB8D8D",
"/ c #AAAA00",
"( c #A9A880",
"_ c #B5B419",
": c #C1A9A9",
"< c #B1B19A",
"[ c #BEBE00",
"} c #B9B8B4",
"| c #CACC00",
"1 c #D4D4BC",
"2 c #DBD2D0",
"3 c #EEEEED",
"4 c None",
"4444444444444444",
"4444443113444444",
"4444<;']]!;<^^24",
"444(&@!]]]=&#^{3",
"44<']')@++)!&*{^",
"44)]/[|//[/]'@{{",
"42=/_|||||[]!&*{",
"4(&][|||||[/'@#}",
"3-..,|||||[)&&~4",
"^*$%.!|||[!+/](4",
"^{%%%._[[_&/[_14",
":{>%%.!//])_[_44",
"2{{%%+!]!!)]]344",
"4:{{#@&=&&@#3444",
"44224}~--~}44444",
"4444444444444444"};
"""
MenuText = "OpenSCAD"
ToolTip = "OpenSCAD workbench"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/OpenSCAD/Resources/icons/OpenSCADWorkbench.svg"
self.__class__.MenuText = "OpenSCAD"
self.__class__.ToolTip = "OpenSCAD workbench"
def Initialize(self):
def QT_TRANSLATE_NOOP(scope, text):
return text

View File

@ -11,6 +11,7 @@
<file>icons/OpenSCAD_MeshBooleans.svg</file>
<file>icons/OpenSCAD_Hull.svg</file>
<file>icons/OpenSCAD_Minkowski.svg</file>
<file>icons/OpenSCADWorkbench.svg</file>
<file>ui/openscadprefs-base.ui</file>
<file>translations/OpenSCAD_tr.qm</file>
<file>translations/OpenSCAD_sv-SE.qm</file>

View File

@ -0,0 +1,305 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg2784"
sodipodi:version="0.32"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="Part_Sphere.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1">
<defs
id="defs2786">
<linearGradient
id="linearGradient3808">
<stop
style="stop-color:#e4ea00;stop-opacity:1;"
offset="0"
id="stop3810" />
<stop
style="stop-color:#f2db00;stop-opacity:1;"
offset="1"
id="stop3812" />
</linearGradient>
<linearGradient
id="linearGradient3377">
<stop
id="stop3379"
offset="0"
style="stop-color:#faff2b;stop-opacity:1;" />
<stop
id="stop3381"
offset="1"
style="stop-color:#ffaa00;stop-opacity:1;" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3377"
id="radialGradient3692"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436"
gradientUnits="userSpaceOnUse" />
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="64 : 32 : 1"
inkscape:persp3d-origin="32 : 21.333333 : 1"
id="perspective2792" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3377-7"
id="radialGradient3692-1"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(2.5454545,3.8181818)" />
<linearGradient
id="linearGradient3377-7">
<stop
id="stop3379-4"
offset="0"
style="stop-color:#faff2b;stop-opacity:1;" />
<stop
id="stop3381-0"
offset="1"
style="stop-color:#ffaa00;stop-opacity:1;" />
</linearGradient>
<radialGradient
r="19.467436"
fy="28.869568"
fx="45.883327"
cy="28.869568"
cx="45.883327"
gradientUnits="userSpaceOnUse"
id="radialGradient3777"
xlink:href="#linearGradient3377-7"
inkscape:collect="always" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3377-7"
id="radialGradient3798"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(2.1818181,3.8181818)"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3377-7"
id="radialGradient3802"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-0.65611777,-0.75465852,0.75465852,-0.65611777,22.507051,71.547083)"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3377-7"
id="radialGradient3806"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.69506957,-0.71894249,0.71894249,0.69506957,15.179872,55.595203)"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3377-2"
id="radialGradient3692-8"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3377-2">
<stop
id="stop3379-45"
offset="0"
style="stop-color:#faff2b;stop-opacity:1;" />
<stop
id="stop3381-5"
offset="1"
style="stop-color:#ffaa00;stop-opacity:1;" />
</linearGradient>
<radialGradient
r="19.467436"
fy="28.869568"
fx="45.883327"
cy="28.869568"
cx="45.883327"
gradientUnits="userSpaceOnUse"
id="radialGradient3777-1"
xlink:href="#linearGradient3377-2"
inkscape:collect="always" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3377-27"
id="radialGradient3692-5"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0.10223447,0.35782063)" />
<linearGradient
id="linearGradient3377-27">
<stop
id="stop3379-6"
offset="0"
style="stop-color:#faff2b;stop-opacity:1;" />
<stop
id="stop3381-1"
offset="1"
style="stop-color:#ffaa00;stop-opacity:1;" />
</linearGradient>
<radialGradient
r="19.467436"
fy="28.869568"
fx="45.883327"
cy="28.869568"
cx="45.883327"
gradientUnits="userSpaceOnUse"
id="radialGradient3777-4"
xlink:href="#linearGradient3377-27"
inkscape:collect="always" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.61133982"
inkscape:cx="27.363636"
inkscape:cy="29.954517"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="719"
inkscape:window-height="670"
inkscape:window-x="89"
inkscape:window-y="125"
inkscape:window-maximized="0" />
<metadata
id="metadata2789">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<g
id="g3564"
transform="translate(-0.8153068,-67.540042)">
<path
transform="matrix(1.2482835,0,0,0.4121139,-28.969888,102.91872)"
d="m 71.785715,34.571426 c 0,10.256717 -8.314712,18.571429 -18.571428,18.571429 -10.256717,0 -18.571428,-8.314712 -18.571428,-18.571429 0,-10.256716 8.314711,-18.571428 18.571428,-18.571428 10.256716,0 18.571428,8.314712 18.571428,18.571428 z"
sodipodi:ry="18.571428"
sodipodi:rx="18.571428"
sodipodi:cy="34.571426"
sodipodi:cx="53.214287"
id="path3694"
style="opacity:0.66523605;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
sodipodi:type="arc" />
<path
transform="matrix(1.2276699,0,0,1.2276699,-36.802054,58.263192)"
d="m 71.785715,34.571426 c 0,10.256717 -8.314712,18.571429 -18.571428,18.571429 -10.256717,0 -18.571428,-8.314712 -18.571428,-18.571429 0,-10.256716 8.314711,-18.571428 18.571428,-18.571428 10.256716,0 18.571428,8.314712 18.571428,18.571428 z"
sodipodi:ry="18.571428"
sodipodi:rx="18.571428"
sodipodi:cy="34.571426"
sodipodi:cx="53.214287"
id="path3696"
style="opacity:1;fill:url(#radialGradient3692);fill-opacity:1;fill-rule:evenodd;stroke:#7b5600;stroke-width:1.79201269;stroke-linecap:butt;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
sodipodi:type="arc" />
</g>
<path
style="color:#000000;fill:url(#radialGradient3798);fill-opacity:1.0;fill-rule:evenodd;stroke:#7b5600;stroke-width:1.79201269000000000;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"
d="m 27.823864,10.71875 c -5.824094,0 -10.5625,1.834403 -10.5625,4.09375 0,2.259347 4.738406,4.09375 10.5625,4.09375 5.824094,0 10.53125,-1.834403 10.53125,-4.09375 0,-2.259347 -4.707156,-4.09375 -10.53125,-4.09375 z"
id="path3758"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path3800"
d="m 10.890422,47.668509 c 3.821292,4.395202 8.314592,6.767496 10.019627,5.285098 1.705036,-1.482398 -0.01957,-6.26186 -3.84086,-10.657062 -3.821292,-4.395203 -8.2940882,-6.743914 -9.9991242,-5.261516 -1.705035,1.482398 -9.34e-4,6.238278 3.8203572,10.63348 z"
style="color:#000000;fill:url(#radialGradient3802);fill-opacity:1;fill-rule:evenodd;stroke:#7b5600;stroke-width:1.79201269;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" />
<path
style="color:#000000;fill:url(#radialGradient3806);fill-opacity:1;fill-rule:evenodd;stroke:#7b5600;stroke-width:1.79201269;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"
d="m 37.963989,41.956422 c -4.04815,4.187189 -6.022841,8.868868 -4.398501,10.439271 1.624341,1.570404 6.236692,-0.561201 10.284843,-4.748388 4.048151,-4.187189 6.001122,-8.846401 4.376781,-10.416805 -1.624341,-1.570403 -6.214972,0.538734 -10.263123,4.725922 z"
id="path3804"
inkscape:connector-curvature="0" />
<path
style="color:#000000;fill:url(#radialGradient3692-8);fill-opacity:1;fill-rule:evenodd;stroke:#7b5600;stroke-width:1.79201269;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"
d="m 20.539027,17.238445 c 1.314216,-1.574289 4.22041,-2.585994 7.853076,-0.914907 4.090657,-1.80613 6.034549,-0.36085 6.813284,0.886441"
id="path3816"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" />
<path
style="color:#000000;fill:url(#radialGradient3692-5);fill-opacity:1;fill-rule:evenodd;stroke:#7b5600;stroke-width:1.79201269;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"
d="m 28.284052,15.994185 0,3.090909"
id="path3838"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="path3858"
d="m 20.438026,48.752608 c -2.049875,0.05964 -4.733867,-1.445586 -5.890816,-5.273153 -4.063964,-1.865413 -4.270484,-4.278896 -3.852854,-5.688771"
style="color:#000000;fill:none;stroke:#7b5600;stroke-width:1.79201269;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" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3860"
d="m 14.37225,43.778682 2.314182,-2.048969"
style="color:#000000;fill:none;stroke:#7b5600;stroke-width:1.79201269;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" />
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="path3866"
d="m 45.902939,37.43545 c 0.0408,2.050338 -1.489017,4.720387 -5.327051,5.842121 -1.902672,4.046656 -4.31795,4.230993 -5.723929,3.800429"
style="color:#000000;fill:none;stroke:#7b5600;stroke-width:1.79201269;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"
inkscape:transform-center-y="-0.61340679" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3868"
d="M 40.873495,43.455274 38.845873,41.122365"
style="color:#000000;fill:none;stroke:#7b5600;stroke-width:1.79201269;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"
inkscape:transform-center-x="0.51816164"
inkscape:transform-center-y="-0.66146961" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -238,3 +238,11 @@ SET_BIN_DIR(PartGui PartGui /Mod/Part)
SET_PYTHON_PREFIX_SUFFIX(PartGui)
INSTALL(TARGETS PartGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(PartGuiIcon_SVG
Resources/icons/PartWorkbench.svg
)
fc_copy_sources(PartGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Part" ${PartGuiIcon_SVG})
INSTALL(FILES ${PartGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Part/Resources/icons")

View File

@ -63,6 +63,7 @@
<file>icons/Part_JoinConnect.svg</file>
<file>icons/Part_JoinCutout.svg</file>
<file>icons/Part_JoinEmbed.svg</file>
<file>icons/PartWorkbench.svg</file>
<file>translations/Part_af.qm</file>
<file>translations/Part_de.qm</file>
<file>translations/Part_fi.qm</file>

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="64px" height="64px" id="svg2980" sodipodi:version="0.32" inkscape:version="0.46" sodipodi:docname="Tree_Part.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs id="defs2982">
<linearGradient id="linearGradient3864">
<stop id="stop3866" offset="0" style="stop-color:#71b2f8;stop-opacity:1;"/>
<stop id="stop3868" offset="1" style="stop-color:#002795;stop-opacity:1;"/>
</linearGradient>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3864" id="radialGradient3850" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6028459,1.0471639,-1.9794021,1.1395295,127.9588,-74.456907)" cx="51.328892" cy="31.074146" fx="51.328892" fy="31.074146" r="19.571428"/>
<inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 32 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="64 : 32 : 1" inkscape:persp3d-origin="32 : 21.333333 : 1" id="perspective2988"/>
</defs>
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="5.5" inkscape:cx="32" inkscape:cy="32" inkscape:current-layer="layer1" showgrid="true" inkscape:document-units="px" inkscape:grid-bbox="true" inkscape:window-width="640" inkscape:window-height="684" inkscape:window-x="0" inkscape:window-y="93"/>
<metadata id="metadata2985">
<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" inkscape:label="Layer 1" inkscape:groupmode="layer">
<g id="g3845" transform="matrix(0.9624254,0,0,0.9624254,-63.864287,-126.15825)">
<path style="opacity:1;fill:#0034ff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:bevel;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" d="M 96.18444,141.44968 L 76.37003,148.62889 L 105.80493,152.60098 L 105.08136,188.72763 L 122.34017,177.78375 L 122.91604,143.3989 L 96.18444,141.44968 z" id="path3823" sodipodi:nodetypes="ccccccc"/>
<path style="opacity:1;fill:#0034ff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:bevel;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" d="M 75.57941,148.6589 L 106.28825,152.02452 L 106.28825,188.50171 L 75.16442,183.43692 L 75.57941,148.6589 z" id="path3825" sodipodi:nodetypes="ccccc"/>
<path style="opacity:1;fill:url(#radialGradient3850);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" d="M 106.05435,152.06948 L 122.78033,143.66068" id="path3827"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -33,38 +33,10 @@
class PartWorkbench ( Workbench ):
"Part workbench object"
Icon = """
/* XPM */
static char * part_xpm[] = {
"16 16 9 1",
" c None",
". c #000209",
"+ c #00061D",
"@ c #010A2F",
"# c #001152",
"$ c #001772",
"% c #00209F",
"& c #0025B8",
"* c #0032FF",
" ........ ",
" ..+$&%%$$#+..",
"....#%*****%..$.",
".##@.....+..%*&.",
".%*****&%#.***&.",
".%*******%.***&.",
".%*******%.***%.",
".&*******%.***%.",
".&*******%.***%.",
".&*******%.***%.",
".&*******%.***%.",
".&*******%.***$.",
".&*******%.**#. ",
".@$%&****%.%.. ",
" ......@##.. ",
" ... "};
"""
MenuText = "Part"
ToolTip = "Part workbench"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Part/Resources/icons/PartWorkbench.svg"
self.__class__.MenuText = "Part"
self.__class__.ToolTip = "Part workbench"
def Initialize(self):
# load the module

View File

@ -193,3 +193,10 @@ SET_PYTHON_PREFIX_SUFFIX(PartDesignGui)
INSTALL(TARGETS PartDesignGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(PartDesignGuiIcon_SVG
Resources/icons/PartDesignWorkbench.svg
)
fc_copy_sources(PartDesignGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/PartDesign" ${PartDesignGuiIcon_SVG})
INSTALL(FILES ${PartDesignGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/PartDesign/Resources/icons")

View File

@ -1,8 +1,8 @@
<RCC>
<qresource>
<qresource>
<file>icons/PartDesign_Chamfer.svg</file>
<file>icons/PartDesign_Fillet.svg</file>
<file>icons/PartDesign_Draft.svg</file>
<file>icons/PartDesign_Draft.svg</file>
<file>icons/PartDesign_Groove.svg</file>
<file>icons/PartDesign_Pad.svg</file>
<file>icons/PartDesign_Pocket.svg</file>
@ -17,6 +17,7 @@
<file>icons/Tree_PartDesign_Revolution.svg</file>
<file>icons/PartDesign_InternalExternalGear.svg</file>
<file>icons/PartDesign_InvoluteGear.svg</file>
<file>icons/PartDesignWorkbench.svg</file>
<file>translations/PartDesign_af.qm</file>
<file>translations/PartDesign_de.qm</file>
<file>translations/PartDesign_fi.qm</file>
@ -44,4 +45,4 @@
<file>translations/PartDesign_el.qm</file>
<file>translations/PartDesign_sl.qm</file>
</qresource>
</RCC>
</RCC>

View File

@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="64px" height="64px" id="svg2980" sodipodi:version="0.32" inkscape:version="0.48.1 r9760" sodipodi:docname="Workbench_PartDesign.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape" version="1.1">
<defs id="defs2982">
<linearGradient id="linearGradient3864">
<stop id="stop3866" offset="0" style="stop-color:#71b2f8;stop-opacity:1;"/>
<stop id="stop3868" offset="1" style="stop-color:#002795;stop-opacity:1;"/>
</linearGradient>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3864" id="radialGradient3850" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6028459,1.0471639,-1.9794021,1.1395295,127.9588,-74.456907)" cx="51.328892" cy="31.074146" fx="51.328892" fy="31.074146" r="19.571428"/>
<inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 32 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="64 : 32 : 1" inkscape:persp3d-origin="32 : 21.333333 : 1" id="perspective2988"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3377-28" id="linearGradient3616-9" gradientUnits="userSpaceOnUse" x1="901.1875" y1="1190.875" x2="1267.9062" y2="1190.875" gradientTransform="matrix(0.1367863,0,0,0.1367863,-122.45404,-135.82061)"/>
<linearGradient id="linearGradient3377-28">
<stop id="stop3379-2" offset="0" style="stop-color:#ffaa00;stop-opacity:1;"/>
<stop id="stop3381-9" offset="1" style="stop-color:#faff2b;stop-opacity:1;"/>
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" y2="1190.875" x2="1267.9062" y1="1190.875" x1="901.1875" id="linearGradient3383-7" xlink:href="#linearGradient3377-28" inkscape:collect="always"/>
<inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="1 : 0.5 : 1" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" id="perspective3607-8"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3377-2" id="linearGradient3616" gradientUnits="userSpaceOnUse" x1="901.1875" y1="1190.875" x2="1267.9062" y2="1190.875" gradientTransform="matrix(0.1367863,0,0,0.1367863,-122.45404,-135.82061)"/>
<linearGradient id="linearGradient3377-2">
<stop id="stop3379-6" offset="0" style="stop-color:#ffaa00;stop-opacity:1;"/>
<stop id="stop3381-7" offset="1" style="stop-color:#faff2b;stop-opacity:1;"/>
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" y2="1190.875" x2="1267.9062" y1="1190.875" x1="901.1875" id="linearGradient3383-6" xlink:href="#linearGradient3377-2" inkscape:collect="always"/>
<inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="1 : 0.5 : 1" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" id="perspective3607"/>
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.4307499,-1.3605156e-7,1.202713e-8,0.1264801,-475.3928,1244.2826)" r="194.40614" fy="1424.4465" fx="1103.6399" cy="1424.4465" cx="1103.6399" id="radialGradient6355" xlink:href="#linearGradient6349" inkscape:collect="always"/>
<inkscape:perspective id="perspective5829" inkscape:persp3d-origin="32 : 21.333333 : 1" inkscape:vp_z="64 : 32 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 32 : 1" sodipodi:type="inkscape:persp3d"/>
<linearGradient gradientUnits="userSpaceOnUse" y2="1190.875" x2="1267.9062" y1="1190.875" x1="901.1875" id="linearGradient3383" xlink:href="#linearGradient3377" inkscape:collect="always"/>
<linearGradient id="linearGradient3377">
<stop id="stop3379" offset="0" style="stop-color:#ffaa00;stop-opacity:1;"/>
<stop id="stop3381" offset="1" style="stop-color:#faff2b;stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linearGradient6349" inkscape:collect="always">
<stop id="stop6351" offset="0" style="stop-color:#000000;stop-opacity:1;"/>
<stop id="stop6353" offset="1" style="stop-color:#000000;stop-opacity:0;"/>
</linearGradient>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3377" id="linearGradient3025" gradientUnits="userSpaceOnUse" x1="901.1875" y1="1190.875" x2="1267.9062" y2="1190.875"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3377-2" id="linearGradient3027" gradientUnits="userSpaceOnUse" x1="901.1875" y1="1190.875" x2="1267.9062" y2="1190.875"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3377-28" id="linearGradient3029" gradientUnits="userSpaceOnUse" x1="901.1875" y1="1190.875" x2="1267.9062" y2="1190.875"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3377-28" id="linearGradient3033" gradientUnits="userSpaceOnUse" x1="901.1875" y1="1190.875" x2="1267.9062" y2="1190.875" gradientTransform="matrix(0.09240152,0,0,0.09240152,-81.407969,-85.443435)"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3377-2" id="linearGradient3036" gradientUnits="userSpaceOnUse" x1="901.1875" y1="1190.875" x2="1267.9062" y2="1190.875" gradientTransform="matrix(0.09240152,0,0,0.09240152,-81.407969,-85.443435)"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3377" id="linearGradient3039" gradientUnits="userSpaceOnUse" x1="901.1875" y1="1190.875" x2="1267.9062" y2="1190.875" gradientTransform="matrix(0.09240152,0,0,0.09240152,-81.407969,-85.443435)"/>
</defs>
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="7.7781746" inkscape:cx="42.163544" inkscape:cy="32.640686" inkscape:current-layer="layer1" showgrid="true" inkscape:document-units="px" inkscape:grid-bbox="true" inkscape:window-width="640" inkscape:window-height="684" inkscape:window-x="0" inkscape:window-y="93" inkscape:window-maximized="0"/>
<metadata id="metadata2985">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<g id="layer1" inkscape:label="Layer 1" inkscape:groupmode="layer">
<g id="g3845" transform="matrix(0.81571865,0,0,0.81571865,-40.265533,-97.995403)">
<path style="fill:#0034ff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" d="m 96.18444,141.44968 c -7.746756,3.45717 -19.81441,7.17921 -19.81441,7.17921 l 29.4349,3.97209 -0.72357,36.12665 c 0,0 9.16335,-4.70818 17.25881,-10.94388 0.21499,-11.12159 0.57587,-34.38485 0.57587,-34.38485 0,0 -15.51744,-1.15094 -26.7316,-1.94922 z" id="path3823" sodipodi:nodetypes="ccccccc" inkscape:connector-curvature="0"/>
<path style="fill:#0034ff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" d="m 75.57941,148.6589 c 0,0 15.806542,1.46667 30.70884,3.36562 -0.0706,14.03487 0,36.47719 0,36.47719 l -31.12383,-5.06479 z" id="path3825" sodipodi:nodetypes="ccccc" inkscape:connector-curvature="0"/>
<path style="fill:url(#radialGradient3850);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" d="m 106.05435,152.06948 16.72598,-8.4088" id="path3827" inkscape:connector-curvature="0"/>
</g>
<path style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2.70206952;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" d="m 33.379871,27.803609 2.285449,2.480768 c 0,0 1.542664,7.843647 2.417446,14.954983 -8.896148,-1.75964 -14.218607,-3.318822 -14.218607,-3.318822 l -3.328442,-3.582823" id="path3385" sodipodi:nodetypes="ccccc" inkscape:export-filename="/home/yorik/Documents/Lab/Draft/icons/draft.png" inkscape:export-xdpi="6.2926431" inkscape:export-ydpi="6.2926431" inkscape:connector-curvature="0"/>
<path style="fill:url(#linearGradient3039);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2.70206952;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" d="m 14.55101,7.3190238 c 0,0 -7.4010873,6.1898622 -12.2258766,11.2758772 7.3888733,9.328656 21.4689106,23.276525 21.4689106,23.276525 -0.184165,-0.383161 -0.285862,-0.806785 -0.285862,-1.253204 -9e-6,-1.700272 1.485826,-3.078117 3.314904,-3.078117 0.495254,0 0.96397,0.101762 1.386023,0.282971 l 0.199246,-0.184803 c -0.06174,-0.234977 -0.09529,-0.481218 -0.09529,-0.733428 0,-1.700281 1.482933,-3.081018 3.312012,-3.081018 0.281076,0 0.553615,0.03371 0.814298,0.09528 l 0.693011,-0.638143 c -0.03858,-0.186984 -0.06064,-0.38026 -0.06064,-0.577509 0,-1.341319 0.926325,-2.48015 2.214744,-2.901981 z" id="rect2390" inkscape:export-filename="/home/yorik/Documents/Lab/Draft/icons/draft.png" inkscape:export-xdpi="6.2926431" inkscape:export-ydpi="6.2926431" inkscape:connector-curvature="0" sodipodi:nodetypes="cccssccssccscc"/>
<path style="color:#000000;fill:url(#linearGradient3036);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2.70206952;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" d="M 32.839737,33.637906 11.464965,10.676359" id="path3373" inkscape:export-filename="/home/yorik/Documents/Lab/Draft/icons/draft.png" inkscape:export-xdpi="6.2926431" inkscape:export-ydpi="6.2926431" inkscape:connector-curvature="0"/>
<path style="color:#000000;fill:url(#linearGradient3033);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2.70206952;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" d="M 28.172758,37.55817 7.1713381,14.503279" id="path3375" inkscape:export-filename="/home/yorik/Documents/Lab/Draft/icons/draft.png" inkscape:export-xdpi="6.2926431" inkscape:export-ydpi="6.2926431" inkscape:connector-curvature="0"/>
<path style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2.70206952;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" d="m 36.853336,37.838183 -5.880396,5.507038 7.373836,1.866798 -1.49344,-7.373836 z" id="path3387" inkscape:export-filename="/home/yorik/Documents/Lab/Draft/icons/draft.png" inkscape:export-xdpi="6.2926431" inkscape:export-ydpi="6.2926431" inkscape:connector-curvature="0"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -30,53 +30,25 @@
#***************************************************************************/
class PartDesignWorkbench ( Workbench ):
"PartDesign workbench object"
Icon = """
/* XPM */
static char * partdesign_xpm[] = {
"16 16 9 1",
" c None",
". c #040006",
"+ c #070F38",
"@ c #002196",
"# c #0030F3",
"$ c #5A4D20",
"% c #858EB2",
"& c #DEB715",
"* c #BFB99D",
" & ........ ",
"&&&$..@@@@@@+...",
"&&&&$@#####@..@.",
"&&&&&$......@#@.",
"&&&&&&@@@+.###@.",
"$&&&&&&@#@.###@.",
".$&&&&&%#@.###@.",
".@*&&&*%#@.###@.",
".@#*&**%#@.###@.",
".@#@%%%.@@.###@.",
".@@@@@@@#@.###@.",
".@#######@.###@.",
".@#######@.##+. ",
".+@@@####@.@.. ",
" ......+++.. ",
" ... "};
"""
MenuText = "Part Design"
ToolTip = "Part Design workbench"
"PartDesign workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/PartDesign/Resources/icons/PartDesignWorkbench.svg"
self.__class__.MenuText = "Part Design"
self.__class__.ToolTip = "Part Design workbench"
def Initialize(self):
# load the module
try:
from WizardShaft import WizardShaft
except ImportError:
print "Wizard shaft module cannot be loaded"
import PartDesignGui
import PartDesign
try:
import InvoluteGearFeature
except ImportError:
print "Involute gear module cannot be loaded"
def GetClassName(self):
return "PartDesignGui::Workbench"
def Initialize(self):
# load the module
try:
from WizardShaft import WizardShaft
except ImportError:
print "Wizard shaft module cannot be loaded"
import PartDesignGui
import PartDesign
try:
import InvoluteGearFeature
except ImportError:
print "Involute gear module cannot be loaded"
def GetClassName(self):
return "PartDesignGui::Workbench"
Gui.addWorkbench(PartDesignWorkbench())

View File

@ -97,3 +97,11 @@ SET_BIN_DIR(PathGui PathGui /Mod/Path)
SET_PYTHON_PREFIX_SUFFIX(PathGui)
INSTALL(TARGETS PathGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(PathGuiIcon_SVG
Resources/icons/PathWorkbench.svg
)
fc_copy_sources(PathGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Path" ${PathGuiIcon_SVG})
INSTALL(FILES ${PathGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Path/Resources/icons")

View File

@ -30,6 +30,7 @@
<file>icons/Path-Inspect.svg</file>
<file>icons/Path-ToolChange.svg</file>
<file>icons/Path-SimpleCopy.svg</file>
<file>icons/PathWorkbench.svg</file>
<file>translations/Path_de.qm</file>
<file>translations/Path_af.qm</file>
<file>translations/Path_zh-CN.qm</file>

View File

@ -0,0 +1,527 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg2816"
version="1.1"
inkscape:version="0.48.5 r10040"
sodipodi:docname="Path.svg">
<defs
id="defs2818">
<linearGradient
id="linearGradient4513">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop4515" />
<stop
style="stop-color:#999999;stop-opacity:1;"
offset="1"
id="stop4517" />
</linearGradient>
<linearGradient
id="linearGradient3681">
<stop
id="stop3697"
offset="0"
style="stop-color:#fff110;stop-opacity:1;" />
<stop
style="stop-color:#cf7008;stop-opacity:1;"
offset="1"
id="stop3685" />
</linearGradient>
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="64 : 32 : 1"
inkscape:persp3d-origin="32 : 21.333333 : 1"
id="perspective2824" />
<inkscape:perspective
id="perspective3622"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3622-9"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3653"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3675"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3697"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3720"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3742"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3764"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3785"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3806"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3806-3"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3835"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3614"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3614-8"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3643"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3643-3"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3672"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3672-5"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3701"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3701-8"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3746"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<pattern
patternTransform="matrix(0.67643728,-0.81829155,2.4578314,1.8844554,-26.450606,18.294947)"
id="pattern5231"
xlink:href="#Strips1_1-4"
inkscape:collect="always" />
<inkscape:perspective
id="perspective5224"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<pattern
inkscape:stockid="Stripes 1:1"
id="Strips1_1-4"
patternTransform="matrix(0.66772843,-1.0037085,2.4261878,2.3114548,3.4760987,3.534923)"
height="1"
width="2"
patternUnits="userSpaceOnUse"
inkscape:collect="always">
<rect
id="rect4483-4"
height="2"
width="1"
y="-0.5"
x="0"
style="fill:black;stroke:none" />
</pattern>
<inkscape:perspective
id="perspective5224-9"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<pattern
patternTransform="matrix(0.66772843,-1.0037085,2.4261878,2.3114548,39.618381,8.9692804)"
id="pattern5231-4"
xlink:href="#Strips1_1-6"
inkscape:collect="always" />
<inkscape:perspective
id="perspective5224-3"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<pattern
inkscape:stockid="Stripes 1:1"
id="Strips1_1-6"
patternTransform="matrix(0.66772843,-1.0037085,2.4261878,2.3114548,3.4760987,3.534923)"
height="1"
width="2"
patternUnits="userSpaceOnUse"
inkscape:collect="always">
<rect
id="rect4483-0"
height="2"
width="1"
y="-0.5"
x="0"
style="fill:black;stroke:none" />
</pattern>
<pattern
patternTransform="matrix(0.66513382,-1.0631299,2.4167603,2.4482973,-49.762569,2.9546807)"
id="pattern5296"
xlink:href="#pattern5231-3"
inkscape:collect="always" />
<inkscape:perspective
id="perspective5288"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<pattern
patternTransform="matrix(0.66772843,-1.0037085,2.4261878,2.3114548,-26.336284,10.887197)"
id="pattern5231-3"
xlink:href="#Strips1_1-4-3"
inkscape:collect="always" />
<pattern
inkscape:stockid="Stripes 1:1"
id="Strips1_1-4-3"
patternTransform="matrix(0.66772843,-1.0037085,2.4261878,2.3114548,3.4760987,3.534923)"
height="1"
width="2"
patternUnits="userSpaceOnUse"
inkscape:collect="always">
<rect
id="rect4483-4-6"
height="2"
width="1"
y="-0.5"
x="0"
style="fill:black;stroke:none" />
</pattern>
<pattern
patternTransform="matrix(0.42844886,-0.62155849,1.5567667,1.431396,27.948414,13.306456)"
id="pattern5330"
xlink:href="#Strips1_1-9"
inkscape:collect="always" />
<inkscape:perspective
id="perspective5323"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<pattern
inkscape:stockid="Stripes 1:1"
id="Strips1_1-9"
patternTransform="matrix(0.66772843,-1.0037085,2.4261878,2.3114548,3.4760987,3.534923)"
height="1"
width="2"
patternUnits="userSpaceOnUse"
inkscape:collect="always">
<rect
id="rect4483-3"
height="2"
width="1"
y="-0.5"
x="0"
style="fill:black;stroke:none" />
</pattern>
<inkscape:perspective
id="perspective5361"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective5383"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective5411"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3681"
id="linearGradient3687"
x1="37.89756"
y1="41.087898"
x2="4.0605712"
y2="40.168594"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(127.27273,-51.272729)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3681"
id="linearGradient3695"
x1="37.894287"
y1="40.484772"
x2="59.811455"
y2="43.558987"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(127.27273,-51.272729)" />
<linearGradient
id="linearGradient3681-3">
<stop
id="stop3697-3"
offset="0"
style="stop-color:#fff110;stop-opacity:1;" />
<stop
style="stop-color:#cf7008;stop-opacity:1;"
offset="1"
id="stop3685-4" />
</linearGradient>
<linearGradient
y2="43.558987"
x2="59.811455"
y1="40.484772"
x1="37.894287"
gradientTransform="translate(-37.00068,-20.487365)"
gradientUnits="userSpaceOnUse"
id="linearGradient3608"
xlink:href="#linearGradient3681-3"
inkscape:collect="always" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient4513"
id="radialGradient4521"
cx="32.151962"
cy="7.9319997"
fx="32.151962"
fy="7.9319997"
r="23.634638"
gradientTransform="matrix(1,0,0,1.1841158,0,-1.4604067)"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient4513-2"
id="radialGradient4521-0"
cx="32.151962"
cy="17.949734"
fx="32.151962"
fy="17.949734"
r="23.634638"
gradientTransform="matrix(0.62332309,0,0,1.1841158,12.110902,-1.4604067)"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient4513-2">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop4515-2" />
<stop
style="stop-color:#999999;stop-opacity:1;"
offset="1"
id="stop4517-4" />
</linearGradient>
<radialGradient
r="23.634638"
fy="7.9319997"
fx="32.151962"
cy="7.9319997"
cx="32.151962"
gradientTransform="matrix(1,0,0,1.1841158,-8.5173246,-3.4097568)"
gradientUnits="userSpaceOnUse"
id="radialGradient4538"
xlink:href="#linearGradient4513-2"
inkscape:collect="always" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient4513-1"
id="radialGradient4521-4"
cx="32.151962"
cy="35.869175"
fx="32.151962"
fy="35.869175"
r="23.634638"
gradientTransform="matrix(0.39497909,0,0,1.1841158,19.452609,-1.4604067)"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient4513-1">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop4515-8" />
<stop
style="stop-color:#999999;stop-opacity:1;"
offset="1"
id="stop4517-6" />
</linearGradient>
<radialGradient
r="23.634638"
fy="7.9319997"
fx="32.151962"
cy="7.9319997"
cx="32.151962"
gradientTransform="matrix(1,0,0,1.1841158,-8.5173246,-3.4097568)"
gradientUnits="userSpaceOnUse"
id="radialGradient4538-6"
xlink:href="#linearGradient4513-1"
inkscape:collect="always" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.8890872"
inkscape:cx="-35.254314"
inkscape:cy="60.327673"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:bbox-nodes="true"
inkscape:snap-bbox-edge-midpoints="true"
inkscape:snap-bbox-midpoints="true"
inkscape:object-paths="true"
inkscape:object-nodes="true"
inkscape:window-width="1920"
inkscape:window-height="1053"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata2821">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<path
style="color:#000000;fill:#be823d;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1.97430002999999998;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"
d="M 3 46.75 L 3 60.84375 L 32.40625 60.84375 C 32.084838 60.84375 19.915162 53.387477 19.59375 52.9375 C 19.403961 52.671794 19.479403 49.467486 19.53125 46.75 L 3 46.75 z M 32.40625 60.84375 L 61.46875 60.84375 L 61.46875 46.75 L 44.8125 46.75 L 44.8125 52.625 C 44.8125 52.625 32.727662 60.84375 32.40625 60.84375 z "
id="rect4590" />
<path
style="color:#000000;fill:url(#radialGradient4521-4);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1.97430002999999998;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"
d="m 30.375,25.59375 -7.21875,3.5625 0,6.9375 L 40.5,27.5 l 0,-1.90625 -10.125,0 z m 10.125,7 -17.34375,8.5625 0,7.03125 17.34375,-8.59375 0,-7 z m 0,12.09375 -14.5625,7.21875 5.9375,3.90625 8.625,-5.71875 0,-5.40625 z"
id="rect4417"
inkscape:connector-curvature="0" />
<rect
style="color:#000000;fill:url(#radialGradient4521-0);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1.97430002999999998;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"
id="rect4411"
width="27.535192"
height="13.114594"
x="18.361635"
y="12.572689" />
<rect
style="color:#000000;fill:url(#radialGradient4521);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1.97430002999999998;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"
id="rect3591"
width="45.294975"
height="9.9909992"
x="9.5044746"
y="2.9365001" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -24,38 +24,10 @@
class PathWorkbench ( Workbench ):
"Path workbench"
Icon = """
/* XPM */
static char * Path_xpm[] = {
"16 16 9 1",
" c None",
". c #262623",
"+ c #452F16",
"@ c #525451",
"# c #7E5629",
"$ c #838582",
"% c #BE823B",
"& c #989A97",
"* c #CFD1CE",
" .@@@@@@@@@@. ",
" $**********$ ",
" @$$$&&&&$$$@ ",
" .$&&&&$. ",
" @******. ",
" @******. ",
" ...@@... ",
" .&&@. ",
" .@. . ",
" .&&. ",
" .$*$. ",
" .$. . ",
"+###+ .@&.+###+",
"+%%%+ .$$. +%%%+",
"+%%%%#.. .#%%%%+",
".++++++..++++++."};
"""
MenuText = "Path"
ToolTip = "Path workbench"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Path/Resources/icons/PathWorkbench.svg"
self.__class__.MenuText = "Path"
self.__class__.ToolTip = "Path workbench"
def Initialize(self):
# load the builtin modules

View File

@ -3,50 +3,50 @@ IF (BUILD_GUI)
ENDIF (BUILD_GUI)
SET(PlotMain_SRCS
Plot.py
InitGui.py
PlotGui.py
Plot.py
InitGui.py
PlotGui.py
)
SOURCE_GROUP("" FILES ${PlotMain_SRCS})
SET(PlotAxes_SRCS
plotAxes/__init__.py
plotAxes/TaskPanel.py
plotAxes/TaskPanel.ui
plotAxes/__init__.py
plotAxes/TaskPanel.py
plotAxes/TaskPanel.ui
)
SOURCE_GROUP("plotaxes" FILES ${PlotAxes_SRCS})
SET(PlotLabels_SRCS
plotLabels/__init__.py
plotLabels/TaskPanel.py
plotLabels/TaskPanel.ui
plotLabels/__init__.py
plotLabels/TaskPanel.py
plotLabels/TaskPanel.ui
)
SOURCE_GROUP("plotlabels" FILES ${PlotLabels_SRCS})
SET(PlotPositions_SRCS
plotPositions/__init__.py
plotPositions/TaskPanel.py
plotPositions/TaskPanel.ui
plotPositions/__init__.py
plotPositions/TaskPanel.py
plotPositions/TaskPanel.ui
)
SOURCE_GROUP("plotpositions" FILES ${PlotPositions_SRCS})
SET(PlotSave_SRCS
plotSave/__init__.py
plotSave/TaskPanel.py
plotSave/TaskPanel.ui
plotSave/__init__.py
plotSave/TaskPanel.py
plotSave/TaskPanel.ui
)
SOURCE_GROUP("plotsave" FILES ${PlotSave_SRCS})
SET(PlotSeries_SRCS
plotSeries/__init__.py
plotSeries/TaskPanel.py
plotSeries/TaskPanel.ui
plotSeries/__init__.py
plotSeries/TaskPanel.py
plotSeries/TaskPanel.ui
)
SOURCE_GROUP("plotseries" FILES ${PlotSeries_SRCS})
SET(PlotUtils_SRCS
plotUtils/__init__.py
plotUtils/Paths.py
plotUtils/__init__.py
plotUtils/Paths.py
)
SOURCE_GROUP("plotutils" FILES ${PlotUtils_SRCS})
@ -109,4 +109,10 @@ INSTALL(
Mod/Plot
)
SET(PlotGuiIcon_SVG
resources/icons/PlotWorkbench.svg
)
fc_copy_sources(Plot "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Plot" ${PlotGuiIcon_SVG})
INSTALL(FILES ${PlotGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Plot/resources/icons")

View File

@ -24,14 +24,14 @@
class PlotWorkbench(Workbench):
"""Workbench of Plot module."""
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Plot/resources/icons/PlotWorkbench.svg"
self.__class__.MenuText = "Plot"
self.__class__.ToolTip = "The Plot module is used to edit/save output plots performed by other tools"
from plotUtils import Paths
import PlotGui
Icon = 'Icon.svg'
MenuText = "Plot"
ToolTip = ("The Plot module is used to edit/save output plots performed "
"by other tools")
def Initialize(self):
from PySide import QtCore, QtGui
cmdlst = ["Plot_SaveFig",

View File

@ -1,5 +1,5 @@
<RCC>
<qresource prefix="Plot">
<qresource prefix="Plot">
<file>icons/Axes.svg</file>
<file>icons/Grid.svg</file>
<file>icons/Icon.svg</file>
@ -8,6 +8,7 @@
<file>icons/Positions.svg</file>
<file>icons/Save.svg</file>
<file>icons/Series.svg</file>
<file>icons/PlotWorkbench.svg</file>
<file>translations/Plot_af.qm</file>
<file>translations/Plot_cs.qm</file>
<file>translations/Plot_de.qm</file>
@ -35,4 +36,4 @@
<file>translations/Plot_el.qm</file>
<file>translations/Plot_sl.qm</file>
</qresource>
</RCC>
</RCC>

View File

@ -0,0 +1,403 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg2772"
sodipodi:version="0.32"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="Icon.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1">
<defs
id="defs2774">
<linearGradient
id="linearGradient3909">
<stop
style="stop-color:#6e0000;stop-opacity:1;"
offset="0"
id="stop3911" />
<stop
style="stop-color:#ff0000;stop-opacity:1;"
offset="1"
id="stop3913" />
</linearGradient>
<linearGradient
id="linearGradient3876">
<stop
style="stop-color:#ffffff;stop-opacity:1"
offset="0"
id="stop3878" />
<stop
style="stop-color:#e2e2e2;stop-opacity:1"
offset="1"
id="stop3880" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3144"
id="radialGradient2210"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
cx="225.26402"
cy="672.79736"
fx="225.26402"
fy="672.79736"
r="34.345188" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3144"
id="radialGradient2202"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
cx="225.26402"
cy="672.79736"
fx="225.26402"
fy="672.79736"
r="34.345188" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3144"
id="radialGradient2194"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
cx="225.26402"
cy="672.79736"
fx="225.26402"
fy="672.79736"
r="34.345188" />
<linearGradient
inkscape:collect="always"
id="linearGradient3144">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop3146" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop3148" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3144"
id="radialGradient2192"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
cx="225.26402"
cy="672.79736"
fx="225.26402"
fy="672.79736"
r="34.345188" />
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="64 : 32 : 1"
inkscape:persp3d-origin="32 : 21.333333 : 1"
id="perspective2780" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3909"
id="linearGradient3915"
x1="10.556579"
y1="31.923065"
x2="53.083032"
y2="31.923065"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1115095,0,0,1.1115095,-1.1771587,-6.0024571)" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3876"
id="radialGradient3966"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-2.6710402,1.8241313,-1.810185,-2.6506188,207.0925,-28.733191)"
cx="48.585522"
cy="16.830805"
fx="48.585522"
fy="16.830805"
r="24.104704" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3909"
id="linearGradient4004"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1115095,0,0,1.1115095,-1.1771587,-6.0024571)"
x1="10.556579"
y1="31.923065"
x2="53.083032"
y2="31.923065" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3909"
id="linearGradient4011"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1115095,0,0,1.1115095,-1.1771587,-6.0024571)"
x1="10.556579"
y1="31.923065"
x2="53.083032"
y2="31.923065" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.6568543"
inkscape:cx="6.874763"
inkscape:cy="36.215054"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="1360"
inkscape:window-height="718"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata2777">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<g
id="g3923"
style="fill:#828282;fill-opacity:1;stroke:#828282;stroke-opacity:1"
transform="translate(2,2)">
<rect
style="fill:#828282;fill-opacity:1;stroke:#828282;stroke-opacity:1"
id="rect3925"
width="47.982609"
height="48.776691"
x="10.879802"
y="4.8561425" />
<path
style="fill:#828282;fill-opacity:1;stroke:#828282;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 11.056579,4.8601601 0,54.5115049"
id="path3927"
inkscape:connector-curvature="0" />
<path
style="fill:#828282;fill-opacity:1;stroke:#828282;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 5.3997245,53.457681 53.4829855,0"
id="path3929"
inkscape:connector-curvature="0" />
<path
style="fill:#828282;fill-opacity:1;stroke:#828282;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 18.641906,53.457681 0,3.214121"
id="path3931"
inkscape:connector-curvature="0" />
<path
style="fill:#828282;fill-opacity:1;stroke:#828282;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 26.636363,53.438394 0,3.214121"
id="path3933"
inkscape:connector-curvature="0" />
<path
style="fill:#828282;fill-opacity:1;stroke:#828282;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 34.590909,53.392939 0,3.214121"
id="path3935"
inkscape:connector-curvature="0" />
<path
style="fill:#828282;fill-opacity:1;stroke:#828282;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 42.59091,53.39294 0,3.214121"
id="path3937"
inkscape:connector-curvature="0" />
<path
style="fill:#828282;fill-opacity:1;stroke:#828282;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 50.590909,53.39294 0,3.214121"
id="path3939"
inkscape:connector-curvature="0" />
<path
style="fill:#828282;fill-opacity:1;stroke:#828282;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 11,45.409091 -3.5909091,0"
id="path3941"
inkscape:connector-curvature="0" />
<path
style="fill:#828282;fill-opacity:1;stroke:#828282;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 10.977273,37.318181 -3.5909094,0"
id="path3943"
inkscape:connector-curvature="0" />
<path
style="fill:#828282;fill-opacity:1;stroke:#828282;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 11.022728,29.272727 -3.5909094,0"
id="path3945"
inkscape:connector-curvature="0" />
<path
style="fill:#828282;fill-opacity:1;stroke:#828282;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 11.022727,21.272727 -3.5909088,0"
id="path3947"
inkscape:connector-curvature="0" />
<path
style="fill:#828282;fill-opacity:1;stroke:#828282;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 10.977273,13.272727 -3.5909094,0"
id="path3949"
inkscape:connector-curvature="0" />
</g>
<rect
style="fill:url(#radialGradient3966);fill-opacity:1;stroke:none"
id="rect3098"
width="47.982609"
height="48.776691"
x="10.879802"
y="4.8561425" />
<g
id="g4143"
style="stroke:#b4b4b4;stroke-opacity:1;stroke-width:0.4;stroke-miterlimit:4;stroke-dasharray:none">
<g
id="g4070"
style="stroke:#b4b4b4;stroke-opacity:1;stroke-width:0.4;stroke-miterlimit:4;stroke-dasharray:none">
<path
style="fill:none;stroke:#b4b4b4;stroke-width:0.4;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="m 18.636364,53.363636 0,-48.5454543"
id="path4001"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#b4b4b4;stroke-width:0.4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 26.554308,53.415576 0,-48.5454537"
id="path4001-6"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#b4b4b4;stroke-width:0.4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 34.520316,53.390013 0,-48.5454548"
id="path4001-69"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#b4b4b4;stroke-width:0.4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 42.43826,53.441953 0,-48.5454538"
id="path4001-6-9"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#b4b4b4;stroke-width:0.4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 50.561525,53.465574 0,-48.5454537"
id="path4001-6-9-1"
inkscape:connector-curvature="0" />
</g>
<g
id="g4136"
style="stroke:#b4b4b4;stroke-opacity:1;stroke-width:0.4;stroke-miterlimit:4;stroke-dasharray:none">
<path
style="fill:none;stroke:#b4b4b4;stroke-width:0.4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 11.046875,45.268821 47.818182,0"
id="path4077"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#b4b4b4;stroke-width:0.4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 11.061899,37.283554 47.818182,0"
id="path4077-1"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#b4b4b4;stroke-width:0.4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 11.033927,29.272205 47.818182,0"
id="path4077-18"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#b4b4b4;stroke-width:0.4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 11.048951,21.286938 47.818182,0"
id="path4077-1-0"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#b4b4b4;stroke-width:0.4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 11.070598,13.276138 47.818182,0"
id="path4077-1-0-4"
inkscape:connector-curvature="0" />
</g>
</g>
<g
id="g4007">
<path
style="fill:none;stroke:#828282;stroke-width:1.11150944px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 13.112334,55.273361 27.831144,27.836355 37.262615,36.267518 59.26938,7.6873037"
id="path3917"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path3907"
d="M 11.112334,53.273361 25.831144,25.836355 35.262615,34.267518 57.26938,5.6873037"
style="fill:none;stroke:url(#linearGradient4011);stroke-width:1.11150944px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g3968">
<path
inkscape:connector-curvature="0"
id="path3012"
d="m 11.056579,4.8601601 0,54.5115049"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3014"
d="m 5.3997245,53.457681 53.4829855,0"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3016"
d="m 18.641906,53.457681 0,3.214121"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3016-5"
d="m 26.636363,53.438394 0,3.214121"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3016-2"
d="m 34.590909,53.392939 0,3.214121"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3016-3"
d="m 42.59091,53.39294 0,3.214121"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3016-51"
d="m 50.590909,53.39294 0,3.214121"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3057"
d="m 11,45.409091 -3.5909091,0"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3057-5"
d="m 10.977273,37.318181 -3.5909094,0"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3057-0"
d="m 11.022728,29.272727 -3.5909094,0"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3057-1"
d="m 11.022727,21.272727 -3.5909088,0"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3057-6"
d="m 10.977273,13.272727 -3.5909094,0"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -69,3 +69,11 @@ SET_BIN_DIR(PointsGui PointsGui /Mod/Points)
SET_PYTHON_PREFIX_SUFFIX(PointsGui)
INSTALL(TARGETS PointsGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(PointsGuiIcon_SVG
Resources/icons/PointsWorkbench.svg
)
fc_copy_sources(PointsGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Points" ${PointsGuiIcon_SVG})
INSTALL(FILES ${PointsGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Points/Resources/icons")

View File

@ -2,6 +2,7 @@
<qresource>
<file>icons/Points_Export_Point_cloud.svg</file>
<file>icons/Points_Import_Point_cloud.svg</file>
<file>icons/PointsWorkbench.svg</file>
<file>translations/Points_af.qm</file>
<file>translations/Points_de.qm</file>
<file>translations/Points_fi.qm</file>
@ -29,4 +30,4 @@
<file>translations/Points_el.qm</file>
<file>translations/Points_sl.qm</file>
</qresource>
</RCC>
</RCC>

View File

@ -0,0 +1,28 @@
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" version="1.0" xmlns:cc="http://creativecommons.org/ns#" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 64 64" xmlns:dc="http://purl.org/dc/elements/1.1/">
<g transform="translate(0,16)">
<g stroke-linejoin="round" fill-rule="evenodd" transform="translate(-0.212 1.712)" stroke="#2e3436" stroke-linecap="square" stroke-width=".2">
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="27.451" x="52.875"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="4.576" x="4.125"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="-6.174" x="11"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="1.701" x="17.875"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="1.076" x="41.125"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="-2.424" x="52.625"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="-13.299" x="55.875"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="-9.674" x="48.5"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="-6.299" x="33.625"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="-13.549" x="26.5"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="15.826" x="45"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="8.826" x="41.25"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="12.576" x="30"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="16.201" x="15"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="8.576" x="18.125"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="31.576" x="22.75"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="27.451" x="15.25"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="20.076" x="23.125"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="23.951" x="37.5"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="38.576" x="15"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="38.701" x="45"/>
<rect height="3.424" style="color:#000000" ry="1.4628" width="4.424" y="34.951" x="37.625"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -32,37 +32,16 @@
class PointsWorkbench ( Workbench ):
"Points workbench object"
Icon = """
/* XPM */
static const char *test_icon[]={
"16 16 2 1",
"a c #000000",
". c None",
"......##......##",
"............##..",
"..##....##......",
"......##.....##.",
"....##....##....",
"##..............",
"....##....##....",
".......##.......",
"...##......##...",
".....##.........",
".........##.....",
"...##........##.",
".....##.........",
".........##.....",
"...##......##...",
"................"};
"""
MenuText = "Points"
ToolTip = "Points workbench"
"Points workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Points/Resources/icons/PointsWorkbench.svg"
self.__class__.MenuText = "Points"
self.__class__.ToolTip = "Points workbench"
def Initialize(self):
# load the module
import PointsGui
def GetClassName(self):
return "PointsGui::Workbench"
def Initialize(self):
# load the module
import PointsGui
def GetClassName(self):
return "PointsGui::Workbench"
Gui.addWorkbench(PointsWorkbench())

View File

@ -88,3 +88,11 @@ SET_BIN_DIR(RaytracingGui RaytracingGui /Mod/Raytracing)
SET_PYTHON_PREFIX_SUFFIX(RaytracingGui)
INSTALL(TARGETS RaytracingGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(RaytracingGuiIcon_SVG
Resources/icons/RaytracingWorkbench.svg
)
fc_copy_sources(RaytracingGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Raytracing" ${RaytracingGuiIcon_SVG})
INSTALL(FILES ${RaytracingGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Raytracing/Resources/icons")

View File

@ -1,5 +1,5 @@
<RCC>
<qresource>
<qresource>
<file>icons/preferences-raytracing.svg</file>
<file>icons/Raytrace_Camera.svg</file>
<file>icons/Raytrace_Export.svg</file>
@ -10,6 +10,7 @@
<file>icons/Raytrace_Render.svg</file>
<file>icons/Raytrace_ResetCamera.svg</file>
<file>icons/Raytrace_Lux.svg</file>
<file>icons/RaytracingWorkbench.svg</file>
<file>translations/Raytracing_af.qm</file>
<file>translations/Raytracing_de.qm</file>
<file>translations/Raytracing_fi.qm</file>
@ -37,4 +38,4 @@
<file>translations/Raytracing_el.qm</file>
<file>translations/Raytracing_sl.qm</file>
</qresource>
</RCC>
</RCC>

View File

@ -0,0 +1,176 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg2816"
version="1.1"
inkscape:version="0.47 r22583"
sodipodi:docname="New document 2">
<defs
id="defs2818">
<linearGradient
id="linearGradient3600">
<stop
style="stop-color:#000117;stop-opacity:1;"
offset="0"
id="stop3602" />
<stop
style="stop-color:#4f82b9;stop-opacity:1;"
offset="1"
id="stop3604" />
</linearGradient>
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="64 : 32 : 1"
inkscape:persp3d-origin="32 : 21.333333 : 1"
id="perspective2824" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3600"
id="linearGradient3606"
x1="51.037281"
y1="47.692612"
x2="14.872466"
y2="10.397644"
gradientUnits="userSpaceOnUse" />
<inkscape:perspective
id="perspective3618"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3600-6"
id="linearGradient3606-5"
x1="51.037281"
y1="47.692612"
x2="14.872466"
y2="10.397644"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3600-6">
<stop
style="stop-color:#000117;stop-opacity:1;"
offset="0"
id="stop3602-5" />
<stop
style="stop-color:#4f82b9;stop-opacity:1;"
offset="1"
id="stop3604-4" />
</linearGradient>
<inkscape:perspective
id="perspective3656"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3679"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3600-63"
id="linearGradient3606-0"
x1="51.037281"
y1="47.692612"
x2="14.872466"
y2="10.397644"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3600-63">
<stop
style="stop-color:#000117;stop-opacity:1;"
offset="0"
id="stop3602-9" />
<stop
style="stop-color:#4f82b9;stop-opacity:1;"
offset="1"
id="stop3604-0" />
</linearGradient>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.5"
inkscape:cx="32.960684"
inkscape:cy="32.47508"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="1280"
inkscape:window-height="758"
inkscape:window-x="0"
inkscape:window-y="19"
inkscape:window-maximized="0" />
<metadata
id="metadata2821">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<path
sodipodi:type="arc"
style="color:#000000;fill:#000000;fill-opacity:0.65625;fill-rule:evenodd;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="path2826-8"
sodipodi:cx="31.636364"
sodipodi:cy="30.363636"
sodipodi:rx="26.181818"
sodipodi:ry="26.181818"
d="m 57.818182,30.363636 a 26.181818,26.181818 0 1 1 -52.363636,0 26.181818,26.181818 0 1 1 52.363636,0 z"
transform="matrix(0.79832197,0,0,0.19433492,14.266664,46.267532)" />
<path
sodipodi:type="arc"
style="color:#000000;fill:url(#linearGradient3606);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="path2826"
sodipodi:cx="31.636364"
sodipodi:cy="30.363636"
sodipodi:rx="26.181818"
sodipodi:ry="26.181818"
d="m 57.818182,30.363636 a 26.181818,26.181818 0 1 1 -52.363636,0 26.181818,26.181818 0 1 1 52.363636,0 z"
transform="matrix(0.96527774,0,0,0.96527774,-1.987072,1.0413715)" />
<path
sodipodi:type="arc"
style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="path3608"
sodipodi:cx="11.181818"
sodipodi:cy="20.181818"
sodipodi:rx="10.454545"
sodipodi:ry="7.2727275"
d="m 21.636363,20.181818 a 10.454545,7.2727275 0 1 1 -20.90909001,0 10.454545,7.2727275 0 1 1 20.90909001,0 z"
transform="matrix(0.77253856,-0.63496785,0.63496785,0.77253856,-2.0400861,9.4647453)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@ -32,46 +32,18 @@
class RaytracingWorkbench ( Workbench ):
"Raytracing workbench object"
Icon = """
/* XPM */
static char * raytracing_xpm[] = {
"16 16 9 1",
" c None",
". c #000100",
"+ c #0C1731",
"@ c #1D3154",
"# c #29476F",
"$ c #3C6291",
"% c #7394BB",
"& c #B0BFD3",
"* c #FBFDFB",
" ",
" $$ ",
" %&%$$$# ",
" %&***$$### ",
" %****$###@@ ",
" $%***%###@@@ ",
" $$%&$###@@@+ ",
" $$$####@@@++ ",
" $$####@@@+++ ",
" $####@@@++++ ",
" ###@@@+++++ ",
" ##@@@+++++ ",
" @@@+++++... ",
" ++++..... ",
" ",
" "};
"""
MenuText = "Raytracing"
ToolTip = "Raytracing workbench"
"Raytracing workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Raytracing/Resources/icons/RaytracingWorkbench.svg"
self.__class__.MenuText = "Raytracing"
self.__class__.ToolTip = "Raytracing workbench"
def Initialize(self):
# load the module
import PartGui
import RaytracingGui
def GetClassName(self):
return "RaytracingGui::Workbench"
def Initialize(self):
# load the module
import PartGui
import RaytracingGui
def GetClassName(self):
return "RaytracingGui::Workbench"
Gui.addWorkbench(RaytracingWorkbench())

View File

@ -72,3 +72,11 @@ SET_BIN_DIR(ReverseEngineeringGui ReverseEngineeringGui /Mod/ReverseEngineering)
SET_PYTHON_PREFIX_SUFFIX(ReverseEngineeringGui)
install(TARGETS ReverseEngineeringGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(ReverseEngineeringGuiIcon_SVG
Resources/icons/ReverseEngineeringWorkbench.svg
)
fc_copy_sources(ReverseEngineeringGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/ReverseEngineering" ${ReverseEngineeringGuiIcon_SVG})
INSTALL(FILES ${ReverseEngineeringGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/ReverseEngineering/Resources/icons")

View File

@ -1,6 +1,7 @@
<RCC>
<qresource>
<qresource>
<file>icons/actions/FitSurface.svg</file>
<file>icons/ReverseEngineeringWorkbench.svg</file>
<file>translations/ReverseEngineering_af.qm</file>
<file>translations/ReverseEngineering_de.qm</file>
<file>translations/ReverseEngineering_fi.qm</file>
@ -28,4 +29,4 @@
<file>translations/ReverseEngineering_el.qm</file>
<file>translations/ReverseEngineering_sl.qm</file>
</qresource>
</RCC>
</RCC>

View File

@ -0,0 +1,554 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg2816"
version="1.1"
inkscape:version="0.91 r"
sodipodi:docname="ReverseEngineeringWorkbench2.svg">
<defs
id="defs2818">
<linearGradient
id="linearGradient3669">
<stop
style="stop-color:#cc8000;stop-opacity:1;"
offset="0"
id="stop3671" />
<stop
style="stop-color:#ffed00;stop-opacity:1;"
offset="1"
id="stop3673" />
</linearGradient>
<linearGradient
id="linearGradient3602">
<stop
style="stop-color:#ff2600;stop-opacity:1;"
offset="0"
id="stop3604" />
<stop
style="stop-color:#ff5f00;stop-opacity:1;"
offset="1"
id="stop3606" />
</linearGradient>
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="64 : 32 : 1"
inkscape:persp3d-origin="32 : 21.333333 : 1"
id="perspective2824" />
<inkscape:perspective
id="perspective3618"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3602-7"
id="linearGradient3608-5"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3602-7">
<stop
style="stop-color:#c51900;stop-opacity:1;"
offset="0"
id="stop3604-1" />
<stop
style="stop-color:#ff5f00;stop-opacity:1;"
offset="1"
id="stop3606-3" />
</linearGradient>
<inkscape:perspective
id="perspective3677"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3602-5"
id="linearGradient3608-1"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3602-5">
<stop
style="stop-color:#c51900;stop-opacity:1;"
offset="0"
id="stop3604-9" />
<stop
style="stop-color:#ff5f00;stop-opacity:1;"
offset="1"
id="stop3606-9" />
</linearGradient>
<linearGradient
y2="14.363636"
x2="24.81818"
y1="14.363636"
x1="3.909091"
gradientUnits="userSpaceOnUse"
id="linearGradient3686"
xlink:href="#linearGradient3602-5"
inkscape:collect="always" />
<inkscape:perspective
id="perspective3717"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3602-58"
id="linearGradient3608-8"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3602-58">
<stop
style="stop-color:#c51900;stop-opacity:1;"
offset="0"
id="stop3604-2" />
<stop
style="stop-color:#ff5f00;stop-opacity:1;"
offset="1"
id="stop3606-2" />
</linearGradient>
<linearGradient
y2="14.363636"
x2="24.81818"
y1="14.363636"
x1="3.909091"
gradientUnits="userSpaceOnUse"
id="linearGradient3726"
xlink:href="#linearGradient3602-58"
inkscape:collect="always" />
<inkscape:perspective
id="perspective4410"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective4944"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective4966"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective5009"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective5165"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective7581"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective7606"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective7638"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective7660"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective7704"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective7730"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective7762"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective7783"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective7843"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective7881"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective7932"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective2866"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective2878"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
id="linearGradient3602-1">
<stop
style="stop-color:#ff2600;stop-opacity:1;"
offset="0"
id="stop3604-8" />
<stop
style="stop-color:#ff5f00;stop-opacity:1;"
offset="1"
id="stop3606-96" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3602-1"
id="linearGradient2875"
gradientUnits="userSpaceOnUse"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636" />
<inkscape:perspective
id="perspective2885"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
id="linearGradient3602-1-5">
<stop
style="stop-color:#ff2600;stop-opacity:1;"
offset="0"
id="stop3604-8-3" />
<stop
style="stop-color:#ff5f00;stop-opacity:1;"
offset="1"
id="stop3606-96-8" />
</linearGradient>
<inkscape:perspective
id="perspective3720"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
id="linearGradient3602-1-8">
<stop
style="stop-color:#ff2600;stop-opacity:1;"
offset="0"
id="stop3604-8-5" />
<stop
style="stop-color:#ff5f00;stop-opacity:1;"
offset="1"
id="stop3606-96-2" />
</linearGradient>
<inkscape:perspective
id="perspective3822"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3849"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3879"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective2896"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective2925"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective2925-4"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3726"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3669"
id="linearGradient3675"
x1="81.897568"
y1="17.729464"
x2="3.0457773"
y2="17.729464"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.73872768,0,0,1.3536788,-23.287951,-10.010092)" />
<inkscape:perspective
id="perspective3689"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
id="linearGradient3669-2">
<stop
style="stop-color:#af7d00;stop-opacity:1;"
offset="0"
id="stop3671-7" />
<stop
style="stop-color:#ffed00;stop-opacity:1;"
offset="1"
id="stop3673-5" />
</linearGradient>
<linearGradient
gradientTransform="matrix(0.73872768,0,0,1.3536788,-2.25,-1.9999999)"
y2="1.8468192"
x2="48.259949"
y1="33.61211"
x1="34.290413"
gradientUnits="userSpaceOnUse"
id="linearGradient3698"
xlink:href="#linearGradient3669-2"
inkscape:collect="always" />
<inkscape:perspective
id="perspective3689-6"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3669-22"
id="linearGradient3675-0"
x1="30.896446"
y1="27.685659"
x2="53.125"
y2="5.124999"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-23.818281,-9.4797617)" />
<linearGradient
id="linearGradient3669-22">
<stop
style="stop-color:#af7d00;stop-opacity:1;"
offset="0"
id="stop3671-8" />
<stop
style="stop-color:#ffed00;stop-opacity:1;"
offset="1"
id="stop3673-4" />
</linearGradient>
<linearGradient
gradientTransform="matrix(0.73872768,0,0,1.3536788,-2.25,-1.9999999)"
y2="1.8468192"
x2="48.259949"
y1="33.61211"
x1="34.290413"
gradientUnits="userSpaceOnUse"
id="linearGradient3698-3"
xlink:href="#linearGradient3669-22"
inkscape:collect="always" />
<inkscape:perspective
id="perspective3689-1"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
id="linearGradient3669-0">
<stop
style="stop-color:#af7d00;stop-opacity:1;"
offset="0"
id="stop3671-9" />
<stop
style="stop-color:#ffed00;stop-opacity:1;"
offset="1"
id="stop3673-1" />
</linearGradient>
<linearGradient
gradientTransform="matrix(0.73872768,0,0,1.3536788,-2.25,-1.9999999)"
y2="1.8468192"
x2="48.259949"
y1="33.61211"
x1="34.290413"
gradientUnits="userSpaceOnUse"
id="linearGradient3698-9"
xlink:href="#linearGradient3669-0"
inkscape:collect="always" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.6568542"
inkscape:cx="32.954998"
inkscape:cy="24.565088"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="1280"
inkscape:window-height="758"
inkscape:window-x="0"
inkscape:window-y="19"
inkscape:window-maximized="0"
inkscape:snap-bbox="false"
inkscape:bbox-paths="true"
inkscape:bbox-nodes="true"
inkscape:snap-bbox-edge-midpoints="true"
inkscape:snap-bbox-midpoints="true"
inkscape:object-paths="true"
inkscape:snap-intersection-paths="true"
inkscape:object-nodes="true"
inkscape:snap-smooth-nodes="true"
inkscape:snap-midpoints="true"
inkscape:snap-global="true" />
<metadata
id="metadata2821">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<g
id="g4214"
transform="matrix(1.0820003,0,0,1.0822852,25.684312,10.568146)">
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;font-family:Arial;-inkscape-font-specification:Arial;visibility:visible;fill:url(#linearGradient3675);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1.84818494;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none"
d="m 29.233497,20.225821 c -21.5214478,24.264088 0,0 -21.5214478,24.264088 l -25.8750002,-0.250002 1e-6,-26.249999 L 6.4620492,-4.7600917 29.83705,-4.8850918 Z"
id="path2887"
sodipodi:nodetypes="ccccccc"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;font-family:Arial;-inkscape-font-specification:Arial;display:inline;overflow:visible;visibility:visible;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1.84818494;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
d="m -18.943279,18.563132 13.3946048,-0.161612 12.376841,-0.152728 0.103553,26.81434"
id="path3677"
sodipodi:nodetypes="czcc"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;font-family:Arial;-inkscape-font-specification:Arial;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3675-0);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1.84818494;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
d="M 7.0781657,18.205899 16.390665,8.395239 29.30672,-4.3547625"
id="path3679"
sodipodi:nodetypes="czc"
inkscape:connector-curvature="0" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -32,39 +32,17 @@
class ReverseEngineeringWorkbench ( Workbench ):
"ReverseEngineering workbench object"
Icon = """
/* XPM */
static const char *ReverseEngineering_Box[]={
"16 16 3 1",
". c None",
"# c #000000",
"a c #c6c642",
"................",
".......#######..",
"......#aaaaa##..",
".....#aaaaa###..",
"....#aaaaa##a#..",
"...#aaaaa##aa#..",
"..#aaaaa##aaa#..",
".########aaaa#..",
".#aaaaa#aaaaa#..",
".#aaaaa#aaaa##..",
".#aaaaa#aaa##...",
".#aaaaa#aa##....",
".#aaaaa#a##... .",
".#aaaaa###......",
".########.......",
"................"};
"""
MenuText = "Reverse Engineering"
ToolTip = "Reverse Engineering workbench"
"ReverseEngineering workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/ReverseEngineering/Resources/icons/ReverseEngineeringWorkbench.svg"
self.__class__.MenuText = "Reverse Engineering"
self.__class__.ToolTip = "Reverse Engineering workbench"
def Initialize(self):
# load the module
import ReverseEngineeringGui
import ReverseEngineering
def GetClassName(self):
return "ReverseEngineeringGui::Workbench"
def Initialize(self):
# load the module
import ReverseEngineeringGui
import ReverseEngineering
def GetClassName(self):
return "ReverseEngineeringGui::Workbench"
Gui.addWorkbench(ReverseEngineeringWorkbench())

View File

@ -156,3 +156,11 @@ SET_BIN_DIR(RobotGui RobotGui /Mod/Robot)
SET_PYTHON_PREFIX_SUFFIX(RobotGui)
INSTALL(TARGETS RobotGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(RobotGuiIcon_SVG
Resources/icons/RobotWorkbench.svg
)
fc_copy_sources(RobotGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Robot" ${RobotGuiIcon_SVG})
INSTALL(FILES ${RobotGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Robot/Resources/icons")

View File

@ -13,6 +13,7 @@
<file>icons/Robot_Simulate.svg</file>
<file>icons/Robot_TrajectoryCompound.svg</file>
<file>icons/Robot_TrajectoryDressUp.svg</file>
<file>icons/RobotWorkbench.svg</file>
<file>translations/Robot_af.qm</file>
<file>translations/Robot_de.qm</file>
<file>translations/Robot_fi.qm</file>

View File

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="64px" height="64px" id="svg5821" sodipodi:version="0.32" inkscape:version="0.47 r22583" sodipodi:docname="Workbench_Robot.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape" version="1.1">
<defs id="defs5823">
<linearGradient id="linearGradient3377">
<stop style="stop-color:#ffaa00;stop-opacity:1;" offset="0" id="stop3379"/>
<stop style="stop-color:#faff2b;stop-opacity:1;" offset="1" id="stop3381"/>
</linearGradient>
<inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 32 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="64 : 32 : 1" inkscape:persp3d-origin="32 : 21.333333 : 1" id="perspective5829"/>
<inkscape:perspective id="perspective3607" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d"/>
<linearGradient id="linearGradient3377-2">
<stop style="stop-color:#ffaa00;stop-opacity:1;" offset="0" id="stop3379-6"/>
<stop style="stop-color:#faff2b;stop-opacity:1;" offset="1" id="stop3381-7"/>
</linearGradient>
<linearGradient gradientTransform="matrix(0.1367863,0,0,0.1367863,-122.45404,-135.82061)" y2="1190.875" x2="1267.9062" y1="1190.875" x1="901.1875" gradientUnits="userSpaceOnUse" id="linearGradient3616" xlink:href="#linearGradient3377-2" inkscape:collect="always"/>
<inkscape:perspective id="perspective3607-8" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d"/>
<linearGradient id="linearGradient3377-28">
<stop style="stop-color:#ffaa00;stop-opacity:1;" offset="0" id="stop3379-2"/>
<stop style="stop-color:#faff2b;stop-opacity:1;" offset="1" id="stop3381-9"/>
</linearGradient>
<linearGradient gradientTransform="matrix(0.1367863,0,0,0.1367863,-122.45404,-135.82061)" y2="1190.875" x2="1267.9062" y1="1190.875" x1="901.1875" gradientUnits="userSpaceOnUse" id="linearGradient3616-9" xlink:href="#linearGradient3377-28" inkscape:collect="always"/>
<inkscape:perspective id="perspective3691" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d"/>
</defs>
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="5.5" inkscape:cx="9.5007083" inkscape:cy="25.720961" inkscape:current-layer="g3360" showgrid="true" inkscape:document-units="px" inkscape:grid-bbox="true" inkscape:window-width="1278" inkscape:window-height="723" inkscape:window-x="0" inkscape:window-y="19" inkscape:window-maximized="0"/>
<metadata id="metadata5826">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<g id="layer1" inkscape:label="Layer 1" inkscape:groupmode="layer">
<g id="g3360" inkscape:export-filename="/home/yorik/Documents/Lab/Draft/icons/draft.png" inkscape:export-xdpi="3.2478156" inkscape:export-ydpi="3.2478156" transform="matrix(0.1367863,0,0,0.1367863,-119.15519,-134.86962)">
<rect style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:29.24269463;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" id="rect3679" width="137.86652" height="119.25753" x="1032.79" y="1166.2821"/>
<rect style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:29.24269463;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" id="rect3675" width="308.37753" height="175.45616" x="952.18671" y="1016.5597"/>
<rect style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:3.99999998;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" id="rect3677" width="58.18182" height="23.454546" x="3.090909" y="37.272728" transform="matrix(7.3106737,0,0,7.3106737,871.10471,985.98778)"/>
<path sodipodi:type="arc" style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:3.99999998;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" id="path3681" sodipodi:cx="21.636364" sodipodi:cy="16.181818" sodipodi:rx="3.6363637" sodipodi:ry="3.6363637" d="m 25.272728,16.181818 c 0,2.008308 -1.628056,3.636364 -3.636364,3.636364 C 19.628056,19.818182 18,18.190126 18,16.181818 c 0,-2.008308 1.628056,-3.636364 3.636364,-3.636364 2.008308,0 3.636364,1.628056 3.636364,3.636364 z" transform="matrix(7.3106737,0,0,7.3106737,879.07999,980.67093)"/>
<path sodipodi:type="arc" style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:3.99999998;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" id="path3681-6" sodipodi:cx="21.636364" sodipodi:cy="16.181818" sodipodi:rx="3.6363637" sodipodi:ry="3.6363637" d="m 25.272728,16.181818 c 0,2.008308 -1.628056,3.636364 -3.636364,3.636364 C 19.628056,19.818182 18,18.190126 18,16.181818 c 0,-2.008308 1.628056,-3.636364 3.636364,-3.636364 2.008308,0 3.636364,1.628056 3.636364,3.636364 z" transform="matrix(7.3106737,0,0,7.3106737,1010.6721,980.67093)"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@ -32,45 +32,17 @@
class RobotWorkbench ( Workbench ):
"Robot workbench object"
Icon = """
/* XPM */
static char * robot_xpm[] = {
"16 16 9 1",
" c None",
". c #000300",
"+ c #070905",
"@ c #0E100C",
"# c #171816",
"$ c #2D2E2C",
"% c #434542",
"& c #838582",
"* c #FEFFFC",
" ",
" $+$$$$$$$$$$ ",
" $**********$ ",
" $*+.****@@*$ ",
" $*+.****@@*$ ",
" $**********$ ",
" #$&&&&&&&&&+ ",
" $$$$$$$$$$$+ ",
" **& ",
"++++++++++++++..",
".%&&$&&&&&&&&&&.",
"+&*************+",
"+&*************+",
"+&*************+",
"+&*************+",
"+.+++++++++++++."};
"""
MenuText = "Robot"
ToolTip = "Robot workbench"
"Robot workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Robot/Resources/icons/RobotWorkbench.svg"
self.__class__.MenuText = "Robot"
self.__class__.ToolTip = "Robot workbench"
def Initialize(self):
# load the module
import RobotGui
import Robot
def GetClassName(self):
return "RobotGui::Workbench"
def Initialize(self):
# load the module
import RobotGui
import Robot
def GetClassName(self):
return "RobotGui::Workbench"
Gui.addWorkbench(RobotWorkbench())

View File

@ -12,77 +12,77 @@ SET(ShipMain_SRCS
SOURCE_GROUP("" FILES ${ShipMain_SRCS})
SET(ShipExamples_SRCS
resources/examples/s60.fcstd
resources/examples/s60_katamaran.fcstd
resources/examples/wigley.fcstd
resources/examples/wigley_katamaran.fcstd
resources/examples/s60.fcstd
resources/examples/s60_katamaran.fcstd
resources/examples/wigley.fcstd
resources/examples/wigley_katamaran.fcstd
)
SOURCE_GROUP("shipexamples" FILES ${ShipExamples_SRCS})
SET(ShipLoadExample_SRCS
shipLoadExample/__init__.py
shipLoadExample/TaskPanel.py
shipLoadExample/TaskPanel.ui
shipLoadExample/__init__.py
shipLoadExample/TaskPanel.py
shipLoadExample/TaskPanel.ui
)
SOURCE_GROUP("shiploadexample" FILES ${ShipLoadExample_SRCS})
SET(ShipCreateShip_SRCS
shipCreateShip/__init__.py
shipCreateShip/Preview.py
shipCreateShip/TaskPanel.py
shipCreateShip/TaskPanel.ui
shipCreateShip/Tools.py
shipCreateShip/__init__.py
shipCreateShip/Preview.py
shipCreateShip/TaskPanel.py
shipCreateShip/TaskPanel.ui
shipCreateShip/Tools.py
)
SOURCE_GROUP("shipcreateship" FILES ${ShipCreateShip_SRCS})
SET(ShipOutlineDraw_SRCS
shipOutlineDraw/__init__.py
shipOutlineDraw/Preview.py
shipOutlineDraw/TaskPanel.py
shipOutlineDraw/TaskPanel.ui
shipOutlineDraw/__init__.py
shipOutlineDraw/Preview.py
shipOutlineDraw/TaskPanel.py
shipOutlineDraw/TaskPanel.ui
)
SOURCE_GROUP("shipoutlinedraw" FILES ${ShipOutlineDraw_SRCS})
SET(ShipAreasCurve_SRCS
shipAreasCurve/__init__.py
shipAreasCurve/PlotAux.py
shipAreasCurve/Preview.py
shipAreasCurve/TaskPanel.py
shipAreasCurve/TaskPanel.ui
shipAreasCurve/__init__.py
shipAreasCurve/PlotAux.py
shipAreasCurve/Preview.py
shipAreasCurve/TaskPanel.py
shipAreasCurve/TaskPanel.ui
)
SOURCE_GROUP("shipareascurve" FILES ${ShipAreasCurve_SRCS})
SET(ShipHydrostatics_SRCS
shipHydrostatics/__init__.py
shipHydrostatics/PlotAux.py
shipHydrostatics/TaskPanel.py
shipHydrostatics/TaskPanel.ui
shipHydrostatics/Tools.py
shipHydrostatics/__init__.py
shipHydrostatics/PlotAux.py
shipHydrostatics/TaskPanel.py
shipHydrostatics/TaskPanel.ui
shipHydrostatics/Tools.py
)
SOURCE_GROUP("shiphydrostatics" FILES ${ShipHydrostatics_SRCS})
SET(ShipCreateWeight_SRCS
shipCreateWeight/__init__.py
shipCreateWeight/TaskPanel.py
shipCreateWeight/TaskPanel.ui
shipCreateWeight/Tools.py
shipCreateWeight/__init__.py
shipCreateWeight/TaskPanel.py
shipCreateWeight/TaskPanel.ui
shipCreateWeight/Tools.py
)
SOURCE_GROUP("shipcreateweight" FILES ${ShipCreateWeight_SRCS})
SET(ShipCreateTank_SRCS
shipCreateTank/__init__.py
shipCreateTank/TaskPanel.py
shipCreateTank/TaskPanel.ui
shipCreateTank/Tools.py
shipCreateTank/__init__.py
shipCreateTank/TaskPanel.py
shipCreateTank/TaskPanel.ui
shipCreateTank/Tools.py
)
SOURCE_GROUP("shipcreatetank" FILES ${ShipCreateTank_SRCS})
SET(ShipCapacityCurve_SRCS
shipCapacityCurve/__init__.py
shipCapacityCurve/PlotAux.py
shipCapacityCurve/TaskPanel.py
shipCapacityCurve/TaskPanel.ui
shipCapacityCurve/Tools.py
shipCapacityCurve/__init__.py
shipCapacityCurve/PlotAux.py
shipCapacityCurve/TaskPanel.py
shipCapacityCurve/TaskPanel.ui
shipCapacityCurve/Tools.py
)
SOURCE_GROUP("shipcapacitycurve" FILES ${ShipCapacityCurve_SRCS})
@ -93,20 +93,20 @@ SET(ShipCreateLoadCondition_SRCS
SOURCE_GROUP("shipcreateloadcondition" FILES ${ShipCreateLoadCondition_SRCS})
SET(ShipGZ_SRCS
shipGZ/__init__.py
shipGZ/PlotAux.py
shipGZ/TaskPanel.py
shipGZ/TaskPanel.ui
shipGZ/Tools.py
shipGZ/__init__.py
shipGZ/PlotAux.py
shipGZ/TaskPanel.py
shipGZ/TaskPanel.ui
shipGZ/Tools.py
)
SOURCE_GROUP("shipgz" FILES ${ShipGZ_SRCS})
SET(ShipUtils_SRCS
shipUtils/__init__.py
shipUtils/Locale.py
shipUtils/Math.py
shipUtils/Paths.py
shipUtils/Units.py
shipUtils/__init__.py
shipUtils/Locale.py
shipUtils/Math.py
shipUtils/Paths.py
shipUtils/Units.py
)
SOURCE_GROUP("shiputils" FILES ${ShipUtils_SRCS})
@ -205,4 +205,10 @@ INSTALL(
Mod/Ship
)
SET(ShipGuiIcon_SVG
resources/icons/ShipWorkbench.svg
)
fc_copy_sources(Ship "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Ship" ${ShipGuiIcon_SVG})
INSTALL(FILES ${ShipGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Ship/resources/icons")

View File

@ -24,14 +24,14 @@
class ShipWorkbench(Workbench):
"""Ships design workbench."""
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Ship/resources/icons/ShipWorkbench.svg"
self.__class__.MenuText = "Ship"
self.__class__.ToolTip = "Ship module provides some of the commonly used tool to design ship forms"
from shipUtils import Paths
import ShipGui
Icon = "Ship_Module.svg"
MenuText = "Ship"
ToolTip = ("Ship module provides some of the commonly used tool to design"
" ship forms")
def Initialize(self):
from PySide import QtCore, QtGui

View File

@ -1,5 +1,5 @@
<RCC>
<qresource>
<qresource>
<file>icons/Ship_AreaCurve.svg</file>
<file>icons/Ship_CapacityCurve.svg</file>
<file>icons/Ship_Instance.svg</file>
@ -12,6 +12,7 @@
<file>icons/Ship_OutlineDraw.svg</file>
<file>icons/Ship_Tank.svg</file>
<file>icons/Ship_Weight.svg</file>
<file>icons/ShipWorkbench.svg</file>
<file>translations/Ship.qm</file>
<file>translations/Ship_af.qm</file>
<file>translations/Ship_cs.qm</file>
@ -40,4 +41,4 @@
<file>translations/Ship_el.qm</file>
<file>translations/Ship_sl.qm</file>
</qresource>
</RCC>
</RCC>

View File

@ -0,0 +1,427 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg2985"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="Ship_Module.svg">
<defs
id="defs2987">
<marker
inkscape:stockid="Arrow1Send"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Send"
style="overflow:visible;">
<path
id="path4031"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;"
transform="scale(0.2) rotate(180) translate(6,0)" />
</marker>
<marker
inkscape:stockid="Arrow2Send"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Send"
style="overflow:visible;">
<path
id="path4049"
style="fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round;"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(0.3) rotate(180) translate(-2.3,0)" />
</marker>
<marker
inkscape:stockid="Arrow2Sstart"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Sstart"
style="overflow:visible">
<path
id="path4046"
style="fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(0.3) translate(-2.3,0)" />
</marker>
<marker
inkscape:stockid="Arrow2Mstart"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Mstart"
style="overflow:visible">
<path
id="path4040"
style="fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(0.6) translate(0,0)" />
</marker>
<linearGradient
id="linearGradient3900">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop3902" />
<stop
style="stop-color:#a0a0a0;stop-opacity:1;"
offset="1"
id="stop3904" />
</linearGradient>
<linearGradient
id="linearGradient3882">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop3884" />
<stop
style="stop-color:#960000;stop-opacity:1;"
offset="1"
id="stop3886" />
</linearGradient>
<linearGradient
id="linearGradient3860">
<stop
style="stop-color:#1e76e3;stop-opacity:1;"
offset="0"
id="stop3862" />
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="1"
id="stop3864" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3860-6"
id="linearGradient3866-5"
x1="31.125395"
y1="61.410763"
x2="30.113636"
y2="12.160761"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3860-6">
<stop
style="stop-color:#5a9ff5;stop-opacity:1;"
offset="0"
id="stop3862-4" />
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="1"
id="stop3864-4" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3882"
id="radialGradient3890"
cx="25.629292"
cy="38.444794"
fx="25.629292"
fy="38.444794"
r="11.769514"
gradientTransform="matrix(1.7159608,-0.59513916,0.29226939,0.84269877,-28.848719,13.387411)"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3882"
id="radialGradient3898"
cx="31.803391"
cy="31.659325"
fx="31.803391"
fy="31.659325"
r="3.417994"
gradientTransform="matrix(4.734087,-1.1798961,0.73145851,2.9348253,-139.28906,-25.817159)"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3900"
id="radialGradient3906"
cx="20.211554"
cy="12.140632"
fx="20.211554"
fy="12.140632"
r="15.992805"
gradientTransform="matrix(1.6937502,-0.50833021,0.26447657,0.88123273,-17.232683,18.826666)"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3900"
id="radialGradient3914"
cx="44.852757"
cy="22.63999"
fx="44.852757"
fy="22.63999"
r="5.0740972"
gradientTransform="matrix(1,0,0,1.5705123,0,-16.367411)"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3900"
id="radialGradient3926"
cx="18.050617"
cy="25.765184"
fx="18.050617"
fy="25.765184"
r="2.4997866"
gradientTransform="matrix(1.1875159,0.30002561,-0.66139805,2.6178455,13.656265,-48.87061)"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3900"
id="radialGradient3930"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1875159,0.30002561,-0.66139805,2.6178455,13.656265,-48.87061)"
cx="17.915045"
cy="24.185383"
fx="17.915045"
fy="24.185383"
r="2.4997866" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3900"
id="radialGradient3936"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(3.980826,0.90111766,-0.59612552,2.6334762,-39.306292,-60.304205)"
cx="18.420965"
cy="23.089165"
fx="18.420965"
fy="23.089165"
r="2.4997866" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3882"
id="radialGradient3946"
cx="16.274988"
cy="23.718588"
fx="16.274988"
fy="23.718588"
r="3.6819806"
gradientTransform="matrix(1.1622967,-0.42417542,0.71241125,1.9521011,-19.727075,-16.498215)"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="4"
inkscape:cx="-6.1454977"
inkscape:cy="13.674344"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="1366"
inkscape:window-height="722"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata2990">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="3.25"
y="13.75"
id="text3992"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3994"
x="3.25"
y="13.75"
style="font-size:14px">FreeCAD</tspan></text>
<path
style="fill:none;stroke:#afffff;stroke-width:2.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="m 49.143922,41.195806 c 0,0 1.811961,-1.281631 6.054602,-1.281631 4.24264,0 5.656854,1.502602 5.656854,1.502602"
id="path3856"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#afffff;stroke-width:2.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="m 1.4375,38.9375 c 0,0 0.9375,-0.9375 3.375,-0.9375 2.4375001,0 5.25,1 5.25,1"
id="path3860"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#afffff;stroke-width:2.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="m 54.668194,39.958369 c 0,0 -3.623923,-1.679378 -10.208855,-1.679378 -6.584932,0 -10.606602,2.474873 -10.606602,2.474873"
id="path3864"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path3866"
d="m 54.668194,39.958369 c 0,0 -3.623923,-1.679378 -10.208855,-1.679378 -6.584932,0 -10.606602,2.474873 -10.606602,2.474873"
style="fill:none;stroke:#0000ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
<g
id="g3977">
<g
id="g3968">
<g
id="g3953">
<path
inkscape:connector-curvature="0"
id="path3938"
d="m 16.528621,30.942758 0.707107,-7.778175 c 0,0 0.795495,-1.767767 2.563262,-1.767767 1.767767,0 2.032932,1.06066 2.032932,1.06066 l 1.06066,8.220117 z"
style="fill:url(#radialGradient3946);stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" />
<g
id="g3948">
<path
style="fill:url(#radialGradient3926);stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1"
d="m 18.73833,21.286331 1.657281,-0.729204 c 0,0 2.342292,1.546796 2.342292,3.601825 0,2.055029 0,7.159456 0,7.159456 l -3.987549,1.738087 0.05427,-7.748495 1.06066,-2.231805 c 0,0 -0.0221,-1.126952 -1.126951,-1.789864 z"
id="path3918"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccsccccc" />
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path3928"
d="m 18.73833,21.286331 1.657281,-0.729204 0.06629,-2.209709 -1.723573,0.618718 z"
style="fill:url(#radialGradient3930);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
sodipodi:nodetypes="cscc"
inkscape:connector-curvature="0"
id="path3932"
d="m 22.737903,31.318408 c 0,0 0,-5.104427 0,-7.159456 0,-2.055029 -2.342292,-3.601825 -2.342292,-3.601825 0,-0.927244 0.06629,-2.209709 0.06629,-2.209709 l 15.055864,4.034207 0,2.108783 c 0,0 -1.930193,-0.176776 -1.930193,1.502602 0,1.679379 0,7.51301 0,7.51301 z"
style="fill:url(#radialGradient3936);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
</g>
</g>
<path
style="fill:none;stroke:#0000ff;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="M 23.776465,21.927147 32.15231,24.26278"
id="path3966"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
</g>
<g
id="g3960">
<path
style="fill:url(#radialGradient3890);stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1"
d="m 42.02866,32.97569 c 0,0 -1.237437,-1.149049 -4.596194,-1.149049 -3.358758,0 -9.678525,1.723573 -11.136932,2.165515 -1.458408,0.441941 -6.805903,2.872621 -6.805903,2.872621 0,0 1.458408,1.016466 1.767767,1.325825 0.309359,0.309359 1.281631,1.325825 1.281631,1.325825 0,0 5.170718,1.37002 7.51301,1.37002 2.342291,0 7.73398,-0.751301 7.73398,-0.751301 0,0 3.756505,-4.375223 4.242641,-7.159456 z"
id="path3870"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path3874"
d="m 37.786019,40.135146 c 0,0 3.756505,-4.375223 4.242641,-7.159456 1.723573,3.270369 1.59099,3.18198 1.59099,3.18198 0,0 -3.049398,3.402952 -5.833631,3.977476 z"
style="fill:url(#radialGradient3898);stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1"
sodipodi:nodetypes="cc" />
<path
sodipodi:nodetypes="ccccc"
style="fill:url(#radialGradient3914);stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1"
d="m 45.829359,21.220039 c 0,4.065864 -3.800699,11.755651 -3.800699,11.755651 1.723573,3.270369 1.59099,3.18198 1.59099,3.18198 2.695845,-1.325825 7.557204,-8.529475 7.557204,-8.529475 0,0 -1.944544,-6.142991 -5.347495,-6.408156"
id="path3876"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path3878"
d="m 14.84375,33.46875 c 0.18566,-1.505743 3.84375,-4.625 3.84375,-4.625 L 20.34375,30.5 c 0,0 2.21875,-1.5 4.15625,-2.28125 C 26.4375,27.4375 30.53125,26.25 30.53125,26.25 l 0.9375,-4.4375 c 0,0 5.471217,-3.903672 14.360609,-0.592461 0,4.065864 -3.800699,11.755651 -3.800699,11.755651 0,0 -1.237437,-1.149049 -4.596194,-1.149049 -3.358758,0 -9.678525,1.723573 -11.136932,2.165515 -1.458408,0.441941 -6.805903,2.872621 -6.805903,2.872621 0,0 -3.770881,-3.083527 -4.645881,-3.396027"
style="fill:url(#radialGradient3906);stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1"
sodipodi:nodetypes="cccsccccsscc" />
</g>
</g>
<path
style="fill:none;stroke:#afffff;stroke-width:2.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="m 5.6875001,40.75 c 0,0 3.9375,-2.4375 9.4999999,-2.4375 5.5625,0 8.75,2.5625 15.8125,2.5625 7.0625,0 5.4375,-1.125 11.0625,-1.125 5.625,0 10.125001,3 10.125001,3"
id="path3082"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path3852"
d="m 5.6875001,40.75 c 0,0 3.9375,-2.4375 9.4999999,-2.4375 5.5625,0 8.75,2.5625 15.8125,2.5625 7.0625,0 5.4375,-1.125 11.0625,-1.125 5.625,0 10.125001,3 10.125001,3"
style="fill:none;stroke:#0000ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
<path
inkscape:connector-curvature="0"
id="path3858"
d="m 49.143922,41.195806 c 0,0 1.811961,-1.281631 6.054602,-1.281631 4.24264,0 5.656854,1.502602 5.656854,1.502602"
style="fill:none;stroke:#0000ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
<path
inkscape:connector-curvature="0"
id="path3862"
d="m 1.4375,38.9375 c 0,0 0.9375,-0.9375 3.375,-0.9375 2.4375001,0 5.25,1 5.25,1"
style="fill:none;stroke:#0000ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="11.375"
y="59.75"
id="text3996"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3998"
x="11.375"
y="59.75"
style="font-size:14px">Sh</tspan></text>
<text
xml:space="preserve"
style="font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="42.75"
y="59.125"
id="text4000"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4002"
x="42.75"
y="59.125">p</tspan></text>
<g
id="g5774"
transform="translate(0.53033009,0)">
<path
d="m 34.604037,49.371727 c 0,1.000719 -0.811242,1.811961 -1.811961,1.811961 -1.000718,0 -1.811961,-0.811242 -1.811961,-1.811961 0,-1.000719 0.811243,-1.811961 1.811961,-1.811961 1.000719,0 1.811961,0.811242 1.811961,1.811961 z"
sodipodi:ry="1.8119612"
sodipodi:rx="1.8119612"
sodipodi:cy="49.371727"
sodipodi:cx="32.792076"
id="path4004"
style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
sodipodi:type="arc" />
<path
sodipodi:nodetypes="cccc"
inkscape:connector-curvature="0"
id="path4006"
d="M 30.756005,53.250092 30.49874,52.450731 36.391621,50.871738 36.160297,50.008422"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path4008"
d="m 33.375,51.71875 2.385247,8.901862"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path4010"
d="m 29.40625,60.125 c 1.8125,0.9375 4.631882,0.963181 6.59375,0.4375 1.961869,-0.525681 4.116517,-2.098648 4.78125,-3.25"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;marker-start:url(#Arrow2Sstart);marker-end:url(#Arrow2Send)" />
<path
inkscape:connector-curvature="0"
id="path5772"
d="m 34.125,61.03125 0,-1.34375 2.53125,-0.96875 L 37.5625,60 37.125,61.03125 35.34375,61.625 z"
style="fill:#000000;fill-opacity:1;stroke:none" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -141,3 +141,11 @@ SET_BIN_DIR(SketcherGui SketcherGui /Mod/Sketcher)
SET_PYTHON_PREFIX_SUFFIX(SketcherGui)
INSTALL(TARGETS SketcherGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(SketcherGuiIcon_SVG
Resources/icons/SketcherWorkbench.svg
)
fc_copy_sources(SketcherGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Sketcher" ${SketcherGuiIcon_SVG})
INSTALL(FILES ${SketcherGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Sketcher/Resources/icons")

View File

@ -1,5 +1,5 @@
<RCC>
<qresource>
<qresource>
<file>icons/Constraint_Concentric.svg</file>
<file>icons/Constraint_Ellipse_Axis_Angle.svg</file>
<file>icons/Constraint_Ellipse_Major_Radius.svg</file>
@ -141,6 +141,7 @@
<file>icons/Sketcher_Toggle_Constraint_Driving.svg</file>
<file>icons/Sketcher_Trimming.svg</file>
<file>icons/Sketcher_ViewSketch.svg</file>
<file>icons/SketcherWorkbench.svg</file>
<file>icons/small/Constraint_Concentric_sm.xpm</file>
<file>icons/small/Constraint_EqualLength_sm.xpm</file>
<file>icons/small/Constraint_ExternalAngle_sm.xpm</file>
@ -192,4 +193,4 @@
<file>translations/Sketcher_el.qm</file>
<file>translations/Sketcher_sl.qm</file>
</qresource>
</RCC>
</RCC>

View File

@ -0,0 +1,190 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg5821"
sodipodi:version="0.32"
inkscape:version="0.48.1 r9760"
sodipodi:docname="Sketcher_NewSketch.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1"
inkscape:export-filename="/media/data/Yorik/FreeCAD/icons/Sketcher.png"
inkscape:export-xdpi="45"
inkscape:export-ydpi="45">
<defs
id="defs5823">
<linearGradient
inkscape:collect="always"
id="linearGradient6349">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop6351" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop6353" />
</linearGradient>
<linearGradient
id="linearGradient3377">
<stop
style="stop-color:#0019a3;stop-opacity:1;"
offset="0"
id="stop3379" />
<stop
style="stop-color:#0069ff;stop-opacity:1;"
offset="1"
id="stop3381" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3377"
id="linearGradient3383"
x1="901.1875"
y1="1190.875"
x2="1267.9062"
y2="1190.875"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-1,0,0,1,2199.356,0)" />
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="64 : 32 : 1"
inkscape:persp3d-origin="32 : 21.333333 : 1"
id="perspective5829" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6349"
id="radialGradient6355"
cx="1103.6399"
cy="1424.4465"
fx="1103.6399"
fy="1424.4465"
r="194.40614"
gradientTransform="matrix(-1.4307499,-1.3605156e-7,-1.202713e-8,0.1264801,2674.7488,1244.2826)"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.8890873"
inkscape:cx="24.311263"
inkscape:cy="23.456398"
inkscape:current-layer="g3360"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="1280"
inkscape:window-height="756"
inkscape:window-x="0"
inkscape:window-y="22"
inkscape:window-maximized="1" />
<metadata
id="metadata5826">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<g
id="g3360"
inkscape:export-filename="/home/yorik/Documents/Lab/Draft/icons/draft.png"
inkscape:export-xdpi="3.2478156"
inkscape:export-ydpi="3.2478156"
transform="matrix(0.1367863,0,0,0.1367863,-119.15519,-134.86962)">
<rect
style="color:#000000;fill:none;stroke:#ff1e00;stroke-width:29.94246101;stroke-linecap:round;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"
id="rect3860"
width="279.46939"
height="242.47264"
x="908.45099"
y="1168.7698" />
<path
sodipodi:type="arc"
style="color:#000000;fill:none;stroke:#ff1e00;stroke-width:4;stroke-linecap:round;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"
id="path3862"
sodipodi:cx="30.181818"
sodipodi:cy="33.272728"
sodipodi:rx="18.181818"
sodipodi:ry="18.181818"
d="m 48.363636,33.272728 a 18.181818,18.181818 0 1 1 -36.363636,0 18.181818,18.181818 0 1 1 36.363636,0 z"
transform="matrix(7.6471726,0,0,7.3274701,940.43005,910.31002)" />
<path
sodipodi:type="star"
style="color:#000000;fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:2.63483137;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="path3888"
sodipodi:sides="3"
sodipodi:cx="-16.727274"
sodipodi:cy="20.181818"
sodipodi:r1="8.051487"
sodipodi:r2="3.8833756"
sodipodi:arg1="0.52359878"
sodipodi:arg2="1.5707963"
inkscape:flatsided="false"
inkscape:rounded="0"
inkscape:randomized="0"
d="m -9.7544817,24.207562 -6.9727923,-0.142368 -6.972792,0.142367 3.60969,-5.967431 3.363102,-6.109799 3.363102,6.109799 z"
transform="matrix(4.3431863,0,0,4.5377509,1040.0959,1163.3368)"
inkscape:transform-center-y="-1.249386" />
<path
sodipodi:type="star"
style="color:#000000;fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:2.63483137;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="path3888-9"
sodipodi:sides="3"
sodipodi:cx="-16.727274"
sodipodi:cy="20.181818"
sodipodi:r1="8.051487"
sodipodi:r2="3.8833756"
sodipodi:arg1="0.52359878"
sodipodi:arg2="1.5707963"
inkscape:flatsided="false"
inkscape:rounded="0"
inkscape:randomized="0"
d="m -9.7544817,24.207562 -6.9727923,-0.142368 -6.972792,0.142367 3.60969,-5.967431 3.363102,-6.109799 3.363102,6.109799 z"
transform="matrix(4.3431863,0,0,-4.5377509,1040.0959,1407.8557)"
inkscape:transform-center-y="9.1339339" />
<path
sodipodi:type="star"
style="color:#000000;fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:2.63483133;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="path3888-97"
sodipodi:sides="3"
sodipodi:cx="-16.727274"
sodipodi:cy="20.181818"
sodipodi:r1="8.051487"
sodipodi:r2="3.8833756"
sodipodi:arg1="0.52359878"
sodipodi:arg2="1.5707963"
inkscape:flatsided="false"
inkscape:rounded="0"
inkscape:randomized="0"
d="m -9.7544817,24.207562 -6.9727923,-0.142368 -6.972792,0.142367 3.60969,-5.967431 3.363102,-6.109799 3.363102,6.109799 z"
transform="matrix(3.4930984,-2.4730917,2.8142718,3.6495811,1130.1679,976.90703)"
inkscape:transform-center-y="-6.1667373"
inkscape:transform-center-x="3.9989493" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

@ -32,50 +32,22 @@
class SketcherWorkbench ( Workbench ):
"Sketcher workbench object"
Icon = """
/* XPM */
static char * sketcher_xpm[] = {
"16 16 9 1",
" c None",
". c #0D0F0C",
"+ c #4D1007",
"@ c #FF1A00",
"# c #4D4C4D",
"$ c #6C6B69",
"% c #6F7A78",
"& c #8B8D8A",
"* c #C8C5C3",
" @@@@@ ",
" @@@ @@@ ",
" @@ %# @@ ",
" @@ *$ @@",
" @ @@",
"@@@@@@@@@@@ @",
"@@@@@@@@@@@@ @",
"@ @ @@ @@",
"@ $ @@ @@ @@ ",
"@+*& @@@ @@@@ ",
"@ .. @@@@@ ",
"@ *% @@ ",
"@ # @@ ",
"@ @@ ",
"@@@@@@@@@@@@ ",
"@@@@@@@@@@@ "};
"""
MenuText = "Sketcher"
ToolTip = "Sketcher workbench"
"Sketcher workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Sketcher/Resources/icons/SketcherWorkbench.svg"
self.__class__.MenuText = "Sketcher"
self.__class__.ToolTip = "Sketcher workbench"
def Initialize(self):
# load the module
import SketcherGui
import Sketcher
try:
import Profiles
except ImportError:
print "Error in Profiles module"
def GetClassName(self):
return "SketcherGui::Workbench"
def Initialize(self):
# load the module
import SketcherGui
import Sketcher
try:
import Profiles
except ImportError:
print "Error in Profiles module"
def GetClassName(self):
return "SketcherGui::Workbench"
Gui.addWorkbench(SketcherWorkbench())

View File

@ -90,3 +90,11 @@ SET_BIN_DIR(SpreadsheetGui SpreadsheetGui /Mod/Spreadsheet)
SET_PYTHON_PREFIX_SUFFIX(SpreadsheetGui)
INSTALL(TARGETS SpreadsheetGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(SpreadsheetGuiIcon_SVG
Resources/icons/SpreadsheetWorkbench.svg
)
fc_copy_sources(SpreadsheetGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Spreadsheet" ${SpreadsheetGuiIcon_SVG})
INSTALL(FILES ${SpreadsheetGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Spreadsheet/Resources/icons")

View File

@ -15,6 +15,7 @@
<file>icons/SpreadsheetStyleUnderline.svg</file>
<file>icons/SpreadsheetStyleItalic.svg</file>
<file>icons/SpreadsheetStyleBold.svg</file>
<file>icons/SpreadsheetWorkbench.svg</file>
<file>translations/Spreadsheet_de.qm</file>
<file>translations/Spreadsheet_af.qm</file>
<file>translations/Spreadsheet_zh-CN.qm</file>

View File

@ -0,0 +1,144 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg2860"
sodipodi:version="0.32"
inkscape:version="0.48.4 r9939"
sodipodi:docname="Part_Box.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1">
<defs
id="defs2862">
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3377"
id="radialGradient3692"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3377"
id="radialGradient3703"
gradientUnits="userSpaceOnUse"
cx="135.38333"
cy="97.369568"
fx="135.38333"
fy="97.369568"
r="19.467436"
gradientTransform="matrix(0.97435,0.2250379,-0.4623105,2.0016728,48.487554,-127.99883)" />
<linearGradient
id="linearGradient3377">
<stop
id="stop3379"
offset="0"
style="stop-color:#faff2b;stop-opacity:1;" />
<stop
id="stop3381"
offset="1"
style="stop-color:#ffaa00;stop-opacity:1;" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3377"
id="radialGradient3705"
gradientUnits="userSpaceOnUse"
cx="148.88333"
cy="81.869568"
fx="148.88333"
fy="81.869568"
r="19.467436"
gradientTransform="matrix(1.3852588,-0.05136783,0.03705629,0.9993132,-60.392403,7.7040438)" />
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="64 : 32 : 1"
inkscape:persp3d-origin="32 : 21.333333 : 1"
id="perspective2868" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.5"
inkscape:cx="10.658514"
inkscape:cy="35.257738"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="1920"
inkscape:window-height="1053"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata2865">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<rect
style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;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"
id="rect3002"
width="56.18182"
height="46.545456"
x="4"
y="9.272728" />
<rect
style="color:#000000;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:4;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"
id="rect3002-9"
width="56.18182"
height="46.545456"
x="4"
y="9.272728" />
<path
style="fill:none;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="m 4,20.545455 55.636364,0"
id="path3790"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="M 20.909091,9.6363636 20.909091,56"
id="path3792"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 4,32.429811 55.090909,0"
id="path3794"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 4,44.483064 55.636364,0"
id="path3796"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@ -32,41 +32,18 @@
class SpreadsheetWorkbench ( Workbench ):
"Spreadsheet workbench object"
Icon = """
/* XPM */
static char * Spreadsheet_xpm[] = {
"16 16 5 1",
" c None",
". c #151614",
"+ c #575956",
"@ c #969895",
"# c #F7F9F6",
" ",
" ",
" ...............",
".@##@+########@.",
".+@@+.@@@@@@@@+.",
"..+++.+++++++++.",
".@##@+########@.",
".+@@+.@@@@@@@@+.",
"..+++.+++++++++.",
".@##@+########@.",
".+@@+.@@@@@@@@+.",
"..+++.+++++++++.",
".@##@+########@.",
"..+++.+++++++++.",
" ",
" "};"""
MenuText = "Spreadsheet"
ToolTip = "Spreadsheet workbench"
"Spreadsheet workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Spreadsheet/Resources/icons/SpreadsheetWorkbench.svg"
self.__class__.MenuText = "Spreadsheet"
self.__class__.ToolTip = "Spreadsheet workbench"
def Initialize(self):
# load the module
import SpreadsheetGui
def Initialize(self):
# load the module
import SpreadsheetGui
def GetClassName(self):
return "SpreadsheetGui::Workbench"
def GetClassName(self):
return "SpreadsheetGui::Workbench"
Gui.addWorkbench(SpreadsheetWorkbench())

View File

@ -47,3 +47,11 @@ SET_BIN_DIR(StartGui StartGui /Mod/Start)
SET_PYTHON_PREFIX_SUFFIX(StartGui)
INSTALL(TARGETS StartGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(StartGuiIcon_SVG
Resources/icons/StartWorkbench.svg
)
fc_copy_sources(StartGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Start" ${StartGuiIcon_SVG})
INSTALL(FILES ${StartGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Start/Resources/icons")

View File

@ -1,5 +1,6 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<qresource>
<file>icons/StartWorkbench.svg</file>
<file>translations/StartPage_af.qm</file>
<file>translations/StartPage_de.qm</file>
<file>translations/StartPage_fi.qm</file>
@ -27,4 +28,4 @@
<file>translations/StartPage_el.qm</file>
<file>translations/StartPage_sl.qm</file>
</qresource>
</RCC>
</RCC>

View File

@ -0,0 +1,107 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg3037"
sodipodi:version="0.32"
inkscape:version="0.48.1 r9760"
sodipodi:docname="Draft_Upgrade.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1">
<defs
id="defs3039">
<linearGradient
id="linearGradient3841">
<stop
style="stop-color:#0619c0;stop-opacity:1;"
offset="0"
id="stop3843" />
<stop
style="stop-color:#379cfb;stop-opacity:1;"
offset="1"
id="stop3845" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3841"
id="linearGradient3847"
x1="3709.3296"
y1="1286.7291"
x2="3935.5251"
y2="1076.6174"
gradientUnits="userSpaceOnUse" />
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="64 : 32 : 1"
inkscape:persp3d-origin="32 : 21.333333 : 1"
id="perspective3045" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3841"
id="linearGradient2991"
gradientUnits="userSpaceOnUse"
x1="3709.3296"
y1="1286.7291"
x2="3935.5251"
y2="1076.6174"
gradientTransform="matrix(0,0.1731146,-0.1731146,0,232.90021,-635.22046)" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.75"
inkscape:cx="-42.274512"
inkscape:cy="30.49748"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="1280"
inkscape:window-height="757"
inkscape:window-x="0"
inkscape:window-y="20"
inkscape:window-maximized="1" />
<metadata
id="metadata3042">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<path
inkscape:connector-curvature="0"
style="opacity:0.60792954;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:8;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m 54.921765,35.759802 -26.93014,-25.8806327 0,14.6876827 -24.1332659,0 0,22.034252 24.1332659,0 0,13.291964 26.93014,-24.133266 z"
id="path3849" />
<path
inkscape:connector-curvature="0"
style="fill:url(#linearGradient2991);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="M 59.812659,31.043537 32.882528,5.1629044 l 0,14.6876836 -24.133266,0 0,22.034251 24.133266,0 0,13.291964 26.930131,-24.133266 z"
id="rect3066" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -32,45 +32,17 @@
class StartWorkbench ( Workbench ):
"Start workbench object"
Icon = """
/* XPM */
static char * start_xpm[] = {
"16 16 9 1",
" c None",
". c #000200",
"+ c #081938",
"@ c #113155",
"# c #1133A0",
"$ c #1D56DC",
"% c #2161A8",
"& c #2670EB",
"* c #2C86F2",
" ",
" . ",
" #+ ",
" .#$+ ",
" .#$&+ ",
" ####$$$&&&+ ",
" .#$$$$$&&&&*@ ",
" .#$$$$&&&&***@ ",
" .#$$$&&&&***% ",
" .#$$&&&&***% ",
" .++++++%**% ",
" .%*@ ",
" .%@ ",
" .. ",
" ",
" "};
"""
MenuText = "Start"
ToolTip = "Start workbench"
"Start workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Start/Resources/icons/StartWorkbench.svg"
self.__class__.MenuText = "Start"
self.__class__.ToolTip = "Start workbench"
def Initialize(self):
# load the module
import StartGui
import Start
def GetClassName(self):
return "StartGui::Workbench"
def Initialize(self):
# load the module
import StartGui
import Start
def GetClassName(self):
return "StartGui::Workbench"
Gui.addWorkbench(StartWorkbench())

View File

@ -61,3 +61,10 @@ SET_PYTHON_PREFIX_SUFFIX(QtUnitGui)
INSTALL(TARGETS QtUnitGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
INSTALL(FILES ${TestGuiPy_SRCS} DESTINATION Mod/Test)
SET(TestGuiIcon_SVG
Resources/icons/TestWorkbench.svg
)
fc_copy_sources(QtUnitGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Test" ${TestGuiIcon_SVG})
INSTALL(FILES ${TestGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Test/Resources/icons")

View File

@ -1,5 +1,6 @@
<RCC>
<qresource>
<file>icons/TestWorkbench.svg</file>
<file>translations/Test_af.qm</file>
<file>translations/Test_de.qm</file>
<file>translations/Test_fi.qm</file>

View File

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64"
height="64"
id="svg2"
version="1.1"
inkscape:version="0.91 r"
sodipodi:docname="TestWorkbench.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="4.6569611"
inkscape:cx="14.215852"
inkscape:cy="-19.192862"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1280"
inkscape:window-height="964"
inkscape:window-x="-2"
inkscape:window-y="-3"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-988.36218)">
<g
id="g4138"
transform="matrix(0.81860665,0,0,0.81928357,13.473831,181.27048)">
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path4595"
d="m -5.4531215,1056.3522 47.5218375,-46.8782 -7.605563,-7.5246 -46.952388,46.4785 z"
style="fill:#601512;fill-opacity:1;stroke:#000000;stroke-width:3.05270791;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccccccccccc"
inkscape:connector-curvature="0"
id="path4597"
d="m 31.226948,999.60279 c -4.062656,8.00921 -0.825897,17.17061 10.032665,14.96861 1.517547,1.5907 0.657817,3.603 -0.16182,4.9355 l 5.016435,5.2592 11.003793,-11.1657 -4.611884,-4.5309 c -1.277469,0.5945 -4.206202,0.4902 -5.340077,-0.6474 3.303218,-9.96621 -6.354097,-12.62631 -11.570164,-11.97471 l 3.889836,-0.56456 c -6.368067,-3.28618 -15.374973,-5.08111 -21.040144,-2.82929 l -14.5728562,8.58316 15.7856912,-3.24011 c 5.712447,-0.84313 7.494551,-0.29051 11.568525,1.2062 z"
style="fill:#99b24f;fill-opacity:1;stroke:#000000;stroke-width:3.05270791;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path4599"
d="m 36.16319,996.36659 c -2.026564,0.0478 -3.957711,1.49242 -4.936447,3.2364"
style="fill:#99b24f;fill-opacity:1;stroke:#000000;stroke-width:3.05270791;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path4601"
d="m 47.327882,1007.9367 c -0.206133,1.5954 -2.446021,5.7142 -5.420986,6.5538"
style="fill:#99b24f;fill-opacity:1;stroke:#000000;stroke-width:3.05270791;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -29,72 +29,51 @@
class TestWorkbench ( Workbench ):
"Test workbench object"
Icon = """
/* XPM */
static const char *test_icon[]={
"16 16 2 1",
"a c #000000",
". c None",
"................",
"................",
"..############..",
"..############..",
"..############..",
"......####......",
"......####......",
"......####......",
"......####......",
"......####......",
"......####......",
"......####......",
"......####......",
"......####......",
"................",
"................"};
"""
MenuText = "Test framework"
ToolTip = "Test framework"
def Initialize(self):
import TestGui
"Test workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Test/Resources/icons/TestWorkbench.svg"
self.__class__.MenuText = "Test framework"
self.__class__.ToolTip = "Test framework"
list = ["Test_Test","Test_TestAll","Test_TestDoc","Test_TestBase"]
self.appendToolbar("TestTools",list)
def Initialize(self):
import TestGui
menu = ["Test &Commands","TestToolsGui"]
list = ["Std_TestQM","Std_TestReloadQM","Test_Test","Test_TestAll","Test_TestDoc","Test_TestBase"]
self.appendCommandbar("TestToolsGui",list)
self.appendMenu(menu,list)
list = ["Test_Test","Test_TestAll","Test_TestDoc","Test_TestBase"]
self.appendToolbar("TestTools",list)
menu = ["Test &Commands","TestToolsText"]
list = ["Test_TestAllText","Test_TestDocText","Test_TestBaseText"]
self.appendCommandbar("TestToolsText",list)
self.appendMenu(menu,list)
menu = ["Test &Commands","TestToolsGui"]
list = ["Std_TestQM","Std_TestReloadQM","Test_Test","Test_TestAll","Test_TestDoc","Test_TestBase"]
self.appendCommandbar("TestToolsGui",list)
self.appendMenu(menu,list)
menu = ["Test &Commands","TestToolsMenu"]
list = ["Test_TestCreateMenu", "Test_TestDeleteMenu", "Test_TestWork"]
self.appendCommandbar("TestToolsMenu",list)
self.appendMenu(menu,list)
menu = ["Test &Commands","TestToolsText"]
list = ["Test_TestAllText","Test_TestDocText","Test_TestBaseText"]
self.appendCommandbar("TestToolsText",list)
self.appendMenu(menu,list)
menu = ["Test &Commands","TestFeatureMenu"]
list = ["Test_InsertFeature"]
self.appendCommandbar("TestFeature",list)
self.appendMenu(menu,list)
menu = ["Test &Commands","TestToolsMenu"]
list = ["Test_TestCreateMenu", "Test_TestDeleteMenu", "Test_TestWork"]
self.appendCommandbar("TestToolsMenu",list)
self.appendMenu(menu,list)
menu = ["Test &Commands","Progress bar"]
list = ["Std_TestProgress1", "Std_TestProgress2", "Std_TestProgress3", "Std_TestProgress4", "Std_TestProgress5"]
self.appendMenu(menu,list)
menu = ["Test &Commands","TestFeatureMenu"]
list = ["Test_InsertFeature"]
self.appendCommandbar("TestFeature",list)
self.appendMenu(menu,list)
menu = ["Test &Commands","Console"]
list = ["Std_TestConsoleOutput"]
self.appendMenu(menu,list)
menu = ["Test &Commands","Progress bar"]
list = ["Std_TestProgress1", "Std_TestProgress2", "Std_TestProgress3", "Std_TestProgress4", "Std_TestProgress5"]
self.appendMenu(menu,list)
menu = ["Test &Commands","MDI"]
list = ["Std_MDITest1", "Std_MDITest2", "Std_MDITest3"]
self.appendMenu(menu,list)
menu = ["Test &Commands","Console"]
list = ["Std_TestConsoleOutput"]
self.appendMenu(menu,list)
list = ["Std_ViewExample1", "Std_ViewExample2", "Std_ViewExample3"]
self.appendMenu("Inventor View",list)
menu = ["Test &Commands","MDI"]
list = ["Std_MDITest1", "Std_MDITest2", "Std_MDITest3"]
self.appendMenu(menu,list)
list = ["Std_ViewExample1", "Std_ViewExample2", "Std_ViewExample3"]
self.appendMenu("Inventor View",list)
Gui.addWorkbench(TestWorkbench())

View File

@ -45,3 +45,11 @@ SET_BIN_DIR(WebGui WebGui /Mod/Web)
SET_PYTHON_PREFIX_SUFFIX(WebGui)
INSTALL(TARGETS WebGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(WebGuiIcon_SVG
Resources/icons/WebWorkbench.svg
)
fc_copy_sources(WebGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Web" ${WebGuiIcon_SVG})
INSTALL(FILES ${WebGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Web/Resources/icons")

View File

@ -1,13 +1,14 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>icons/actions/web-browser.svg</file>
<file>icons/actions/web-home.svg</file>
<file>icons/actions/web-next.svg</file>
<file>icons/actions/web-previous.svg</file>
<file>icons/actions/web-refresh.svg</file>
<file>icons/actions/web-stop.svg</file>
<file>icons/actions/web-zoom-in.svg</file>
<file>icons/actions/web-zoom-out.svg</file>
<qresource>
<file>icons/actions/web-browser.svg</file>
<file>icons/actions/web-home.svg</file>
<file>icons/actions/web-next.svg</file>
<file>icons/actions/web-previous.svg</file>
<file>icons/actions/web-refresh.svg</file>
<file>icons/actions/web-stop.svg</file>
<file>icons/actions/web-zoom-in.svg</file>
<file>icons/actions/web-zoom-out.svg</file>
<file>icons/WebWorkbench.svg</file>
<file>translations/Web_de.qm</file>
<file>translations/Web_af.qm</file>
<file>translations/Web_zh-CN.qm</file>
@ -35,4 +36,4 @@
<file>translations/Web_tr.qm</file>
<file>translations/Web_sl.qm</file>
</qresource>
</RCC>
</RCC>

View File

@ -0,0 +1,708 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg2985"
version="1.1"
inkscape:version="0.48.1 r9760"
sodipodi:docname="Drawing_OpenBrowserView.svg">
<defs
id="defs2987">
<linearGradient
id="linearGradient3883">
<stop
style="stop-color:#ffb400;stop-opacity:1;"
offset="0"
id="stop3885" />
<stop
style="stop-color:#ffe900;stop-opacity:1;"
offset="1"
id="stop3887" />
</linearGradient>
<linearGradient
id="linearGradient3793">
<stop
style="stop-color:#000f8a;stop-opacity:1;"
offset="0"
id="stop3795" />
<stop
style="stop-color:#0066ff;stop-opacity:1;"
offset="1"
id="stop3797" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3793-2"
id="linearGradient3799-8"
x1="12.037806"
y1="54.001419"
x2="52.882648"
y2="9.274148"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3793-2">
<stop
style="stop-color:#000f8a;stop-opacity:1;"
offset="0"
id="stop3795-6" />
<stop
style="stop-color:#0066ff;stop-opacity:1;"
offset="1"
id="stop3797-0" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3883-6"
id="linearGradient3889-4"
x1="3"
y1="31.671875"
x2="59.25"
y2="31.671875"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-1.2727273,-0.18181818)" />
<linearGradient
id="linearGradient3883-6">
<stop
style="stop-color:#ffb400;stop-opacity:1;"
offset="0"
id="stop3885-4" />
<stop
style="stop-color:#ffe900;stop-opacity:1;"
offset="1"
id="stop3887-5" />
</linearGradient>
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.0526127,0,0,0.7540853,-19.699324,101.21241)"
r="225.89062"
fy="655.5625"
fx="374.42188"
cy="655.5625"
cx="374.42188"
id="radialGradient4475"
xlink:href="#linearGradient3533"
inkscape:collect="always" />
<radialGradient
r="149.30214"
fy="315.40961"
fx="298.10294"
cy="315.40961"
cx="298.10294"
gradientTransform="matrix(1.131046,0,0,0.5900932,-22.100471,489.57569)"
gradientUnits="userSpaceOnUse"
id="radialGradient4466"
xlink:href="#linearGradient3364"
inkscape:collect="always" />
<radialGradient
r="149.30214"
fy="315.40961"
fx="298.10294"
cy="315.40961"
cx="298.10294"
gradientTransform="matrix(1.131046,0,0,1.131204,-22.100471,282.3446)"
gradientUnits="userSpaceOnUse"
id="radialGradient4429"
xlink:href="#linearGradient3364"
inkscape:collect="always" />
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.2871291,0,0,0.588703,-103.70783,273.98098)"
r="143.60872"
fy="641.82562"
fx="361.18896"
cy="641.82562"
cx="361.18896"
id="radialGradient3539"
xlink:href="#linearGradient3533"
inkscape:collect="always" />
<radialGradient
r="149.30214"
fy="315.40961"
fx="298.10294"
cy="315.40961"
cx="298.10294"
gradientTransform="matrix(1.131046,0,0,1.131204,-22.100471,-17.655402)"
gradientUnits="userSpaceOnUse"
id="radialGradient3979"
xlink:href="#linearGradient3364"
inkscape:collect="always" />
<radialGradient
r="141.81195"
fy="249.47238"
fx="317.86237"
cy="249.47238"
cx="317.86237"
spreadMethod="reflect"
gradientTransform="matrix(0.9225535,0.5499376,-0.6128212,1.0614374,218.04449,-49.879453)"
gradientUnits="userSpaceOnUse"
id="radialGradient3976"
xlink:href="#linearGradient6692"
inkscape:collect="always" />
<radialGradient
r="130.08176"
fy="309.10764"
fx="298.66852"
cy="309.10764"
cx="298.66852"
gradientTransform="matrix(0.2436217,0.8776417,-1.1344403,0.3149057,586.4121,-25.658023)"
gradientUnits="userSpaceOnUse"
id="radialGradient3969"
xlink:href="#linearGradient3351"
inkscape:collect="always" />
<radialGradient
r="149.30214"
fy="315.40961"
fx="298.10294"
cy="315.40961"
cx="298.10294"
gradientTransform="matrix(1.131046,0,0,1.131204,-22.100471,-17.655402)"
gradientUnits="userSpaceOnUse"
id="radialGradient3813"
xlink:href="#linearGradient3364"
inkscape:collect="always" />
<radialGradient
r="141.81195"
fy="249.47238"
fx="317.86237"
cy="249.47238"
cx="317.86237"
spreadMethod="reflect"
gradientTransform="matrix(0.9225535,0.5499376,-0.6128212,1.0614374,218.04449,-49.879453)"
gradientUnits="userSpaceOnUse"
id="radialGradient3732"
xlink:href="#linearGradient6692"
inkscape:collect="always" />
<radialGradient
r="130.08176"
fy="314.29395"
fx="290.86432"
cy="314.29395"
cx="290.86432"
gradientTransform="matrix(1.4674635,0,0,1.0734203,-127.41403,-8.614628)"
gradientUnits="userSpaceOnUse"
id="radialGradient3686"
xlink:href="#linearGradient3351"
inkscape:collect="always" />
<radialGradient
r="130.08176"
fy="314.29395"
fx="290.86432"
cy="314.29395"
cx="290.86432"
gradientTransform="matrix(1.4674635,0,0,1.0734203,-134.66628,-8.6146276)"
gradientUnits="userSpaceOnUse"
id="radialGradient3396"
xlink:href="#linearGradient3351"
inkscape:collect="always" />
<radialGradient
r="141.81195"
fy="249.47238"
fx="317.86237"
cy="249.47238"
cx="317.86237"
gradientTransform="matrix(0.9225535,0.5499376,-0.6128212,1.0614374,210.79224,-49.879453)"
gradientUnits="userSpaceOnUse"
id="radialGradient3394"
xlink:href="#linearGradient6692"
inkscape:collect="always" />
<radialGradient
r="149.30214"
fy="315.40961"
fx="298.10294"
cy="315.40961"
cx="298.10294"
gradientTransform="matrix(1.131046,0,0,1.131204,-29.352716,-17.655402)"
gradientUnits="userSpaceOnUse"
id="radialGradient3392"
xlink:href="#linearGradient3364"
inkscape:collect="always" />
<radialGradient
r="179.50987"
fy="365.75668"
fx="318.06638"
cy="365.75668"
cx="318.06638"
gradientTransform="matrix(1.0565445,0,0,0.5956187,-200.72763,179.91578)"
gradientUnits="userSpaceOnUse"
id="radialGradient3385"
xlink:href="#linearGradient4328"
inkscape:collect="always" />
<radialGradient
r="179.38509"
fy="244.68217"
fx="333.362"
cy="244.68217"
cx="333.362"
gradientTransform="matrix(1.0565445,0,0,0.5952981,-200.72763,124.1879)"
gradientUnits="userSpaceOnUse"
id="radialGradient3383"
xlink:href="#linearGradient4328"
inkscape:collect="always" />
<radialGradient
r="179.50987"
fy="365.75668"
fx="318.06638"
cy="365.75668"
cx="318.06638"
gradientTransform="matrix(1.0565445,0,0,0.5956187,-200.72763,179.91578)"
gradientUnits="userSpaceOnUse"
id="radialGradient3377"
xlink:href="#linearGradient4328"
inkscape:collect="always" />
<radialGradient
r="179.38509"
fy="244.68217"
fx="333.362"
cy="244.68217"
cx="333.362"
gradientTransform="matrix(1.0565445,0,0,0.5952981,-200.72763,124.1879)"
gradientUnits="userSpaceOnUse"
id="radialGradient3375"
xlink:href="#linearGradient4328"
inkscape:collect="always" />
<radialGradient
r="141.81195"
fy="249.47238"
fx="317.86237"
cy="249.47238"
cx="317.86237"
gradientTransform="matrix(0.9225535,0.5499376,-0.6128212,1.0614374,-0.1554987,-133.93797)"
gradientUnits="userSpaceOnUse"
id="radialGradient3373"
xlink:href="#linearGradient6692"
inkscape:collect="always" />
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.131046,0,0,1.131204,-29.352716,-17.655402)"
r="149.30214"
fy="315.40961"
fx="298.10294"
cy="315.40961"
cx="298.10294"
id="radialGradient3361"
xlink:href="#linearGradient3364"
inkscape:collect="always" />
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.4674635,0,0,1.0734203,-134.66628,-8.6146276)"
r="130.08176"
fy="314.29395"
fx="290.86432"
cy="314.29395"
cx="290.86432"
id="radialGradient3357"
xlink:href="#linearGradient3351"
inkscape:collect="always" />
<radialGradient
r="179.50987"
fy="365.75668"
fx="318.06638"
cy="365.75668"
cx="318.06638"
gradientTransform="matrix(1.0565445,0,0,0.5956187,10.2201,263.97431)"
gradientUnits="userSpaceOnUse"
id="radialGradient2337"
xlink:href="#linearGradient4328"
inkscape:collect="always" />
<linearGradient
id="linearGradient4328">
<stop
id="stop4330"
offset="0"
style="stop-color:#398fe5;stop-opacity:1;" />
<stop
id="stop4332"
offset="1"
style="stop-color:#0066cc;stop-opacity:1" />
</linearGradient>
<radialGradient
r="179.38509"
fy="244.68217"
fx="333.362"
cy="244.68217"
cx="333.362"
gradientTransform="matrix(1.0565445,0,0,0.5952981,10.2201,208.24643)"
gradientUnits="userSpaceOnUse"
id="radialGradient2335"
xlink:href="#linearGradient4328"
inkscape:collect="always" />
<radialGradient
r="141.81195"
fy="249.47238"
fx="317.86237"
cy="249.47238"
cx="317.86237"
gradientTransform="matrix(0.9225535,0.5499376,-0.6128212,1.0614374,210.79224,-49.879453)"
gradientUnits="userSpaceOnUse"
id="radialGradient2331"
xlink:href="#linearGradient6692"
inkscape:collect="always" />
<linearGradient
id="linearGradient6692">
<stop
id="stop6694"
offset="0"
style="stop-color:#9bffbd;stop-opacity:1;" />
<stop
style="stop-color:#689e33;stop-opacity:1;"
offset="1"
id="stop6700" />
</linearGradient>
<linearGradient
id="linearGradient3364">
<stop
id="stop3366"
offset="0"
style="stop-color:#79a7fc;stop-opacity:1;" />
<stop
id="stop3368"
offset="1"
style="stop-color:#1d3340;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient3351">
<stop
id="stop3353"
offset="0"
style="stop-color:#ffffff;stop-opacity:0.86734694;" />
<stop
id="stop3355"
offset="1"
style="stop-color:#ffffff;stop-opacity:0;" />
</linearGradient>
<radialGradient
r="19.966738"
fy="578.88593"
fx="82.9272"
cy="578.88593"
cx="82.9272"
gradientTransform="matrix(7.6237907,4.4015976,-5.0675166,8.7771962,2328.4492,-5270.6109)"
gradientUnits="userSpaceOnUse"
id="radialGradient2333"
xlink:href="#linearGradient3364"
inkscape:collect="always" />
<linearGradient
id="linearGradient3615">
<stop
id="stop3619"
offset="0"
style="stop-color:#ffffff;stop-opacity:1;" />
<stop
style="stop-color:#398fe5;stop-opacity:1;"
offset="1"
id="stop3621" />
</linearGradient>
<linearGradient
id="linearGradient3624">
<stop
style="stop-color:#398fe5;stop-opacity:1;"
offset="0"
id="stop3628" />
<stop
id="stop3630"
offset="1"
style="stop-color:#acc1d5;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient3533">
<stop
id="stop3535"
offset="0"
style="stop-color:#3a3a3a;stop-opacity:1;" />
<stop
id="stop3537"
offset="1"
style="stop-color:#ffffff;stop-opacity:1;" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3364"
id="radialGradient3258"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.131046,0,0,1.131204,-22.100471,-17.655402)"
cx="298.10294"
cy="315.40961"
fx="298.10294"
fy="315.40961"
r="149.30214" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6692"
id="radialGradient3260"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9225535,0.5499376,-0.6128212,1.0614374,218.04449,-49.879453)"
spreadMethod="reflect"
cx="317.86237"
cy="249.47238"
fx="317.86237"
fy="249.47238"
r="141.81195" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3351"
id="radialGradient3262"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.2436217,0.8776417,-1.1344403,0.3149057,586.4121,-25.658023)"
cx="298.66852"
cy="309.10764"
fx="298.66852"
fy="309.10764"
r="130.08176" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3364"
id="radialGradient3268"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.131046,0,0,1.131204,-22.100471,-17.655402)"
cx="298.10294"
cy="315.40961"
fx="298.10294"
fy="315.40961"
r="149.30214" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6692"
id="radialGradient3270"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9225535,0.5499376,-0.6128212,1.0614374,218.04449,-49.879453)"
spreadMethod="reflect"
cx="317.86237"
cy="249.47238"
fx="317.86237"
fy="249.47238"
r="141.81195" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3351"
id="radialGradient3272"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.2436217,0.8776417,-1.1344403,0.3149057,586.4121,-25.658023)"
cx="298.66852"
cy="309.10764"
fx="298.66852"
fy="309.10764"
r="130.08176" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3351"
id="radialGradient3275"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.2436217,0.8776417,-1.1344403,0.3149057,23.62227,-368.49652)"
cx="298.66852"
cy="309.10764"
fx="298.66852"
fy="309.10764"
r="130.08176" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6692"
id="radialGradient3278"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9225535,0.5499376,-0.6128212,1.0614374,-344.74534,-392.71795)"
spreadMethod="reflect"
cx="317.86237"
cy="249.47238"
fx="317.86237"
fy="249.47238"
r="141.81195" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3364"
id="radialGradient3281"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.1174411,0,0,0.1174575,-18.224818,-25.892201)"
cx="298.10294"
cy="315.40961"
fx="298.10294"
fy="315.40961"
r="149.30214" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6692"
id="radialGradient3284"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9225535,0.5499376,-0.6128212,1.0614374,-344.74534,-392.71795)"
spreadMethod="reflect"
cx="317.86237"
cy="249.47238"
fx="317.86237"
fy="249.47238"
r="141.81195" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6692"
id="radialGradient3287"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9225535,0.5499376,-0.6128212,1.0614374,-344.74534,-392.71795)"
spreadMethod="reflect"
cx="317.86237"
cy="249.47238"
fx="317.86237"
fy="249.47238"
r="141.81195" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6692"
id="radialGradient3290"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.09579247,0.05710226,-0.06363172,0.11021335,6.7104086,-29.238154)"
spreadMethod="reflect"
cx="317.86237"
cy="249.47238"
fx="317.86237"
fy="249.47238"
r="141.81195" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3364-1"
id="radialGradient3281-8"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.1174411,0,0,0.1174575,-18.224818,-25.892201)"
cx="298.10294"
cy="315.40961"
fx="298.10294"
fy="315.40961"
r="149.30214" />
<linearGradient
id="linearGradient3364-1">
<stop
id="stop3366-0"
offset="0"
style="stop-color:#79a7fc;stop-opacity:1;" />
<stop
id="stop3368-2"
offset="1"
style="stop-color:#1d3340;stop-opacity:1;" />
</linearGradient>
<radialGradient
r="149.30214"
fy="315.40961"
fx="298.10294"
cy="315.40961"
cx="298.10294"
gradientTransform="matrix(0.1174411,0,0,0.1174575,-24.327872,-29.478297)"
gradientUnits="userSpaceOnUse"
id="radialGradient4075"
xlink:href="#linearGradient3364-1"
inkscape:collect="always" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3364-7"
id="radialGradient3281-0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.1174411,0,0,0.1174575,-18.224818,-25.892201)"
cx="298.10294"
cy="315.40961"
fx="298.10294"
fy="315.40961"
r="149.30214" />
<linearGradient
id="linearGradient3364-7">
<stop
id="stop3366-6"
offset="0"
style="stop-color:#79a7fc;stop-opacity:1;" />
<stop
id="stop3368-3"
offset="1"
style="stop-color:#1d3340;stop-opacity:1;" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3364"
id="radialGradient4158"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.1174411,0,0,0.1174575,-18.224818,-25.892201)"
cx="298.10294"
cy="315.40961"
fx="298.10294"
fy="315.40961"
r="149.30214" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6692"
id="radialGradient4160"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.09579247,0.05710226,-0.06363172,0.11021335,6.7104086,-29.238154)"
spreadMethod="reflect"
cx="317.86237"
cy="249.47238"
fx="317.86237"
fy="249.47238"
r="141.81195" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.5"
inkscape:cx="46.605766"
inkscape:cy="28.265727"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="1280"
inkscape:window-height="757"
inkscape:window-x="0"
inkscape:window-y="20"
inkscape:window-maximized="1" />
<metadata
id="metadata2990">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<g
id="layer2"
inkscape:label="layer2"
transform="translate(-562.78983,-342.8385)" />
<g
id="g4147"
transform="matrix(1.6754115,0,0,1.6754115,-5.9402544,-0.78572611)">
<path
d="m 24.548165,6.495189 c -2.749619,0 -5.327834,0.723269 -7.567595,1.980899 -0.0014,8.31e-4 -0.0042,-8.3e-4 -0.0055,0 -1.449322,0.8143833 -2.745948,1.861793 -3.859536,3.080762 -2.519322,2.757748 -4.072707,6.415799 -4.072707,10.443156 0,8.559695 6.948493,15.504799 15.505455,15.504808 0.26931,0 0.530654,-0.0257 0.796588,-0.03928 0.427918,-0.02187 0.849726,-0.05626 1.267806,-0.112245 3.876784,-0.518797 7.301068,-2.460551 9.721755,-5.297346 2.311251,-2.70857 3.713651,-6.218361 3.713651,-10.05594 0,-1.958442 -0.374577,-3.824157 -1.037813,-5.54986 C 38.684985,15.603748 38.282937,14.793451 37.820996,14.025934 35.819042,10.699674 32.61396,8.190532 28.80046,7.101241 27.446649,6.714545 26.025607,6.495186 24.548244,6.495186 z"
style="opacity:0.54166667;color:#000000;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.95121026;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="path6109-6"
inkscape:connector-curvature="0" />
<path
d="m 21.608392,3.5860993 c -2.749619,0 -5.327834,0.723269 -7.567595,1.980899 -0.0014,8.31e-4 -0.0042,-8.3e-4 -0.0055,0 -1.449322,0.814383 -2.745948,1.861793 -3.859536,3.080762 -2.5193216,2.7577487 -4.072707,6.4157987 -4.072707,10.4431557 0,8.559695 6.948493,15.504799 15.505455,15.504808 0.26931,0 0.530654,-0.0257 0.796588,-0.03928 0.427918,-0.02187 0.849726,-0.05626 1.267806,-0.112245 3.876784,-0.518797 7.301068,-2.460551 9.721755,-5.297346 2.311251,-2.70857 3.713651,-6.218361 3.713651,-10.05594 0,-1.958442 -0.374577,-3.824157 -1.037813,-5.549859 C 35.745212,12.694659 35.343164,11.884362 34.881223,11.116845 32.879269,7.7905843 29.674187,5.2814423 25.860687,4.1921513 24.506876,3.8054553 23.085834,3.5860963 21.608471,3.5860963 z"
style="fill:url(#radialGradient4158);fill-opacity:1;fill-rule:nonzero;stroke:none;display:inline"
id="path6109"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path6111"
d="m 19.412789,4.0743683 c -0.746335,0.638761 -2.389407,0.859961 -2.722381,1.607438 1.106098,-0.128443 2.544004,-0.448251 2.557679,1.168596 -0.148015,1.007077 1.160729,3.2269677 1.82002,1.890122 0.129205,-1.330448 1.470991,-3.549781 -0.771239,-3.829885 -1.882314,-0.762071 2.979468,-0.209498 1.016802,-0.528606 -0.607669,-0.09082 -1.391665,0.06998 -1.900881,-0.307665 z m 6.449147,0.121313 c -0.881946,-0.155803 -1.534595,0.592098 -0.432342,0.960108 1.4194,0.733245 2.578921,1.918456 4.084806,2.485092 0.592044,-0.34902 1.374873,1.852054 1.561574,2.7047047 0.387686,0.80234 1.487082,1.37206 0.490184,2.265024 -0.05425,1.233452 1.946089,2.699135 1.942304,0.612192 -0.439418,-0.734463 -0.622812,-2.566749 0.595547,-1.367107 0.810617,1.195758 1.645187,-0.115204 0.686198,-0.916673 C 32.749546,7.7088853 29.55333,5.2299453 25.861936,4.1956813 z m -9.865781,1.334493 c -0.417695,0.620202 -2.571606,1.763388 -1.686682,0.149538 -1.984957,0.57234 -3.590636,2.105859 -4.6120561,3.862384 1.5750731,-1.324601 -0.015748,1.1295367 -0.3322594,1.7130887 -0.534513,1.089765 -0.8214799,2.273897 -1.2685887,3.4085 -0.5730978,1.509769 -0.4077815,3.130128 -0.094922,4.672263 0.3016767,0.989359 0.2316128,2.625306 1.2343458,3.072407 -0.3194774,-0.662423 -0.610653,-1.618 -0.5867434,-2.234591 0.3792635,1.876876 1.1189375,3.892577 2.8883888,4.880958 1.564236,0.483771 2.816178,1.482534 4.205099,2.336527 1.870526,0.127473 0.781045,2.079645 1.826054,3.16423 0.672389,1.151526 2.044705,1.618336 3.025648,2.301905 0.685253,1.452803 2.834161,2.155581 4.010656,0.868018 0.882891,-1.276892 2.127407,-2.51076 2.268077,-4.143129 -0.279481,-1.793147 -3.246937,0.102277 -3.463148,-1.518651 -0.537394,-0.897912 -2.602913,-0.757696 -3.216567,-2.026992 -0.637978,0.726731 -2.320655,-0.240143 -2.259199,0.24509 -0.671588,-0.573319 -1.949873,2.274179 -2.514571,0.352229 -0.296576,-1.274014 -2.222057,-1.703239 -1.837722,-3.227273 -0.948739,1.375223 -2.1709,0.499641 -2.3858,-0.829078 -0.390513,-1.842037 2.735199,-2.925814 3.43715,-1.092093 1.095075,1.037246 -0.682025,-1.852925 0.604837,-1.982747 0.300526,-1.545167 0.973888,-2.938188 1.908803,-4.087889 0.625559,-0.360939 1.855826,-0.11922 1.7451,-1.236598 -1.047151,0.945815 -0.784231,-1.057803 -0.768464,-0.837063 -0.411756,0.281586 -1.56851,0.695786 -0.52957,0.04312 1.492305,-0.210685 2.690421,-1.613514 0.982381,-2.638514 -0.04484,-0.9652797 -1.30315,-0.588675 -1.266801,-0.8561637 -0.16385,-1.434435 -2.480226,-0.06182 -1.357223,0.9320457 -0.301159,0.528041 -0.889273,2.774402 -1.090854,0.984926 -1.84482,-0.64084 -0.675321,-3.3199597 1.159078,-3.0365307 -0.64925,-0.988033 1.911881,-2.2126 0.833762,-0.693952 -0.584443,1.306768 1.930519,1.465522 1.193193,-0.0062 0.845961,-0.377829 -0.628568,-2.838444 -1.883315,-2.205467 0.02767,-0.08284 0.0392,-0.418386 -0.168091,-0.334277 z m 8.763973,0.980656 c -1.633826,1.100986 2.330139,1.039978 0.224514,0.03925 -0.07483,-0.01315 -0.149677,-0.02617 -0.224514,-0.03925 z m 3.558133,1.304169 c 0.149625,1.082447 1.479333,3.2616117 2.509073,1.898721 -0.480142,-0.928862 -1.604164,-1.457264 -2.509073,-1.898721 z M 19.483546,12.61714 c -1.452198,0.765316 1.078944,2.169156 0.767368,0.666126 -0.06917,-0.427837 -0.603625,-0.259829 -0.767368,-0.666126 z m 15.031157,0.384178 c -1.781314,1.867517 -1.338327,4.611475 -1.559271,6.958762 0.178327,1.468491 -0.06829,3.188802 0.966131,4.384224 0.811301,1.062451 1.712427,-1.844888 1.776879,0.06709 -0.345182,1.534378 -1.145845,2.913111 -1.987723,4.238464 -0.16295,0.522107 0.944707,-1.139451 1.201356,-1.584134 2.401681,-4.020139 2.905623,-9.163857 1.159338,-13.528585 -0.481904,0.312337 -0.398054,1.427448 -1.05441,0.452598 -0.198339,-0.315402 -0.161341,-0.76254 -0.5023,-0.988416 z m -19.165478,8.421466 c -0.257893,0.770416 0.998301,-0.104492 0,0 z m 0.181951,0.677337 c -0.605887,0.56386 0.892085,0.214693 0,0 z m -0.81878,0.545948 c -1.32715,0.731067 1.381797,0.498992 1.704791,1.13353 1.087299,-0.207573 -1.471927,-1.172734 -1.704791,-1.13353 z m 2.698946,0.919972 c -1.672695,0.983927 1.848894,0.590466 0.193396,0.0474 l -0.193396,-0.0474 z m 1.152335,0.353835 c -0.149763,0.600306 0.67645,-0.0459 0,0 z m 0.90976,0.07076 c -0.004,0.510004 0.612259,-0.123061 0,0 z m -3.305438,0.1011 c -1.229705,0.0577 0.698059,0.822926 0,0 z m 3.729986,0.363948 c -0.09868,0.425838 0.490191,-0.0659 0,0 z m 0.313358,0.444833 c -0.465754,0.198034 0.418384,0.225261 0,0 z m 0.06066,0.363965 0.01679,0.01229 -0.01679,-0.01229 z m 0.01004,0.02021 c -0.47886,0.123788 0.22455,0.287671 0,0 z m 0.424564,0.111189 c -0.214847,0.318292 0.406487,0.213089 0,0 z"
style="fill:url(#radialGradient4160);fill-opacity:1;fill-rule:nonzero;stroke:none;display:inline" />
<path
d="m 21.608392,3.586099 c -2.749619,0 -5.327834,0.723269 -7.567595,1.980899 -0.0014,8.31e-4 -0.0042,-8.3e-4 -0.0055,0 -1.449322,0.814383 -2.745948,1.861793 -3.859536,3.080762 -2.5193216,2.757749 -4.072707,6.415799 -4.072707,10.443156 0,8.559695 6.948493,15.504799 15.505455,15.504808 0.26931,0 0.530654,-0.0257 0.796588,-0.03928 0.427918,-0.02187 0.849726,-0.05626 1.267806,-0.112245 3.876784,-0.518797 7.301068,-2.460551 9.721755,-5.297346 2.311251,-2.70857 3.713651,-6.218361 3.713651,-10.05594 0,-1.958442 -0.374577,-3.824157 -1.037813,-5.549859 C 35.745212,12.694659 35.343164,11.884362 34.881223,11.116845 32.879269,7.790584 29.674187,5.281442 25.860687,4.192151 24.506876,3.805455 23.085834,3.586096 21.608471,3.586096 z"
style="fill:none;stroke:#2d2d2d;stroke-opacity:1;display:inline"
id="path6109-2"
inkscape:connector-curvature="0" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -32,45 +32,17 @@
class WebWorkbench ( Workbench ):
"Web workbench object"
Icon = """
/* XPM */
static char * web_xpm[] = {
"16 16 9 1",
" c None",
". c #102D45",
"+ c #2B4A60",
"@ c #194E74",
"# c #306996",
"$ c #426882",
"% c #4D83A8",
"& c #69A4CA",
"* c #A4DCF8",
" $$$+ ",
" %%&&$..+ ",
" %****&%@.+ ",
" %&****&%@@.+ ",
" $&******%%@.. ",
" $&*****&%##@.+ ",
" $&*****&##@@.+ ",
" +&&&&&&%##@..+ ",
" .@##%%###%%$.+ ",
" .@@@###@%%%+.+ ",
" +.@&%####%$+. ",
" +.%&&%##@..$ ",
" ++$%%#@..$ ",
" ++++..++ ",
" .++++. ",
" "};
"""
MenuText = "Web"
ToolTip = "Web workbench"
"Web workbench object"
def __init__(self):
self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Web/Resources/icons/WebWorkbench.svg"
self.__class__.MenuText = "Web"
self.__class__.ToolTip = "Web workbench"
def Initialize(self):
# load the module
import WebGui
def Initialize(self):
# load the module
import WebGui
def GetClassName(self):
return "WebGui::Workbench"
def GetClassName(self):
return "WebGui::Workbench"
Gui.addWorkbench(WebWorkbench())