| @@ -17897,6 +17897,24 @@ const attributionData = { | |||||
| "https://capsuline.com/pages/empty-capsule-size-chart" | "https://capsuline.com/pages/empty-capsule-size-chart" | ||||
| ] | ] | ||||
| }, | }, | ||||
| { | |||||
| prefix: "./media/objects/shipping-containers/", | |||||
| files: [ | |||||
| { name: "10-foot.svg", source: null }, | |||||
| { name: "20-foot.svg", source: null }, | |||||
| { name: "40-foot.svg", source: null }, | |||||
| { name: "40-foot-high-cube.svg", source: null }, | |||||
| { name: "45-foot-high-cube.svg", source: null }, | |||||
| { name: "front-normal.svg", source: null }, | |||||
| { name: "front-high-cube.svg", source: null }, | |||||
| ], | |||||
| authors: [ | |||||
| "chemicalcrux" | |||||
| ], | |||||
| citations: [ | |||||
| "https://westerncontainersales.com/shipping-container-dimensions/" | |||||
| ] | |||||
| }, | |||||
| { | { | ||||
| prefix: "./media/real-buildings/", | prefix: "./media/real-buildings/", | ||||
| all: "https://wiki.openstreetmap.org/wiki/Blender", | all: "https://wiki.openstreetmap.org/wiki/Blender", | ||||
| @@ -0,0 +1,12 @@ | |||||
| <?xml version="1.0" encoding="utf-8"?> | |||||
| <!-- Generator: Adobe Illustrator 25.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | |||||
| <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | |||||
| width="301" height="259" viewBox="0 0 301 259" style="enable-background:new 0 0 301 259;" xml:space="preserve"> | |||||
| <style type="text/css"> | |||||
| .st0{fill:#1A1A1A;} | |||||
| </style> | |||||
| <g> | |||||
| <rect x="1" y="1" class="st0" width="299" height="257"/> | |||||
| <path d="M299,2v255H2V2H299 M301,0H0v259h301V0L301,0z"/> | |||||
| </g> | |||||
| </svg> | |||||
| @@ -0,0 +1,12 @@ | |||||
| <?xml version="1.0" encoding="utf-8"?> | |||||
| <!-- Generator: Adobe Illustrator 25.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | |||||
| <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | |||||
| width="606" height="259" viewBox="0 0 606 259" style="enable-background:new 0 0 606 259;" xml:space="preserve"> | |||||
| <style type="text/css"> | |||||
| .st0{fill:#1A1A1A;} | |||||
| </style> | |||||
| <g> | |||||
| <rect x="1" y="1" class="st0" width="604" height="257"/> | |||||
| <path d="M604,2v255H2V2H604 M606,0H0v259h606V0L606,0z"/> | |||||
| </g> | |||||
| </svg> | |||||
| @@ -0,0 +1,12 @@ | |||||
| <?xml version="1.0" encoding="utf-8"?> | |||||
| <!-- Generator: Adobe Illustrator 25.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | |||||
| <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | |||||
| width="1199" height="290" viewBox="0 0 1199 290" style="enable-background:new 0 0 1199 290;" xml:space="preserve"> | |||||
| <style type="text/css"> | |||||
| .st0{fill:#1A1A1A;} | |||||
| </style> | |||||
| <g> | |||||
| <rect x="1" y="1" class="st0" width="1197" height="288"/> | |||||
| <path d="M1197,2v286H2V2H1197 M1199,0H0v290h1199V0L1199,0z"/> | |||||
| </g> | |||||
| </svg> | |||||
| @@ -0,0 +1,12 @@ | |||||
| <?xml version="1.0" encoding="utf-8"?> | |||||
| <!-- Generator: Adobe Illustrator 25.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | |||||
| <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | |||||
| width="1203" height="259" viewBox="0 0 1203 259" style="enable-background:new 0 0 1203 259;" xml:space="preserve"> | |||||
| <style type="text/css"> | |||||
| .st0{fill:#1A1A1A;} | |||||
| </style> | |||||
| <g> | |||||
| <rect x="1" y="1" class="st0" width="1201" height="257"/> | |||||
| <path d="M1201,2v255H2V2H1201 M1203,0H0v259h1203V0L1203,0z"/> | |||||
| </g> | |||||
| </svg> | |||||
| @@ -0,0 +1,12 @@ | |||||
| <?xml version="1.0" encoding="utf-8"?> | |||||
| <!-- Generator: Adobe Illustrator 25.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | |||||
| <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | |||||
| width="1372" height="290" viewBox="0 0 1372 290" style="enable-background:new 0 0 1372 290;" xml:space="preserve"> | |||||
| <style type="text/css"> | |||||
| .st0{fill:#1A1A1A;} | |||||
| </style> | |||||
| <g> | |||||
| <rect x="1" y="1" class="st0" width="1370" height="288"/> | |||||
| <path d="M1370,2v286H2V2H1370 M1372,0H0v290h1372V0L1372,0z"/> | |||||
| </g> | |||||
| </svg> | |||||
| @@ -0,0 +1,13 @@ | |||||
| <?xml version="1.0" encoding="utf-8"?> | |||||
| <!-- Generator: Adobe Illustrator 25.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | |||||
| <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | |||||
| width="244" height="290" viewBox="0 0 244 290" style="enable-background:new 0 0 244 290;" xml:space="preserve"> | |||||
| <style type="text/css"> | |||||
| .st0{fill:#1A1A1A;} | |||||
| </style> | |||||
| <g> | |||||
| <path class="st0" d="M1,289V1h242v288H1z M5.5,279.5h233v-269H5.5V279.5z"/> | |||||
| <path d="M242,2v286H2V2H242 M4.5,280.5h2h231h2v-2v-267v-2h-2H6.5h-2v2v267V280.5 M244,0H0v290h244V0L244,0z M6.5,278.5v-267h231 | |||||
| v267H6.5L6.5,278.5z"/> | |||||
| </g> | |||||
| </svg> | |||||
| @@ -0,0 +1,13 @@ | |||||
| <?xml version="1.0" encoding="utf-8"?> | |||||
| <!-- Generator: Adobe Illustrator 25.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | |||||
| <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | |||||
| width="244" height="259" viewBox="0 0 244 259" style="enable-background:new 0 0 244 259;" xml:space="preserve"> | |||||
| <style type="text/css"> | |||||
| .st0{fill:#1A1A1A;} | |||||
| </style> | |||||
| <g> | |||||
| <path class="st0" d="M1,258V1h242v257H1z M3.5,249.5h237V9.5H3.5V249.5z"/> | |||||
| <path d="M242,2v255H2V2H242 M2.5,250.5h2h235h2v-2v-238v-2h-2H4.5h-2v2v238V250.5 M244,0H0v259h244V0L244,0z M4.5,248.5v-238h235 | |||||
| v238H4.5L4.5,248.5z"/> | |||||
| </g> | |||||
| </svg> | |||||
| @@ -68,6 +68,10 @@ function makeHeight(info, category, prefix = "", type = "objects", rename = true | |||||
| name: rename ? object[0].replace(/-/g, " ").replace(/\b\w/g, x => x.toUpperCase()).replace(/'[A-Z]/g, x => x.toLowerCase()) : object[0], | name: rename ? object[0].replace(/-/g, " ").replace(/\b\w/g, x => x.toUpperCase()).replace(/'[A-Z]/g, x => x.toLowerCase()) : object[0], | ||||
| rename: true | rename: true | ||||
| } | } | ||||
| if (object[4] !== undefined) { | |||||
| views[object[0]].volume = object[4] | |||||
| } | |||||
| }); | }); | ||||
| return { | return { | ||||
| @@ -773,6 +777,37 @@ function makeObjects() { | |||||
| "" | "" | ||||
| )); | )); | ||||
| results.push(makeHeight( | |||||
| [ | |||||
| ["000 Capsule", 26.1, "mm"], | |||||
| ["00E Capsule", 25.3, "mm"], | |||||
| ["00 Capsule", 23.4, "mm"], | |||||
| ["0E Capsule", 23.5, "mm"], | |||||
| ["0 Capsule", 21.6, "mm"], | |||||
| ["1 Capsule", 19.4, "mm"], | |||||
| ["2 Capsule", 17.6, "mm"], | |||||
| ["3 Capsule", 15.7, "mm"], | |||||
| ["4 Capsule", 14.3, "mm"], | |||||
| ["5 Capsule", 11.1, "mm"], | |||||
| ], | |||||
| "Pills", | |||||
| "" | |||||
| )); | |||||
| results.push(makeHeight( | |||||
| [ | |||||
| ["10' Container", 8 + 6/12, "feet", "./media/objects/shipping-containers/10-foot.svg", math.unit(536.3, "ft^3")], | |||||
| ["20' Container", 8 + 6/12, "feet", "./media/objects/shipping-containers/20-foot.svg", math.unit(1169, "ft^3")], | |||||
| ["40' Container", 8 + 6/12, "feet", "./media/objects/shipping-containers/40-foot.svg", math.unit(2385, "ft^3")], | |||||
| ["40' High Cube Container", 9 + 6/12, "feet", "./media/objects/shipping-containers/40-foot-high-cube.svg", math.unit(2660, "ft^3")], | |||||
| ["45' High Cube Container", 9 + 6/12, "feet", "./media/objects/shipping-containers/45-foot-high-cube.svg", math.unit(3040, "ft^3")], | |||||
| ["Container Front", 8 + 6/12, "feet", "./media/objects/shipping-containers/front-normal.svg", math.unit(2385, "ft^3")], | |||||
| ["High Cube Container Front", 9 + 6/12, "feet", "./media/objects/shipping-containers/front-high-cube.svg", math.unit(2660, "ft^3")], | |||||
| ], | |||||
| "Shipping Containers", | |||||
| "" | |||||
| )); | |||||
| console.log(results[results.length - 1]) | console.log(results[results.length - 1]) | ||||
| return results; | return results; | ||||