openscad-wasm icon indicating copy to clipboard operation
openscad-wasm copied to clipboard

Trying to render DXF files seems not to work.

Open theScrabi opened this issue 11 months ago • 1 comments

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 avatar Jul 31 '23 16:07 theScrabi

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.

t-paul avatar Sep 09 '23 05:09 t-paul