使用API 创建sketchfab注释

问题描述 投票:0回答:2

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

我找不到任何关于使用它们提供的API创建/编辑注释的信息。这可以在网站上进行。

有人知道如何使用Sketchfab从其他站点(嵌入式或使用API​​)创建这些注释,或者知道可以执行此操作的3D Web建模程序/框架吗?

提前致谢!

api web 3d annotations 3d-modelling
2个回答
2
投票

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

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

注释是在3D空间中定位的注释。它们允许作者提供有关模型特定部分的信息并讲述故事。

特别是https://sketchfab.com/developers/viewer/functions#api-createAnnotation

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

使用给定参数创建注释。回调将通过(err,index)

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

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

更新给定索引的注释信息。回调将通过(err, information)


0
投票

这还不可能。但观众api应该“尽快”更新以支持更多功能。

© www.soinside.com 2019 - 2024. All rights reserved.