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

Reusable mesh geometries #9

Closed
ThaiLe-gt opened this issue Jul 29, 2022 · 3 comments
Closed

Reusable mesh geometries #9

ThaiLe-gt opened this issue Jul 29, 2022 · 3 comments

Comments

@ThaiLe-gt
Copy link

Hello Kovacsv!!!

Thank you for your great library!!!
I used your library in Node JS successfully.
But I have faced some issues:

  • The STP files which over >50MB can not display in Three js (Please check my file attached below).
  • The mesh geometries that have the same properties are not reusable in the result, which will affect the performance for loading and importing.
    Powder.zip
@GitHubDragonFly
Copy link

Just to pitch in, this seems to be choking the function occt.ReadStepFile( fileBuffer ) since the fileBuffer appears to be an array of 73+ million in length.

@kovacsv
Copy link
Owner

kovacsv commented Aug 1, 2022

I think it would be also solved by #5. The basic problem here is that the built-in triangulation logic can end up with really large meshes, so it would be great to make users able to define the quality from the outside.

@kovacsv kovacsv closed this as completed Oct 27, 2022
@kovacsv
Copy link
Owner

kovacsv commented Oct 27, 2022

Triangulation parameters are available in version 0.0.14.

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

No branches or pull requests

3 participants