Arch: Added wood grain properties to Panel Sheets

This commit is contained in:
Yorik van Havre
2017-06-27 13:15:39 -03:00
parent b41624590d
commit a545ffccd8
5 changed files with 1109 additions and 5 deletions

View File

@@ -967,11 +967,13 @@ class PanelSheet(Draft._DraftObject):
obj.addProperty("App::PropertyLength","Height","Arch",QT_TRANSLATE_NOOP("App::Property","The height of the sheet"))
obj.addProperty("App::PropertyPercent","FillRatio","Arch",QT_TRANSLATE_NOOP("App::Property","The fill ratio of this sheet"))
obj.addProperty("App::PropertyBool","MakeFace","Arch",QT_TRANSLATE_NOOP("App::Property","If True, the object is rendered as a face, if possible."))
obj.addProperty("App::PropertyAngle","GrainDirection","Arch",QT_TRANSLATE_NOOP("App::Property","Specifies an angle for the wood grain (Clockwise, 0 is North)"))
obj.Proxy = self
self.Type = "PanelSheet"
obj.TagSize = 10
obj.Width = 1000
obj.Height = 1000
p = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Arch")
obj.Width = p.GetFloat("PanelLength",1000)
obj.Height = p.GetFloat("PanelWidth",1000)
obj.MakeFace = False
obj.FontFile = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Draft").GetString("FontFile","")
obj.setEditorMode("FillRatio",2)
@@ -1097,7 +1099,8 @@ class ViewProviderPanelSheet(Draft._ViewProviderDraft):
Draft._ViewProviderDraft.__init__(self,vobj)
vobj.addProperty("App::PropertyLength","Margin","Arch",QT_TRANSLATE_NOOP("App::Property","A margin inside the boundary"))
vobj.addProperty("App::PropertyBool","ShowMargin","Arch",QT_TRANSLATE_NOOP("App::Property","Turns the display of the margin on/off"))
vobj.addProperty("App::PropertyBool","ShowGrain","Arch",QT_TRANSLATE_NOOP("App::Property","Turns the display of the wood grain texture on/off"))
vobj.PatternSize = 0.0035
def getIcon(self):
return ":/icons/Draft_Drawing.svg"
@@ -1156,11 +1159,26 @@ class ViewProviderPanelSheet(Draft._ViewProviderDraft):
if hasattr(vobj,"LineColor"):
c = vobj.LineColor
self.color.rgb.setValue(c[0],c[1],c[2])
elif prop == "ShowGrain":
if hasattr(vobj,"ShowGrain"):
if vobj.ShowGrain:
vobj.Pattern = "woodgrain"
else:
vobj.Pattern = "None"
Draft._ViewProviderDraft.onChanged(self,vobj,prop)
def updateData(self,obj,prop):
if prop in ["Width","Height"]:
self.onChanged(obj.ViewObject,"Margin")
elif prop == "GrainDirection":
if hasattr(self,"texcoords"):
if self.texcoords:
s = FreeCAD.Vector(self.texcoords.directionS.getValue().getValue()).Length
vS = DraftVecUtils.rotate(FreeCAD.Vector(s,0,0),-math.radians(obj.GrainDirection.Value))
vT = DraftVecUtils.rotate(FreeCAD.Vector(0,s,0),-math.radians(obj.GrainDirection.Value))
self.texcoords.directionS.setValue(vS.x,vS.y,vS.z)
self.texcoords.directionT.setValue(vT.x,vT.y,vT.z)
Draft._ViewProviderDraft.updateData(self,obj,prop)

View File

@@ -3730,8 +3730,12 @@ class _ViewProviderDraft:
s = 1
if vobj.PatternSize:
s = vobj.PatternSize
self.texcoords.directionS.setValue(s,0,0)
self.texcoords.directionT.setValue(0,s,0)
vS = FreeCAD.Vector(self.texcoords.directionS.getValue().getValue())
vT = FreeCAD.Vector(self.texcoords.directionT.getValue().getValue())
vS.Length = s
vT.Length = s
self.texcoords.directionS.setValue(vS.x,vS.y,vS.z)
self.texcoords.directionT.setValue(vT.x,vT.y,vT.z)
return
def execute(self,vobj):

View File

@@ -81,6 +81,8 @@
<file>patterns/line.svg</file>
<file>patterns/simple.svg</file>
<file>patterns/square.svg</file>
<file>patterns/wood.svg</file>
<file>patterns/woodgrain.svg</file>
<file>translations/Draft_af.qm</file>
<file>translations/Draft_de.qm</file>
<file>translations/Draft_fi.qm</file>

View File

@@ -0,0 +1,926 @@
<?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="svg3137"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="wood.svg">
<defs
id="defs3139">
<pattern
patternUnits="userSpaceOnUse"
width="64.96875"
height="65.3125"
patternTransform="translate(-0.125,-0.5)"
id="wood">
<g
id="g3339"
transform="translate(0.125,0.5) scale(0.03,0.03)">
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line10"
y2="44.405113"
x2="46.448639"
y1="49.588726"
x1="36.013824" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line12"
y2="49.588726"
x2="36.013824"
y1="56.911587"
x1="26.508579" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line14"
y2="36.588356"
x2="22.828842"
y1="43.802601"
x1="18.324862" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line16"
y2="43.802601"
x2="18.324862"
y1="52.414928"
x1="10.451589" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line18"
y2="51.171249"
x2="64.450821"
y1="45.401619"
x1="60.741768" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line20"
y2="45.401619"
x2="60.741768"
y1="38.168877"
x1="54.284355" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line22"
y2="38.168877"
x2="54.284355"
y1="31.99353"
x1="46.965157" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line24"
y2="64.536659"
x2="56.52261"
y1="58.920887"
x1="53.594742" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line26"
y2="58.920887"
x2="53.594742"
y1="50.482559"
x1="48.170364" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line28"
y2="50.482559"
x2="48.170364"
y1="42.990917"
x1="41.540775" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line30"
y2="42.990917"
x2="41.540775"
y1="36.532856"
x1="34.652008" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line34"
y2="64.536659"
x2="44.812073"
y1="57.026066"
x1="39.301613" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line36"
y2="57.026066"
x2="39.301613"
y1="46.005138"
x1="30.174595" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line38"
y2="46.005138"
x2="30.174595"
y1="38.168877"
x1="20.61714" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line40"
y2="38.168877"
x2="20.61714"
y1="34.29406"
x1="12.86751" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line42"
y2="34.29406"
x2="12.86751"
y1="31.99353"
x1="2.8796287" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line44"
y2="64.536659"
x2="35.082443"
y1="59.437401"
x1="31.121544" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line46"
y2="59.437401"
x2="31.121544"
y1="52.720814"
x1="25.008472" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line48"
y2="52.720814"
x2="25.008472"
y1="45.918133"
x1="16.914499" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line50"
y2="45.918133"
x2="16.914499"
y1="40.75211"
x1="7.2709622" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line52"
y2="40.75211"
x2="7.2709622"
y1="38.77166"
x1="0.094633415" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line54"
y2="64.536659"
x2="23.803265"
y1="58.662621"
x1="19.411932" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line56"
y2="58.662621"
x2="19.411932"
y1="54.27129"
x1="15.364938" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line58"
y2="54.27129"
x2="15.364938"
y1="49.966042"
x1="9.8535614" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line60"
y2="49.966042"
x2="9.8535614"
y1="47.038174"
x1="4.5152779" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line62"
y2="47.038174"
x2="4.5152779"
y1="45.745964"
x1="0.094633415" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line64"
y2="64.536659"
x2="13.470121"
y1="62.70961"
x1="12.437076" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line66"
y2="62.70961"
x2="12.437076"
y1="58.060017"
x1="8.7344351" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line68"
y2="58.060017"
x2="8.7344351"
y1="54.701721"
x1="4.0848436" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line70"
y2="54.701721"
x2="4.0848436"
y1="53.409504"
x1="0.094633415" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line10-8"
y2="12.550002"
x2="46.356174"
y1="17.814405"
x1="35.922504" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line12-2"
y2="17.814405"
x2="35.922504"
y1="25.251396"
x1="26.418303" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line14-8"
y2="4.6114168"
x2="22.73897"
y1="11.938099"
x1="18.235481" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line16-8"
y2="11.938099"
x2="18.235481"
y1="20.684654"
x1="10.363072" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line18-9"
y2="19.421593"
x2="64.356377"
y1="13.562038"
x1="60.647736" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line20-6"
y2="13.562038"
x2="60.647736"
y1="6.2165704"
x1="54.191032" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line22-6"
y2="6.2165704"
x2="54.191032"
y1="-0.055021625"
x1="46.872639" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line24-0"
y2="32.995308"
x2="56.429043"
y1="27.292013"
x1="53.501495" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line26-2"
y2="27.292013"
x2="53.501495"
y1="18.72217"
x1="48.077713" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line28-1"
y2="18.72217"
x2="48.077713"
y1="11.113765"
x1="41.448853" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line30-7"
y2="11.113765"
x2="41.448853"
y1="4.5550518"
x1="34.560841" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line32-2"
y2="4.5550518"
x2="34.560841"
y1="-0.055021625"
x1="27.759834" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line36-1"
y2="25.367659"
x2="39.209934"
y1="14.174964"
x1="30.083918" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line38-3"
y2="14.174964"
x2="30.083918"
y1="6.2165704"
x1="20.527508" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line40-2"
y2="6.2165704"
x2="20.527508"
y1="2.2813628"
x1="12.778731" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line42-0"
y2="2.2813628"
x2="12.778731"
y1="-0.055021625"
x1="2.7919424" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line46-7"
y2="27.816576"
x2="31.030762"
y1="20.995308"
x1="24.918362" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line48-7"
y2="20.995308"
x2="24.918362"
y1="14.086603"
x1="16.825274" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line50-6"
y2="14.086603"
x2="16.825274"
y1="8.840064"
x1="7.1827955" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line52-4"
y2="8.840064"
x2="7.1827955"
y1="6.8287482"
x1="0.0072516869" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line56-6"
y2="27.02972"
x2="19.322433"
y1="22.569948"
x1="15.275883" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line58-2"
y2="22.569948"
x2="15.275883"
y1="18.197601"
x1="9.765111" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line60-1"
y2="18.197601"
x2="9.765111"
y1="15.2241"
x1="4.4274139" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line62-8"
y2="15.2241"
x2="4.4274139"
y1="13.911751"
x1="0.0072516869" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line64-9"
y2="32.995308"
x2="13.381276"
y1="31.139784"
x1="12.348343" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line66-0"
y2="31.139784"
x2="12.348343"
y1="26.417725"
x1="8.6461048" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line68-0"
y2="26.417725"
x2="8.6461048"
y1="23.00709"
x1="3.9970255" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line70-1"
y2="23.00709"
x2="3.9970255"
y1="21.694731"
x1="0.0072516869" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 19.181818,26.772727 34.90909,36.590909"
id="path3331"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 56.454546,32.772727 3.090909,8"
id="path3333"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 39.045455,25.181818 8.090909,6.909091"
id="path3335"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 40.181818,38.545455 52.727272,35.818182 64.545454,29.454546"
id="path3337"
inkscape:connector-curvature="0" />
</g>
</pattern>
</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.712922"
inkscape:cy="28.894337"
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="metadata3142">
<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">
<rect
style="stroke:none;fill:none"
width="64.96875"
height="65.3125"
x="-0.125"
y="-0.5"
id="rect3468" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3533"
y2="44.405113"
x2="46.448639"
y1="49.588726"
x1="36.013824" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3535"
y2="49.588726"
x2="36.013824"
y1="56.911587"
x1="26.508579" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3537"
y2="36.588356"
x2="22.828842"
y1="43.802601"
x1="18.324862" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3539"
y2="43.802601"
x2="18.324862"
y1="52.414928"
x1="10.451589" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3541"
y2="51.171249"
x2="64.450821"
y1="45.401619"
x1="60.741768" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3543"
y2="45.401619"
x2="60.741768"
y1="38.168877"
x1="54.284355" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3545"
y2="38.168877"
x2="54.284355"
y1="31.99353"
x1="46.965157" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3547"
y2="64.536659"
x2="56.52261"
y1="58.920887"
x1="53.594742" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3549"
y2="58.920887"
x2="53.594742"
y1="50.482559"
x1="48.170364" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3551"
y2="50.482559"
x2="48.170364"
y1="42.990917"
x1="41.540775" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3553"
y2="42.990917"
x2="41.540775"
y1="36.532856"
x1="34.652008" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3555"
y2="64.536659"
x2="44.812073"
y1="57.026066"
x1="39.301613" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3557"
y2="57.026066"
x2="39.301613"
y1="46.005138"
x1="30.174595" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3559"
y2="46.005138"
x2="30.174595"
y1="38.168877"
x1="20.61714" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3561"
y2="38.168877"
x2="20.61714"
y1="34.29406"
x1="12.86751" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3563"
y2="34.29406"
x2="12.86751"
y1="31.99353"
x1="2.8796287" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3565"
y2="64.536659"
x2="35.082443"
y1="59.437401"
x1="31.121544" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3567"
y2="59.437401"
x2="31.121544"
y1="52.720814"
x1="25.008472" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3569"
y2="52.720814"
x2="25.008472"
y1="45.918133"
x1="16.914499" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3571"
y2="45.918133"
x2="16.914499"
y1="40.75211"
x1="7.2709622" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3573"
y2="40.75211"
x2="7.2709622"
y1="38.77166"
x1="0.094633415" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3575"
y2="64.536659"
x2="23.803265"
y1="58.662621"
x1="19.411932" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3577"
y2="58.662621"
x2="19.411932"
y1="54.27129"
x1="15.364938" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3579"
y2="54.27129"
x2="15.364938"
y1="49.966042"
x1="9.8535614" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3581"
y2="49.966042"
x2="9.8535614"
y1="47.038174"
x1="4.5152779" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3583"
y2="47.038174"
x2="4.5152779"
y1="45.745964"
x1="0.094633415" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3585"
y2="64.536659"
x2="13.470121"
y1="62.70961"
x1="12.437076" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3587"
y2="62.70961"
x2="12.437076"
y1="58.060017"
x1="8.7344351" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3589"
y2="58.060017"
x2="8.7344351"
y1="54.701721"
x1="4.0848436" />
<line
style="stroke:#000000;stroke-width:0.91581547px"
id="line3591"
y2="54.701721"
x2="4.0848436"
y1="53.409504"
x1="0.094633415" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3593"
y2="12.550002"
x2="46.356174"
y1="17.814405"
x1="35.922504" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3595"
y2="17.814405"
x2="35.922504"
y1="25.251396"
x1="26.418303" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3597"
y2="4.6114168"
x2="22.73897"
y1="11.938099"
x1="18.235481" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3599"
y2="11.938099"
x2="18.235481"
y1="20.684654"
x1="10.363072" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3601"
y2="19.421593"
x2="64.356377"
y1="13.562038"
x1="60.647736" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3603"
y2="13.562038"
x2="60.647736"
y1="6.2165704"
x1="54.191032" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3605"
y2="6.2165704"
x2="54.191032"
y1="-0.055021625"
x1="46.872639" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3607"
y2="32.995308"
x2="56.429043"
y1="27.292013"
x1="53.501495" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3609"
y2="27.292013"
x2="53.501495"
y1="18.72217"
x1="48.077713" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3611"
y2="18.72217"
x2="48.077713"
y1="11.113765"
x1="41.448853" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3613"
y2="11.113765"
x2="41.448853"
y1="4.5550518"
x1="34.560841" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3615"
y2="4.5550518"
x2="34.560841"
y1="-0.055021625"
x1="27.759834" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3617"
y2="25.367659"
x2="39.209934"
y1="14.174964"
x1="30.083918" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3619"
y2="14.174964"
x2="30.083918"
y1="6.2165704"
x1="20.527508" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3621"
y2="6.2165704"
x2="20.527508"
y1="2.2813628"
x1="12.778731" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3623"
y2="2.2813628"
x2="12.778731"
y1="-0.055021625"
x1="2.7919424" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3625"
y2="27.816576"
x2="31.030762"
y1="20.995308"
x1="24.918362" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3627"
y2="20.995308"
x2="24.918362"
y1="14.086603"
x1="16.825274" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3629"
y2="14.086603"
x2="16.825274"
y1="8.840064"
x1="7.1827955" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3631"
y2="8.840064"
x2="7.1827955"
y1="6.8287482"
x1="0.0072516869" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3633"
y2="27.02972"
x2="19.322433"
y1="22.569948"
x1="15.275883" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3635"
y2="22.569948"
x2="15.275883"
y1="18.197601"
x1="9.765111" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3637"
y2="18.197601"
x2="9.765111"
y1="15.2241"
x1="4.4274139" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3639"
y2="15.2241"
x2="4.4274139"
y1="13.911751"
x1="0.0072516869" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3641"
y2="32.995308"
x2="13.381276"
y1="31.139784"
x1="12.348343" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3643"
y2="31.139784"
x2="12.348343"
y1="26.417725"
x1="8.6461048" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3645"
y2="26.417725"
x2="8.6461048"
y1="23.00709"
x1="3.9970255" />
<line
style="stroke:#000000;stroke-width:0.92287397px"
id="line3647"
y2="23.00709"
x2="3.9970255"
y1="21.694731"
x1="0.0072516869" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 19.181818,26.772727 34.90909,36.590909"
id="path3649"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 56.454546,32.772727 3.090909,8"
id="path3651"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 39.045455,25.181818 8.090909,6.909091"
id="path3653"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 40.181818,38.545455 52.727272,35.818182 64.545454,29.454546"
id="path3655"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -0,0 +1,154 @@
<?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="svg3137"
version="1.1"
inkscape:version="0.92.1 r15371"
sodipodi:docname="woodgrain.svg">
<defs
id="defs3139">
<pattern
patternUnits="userSpaceOnUse"
width="64"
height="64"
patternTransform="translate(-0.125,-0.5)"
id="woodgrain">
<g
id="g3339"
transform="translate(0.125,0.5) scale(0.03,0.03)">
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 4,0 8,24 4,44 v 20"
id="path4854"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 16,0 -4,8 v 28 l 4,16 v 12"
id="path4855"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 20,0 v 16 l -4,12 4,8 v 28"
id="path4856"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 24,64 28,44 24,28 28,12 V 0"
id="path4857"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 36,0 c 0,0 0,16 0,16 l 4,4 v 8 l -8,4 v 8 l 4,12 v 12"
id="path4858"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 44,0 v 36 l -4,4 v 4 l 4,20"
id="path4859"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 48,0 4,20 v 8 l -4,12 v 8 l 4,16"
id="path4860"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 56,0 4,16 v 16 l -8,4 v 8 l 4,8 v 12"
id="path4861"
inkscape:connector-curvature="0" />
</g>
</pattern>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11"
inkscape:cx="34.158522"
inkscape:cy="30.990764"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="1920"
inkscape:window-height="1051"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1">
<inkscape:grid
type="xygrid"
id="grid4837"
spacingx="4"
spacingy="4" />
</sodipodi:namedview>
<metadata
id="metadata3142">
<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="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 4,0 8,24 4,44 v 20"
id="path4839"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 16,0 -4,8 v 28 l 4,16 v 12"
id="path4841"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 20,0 v 16 l -4,12 4,8 v 28"
id="path4843"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 24,64 28,44 24,28 28,12 V 0"
id="path4845"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 36,0 c 0,0 0,16 0,16 l 4,4 v 8 l -8,4 v 8 l 4,12 v 12"
id="path4847"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 44,0 v 36 l -4,4 v 4 l 4,20"
id="path4849"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 48,0 4,20 v 8 l -4,12 v 8 l 4,16"
id="path4851"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 56,0 4,16 v 16 l -8,4 v 8 l 4,8 v 12"
id="path4853"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.9 KiB