Sfoglia il codice sorgente

Add staples

master
Fen Dweller 3 anni fa
parent
commit
be703003a0
6 ha cambiato i file con 209 aggiunte e 0 eliminazioni
  1. +7
    -0
      media/attribution.js
  2. +57
    -0
      media/objects/Staples/Standard Staple-Angled.svg
  3. +48
    -0
      media/objects/Staples/Standard Staple-Front.svg
  4. +48
    -0
      media/objects/Staples/Standard Staple-Side.svg
  5. +48
    -0
      media/objects/Staples/Standard Staple-Top.svg
  6. +1
    -0
      presets/objects.js

+ 7
- 0
media/attribution.js Vedi File

@@ -20432,6 +20432,13 @@ const attributionData = {
"https://en.wikipedia.org/wiki/Compact_disc",
]
},
{
prefix: "./media/objects/Staples/",
all: null,
authors: [
"chemicalcrux"
]
},
{
prefix: "./media/real-buildings/",
all: "https://wiki.openstreetmap.org/wiki/Blender",


+ 57
- 0
media/objects/Staples/Standard Staple-Angled.svg Vedi File

@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
id="svg20"
preserveAspectRatio="xMidYMid meet"
viewBox="0 0 1669.0111 1145.6"
height="1145.6pt"
width="1669.0111pt"
version="1.0">
<defs
id="defs24" />
<metadata
id="metadata2">
Created by potrace 1.16, written by Peter Selinger 2001-2019
<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
style="fill:#000000;stroke:none"
id="g6"
transform="matrix(0.1,0,0,-0.1,-165.49446,1572.6)">
<path
id="path4"
d="m 2370,15723 c -121,-13 -268,-92 -380,-202 -129,-128 -223,-295 -279,-494 -60,-217 -56,195 -56,-5512 V 4275 l 261,-3 261,-2 252,335 251,335 v 4873 c 0,4287 2,4880 15,4930 30,115 93,204 174,244 35,17 295,18 7131,18 6836,0 7096,-1 7131,-18 81,-40 144,-129 174,-244 13,-50 15,-643 15,-4930 V 4940 l 251,-335 252,-335 261,2 261,3 v 5240 c 0,5707 4,5295 -56,5512 -56,199 -150,366 -279,494 -86,85 -168,138 -275,178 l -70,26 -7630,1 c -4197,0 -7646,-1 -7665,-3 z" />
</g>
<g
style="fill:#1a1a1a;stroke:none"
id="g16"
transform="matrix(0.1,0,0,-0.1,-165.49446,1572.6)">
<path
id="path8"
d="m 2365,15690 c -217,-31 -417,-201 -545,-464 -53,-108 -77,-180 -113,-336 l -21,-95 -3,-5230 c -2,-3325 0,-5226 6,-5220 6,6 109,142 230,304 l 221,294 v 4854 c 0,4385 2,4861 16,4930 27,134 98,239 192,285 l 47,23 7320,3 c 5139,1 7335,-1 7372,-8 104,-22 197,-116 241,-244 16,-48 17,-329 20,-4944 l 2,-4892 230,-307 230,-306 v 5198 c 0,4653 -2,5208 -16,5299 -42,276 -143,494 -304,656 -90,91 -165,142 -271,181 l -64,24 -7370,1 c -4054,1 -7392,-2 -7420,-6 z" />
<path
id="path10"
d="m 17280,15677 c 277,-118 485,-439 545,-841 13,-92 15,-669 15,-5320 V 4300 h 240 240 l -3,5247 -3,5248 -21,95 c -36,156 -60,228 -113,336 -108,223 -250,363 -440,437 -73,28 -81,29 -295,33 l -220,5 z" />
<path
id="path12"
d="m 2413,15000 c -23,-5 -55,-16 -71,-24 -39,-20 -95,-86 -122,-144 -53,-111 -50,191 -50,-5024 V 4960 h 240 240 l 1,4868 c 0,4567 1,4871 17,4933 23,85 76,173 131,215 l 44,34 -194,-1 c -107,-1 -213,-5 -236,-9 z" />
<path
id="path14"
d="m 1940,4628 c -124,-165 -229,-307 -233,-314 -7,-12 31,-14 225,-14 l 233,1 225,301 c 124,165 229,307 233,314 7,12 -31,14 -225,14 l -233,-1 z" />
</g>
<g
style="fill:#333333;stroke:none"
id="g18"
transform="matrix(0.1,0,0,-0.1,-165.49446,1572.6)" />
</svg>

+ 48
- 0
media/objects/Staples/Standard Staple-Front.svg Vedi File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
id="svg14"
preserveAspectRatio="xMidYMid meet"
viewBox="0 0 1669.7352 835.44067"
height="835.44067pt"
width="1669.7352pt"
version="1.0">
<defs
id="defs18" />
<metadata
id="metadata2">
Created by potrace 1.16, written by Peter Selinger 2001-2019
<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
style="fill:#000000;stroke:none"
id="g6"
transform="matrix(0.1,0,0,-0.1,-165.13243,1417.6392)">
<path
id="path4"
d="m 2365,14174 c -108,-22 -139,-30 -195,-52 -238,-95 -411,-289 -492,-552 l -23,-75 -3,-3838 c -2,-3373 0,-3838 12,-3835 9,2 130,111 270,243 l 255,240 1,3561 v 3561 l 31,61 c 32,64 79,110 146,140 36,16 445,17 7633,17 7188,0 7597,-1 7633,-17 67,-30 114,-76 146,-140 l 31,-61 V 9866 l 1,-3561 255,-240 c 140,-132 261,-241 270,-243 12,-3 14,462 12,3835 l -3,3838 -23,75 c -92,300 -285,492 -593,588 -51,16 -536,17 -7699,18 -4205,1 -7654,0 -7665,-2 z" />
</g>
<g
style="fill:#1a1a1a;stroke:none"
id="g10"
transform="matrix(0.1,0,0,-0.1,-165.13243,1417.6392)">
<path
id="path8"
d="m 2305,14131 c -161,-36 -277,-100 -395,-220 -104,-105 -164,-212 -208,-367 -15,-54 -16,-361 -19,-3869 l -3,-3810 57,56 c 32,30 140,133 240,228 l 183,174 2,3566 3,3566 23,43 c 53,99 130,155 239,172 79,13 15067,13 15146,0 109,-17 186,-73 239,-172 l 23,-43 3,-3566 2,-3566 183,-174 c 100,-95 208,-198 240,-228 l 57,-56 -3,3810 c -3,3508 -4,3815 -19,3869 -44,155 -104,262 -208,367 -120,122 -244,190 -408,222 -76,16 -634,17 -7690,16 -7232,0 -7611,-1 -7687,-18 z" />
</g>
<g
style="fill:#333333;stroke:none"
id="g12"
transform="matrix(0.1,0,0,-0.1,-165.13243,1417.6392)" />
</svg>

+ 48
- 0
media/objects/Staples/Standard Staple-Side.svg Vedi File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
id="svg14"
preserveAspectRatio="xMidYMid meet"
viewBox="0 0 107.3375 1669.3698"
height="1669.3698pt"
width="107.3375pt"
version="1.0">
<defs
id="defs18" />
<metadata
id="metadata2">
Created by potrace 1.16, written by Peter Selinger 2001-2019
<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
style="fill:#000000;stroke:none"
id="g6"
transform="matrix(0.1,0,0,-0.1,-946.1625,1834.8697)">
<path
id="path4"
d="m 9465,18338 c -3,-7 -4,-3764 -3,-8348 l 3,-8335 h 535 535 v 8345 8345 l -533,3 c -421,2 -534,0 -537,-10 z" />
</g>
<g
style="fill:#1a1a1a;stroke:none"
id="g10"
transform="matrix(0.1,0,0,-0.1,-946.1625,1834.8697)">
<path
id="path8"
d="M 9490,10000 V 1680 h 510 510 v 465 465 h -31 c -38,0 -35,24 4,28 l 27,3 v 7840 7839 h -510 -510 z" />
</g>
<g
style="fill:#333333;stroke:none"
id="g12"
transform="matrix(0.1,0,0,-0.1,-946.1625,1834.8697)" />
</svg>

+ 48
- 0
media/objects/Staples/Standard Staple-Top.svg Vedi File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
id="svg14"
preserveAspectRatio="xMidYMid meet"
viewBox="0 0 1669.3375 55.368599"
height="55.368599pt"
width="1669.3375pt"
version="1.0">
<defs
id="defs18" />
<metadata
id="metadata2">
Created by potrace 1.16, written by Peter Selinger 2001-2019
<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
style="fill:#000000;stroke:none"
id="g6"
transform="matrix(0.1,0,0,-0.1,-165.1625,1027.8686)">
<path
id="path4"
d="m 1655,10267 c -3,-7 -4,-131 -3,-277 l 3,-265 h 8345 8345 v 275 275 l -8343,3 c -6724,2 -8344,0 -8347,-11 z" />
</g>
<g
style="fill:#1a1a1a;stroke:none"
id="g10"
transform="matrix(0.1,0,0,-0.1,-165.1625,1027.8686)">
<path
id="path8"
d="m 1680,10000 v -250 h 239 c 182,0 240,3 244,13 4,10 7,10 18,0 10,-10 1639,-13 8076,-13 h 8063 v 250 250 H 10000 1680 Z" />
</g>
<g
style="fill:#333333;stroke:none"
id="g12"
transform="matrix(0.1,0,0,-0.1,-165.1625,1027.8686)" />
</svg>

+ 1
- 0
presets/objects.js Vedi File

@@ -908,6 +908,7 @@ function makeObjects() {
/* ***Doors*** */ results.push(makeModel({"name": "Doors", "kind": "objects", "forms": [{"name": "6 Panel Door", "views": [{"name": "Front", "height": 2.0320000648498535, "mass": 11.793399810791016}, {"name": "Angled", "height": 2.0320000648498535, "mass": 11.793399810791016}, {"name": "Side", "height": 2.0320000648498535, "mass": 11.793399810791016}, {"name": "Top", "height": 0.03492499887943268, "mass": 11.793399810791016}]}, {"name": "French Door", "views": [{"name": "Front", "height": 2.0320000648498535, "mass": 31.75149917602539}, {"name": "Angled", "height": 2.0320000648498535, "mass": 31.75149917602539}, {"name": "Side", "height": 2.0320000648498535, "mass": 31.75149917602539}, {"name": "Top", "height": 0.03492499887943268, "mass": 31.75149917602539}]}, {"name": "Fire Door", "views": [{"name": "Front", "height": 2.0320000648498535, "mass": 54.54545593261719}, {"name": "Angled", "height": 2.0320000648498535, "mass": 54.54545593261719}, {"name": "Side", "height": 2.0320000648498535, "mass": 54.54545593261719}, {"name": "Top", "height": 0.10518216341733932, "mass": 54.54545593261719}]}]}));
/* ***Cards*** */ results.push(makeModel({"name": "Cards", "kind": "objects", "forms": [{"name": "Credit Card", "views": [{"name": "Front", "height": 0.053975000977516174, "mass": 11.793399810791016, "extra": 1.0047993079868203, "bottom": 0.00475367924528303}, {"name": "Back", "height": 0.053975000977516174, "mass": 11.793399810791016, "extra": 1.0047993079868203, "bottom": 0.00475367924528303}, {"name": "Edge", "height": 0.0015578659949824214, "mass": 11.793399810791016, "extra": 1.1704167, "bottom": 0.127097594675073}]}]}));
/* ***Optical Discs*** */ results.push(makeModel({"name": "Optical Discs", "kind": "objects", "forms": [{"name": "Compact Disc", "views": [{"name": "Top", "height": 0.12000000476837158, "extra": 1.0016588562572393, "bottom": 0.0016533708480855258}, {"name": "Edge", "height": 0.0012000000569969416, "extra": 1.16776865625, "bottom": 0.12561884619752997}, {"name": "Bottom", "height": 0.12000000476837158, "extra": 1.0016588562572393, "bottom": 0.0016533708480855258}]}]}));
/* ***Staples*** */ results.push(makeModel({"name": "Staples", "kind": "objects", "forms": [{"name": "Standard Staple", "views": [{"name": "Front", "height": 0.00634999992325902}, {"name": "Angled", "height": 0.00634999992325902}, {"name": "Side", "height": 0.00634999992325902}, {"name": "Top", "height": 0.0003969999961555004}]}]}));
/* ***INSERT HERE*** */
return results;
}

Loading…
Annulla
Salva