Question

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.

OTHER TIPS

There is a tiegha file converter made by the Open Design Alliance. It is a CLI exe that can convert dwg to dxf. opendesign.com/guestfiles/teigha_file_converter .Then there are lots of dxf parsers. I like this one github.com/gdsestimating/dxf-parser

There is a NodeJS wrapper library for the Vector Express conversion API you may be able to use: https://github.com/smidyo/vectorexpress-nodejs

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top