SVF模型衍生产品下载为(几乎)空的ZIP文件(Autodesk Forge) [英] SVF model derivative downloaded as an (almost) empty ZIP file (Autodesk Forge)
问题描述
最近几个月来,我一直是Autodesk Forge上快乐的开发人员,并且能够使用API执行多项任务。
I have been a happy developer on Autodesk Forge these recent months, and have been able to perform several tasks using the API's.
但是,我似乎无法正确下载SVF模型衍生产品(来自IFC或RVT文件)。我已经尝试直接 curl 命令或forge-apis NPM软件包,但未成功。奇怪的是,下载工作正常,但是我得到的只是一个带有空目录( geometry, material, scene)和(非空) manifest.json和 metadata.json文件的ZIP文件。
However, I can't seem to be able to download SVF model derivatives properly (derived either from IFC or RVT files). I've tried the direct curl command or the forge-apis NPM package, without success. Oddly the download works fine, but all I get is a ZIP file with empty directories ("geometry", "material", "scene"), and (non-empty) "manifest.json" and "metadata.json" files.
我使用两足式身份验证过程来生成令牌(文件在我的Forge开发人员帐户中,而不在A360或BIM360上)。我能够使用3D查看器查看文件,因此从RVT或IFC到SVF的转换效果很好。
I use a two-legged authentication process to generate the token (the files are on my Forge developer's account, not on A360 or BIM360). I am able to view the files with the 3D viewer, so the conversion from RVT or IFC to SVF works nicely.
我还尝试了 https://extract.autodesk.io 模型提取器,但这也不允许我检索派生工具(无法获取/ extracted / 2836276-AC11-Institute-Var-2-IFCifc.zip)。
I also tried the https://extract.autodesk.io model extractor, but this doesn't allow me to retrieve the derivative either ("Cannot GET /extracted/2836276-AC11-Institute-Var-2-IFCifc.zip").
有什么主意吗?
推荐答案
抱歉给您带来的不便,问题是我认为最新版本设置为2.15。仍设置为2.10。
强制版本2.15的代码修复已实时发布。
Sorry for the inconvenience, the issue was that I assumed the latest version was set to 2.15 while it is still set as 2.10. The codefix to force version 2.15 has been pushed live.
这篇关于SVF模型衍生产品下载为(几乎)空的ZIP文件(Autodesk Forge)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!