使用 API 创建 sketchfab 注释

Create sketchfab annotations with API

我们公司想使用 Sketchfab API 向客户展示建筑结构。这很完美,但我们想使用该功能在 Sketchfab 中的 3D 模型上创建注释。

我找不到关于 creating/editing 注释的任何信息,它们提供 API。这在网站本身是可能的。

有人知道如何使用来自其他站点的 Sketchfab(嵌入或使用 API)创建这些注释,或者知道可以做到这一点的 3D 网络建模 program/framework 吗?

提前致谢!

目前还不可能。但是查看器 api 应该更新 'soon' 以支持更多功能。

现在可以使用新的注释功能实现:

https://sketchfab.com/developers/viewer/functions#api-section-annotations

Annotations are notes positionned in 3D space. They allow authors to provide information on a specific part of the model and tell a story.

具体来说https://sketchfab.com/developers/viewer/functions#api-createAnnotation

createAnnotation( positionStart, positionEnd, eye, target, title, text, callback, [callback] )

Create the annotation with the given parameters. Callback will be passed (err,index).

还有https://sketchfab.com/developers/viewer/functions#api-updateAnnotation

updateAnnotation( index, {title: title, content: content, eye: eye, target: target}, [callback] )

Updates the annotation information for the given index. Callback will be passed (err, information).