大文件的FORGE Viewer性能和错误问题 [英] FORGE Viewer performance and error issue with big size file

查看:61
本文介绍了大文件的FORGE Viewer性能和错误问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我翻译了500 Mb大小的NWD文件,并尝试将其加载到FORGE Viewer.(我相信NWD文件中可能包含图形元素和对象)

I had translated 500 Mb sized NWD file and tried to load it to FORGE Viewer. (I believe the NWD file has may graphical elements and objects)

大约需要4到5分钟.缓存初始化后,加载速度很慢,并且在网络浏览器闪烁后会出现如下图所示的错误.

It takes around 4 to 5 Min. for loading which is slow after cache initialization and error occurs as below images after blinking web browser.

错误图片1

错误图片2

任何解决此问题的建议或指南,将不胜感激.

Any advice or guide resolving this issue will be appreciated.

谢谢

推荐答案

在处理 really 大型模型时,需要考虑以下两个选项:

Here's a couple of options to consider when dealing with really large models:

  1. 使用 Autodesk.MemoryLimited 查看器扩展来控制为模型分配的内存量(以避免浏览器崩溃或上下文丢失):

  1. Use the Autodesk.MemoryLimited viewer extension to control the amount of memory allocated for the model (to avoid browser crashes or context losses): https://forge.autodesk.com/en/docs/viewer/v7/developers_guide/viewer_basics/memory-limit.

使用新的 SVF2 文件格式,可以检测并删除许多重复的几何图形,从而减少了必须从服务器下载并发送到GPU的几何图形总数.

Use the new SVF2 file format which can detect and remove many duplicate geometries, decreasing the total amount of geometry that must downloaded from the servers and sent to the GPU.

作为最后的选择-我们的客户也这样做-尝试将Navisworks设计分成多个模型(例如,按区域或学科划分),然后按需加载.

As a last resort - something our customers also do - try splitting the Navisworks design into multiple models, for example by area or discipline, and then load it on demand.

这篇关于大文件的FORGE Viewer性能和错误问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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