문제

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.

도움이 되었습니까?

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top