mrdoob / three.js

JavaScript 3D Library.
https://threejs.org/
MIT License
101.89k stars 35.32k forks source link

Export splines or mesh as collada #1937

Closed ghost closed 12 years ago

ghost commented 12 years ago

How to export a mesh as a collada ?

I am trying to use threejs for CAD modelling. Now that drag and splines is in threejs in its possible.

If we can load collada, can we export collada ? https://github.com/mrdoob/three.js/wiki/Using-SketchUp-Models

mrdoob commented 12 years ago

We only have a COLLADA importer. You'll need to write a COLLADA exporter.

ghost commented 12 years ago

@mrdoob thanks for reply and update.

I have now moved away from having the data on the client, but rather on the server. Am looking at integrating FreeCAD as a server (with web API on top).

This will expose many useful CAD like functions to client, and then use threeJS to simply render it.

ghost commented 12 years ago

I cant beleive it but i just found the exact thing over here: https://cloud.shapesmith.net

they are doing just what i was thinking to do.

Amazing stuff open source :) I swear they read my mind in the design