openscad-wasm
openscad-wasm copied to clipboard
Trying to render DXF files seems not to work.
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
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.