I’m working with the Autodesk Model Derivative API to convert CAD files to SVF format. My goal is to save the converted SVF data locally instead of using Autodesk’s cloud storage.
My current setup:
Frontend: Angular application
Backend: .NET Core with Autodesk Forge SDK
File storage: Local Network File System (NFS)
What I’m trying to achieve:
After the conversion process finishes, I need to download the complete SVF package and store it on our NFS through the backend.
When users want to view a model, the backend should retrieve SVF files from NFS and send them to the frontend.
Configure the Autodesk Viewer to work with locally served SVF files rather than cloud-based URNs.
Current issue:
When I try to download the converted output, I get a .sqlite file instead of the expected SVF package structure. I’m unsure how to extract the proper SVF files and folders from this sqlite file.
I also need guidance on the proper way to serve these files from my .NET backend to the Angular frontend so the Autodesk Viewer can render the models correctly.
Has anyone successfully implemented local SVF serving with this tech stack?
That SQLite file just has metadata about the conversion - not the actual SVF files. You’ll need to loop through the derivative manifest to find all the assets and download each one separately using the derivatives endpoint. I’ve done this before - build a .NET controller that sits between your Angular app and the stored SVF files. Keep the same folder structure that Autodesk uses when you save everything locally. The viewer needs those exact relative paths between the main SVF and its dependencies (textures, geometry fragments, etc.). For the viewer setup, you’ll want to override the default endpoint. Just implement a custom loader that points to your local file routes instead of Autodesk’s CDN URLs.
Interesting challenge! Are you handling auth tokens correctly during downloads? Also, have you tried hitting GET /derivativeservice/v2/manifest/{urn} first to map out which files you actually need? And what’s your NFS setup like?
totally get it! that sqlite acts kinda like a manifest, huh. use the GET /derivativeservice/v2/derivatives/{urn} to pull those svf assets, but make sure your headers are spot on. serve them through your .NET controller & maintain that folder structure for the viewer.