简体   繁体   中英

Autodesk forge viewer js dependencies storing in local project

I am working with Autodesk viewer using angular and typescript. I am using https://developer.api.autodesk.com/modelderivative/v2/viewers/style.css - (For CSS) and https://developer.api.autodesk.com/modelderivative/v2/viewers/viewer3D.js - (For JS).

But I want to download these files to store and use from the project folder. It seems like downloading and adding only these files won't do the job as viewer3D.js references more online js files.

Can I get all the files which are needed to view locally.

Please help.

There are actually a few other files required by the Viewer, but per license , you should use them from Autodesk server:

// Autodesk Forge Viewer Usage Limitations:
// 
// The Autodesk Forge viewer can only be used to view files generated by
// Autodesk Forge services. The Autodesk Forge Viewer JavaScript must be
// delivered from an Autodesk hosted URL.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM