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

arrangement-2d-js installed from npm vs arrangement-2d-js local build #2

Open
geotyper opened this issue May 4, 2024 · 0 comments
Open

Comments

@geotyper
Copy link

geotyper commented May 4, 2024

Hello,
have two questions:
first is about difference between arrangement-2d-js installed from npm vs arrangement-2d-js local build. They work, but first variant from npm support more segments to intersect. For example 1500 segments this two libs work identically, but if increase number of segmnets to more then 15000 first work, but local build lib send error :
Uncaught RuntimeError RuntimeError: memory access out of bounds
at $func17 (wasm/001a34f2:1624:1)
at $emscripten_bind_ArrangementBuilder_getPolygons_1 (wasm/001a34f2:87228:1)
all flags in cmakelists,txt dont changes, one problem that complile it from ide not from npm script.
version of CGAl and Boost as in your version.
Do you have ideas why?

And second question:
As understand svg render now is not supported. But take main ideas from your project and they works.
Screenshot at 2024-03-28 10-31-42

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

1 participant