Feature Request: Node.js
RaphiePS opened this issue · comments
It'd be incredibly useful if this could be refactored into a node module. Then one could render on the server.
This should be trivial, probably adding this to CSG.js should do the trick:
exports.CSG=CSG;
exports.CAG=CAG;
You would need to launch CSG operations in a web worker though since they take a while to complete.
@RaphiePS: Take a look at https://github.com/Spiritdude/OpenJSCAD.org
A bower module could be useful too!
@RaphiePS @matiasinsaurralde This is done. Please see https://github.com/jscad/csg.js as part of the new organization for OpenJSCAD libraries.
I will close this issue in 30 days.