Is there a path from OpenSCAD to WebGL?

Posted by Andrew Domaszek on Super User See other posts from Super User or by Andrew Domaszek
Published on 2013-09-12T15:04:19Z Indexed on 2013/10/24 21:58 UTC
Read the original article Hit count: 313

Filed under:
|
|
|

tl;dr version, Does a software path exist to convert from openscad input to render on a website via webgl?

What I'm trying to do is display OpenSCAD created designs uploaded via post on a LEMPy driven website; this is currently done by outputting to a static png image.

I would like to render one of openscad's export formats(wikibooks) and convert for display in javascript/webgl through some software path available via linux batch. CPU and RAM are relatively unconstrained but no GPU available.

I've looked into CopperLeicht, but it requires CopperCube output which would require windows or wine. FOSS is preferred but not required.

edit: I found three.js has converters for fbx, dae, obj, and 3ds formats which might be helpful as one of the last steps.

© Super User or respective owner

Related posts about linux

Related posts about JavaScript