SVF 模型衍生品下载为(几乎)空的 ZIP 文件(Autodesk Forge) [英] SVF model derivative downloaded as an (almost) empty ZIP file (Autodesk Forge)

查看:43
本文介绍了SVF 模型衍生品下载为(几乎)空的 ZIP 文件(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 包,没有成功.奇怪的是,下载工作正常,但我得到的只是一个包含空目录(几何"、材料"、场景")和(非空)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").

有什么想法吗?提前致谢.

Any idea? Thanks in advance.

推荐答案

很抱歉给您带来不便,问题是我假设最新版本设置为 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆