I want to show AutoCAD-files (.DWG) in my AngularJS application and I’m using a Node.js backend for my application.
Are there any DWG libraries in Javascript? Are there any DWG Node libraries to convert DWG files to a SVG / PDF / …
I don’t want to edit them; just show them online in my application.
The only that i could find was this : http://etc.nkadesign.com/Download/Cad2svg
It’s a linux command-line utility but I cannot use it since I want to host my application on the Heroku platform.
Advertisement
Answer
Check out the autocad the 2014 JavaScript API http://adndevblog.typepad.com/autocad/2013/04/getting-started-with-javascript-api-on-autocad-2014.html
Here is a YouTube video
http://m.youtube.com/watch?v=PZKKJwcke2k&desktop_uri=%2Fwatch%3Fv%3DPZKKJwcke2k