mopaadam.blogg.se

Fusion 360 viewer
Fusion 360 viewer







fusion 360 viewer fusion 360 viewer

I contacted the author, Dan Wellman, who very generously provided the PSD file he’d used to generate the various web assets. I found the Steampunk HTML UI for the sample on this page, making heavy use of CSS transforms. It will be interesting to see how the site gets used: NewRelic will provide me with that level of detail, I hope. I’m running this app right now on a single instance – it’s really only performing authentication and serving up static HTML, the heavy lifting is done via the code hosted on AWS that feeds data to the connected viewer – but I can scale this up according to usage. Heroku provides a basic level of usage per application for free – 750 CPU hours annually, I believe. Integrating Node.js and NewRelic (for application monitoring) took just a few commands and minor code changes. This is a lightweight, scalable hosting environment that has some really cool integrations: you host your code on GitHub and deploy directly from there to your Heroku instance via the command-line. It’s the first time I’ve done so, but it was really easy to do (and I’d been meaning to give it a try).įor my hosting infrastructure, I went with Heroku (thanks, Cameron!). To implement a server-side API, I’ve used Node.js. But this means you’re going to need some kind of server-resident code to get a token: it’s a really bad idea to embed your client ID & secret in client-side HTML or JavaScript. You do this by calling a particular web-service API with your client ID and secret: standard authentication stuff. The Autodesk 360 Viewing & Data API is currently being piloted by a few key partners, and hopefully we’ll soon be broadening the scope to allow others to get involved (we first have to iron out any issues that might impact scalability, of course).īut let me give you a few pointers about what I did and what to expect when developing your own web applications that connect with this technology.įirstly, as a classic set of web-services that require authentication, there’s a need to request and provide an authentication token. Here’s the app for you to take for a spin, as it were. The sample is now ready to view, although I’m not yet quite ready to post the code directly here, mainly because the API isn’t yet publicly usable. As mentioned last week, I’ve been having fun with Fusion 360 to prepare a model to be displayed in the new Autodesk 360 viewer.









Fusion 360 viewer