最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

DWG converter for Node.js or Javascript library - Stack Overflow

programmeradmin4浏览0评论

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 mand-line utility but I cannot use it since I want to host my application on the Heroku platform.

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./Download/Cad2svg

It's a linux mand-line utility but I cannot use it since I want to host my application on the Heroku platform.

Share Improve this question asked Aug 14, 2013 at 16:22 tdhulstertdhulster 1,6213 gold badges20 silver badges35 bronze badges 1
  • @tdhulser, don't forget to accept the answer if it help you in the pursuit of the question. :) – Trae Moore Commented Nov 15, 2013 at 21:56
Add a ment  | 

3 Answers 3

Reset to default 3

Check out the autocad the 2014 JavaScript API http://adndevblog.typepad./autocad/2013/04/getting-started-with-javascript-api-on-autocad-2014.html

Here is a YouTube video

http://m.youtube./watch?v=PZKKJwcke2k&desktop_uri=%2Fwatch%3Fv%3DPZKKJwcke2k

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

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

发布评论

评论列表(0)

  1. 暂无评论