www.spaceplanner.app

Web client to the spaceplanner API
git clone git://jacobedwards.org/www.spaceplanner.app
Log | Files | Refs

commit ab714f190ba71e8dd0c67dfc1fb661fc4a4c5980
parent 5c16cc19a2194380210dc169ffec6b9847daeefb
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Wed, 18 Sep 2024 12:23:52 -0700

Add furniture images

Finally get some images for the furniture working, albeit badly:
The images are primitively streched as if they were bitmaps when
they're vector images. In the future I hope to have an easy way to
create these furniture graphics and have them scale nicely.  Another
issue is that there is no longer any distinction for selected
furniture.

Diffstat:
Mfiles/floorplans/floorplan/editor.js | 7++++---
Mfiles/floorplans/floorplan/svg.css | 2+-
Afiles/furniture/bed.svg | 238+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Afiles/furniture/table.svg | 89+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 332 insertions(+), 4 deletions(-)

diff --git a/files/floorplans/floorplan/editor.js b/files/floorplans/floorplan/editor.js @@ -624,6 +624,7 @@ export class FloorplanEditor { m.size(value.width, value.depth) m.findOne("title").words(furniture_name(value)) } + m.load(`/furniture/${value.type}.svg`) } } }, @@ -631,9 +632,9 @@ export class FloorplanEditor { let fm = editor.draw.findOneMax(byId(id)) if (!fm) { let f = editor.backend.reqObj(value.furniture_id) - fm = editor.layoutG().rect(f.width, f.depth) - .fill("black") - .attr({ id }) + fm = editor.layoutG().image(`/furniture/${f.type}.svg`) + .size(f.width, f.depth) + .attr({ id, preserveAspectRatio: "none" }) fm.element("title").words(furniture_name(f)) } fm.cx(value.x).cy(value.y) diff --git a/files/floorplans/floorplan/svg.css b/files/floorplans/floorplan/svg.css @@ -1,6 +1,6 @@ /* SVG element CSS */ -rect.selected, circle.selected { +circle.selected { fill: blue; } diff --git a/files/furniture/bed.svg b/files/furniture/bed.svg @@ -0,0 +1,238 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + width="210mm" + height="297mm" + viewBox="0 0 210 297" + version="1.1" + id="svg1" + inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)" + sodipodi:docname="drawing.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="./style.css" type="text/css"/> + <sodipodi:namedview + id="namedview1" + pagecolor="#ffffff" + bordercolor="#000000" + borderopacity="0.25" + inkscape:showpageshadow="2" + inkscape:pageopacity="0.0" + inkscape:pagecheckerboard="0" + inkscape:deskcolor="#d1d1d1" + inkscape:document-units="mm" + inkscape:zoom="0.53094837" + inkscape:cx="365.38392" + inkscape:cy="307.93954" + inkscape:window-width="1366" + inkscape:window-height="749" + inkscape:window-x="0" + inkscape:window-y="19" + inkscape:window-maximized="1" + inkscape:current-layer="layer1" /> + <defs + id="defs1"> + <inkscape:path-effect + effect="bspline" + id="path-effect7" + is_visible="true" + lpeversion="1.3" + weight="32.2333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" + uniform="false" /> + <inkscape:path-effect + effect="roughen" + id="path-effect6" + is_visible="true" + lpeversion="1.2" + global_randomize="1;1" + displace_x="10;1" + displace_y="10;1" + method="size" + max_segment_size="0.965448" + segments="2" + handles="along" + shift_nodes="true" + fixed_displacement="false" + spray_tool_friendly="false" /> + <inkscape:path-effect + effect="roughen" + id="path-effect5" + is_visible="true" + lpeversion="1.2" + global_randomize="1;1" + displace_x="1.27;1" + displace_y="1.62;1" + method="size" + max_segment_size="7.95" + segments="2" + handles="along" + shift_nodes="true" + fixed_displacement="false" + spray_tool_friendly="false" /> + <inkscape:path-effect + effect="sketch" + id="path-effect4" + is_visible="true" + lpeversion="1" + nbiter_approxstrokes="5" + parallel_offset="5;1" + strokelength="100" + strokelength_rdm="0.3;1" + strokeoverlap="0.3" + strokeoverlap_rdm="0.3;1" + ends_tolerance="0.1;1" + tremble_size="5;1" + tremble_frequency="1" + nbtangents="2" + tgt_places_rdmness="1;1" + tgtlength="100" + tgtlength_rdm="1;3905484801" + tgtscale="10" /> + <inkscape:path-effect + effect="roughen" + id="path-effect2" + is_visible="true" + lpeversion="1.2" + global_randomize="0.8;1" + displace_x="1.33598;2115078963" + displace_y="10;1" + method="size" + max_segment_size="8" + segments="4" + handles="along" + shift_nodes="true" + fixed_displacement="false" + spray_tool_friendly="false" /> + <inkscape:path-effect + effect="sketch" + id="path-effect1" + is_visible="true" + lpeversion="1" + nbiter_approxstrokes="1.2773723" + parallel_offset="5;2686657507" + strokelength="204.72628" + strokelength_rdm="0.3;4166676558" + strokeoverlap="0.14963504" + strokeoverlap_rdm="0;1" + ends_tolerance="0.1;1" + tremble_size="-3.5;1" + tremble_frequency="0.83083942" + nbtangents="0" + tgt_places_rdmness="1;1" + tgtlength="86.49635" + tgtlength_rdm="0.3;1" + tgtscale="10" /> + <inkscape:path-effect + effect="roughen" + id="path-effect2-0" + is_visible="true" + lpeversion="1.2" + global_randomize="1.3;1" + displace_x="1.33598;2115078963" + displace_y="10;1" + method="size" + max_segment_size="16" + segments="4" + handles="along" + shift_nodes="true" + fixed_displacement="false" + spray_tool_friendly="false" /> + <inkscape:path-effect + effect="roughen" + id="path-effect5-7" + is_visible="true" + lpeversion="1.2" + global_randomize="1;1" + displace_x="1.27;1" + displace_y="1.62;1" + method="size" + max_segment_size="7.95" + segments="2" + handles="along" + shift_nodes="true" + fixed_displacement="false" + spray_tool_friendly="false" /> + <inkscape:path-effect + effect="roughen" + id="path-effect5-5" + is_visible="true" + lpeversion="1.2" + global_randomize="1;1906573910" + displace_x="1.27;4291970506" + displace_y="1.62;235737206" + method="size" + max_segment_size="7.95" + segments="2" + handles="along" + shift_nodes="true" + fixed_displacement="false" + spray_tool_friendly="false" /> + <inkscape:path-effect + effect="roughen" + id="path-effect5-1" + is_visible="true" + lpeversion="1.2" + global_randomize="1;3647658956" + displace_x="1.27;3469520450" + displace_y="1.62;3739690061" + method="size" + max_segment_size="7.95" + segments="2" + handles="along" + shift_nodes="true" + fixed_displacement="false" + spray_tool_friendly="false" /> + </defs> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <path + style="fill:#000000;fill-opacity:0;stroke:#000004;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:0.999944" + d="m 7.1741871,4.5463669 c 0.1011232,-0.043105 0.4575253,-0.7171607 1.148342,-0.757712 0.7659841,-0.4531988 2.2621279,0.093781 3.4424269,0.058446 1.725804,0.138488 2.184923,-0.3875406 3.638428,-0.4165976 1.587587,-0.359738 4.270442,-0.2907399 6.513189,-0.3195573 2.528751,-0.2498095 4.281536,-0.066618 6.646728,-0.086571 2.598816,-0.039183 5.719405,0.09294 8.600814,0.078501 3.226206,0.1183677 5.322818,-0.4757591 8.348672,-0.4838582 2.960137,-0.4598015 6.42036,0.1652357 9.980091,0.1661396 3.223941,0.1788286 7.18015,0.00822 10.922668,0.017222 3.631317,0.011094 7.784348,0.1537942 11.562675,0.1701022 4.074024,0.1482244 7.443655,0.046145 11.166708,0.067789 3.953957,0.034112 7.584419,0.05233 11.463361,0.080952 3.84129,0.033835 7.81362,-0.8308638 11.76957,-0.794959 3.8454,-0.8566471 7.83954,-0.4497567 11.74642,-0.395329 3.8275,-0.4771418 7.70787,0.1425041 11.49803,0.2212233 3.74052,0.099379 8.07884,0.1916352 11.70539,0.2904707 4.00013,0.1166835 6.69405,0.2187915 9.91785,0.3263818 3.38605,0.1393467 6.75429,0.2858703 9.92771,0.41301 3.16942,0.176369 6.04532,0.3270536 8.90233,0.4613498 2.77495,0.2061539 5.6762,-0.7559865 8.22878,-0.6171647 2.5667,-0.8925075 4.96258,0.3721985 7.09864,0.5789028 2.15915,0.2549906 4.22097,0.4680468 5.86773,0.6974825 1.82028,0.2611872 3.24268,0.7550418 4.33504,0.9660187 1.36292,0.5141522 1.79602,0.2191078 2.31894,0.3240587 0.66717,0.1339028 0.94999,0.2744129 0.9886,0.4202235 0.0232,0.087772 -0.0656,0.1765211 -0.038,0.6852166 -0.0846,0.3334245 -0.11018,1.1141347 -0.0757,2.1244073 -0.13919,0.7463375 0.0451,1.6080667 0.0821,2.9733267 0.0156,0.893197 0.34929,2.963813 0.3919,4.795609 0.30841,1.564597 0.21077,3.459561 0.25167,5.434787 0.17285,1.936754 0.20495,3.334028 0.24715,5.587163 0.16904,1.728595 0.75074,5.386154 0.79807,8.182921 0.69877,2.713843 0.40549,5.183755 0.4459,7.857278 0.36428,2.896662 -0.46082,5.840016 -0.42169,8.781927 -0.50342,3.195075 0.0839,6.042788 0.1218,9.158214 0.0452,3.27102 -0.13692,5.979329 -0.0996,9.336389 -0.17442,3.061855 -0.34393,7.32017 -0.3059,11.031927 -0.38624,3.642221 0.23539,5.994614 0.27102,9.621617 0.20313,2.944445 -0.20765,8.199177 -0.16984,12.350256 -0.25178,3.83838 -0.12873,7.57905 -0.0953,11.41638 -0.1633,3.87829 -0.5144,7.50129 -0.48133,11.41828 -0.5477,3.75537 0.36634,8.31745 0.40174,12.36174 0.33146,4.14167 0.60234,7.57246 0.6352,11.44655 0.56906,3.85378 0.1649,7.98658 0.19394,11.99476 0.12788,3.91505 -0.0567,7.0109 -0.034,10.94549 -0.0869,3.30222 0.40495,8.03039 0.42282,12.189 0.37643,3.58979 0.14829,7.17091 0.15571,11.0691 0.12654,3.26084 0.083,7.4208 0.079,11.32917 0.0696,3.27329 0.001,6.52253 -0.0145,10.23584 -0.001,2.78244 -0.0419,7.20167 -0.0717,10.93108 -0.03,3.01434 0.13154,7.00749 0.092,10.3624 0.15649,3.18818 -0.58885,6.48154 -0.63948,9.4561 -0.55629,3.12031 -0.008,5.74473 -0.058,8.41269 0.0391,2.79535 -0.0503,3.95515 -0.10532,6.41683 -0.0137,1.61161 0.007,5.70749 -0.0695,8.33251 0.0798,2.15845 -0.8102,4.49957 -0.89027,6.432 -0.74734,2.01689 -0.26461,3.42541 -0.30926,4.94074 -0.18141,1.5409 -0.11139,3.19536 -0.13237,4.43684 -0.0576,1.33477 -0.0553,2.1311 -0.0719,2.92876 -0.0426,0.85055 0.0396,1.6408 -0.002,2.08196 -0.0426,0.4564 -0.32615,0.51068 -0.44386,0.52966 -0.17084,0.0275 -0.59959,-0.30096 -1.30085,-0.26239 -0.68974,-0.32306 -1.68016,0.25258 -2.88458,0.30216 -1.19274,0.21779 -2.61816,0.19717 -4.24589,0.25406 -1.64376,0.152 -4.02941,0.29916 -6.0602,0.36216 -2.43606,0.24001 -3.58526,0.39144 -5.7697,0.45286 -2.1564,0.343 -4.90214,0.40547 -7.74446,0.47649 -2.52825,0.33433 -5.74398,-0.58925 -8.83286,-0.52147 -2.99552,-0.66243 -6.19169,0.20486 -9.42456,0.27117 -3.27181,0.1383 -6.67465,-0.24614 -10.06749,-0.1821 -3.5292,-0.3136 -7.21437,0.25304 -10.72615,0.31565 -3.83396,0.18717 -6.75523,0.44756 -10.28943,0.5052 -3.55004,0.38717 -7.49937,-0.35032 -11.29297,-0.29836 -3.73708,-0.41671 -7.30947,-0.009 -11.06776,0.0369 -3.63183,-0.0624 -7.619369,0.13401 -11.416904,0.17317 -3.722554,0.0831 -7.569264,-0.0318 -11.246469,-0.003 -3.744096,-0.0762 -7.223031,-0.9855 -10.752472,-0.96748 -3.566424,-1.01949 -7.000878,0.0788 -10.421057,0.10247 -3.368061,0.0617 -6.987065,0.19732 -10.236307,0.21893 -3.347635,0.17007 -6.183681,-0.29568 -9.11473,-0.28699 -2.974151,-0.3239 -5.995336,-0.25009 -8.719776,-0.24787 -2.793257,-0.26471 -5.459799,0.34035 -7.821019,0.33912 -2.562806,0.33309 -4.504865,-0.21855 -6.460569,-0.25569 -2.080224,-0.23738 -4.084764,-0.2668 -5.694594,-0.32906 -1.796204,-0.24205 -2.791986,-0.12713 -3.9054696,-0.19904 -1.1382312,-0.0897 -2.1777593,-0.17322 -2.9005978,-0.3116 -0.7070081,-0.13534 -0.9584353,-0.27311 -1.1367618,-0.51606 -0.1201867,-0.16375 -0.5623625,-1.22256 -0.671108,-1.77782 -0.4066042,-1.09621 -0.158338,-1.30853 -0.2310352,-1.90604 -0.1013081,-1.20542 -0.4935728,-1.47357 -0.5803769,-2.60765 -0.4050657,-1.0197 -0.2003617,-3.82925 -0.286798,-5.57154 -0.071106,-2.28786 -0.1265348,-2.89584 -0.1838494,-4.4381 -0.068488,-1.99088 -0.1225292,-3.85237 -0.179991,-5.9986 -0.049134,-2.17579 -0.5515621,-4.14706 -0.5987636,-6.60202 -0.4896375,-2.19307 0.3331419,-5.37483 0.296622,-8.1892 0.3903018,-2.78547 0.2260913,-5.04407 0.2012152,-7.89382 0.2634764,-2.66415 0.1074749,-6.20324 0.090317,-9.41809 0.1388652,-3.15294 0.054291,-7.38656 0.045341,-10.61985 0.075182,-4.06295 0.157576,-6.27874 0.1550292,-9.28524 0.1680116,-3.71099 0.7757588,-6.49785 0.7786689,-9.88856 0.7814638,-3.46637 0.4469788,-6.97844 0.4534116,-10.66381 0.445643,-3.49005 -0.2186773,-7.38097 -0.2104702,-11.19204 -0.2243832,-3.65603 -0.128549,-7.46149 -0.1177214,-11.29381 -0.1353083,-3.71915 -0.1039588,-7.54881 -0.089773,-11.42071 -0.1130832,-3.7424 -0.017552,-7.73964 5.994e-4,-11.63831 -0.029987,-3.83035 -0.633471,-7.54013 -0.611486,-11.40012 -0.6491883,-3.72397 -0.5886554,-7.61299 -0.558353,-11.50075 -0.6070437,-3.68879 0.4355662,-7.7542 0.4776315,-11.60069 0.4100396,-3.7642 0.1374126,-7.36829 0.1861674,-11.07892 C 3.9060801,103.44575 4.0219597,99.798434 4.0777489,96.130677 4.2478764,92.67038 4.5983445,88.940214 4.6590918,85.363043 5.1251606,81.958577 4.686408,78.270244 4.7459876,74.859469 4.7116646,71.452577 4.8631399,68.010489 4.9223239,64.82049 4.9803132,61.459126 5.816176,58.911053 5.874944,55.955882 6.7143855,53.102014 5.8426543,49.900837 5.8907092,46.993145 5.7894899,44.216398 5.8401752,40.731696 5.8805358,38.099214 5.776007,35.07025 6.0120363,33.387887 6.0479549,31.230148 6.1460909,28.820933 6.0458409,26.664916 6.0833276,24.5976 6.0424244,22.487862 6.2576345,20.169683 6.2994644,18.374897 6.4348834,16.32062 6.0659975,15.190071 6.1032353,13.81579 5.8345468,12.306016 6.2140683,11.045324 6.2847339,9.8909455 6.3683334,8.7685293 5.8668211,7.5326571 5.9541652,6.7134126 5.4717387,5.6931962 6.3141547,5.43083 6.5597527,5.0453999 6.7691692,4.7167514 7.1090388,4.5741372 7.1741871,4.5463669 Z" + id="path1" + inkscape:path-effect="#path-effect2" + inkscape:original-d="M 7.0269553,4.3280581 C 9.555036,3.2504318 204.07585,2.9158374 204.91251,6.0756135 205.74917,9.2353895 209.55698,292.9192 205.11501,293.63534 200.67304,294.35148 9.6417657,299.04893 5.1948585,292.99043 0.74795139,286.93193 4.4988746,5.4056844 7.0269553,4.3280581 Z" + sodipodi:nodetypes="zzzzz" /> + <g + id="g9"> + <path + style="fill:#000000;fill-opacity:0;stroke:#000004;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:0.999944" + d="m 14.562977,18.066437 c 0.221473,-0.288255 0.518094,-1.288644 1.864666,-1.551225 1.144565,-0.710731 4.042038,-0.338456 6.380796,-0.567121 2.814985,-0.02159 4.303464,-0.737444 6.942133,-0.908611 2.792,-0.538621 6.081611,-0.596635 9.538017,-0.734006 3.273204,-0.375001 7.036414,-0.259096 10.720042,-0.330406 3.613856,-0.08924 7.515853,0.03224 11.159228,0.02522 3.768262,0.133897 6.854473,-0.469579 10.213843,-0.425611 3.275931,-0.434514 7.236532,0.341496 10.306804,0.493322 3.235704,0.331028 5.441119,0.305783 7.657673,0.488792 2.348143,0.196173 4.486564,0.55164 5.931997,0.793299 1.449915,0.242408 2.228415,0.381248 2.589909,0.675442 0.651203,0.529967 1.282074,2.124509 1.804416,4.413799 0.556819,2.292474 0.701219,4.322655 1.055479,7.647994 0.11256,2.618911 0.45107,7.032912 0.62368,11.040766 -0.0584,3.23005 0.586,7.663462 0.54151,11.1017 0.29814,3.25595 -0.26018,6.127094 -0.64999,8.256244 -0.39023,2.131504 -0.92296,3.523531 -1.568573,3.798792 -0.368137,0.156957 -1.26185,0.36896 -2.700708,0.526431 -1.388128,0.211801 -2.309678,0.389395 -4.634228,0.540518 -1.483327,0.240756 -5.747332,-0.772423 -9.129439,-0.625896 -3.067621,-0.970975 -6.034344,0.317361 -9.370187,0.451986 -3.325985,0.193485 -6.948375,0.319033 -10.575315,0.447829 -3.582183,0.172995 -6.649671,0.583468 -10.27428,0.686861 -3.175075,0.444599 -7.624416,0.06853 -11.2553,0.110922 -3.421853,-0.07702 -6.673847,-0.0099 -9.685322,-0.02038 -3.006698,-0.07725 -5.836694,-0.270523 -8.227088,-0.330889 -2.444643,-0.28932 -4.489444,-0.329304 -6.01975,-0.400385 -1.570828,-0.07296 -2.577928,-0.518114 -3.082936,-0.741153 -0.937115,-0.413882 -1.714879,-1.962596 -2.228178,-4.09307 -0.580496,-2.215025 -0.847788,-4.919642 -1.01407,-8.040689 -0.190946,-3.191534 -0.310829,-7.464735 -0.209252,-10.982851 -0.0347,-4.10733 1.001255,-6.268628 1.280815,-9.207253 1.008079,-2.993452 0.693437,-6.068972 0.943792,-8.345031 0.243102,-2.210122 0.656287,-3.657125 1.069816,-4.195346 z" + id="path4" + inkscape:path-effect="#path-effect5" + inkscape:original-d="m 14.25941,17.783649 c 2.436208,-3.170804 79.67413,-4.950528 83.581351,-1.770722 3.907219,3.179806 5.854049,44.518901 1.804545,46.245428 -4.049504,1.726527 -79.247531,3.724251 -84.870217,1.240963 C 9.1524032,61.01603 11.823202,20.954453 14.25941,17.783649 Z" + transform="translate(1.9712871,-2.0074106)" + sodipodi:nodetypes="zzzzz" /> + <path + style="fill:#000000;fill-opacity:0;stroke:#000004;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:0.999944" + d="m 14.271037,17.794328 c 0.221474,-0.288255 1.129453,-0.351439 2.476024,-0.61402 1.415676,-0.03622 3.741142,-0.504744 5.964393,-0.73867 2.674617,-0.216819 4.399252,0.173681 7.096295,-0.01861 2.818177,0.391481 6.499356,-0.529535 9.95971,-0.716619 3.558225,-0.294117 7.305055,-0.356475 10.830047,-0.498134 3.988996,-0.154315 6.995606,-0.13873 10.440061,-0.232833 3.671608,0.01945 7.276305,0.676377 10.676115,0.628492 3.496972,0.804006 6.871289,0.166911 9.831506,0.10444 3.155759,0.224764 5.554807,-0.121613 7.810408,-0.175191 2.340381,-0.03236 3.981016,-0.05469 5.423149,0.0033 1.455133,0.05853 2.764,0.03912 3.133174,0.339562 0.651204,0.529967 1.32411,2.31455 1.844423,4.61076 0.589238,2.446384 0.667258,5.173633 1.012738,8.43049 0.0744,3.33357 0.61495,7.00838 0.78757,10.680436 0.15607,3.638227 0.29881,7.816546 0.24085,11.081544 6.2e-4,3.634933 -0.41771,5.89788 -0.74599,7.882456 -0.35578,2.150792 -1.02938,2.641107 -1.733161,2.941167 -0.368137,0.156957 -1.550825,-0.277982 -2.98433,-0.108761 -1.626069,-0.435491 -3.311648,0.477793 -5.518795,0.655796 -2.324995,0.32104 -4.728834,0.312367 -7.632271,0.493817 -2.807207,0.131218 -6.337001,0.200067 -9.768034,0.374839 -3.439953,7.57e-4 -7.443345,0.381938 -10.997221,0.535788 -4.0107,0.194013 -6.542409,0.269636 -9.931038,0.388342 -3.408348,0.116556 -7.357496,0.967984 -10.854026,1.051239 -3.408244,0.809479 -6.430852,-0.470529 -9.428017,-0.515236 -2.837244,-0.607301 -5.713361,0.405745 -8.163278,0.349079 -2.255832,0.432825 -4.533654,-0.466807 -6.147765,-0.712264 -1.534256,-0.233313 -2.438405,0.159768 -2.93402,-0.05912 -0.937114,-0.413881 -1.106104,-2.001248 -1.630491,-4.17921 0.02231,-2.27903 -1.182174,-4.706617 -1.404487,-7.914417 -0.533762,-2.999308 -0.409587,-6.914237 -0.353421,-10.632607 -0.05937,-3.538107 0.475542,-7.369412 0.742633,-10.688743 0.497698,-3.322638 0.294364,-7.186492 0.611286,-9.418446 0.321807,-2.266358 0.940752,-2.80128 1.345963,-3.328675 z" + id="path4-0" + inkscape:path-effect="#path-effect5-1" + inkscape:original-d="m 14.25941,17.783649 c 2.436208,-3.170804 79.67413,-4.950528 83.581351,-1.770722 3.907219,3.179806 5.854049,44.518901 1.804545,46.245428 -4.049504,1.726527 -79.247531,3.724251 -84.870217,1.240963 C 9.1524032,61.01603 11.823202,20.954453 14.25941,17.783649 Z" + transform="translate(95.876549,-4.6245931)" + sodipodi:nodetypes="zzzzz" /> + </g> + <g + id="g8"> + <path + style="fill:#000000;fill-opacity:0;stroke:#000004;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:0.999944" + d="m 205.36155,60.834969 c 0,0 -68.40841,5.819666 -102.08263,6.417243 C 69.604698,67.849789 5.2517453,65.772709 5.2517453,65.772709" + id="path7" + sodipodi:nodetypes="czc" /> + <path + style="fill:#000000;fill-opacity:0;stroke:#000004;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:0.999944" + d="m 5.3510533,83.717891 c 0,0 66.4271747,5.030079 100.0316867,4.707797 33.60451,-0.322281 99.69574,-7.933613 99.69574,-7.933613" + id="path8" + sodipodi:nodetypes="czc" /> + </g> + </g> +</svg> diff --git a/files/furniture/table.svg b/files/furniture/table.svg @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + width="100" + height="100" + version="1.1" + id="svg1" + sodipodi:docname="table.svg" + inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs1"> + <inkscape:path-effect + effect="fillet_chamfer" + id="path-effect1" + is_visible="true" + lpeversion="1" + nodesatellites_param="F,0,0,1,0,10,0,1 @ F,0,0,1,0,10,0,1 @ F,0,0,1,0,10,0,1 @ F,0,0,1,0,10,0,1" + radius="10" + unit="px" + method="auto" + mode="F" + chamfer_steps="1" + flexible="false" + use_knot_distance="true" + apply_no_radius="true" + apply_with_radius="true" + only_selected="false" + hide_knots="false" /> + <inkscape:path-effect + effect="fillet_chamfer" + id="path-effect1-6" + is_visible="true" + lpeversion="1" + nodesatellites_param="F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1" + radius="4" + unit="px" + method="auto" + mode="F" + chamfer_steps="1" + flexible="false" + use_knot_distance="true" + apply_no_radius="true" + apply_with_radius="true" + only_selected="false" + hide_knots="false" /> + </defs> + <sodipodi:namedview + id="namedview1" + pagecolor="#ffffff" + bordercolor="#000000" + borderopacity="0.25" + inkscape:showpageshadow="2" + inkscape:pageopacity="0.0" + inkscape:pagecheckerboard="0" + inkscape:deskcolor="#d1d1d1" + inkscape:zoom="5.77" + inkscape:cx="49.913345" + inkscape:cy="50" + inkscape:window-width="1366" + inkscape:window-height="749" + inkscape:window-x="0" + inkscape:window-y="19" + inkscape:window-maximized="1" + inkscape:current-layer="svg1" /> + <path + x="2" + y="2" + width="96" + height="96" + style="fill:none;stroke:#000000;stroke-width:4;stroke-linejoin:round;fill-opacity:0" + id="rect1" + inkscape:path-effect="#path-effect1" + sodipodi:type="rect" + d="M 12,2 H 88 A 10,10 45 0 1 98,12 V 88 A 10,10 135 0 1 88,98 H 12 A 10,10 45 0 1 2,88 V 12 A 10,10 135 0 1 12,2 Z" /> + <path + x="2" + y="2" + width="96" + height="96" + style="fill:none;stroke:#000000;stroke-width:4;stroke-linejoin:round" + id="rect1-0" + inkscape:path-effect="#path-effect1-6" + sodipodi:type="rect" + d="m 6,2 h 88 a 4,4 45 0 1 4,4 v 88 a 4,4 135 0 1 -4,4 H 6 A 4,4 45 0 1 2,94 V 6 A 4,4 135 0 1 6,2 Z" + transform="matrix(0.86224037,0,0,0.86224037,6.8879813,6.8879813)" /> +</svg>