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

Can i Get SVG as output? #124

Open
Keyur-Gondaliya opened this issue Dec 1, 2024 · 2 comments
Open

Can i Get SVG as output? #124

Keyur-Gondaliya opened this issue Dec 1, 2024 · 2 comments

Comments

@Keyur-Gondaliya
Copy link

After Layer filter can i have output as svg? or do i have other options?

@vagran
Copy link
Owner

vagran commented Dec 2, 2024

There is no such functionality in the library. It uses three.js as rendering backend, so you can try to experiment with SVGRenderer plugin for it. However, it might be incompatible with customs shaders used in the library. Another way is adopting custom back-end to render the result into SVG, instead of three.js canvas. The library is written in such a way, that it should be possible to use the resulting geometry relatively easy, just use the pre-built scene geometry like it is done in DxfViewer.js. I have implemented rendering into GeoJSON format in such a way, but unfortunately this is proprietary closed-source code built on-top of the library.

@Keyur-Gondaliya
Copy link
Author

Thank you for the ideas, will look into it.

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

2 participants