Online3DViewer icon indicating copy to clipboard operation
Online3DViewer copied to clipboard

Very Large Import

Open arpitpara opened this issue 11 months ago • 7 comments

Hi I am trying to import a very large file in the viewer. It doesn't really load. Is it the size of the issue as my other small model is loading perfectly. Also, I noticed 'octt-import.js' anonymous error for the same.

arpitpara avatar Mar 23 '24 05:03 arpitpara

Usually it's a mix of the file size and the model size (number of vertices and polygons). Unfortunately browsers provide limited amount of memory for each tabs, and in case of large models this memory is just not enough.

kovacsv avatar Mar 23 '24 06:03 kovacsv

ok.So is there any way to bypass this?

arpitpara avatar Mar 23 '24 07:03 arpitpara

In case of occt-import-js there is a possibility to play around with the segmentation density, but I'm not sure what the proper value would be. If you can figure out the linearDeflection and angularDeflection values that work for you we may modify them in the viewer as well.

kovacsv avatar Mar 23 '24 07:03 kovacsv

Hi, Thanks for the reply! I tried the mentioned values changing but still no luck. linearDeflection: 0.001, 1, 5, 10, 50 angularDeflection: 0.1, 0.3, 0.5 Can you suggest me anything else.

arpitpara avatar Mar 26 '24 11:03 arpitpara

If you can share me the file I can take another look.

kovacsv avatar Apr 01 '24 17:04 kovacsv

ModelFile

Here is the file. Please look into it and let me know if you can do something.

arpitpara avatar Apr 12 '24 12:04 arpitpara

I struggle with the same problem. At first I wondered why I only see importing message but nothing more on any file i used. I would propose to enhance here that way that I see an error and a progress bar may a hint what in detail is the Problem.

Mannshoch avatar Sep 09 '24 08:09 Mannshoch