Autodesk 查看器:关于楼层视图 2D 视图的建议 [英] Autodesk Viewer: Suggestions for 2D view of floor view

查看:102
本文介绍了Autodesk 查看器:关于楼层视图 2D 视图的建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 revit 文件,可以通过云将其转换为 svf 并在 3D 查看器中查看.它既可以直接转换 .rvt 文件,也可以从 navisworks 插件导出器导出.

我的问题:我希望我的应用程序的用户也能够像在 revit 中一样看到地板 2D 视图.

我已经查看了所有清单文件,但没有看到楼层视图的 f2d.

你建议我用什么来制作 2D 视图?请注意,我将有许多图纸要处理/查看,因此我不想为每个视图导出 dwg 然后转换它们.我希望有一个特殊的设置可以传递给将创建 2D 视图的转换器

(注意:我还希望能够动态突出显示/纹理此视图的房间.因此我需要能够像在 3D 查看器中一样访问几何体)

解决方案

Afaik 在 Revit 项目文件中定义的所有 2D 视图都会自动转换并包含在 Forge 输出中.例如,您是否看过 LmvNav 示例?

它甚至链接两个视图中的元素,以便在一个视图中选择的任何内容在另一个中突出显示:

您可以检查它从何处获取 2D 流.源码在 GitHub 上:

https://github.com/JimAwe/LmvNavTest

我认为您在向观众提供流媒体时会选择想要 2D 流还是 3D 流.

I have a revit file and am able to convert it via the cloud to a svf and view it in the 3D viewer. It works both as conversion of the .rvt file directly and as an export from the navisworks addin exporter.

My question: I want the user of my app to also be able to see the floor 2D view as you can in revit.

I have looked through all the manifest files and do not see a f2d for the floor view.

What do you suggest I use for the 2D view? Note that I will have many drawings to process/view so I would prefer not to have to export a dwg for each view then convert those. I am hoping there is a special setting I can pass to the the converter that will create the 2D views

(Note : I also want to be able to highlight/texture the rooms of this view dynamically. So I will need to be able to access the geometry like you can in the 3D viewer)

解决方案

Afaik all 2D views defined in the Revit project file are automatically translated and included in the Forge output. Have you looked at the LmvNav sample, for instance?

https://calm-inlet-4387.herokuapp.com

It displays both 2D and 3D views.

Note the list of available 2D views in the Secondary View dropdown:

It even links the elements in the two views so that anything selected in one is highlighted in the other:

You could check from where it gets the 2D streams. The source is on GitHub:

https://github.com/JimAwe/LmvNavTest

I think you select whether you want a 2D or a 3D stream when you supply it to the viewer.

这篇关于Autodesk 查看器:关于楼层视图 2D 视图的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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