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

2D Scene #1246

Open
kamildul opened this issue May 9, 2023 · 3 comments
Open

2D Scene #1246

kamildul opened this issue May 9, 2023 · 3 comments

Comments

@kamildul
Copy link

kamildul commented May 9, 2023

Hello,
i have a problem. I don't now how i can switch 3d scene to 2d scene, it is posible? If yes how i can do it?
I have online/web version without node.js - only apache + web browser.
Thanks!

@z3dev
Copy link
Member

z3dev commented May 9, 2023

@kamildul welcome!

the website (and renderer) show 2D shapes laying on the Z plane, flat.

what version of JSCAD are you using?

@kamildul
Copy link
Author

kamildul commented May 9, 2023

Hello z3dev,
i'm use Version JSCAD V2.6.4. I want to get the 2d mesh effect without 3d planes and display imported dxf on it

@z3dev
Copy link
Member

z3dev commented May 9, 2023

@kamildul there are probably several options.

first, you could use JSCAD to import DXF, and then export to SVG. Any browser can display the SVG, which can be imbedded into HTML as well.

second, you could use this library to convert DXF to SVG. it's probably the best DXF library available. https://github.com/skymakerolof/dxf

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