Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very Large Import #453

Open
arpitpara opened this issue Mar 23, 2024 · 6 comments
Open

Very Large Import #453

arpitpara opened this issue Mar 23, 2024 · 6 comments
Labels

Comments

@arpitpara
Copy link

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.

@kovacsv
Copy link
Owner

kovacsv commented Mar 23, 2024

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.

@arpitpara
Copy link
Author

ok.So is there any way to bypass this?

@kovacsv
Copy link
Owner

kovacsv commented Mar 23, 2024

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.

@arpitpara
Copy link
Author

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.

@kovacsv
Copy link
Owner

kovacsv commented Apr 1, 2024

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

@arpitpara
Copy link
Author

ModelFile

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants