{"_id":"3DViewerComponent","_rev":"3-9a7fb73ea717707253a51755ae6bf227","name":"3DViewerComponent","description":"ThreeD Viewer Component =====================","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"3DViewerComponent","version":"1.0.0","description":"ThreeD Viewer Component =====================","main":"Gruntfile.js","dependencies":{"grunt":"^0.4.5"},"devDependencies":{"babel-preset-es2015":"^6.5.0","connect-modrewrite":"^0.8.5","grunt-babel":"^6.0.0","grunt-contrib-clean":"^1.0.0","grunt-contrib-concat":"^1.0.0","grunt-contrib-connect":"^0.11.2","grunt-contrib-copy":"^0.8.2","grunt-contrib-cssmin":"^0.14.0","grunt-contrib-htmlmin":"^0.6.0","grunt-contrib-uglify":"^0.11.1","grunt-contrib-watch":"^0.6.1","grunt-inline":"^0.3.6","grunt-usemin":"^3.1.1","grunt-vulcanize":"^1.0.0","load-grunt-tasks":"^3.4.0"},"author":"","license":"MIT","gitHead":"44cd890c3eb7fef6852899e4581e0482f2cc2b6c","_id":"3DViewerComponent@1.0.0","scripts":{},"_shasum":"8255adacfb10dac40d7ba5d5bd010c9ad3e2276b","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.1","_npmUser":{"name":"omriaharon","email":"omri.aharon@gmail.com"},"dist":{"shasum":"8255adacfb10dac40d7ba5d5bd010c9ad3e2276b","tarball":"https://registry.npmjs.org/3DViewerComponent/-/3DViewerComponent-1.0.0.tgz","integrity":"sha512-2oMfPcIz40x/5tGctOvaTPE3N20h0/ooj6K36/RyDvHtRytzQL17VKxy45sAoCovKY9BQLWurCL99O9EaM6xBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFfoyu5WqcBWn4jqXzILkVt9ASe7IBbN58ea4keze5wAAiEApsXILA62T/2KH7E6sZnbEfIXF6SzVrxQXQVjEE/peno="}]},"maintainers":[{"name":"omriaharon","email":"omri.aharon@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/3DViewerComponent-1.0.0.tgz_1468496839353_0.45187462167814374"}}},"readme":"\nThreeD Viewer Component\n=====================\n\nThis is a 3D viewer web component that presents a model, currently based on 2 parameters:\n\n* Previews - An array of objects, each consisting of two properties:\n \t1. file_type: \"obj\"/\"stl\"\n \t2. file_url: can be an absolute URL (for an S3 bucket for instance), or a relative path\n* Color (optional) - If not provided, a value of #F18D05 will be used\n\n### Installation\n\n\t\tbower install --save git@github.com:Autodesk/3DViewerComponent.git\n\nThen add these 2 lines at your HTML file:\n\n        <script src=\"bower_components/webcomponentsjs/webcomponents-lite.js\"></script>\n        <link rel=\"import\" href=\"bower_components/3DViewerComponent/dist/three-d-viewer.html\">\n\nFrom here you just use the tag itself with the parameters, e.g.:\n\n        <three-d-viewer color=\"ff0000\" \n                        previews='[{\"file_type\": \"stl\", \"file_url\": \"bower_components/3DViewerComponent/samples/Camel.stl\"}]'>\n        </three-d-viewer>\n\nIf you're running as a new project or a blank new HTML page and don't have your styling, add this CSS for styling just to see how it looks:\n\n        <style>\n            html, body {\n                width: 100%;\n                height: 100%;\n                overflow: hidden;\n            }\n        </style>\n\n    ","maintainers":[{"name":"omriaharon","email":"omri.aharon@gmail.com"}],"time":{"modified":"2022-06-12T14:07:16.669Z","created":"2016-07-14T11:47:22.271Z","1.0.0":"2016-07-14T11:47:22.271Z"},"license":"MIT","readmeFilename":"README.md"}