Integration of Autodesk Forge API service with Streamlit - autodesk-forge

Pardon me if this is a dumb question! However, I am curious whether it is possible to use 'Streamlit' (https://streamlit.io/) app as the front end and Forge APIs as the back end. If this is possible; Could you, please show some examples of how to integrate Streamlit and Forge?

Streamlit is in Python and there is Unofficial Autodesk Forge SDK for Python, so you can easily get your data from Forge APIs and show them using Streamlit components.
I created a simple app which lists buckets, then objects in the selected bucket and shows details of the selected object.
Streamlit with Forge sample

Related

How can I use Audodesk Forge Viewer to view 3d translated model in Autodesk Doc

I am developing My own project to view model from file in Autodesk Docs, but I am really confuse, How should I start from? for now I use 2 legged Authentication and got and access denied.Can someone help me to summarize overview steps to finally my custom viewer can view it?
Overall steps to view forge model in forge viewer.
I'd suggest to start with one of our tutorials, for example:
Simple Viewer - this tutorial guides you through the development of an application that manages the files of its users (designs are stored in a custom OSS bucket owned by the application)
Hubs Browser - this tutorial might be better for your use case as it builds an application that can access designs of its users in other APS applications such as Autodesk Docs, Autodesk Construction Cloud, or BIM360

How to start using Autodesk Forge?

I am a new user of Autodesk Forge and I am stuck in the very first step. I cannot figure out what to do after I created an app on Forge's website. Can you please help me with this? I would appreciate it if there are any resources that I can use as I searched the internet and could not find anything.
I would like to do with Forge is to import my BIM from Revit to Forge, but I do not know where to start.
If you already created an app, you probably were on this website Autodesk Forge.
The third button in the navbar "Getting started" will redirect you to Learn Forge where you can find a lot of resources to get started.
Autodesk recently released their new Forge tutorials that are meant to guide developers through the whole process of creating applications on the Forge platform.
You can find the new Forge tutorial here: https://forge-tutorials.autodesk.io/
If you need more information on all the Forge APIs, you can have a look at the API documentation on the main Autodesk Forge website: https://forge.autodesk.com/developer/documentation

Forge capture API by Autodesk in my Unity App

I am a unity game developer and I want to create 3d mesh generation from images in my unity App. I found a link of Forge Autodesk
Is it possible with "Reality check API" to implement this.
Any suggestion/SDK will be helpful.
If you simply want to generate static assets for your Unity app from photos locally, you could just look at Autodesk ReCap. The Forge Reality Capture APIs would be useful if you wanted to generate the meshes in the cloud instead. I'm afraid we don't have an SDK for these APIs but you could probably put together a simple bash script using curl based on the official tutorial.

Missing API's while creating autodesk forge application

I'm new to Autodesk Forge API. Planning to use it for converting Revit files. But when creating an app inside the Forge console, the system doesn't allow me to select relevant API's to "turn them on" for the app.
http://prntscr.com/hgb9ib
While https://developer.autodesk.com/en/docs/oauth/v2/tutorials/create-app/ guide lists all possible API's the service provides.
What could be the issue?
I believe you did not start your trial, please apply for FREE 90-DAY TRIAL, and you will see all the available APIs in the list.

Is it possible to translate (Revit) models from non-Autodesk cloud storage services using Forge Model Derivative API?

I just tried some of the Forge boilerplates on Github.
Some examples asked me to login to BIM 360 to fetch some model data. I was wondering if it would be possible to load the (Revit) models from Dropbox, Google Drive or OneDrive, or even upload them from the local storage?
PS: Forge is awesome, kudos to Forge Team!
We have multiple examples that illustrate how to integrate Forge with cloud storage providers under the same github org:model.derivative-nodejs-box.viewer, data.management-nodejs-integration.box, model.derivative-nodejs-google.drive.viewer
The point of using 3-legged API is precisely to let your app access customer data that is already hosted on Autodesk Cloud. If you want use a storage mechanism that is specific to your app, then you need to use 2-legged Object Storage Service, see Create an App-Managed Bucket and Upload a File
In order to fire a translation on a CAD file, you have to upload your data to Autodesk Cloud first, you can then load it from there in the viewer. However you could also download the svf package using the API and then serve those as static resources from your own server. Take a look at this sample for more info: extract.autodesk.io.
Hope that helps