openscad/openscad-wasm ? reverse-engineered prompt
Reverse engineered prompt
Build me a web version of OpenSCAD that runs entirely in the browser through WebAssembly, so I can load a SCAD file, render it headlessly, and download the result as a 3D model like STL. I want it to feel like a simple library I can import in a web page, write an OpenSCAD script into the in browser file system, run it with command line style arguments, and then read back the generated output file.
Please include a small example app that shows how to do this, plus basic tests I can run to make sure the build works. Keep the project easy to set up with the existing build flow, and if you need anything from current docs or tooling details, look it up online and follow the latest guidance.
Are you gonna build this?
make sure you review the code using coderabbit