[英][Autodesk Forge Viewer]How to implement 3D markup extension?
I'm looking for an official extension of 3D markup like "Autodesk.Viewing.MarkupsGui".我正在寻找 3D 标记的官方扩展,例如“Autodesk.Viewing.MarkupsGui”。 I'm newbie to Autodesk Forge API using viewer Version 7
我是使用查看器版本 7 的 Autodesk Forge API 的新手
I read this website, but this is not official one and too old.我读过这个网站,但这不是官方网站,而且太旧了。 https://forge.autodesk.com/blog/3d-markup-icons-and-info-card This doesn't work out this.viewer.loadExtension("Viewing.Extension.Markup3D")
https://forge.autodesk.com/blog/3d-markup-icons-and-info-card这行不通 this.viewer.loadExtension("Viewing.Extension.Markup3D")
Sadly, this extension set is deprecated.遗憾的是,这个扩展集已被弃用。 https://github.com/Autodesk-Forge/library-javascript-viewer-extensions/tree/master/src/Viewing.Extension.Markup3D
https://github.com/Autodesk-Forge/library-javascript-viewer-extensions/tree/master/src/Viewing.Extension.Markup3D
Does anyone know an official extension for 3D markup?有谁知道 3D 标记的官方扩展?
The extension Autodesk.Viewing.MarkupsGui
works in the last Viewer v7. Autodesk.Viewing.MarkupsGui
扩展适用于最新的 Viewer v7。 This extension and the Autodesk.Viewing.MarkupsCore
, which provides all the functionality, are not described in the official documentation.此扩展和提供所有功能的
Autodesk.Viewing.MarkupsCore
未在官方文档中描述。 You can use LMV Ninja to try existing extensions.您可以使用LMV Ninja来尝试现有的扩展。 This extension allows you to draw in the viewer in 3D.
此扩展允许您在3D中的查看器中绘制。
The others links you provided help to create a 3D point and some kind of label or card attached to the point.您提供的其他链接有助于创建3D 点和某种label或附加到该点的卡。 The logic described in theses solutions can still work in the last version of the viewer with a bit of code adaptation, depending of what you want to achieve.
这些解决方案中描述的逻辑仍然可以在最新版本的查看器中使用,只需对代码进行一些调整,具体取决于您想要实现的目标。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.