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

Trying to render DXF files seems not to work. #12

Open
theScrabi opened this issue Jul 31, 2023 · 1 comment
Open

Trying to render DXF files seems not to work. #12

theScrabi opened this issue Jul 31, 2023 · 1 comment

Comments

@theScrabi
Copy link
Contributor

Hello there. Great project.
I'm trying to build an online stl customizer based on this project, but for this I need to be able to render DXF files. However so far my code failed to do so.
Files which do not render dxf files render fine.

My code can be found here:https://github.com/theScrabi/BottleClipOnline

@theScrabi theScrabi changed the title Trying to render DXF files Trying to render DXF files seems not to work. Jul 31, 2023
@t-paul
Copy link
Member

t-paul commented Sep 9, 2023

DXF "do not render" means what? I see a call to openscad exporting STL https://github.com/theScrabi/BottleClipOnline/blob/3d60842b89cf3b23c858d4de1eb52c2780aefbbf/bottleclip_web/index.php#L210 so the output seems to be fixed STL always.

If you input DXF (only 2D supported by OpenSCAD) and want to export STL (only 3D) you need to bring things into 3D by something like linear_extrude(). That is not specific to WASM though.

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