Dwg Converter for Node. Js or Javascript Library
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...
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 :
It's a linux command-line utility but I cannot use it since I want to host my application on the Heroku platform.
3 Answers
Check out the autocad the 2014 JavaScript API
Here is a YouTube video
There is a tiegha file converter made by the Open Design Alliance. It is a CLI exe that can convert dwg to dxf. .Then there are lots of dxf parsers. I like this one
There is a NodeJS wrapper library for the Vector Express conversion API you may be able to use: