cad图纸解析java,用Java中的AutoCAD库来读取.dwg文件?

本文探讨了使用Java解析DWG文件的难题,指出目前没有免费且可靠的解决方案。提到的开源库如Kabeja和YCad可能只能处理旧版AutoCAD,并提到了Apache Tika对.dwg文件解析的潜力。建议关注AutoCAD I/O云服务和LISP脚本作为替代方案。
摘要由CSDN通过智能技术生成

Is there any open-source Java or JavaScript library available to parse .dwg files and get the objects from it.

I would like to extract data from a table of text for my project.

It seems that the AutoCAD developer community prefers .NET and C/C++ over JAVA.

The only free alternative I found is by converting .dwg to .dxf first and using the Kabeja lib to read from it.

解决方案

Credits to all who have answered, I've tested all your proposition and here's what I've found , as of 2015:

There is currently no free AND reliable solution to read and manipulate .dwg and .dxf files. This applies especially to latest versions of AutoCAD, ex : Autocad 2010, Autocad 2013 etc, RF 2013, RF 2010.

Reliable (and expensive) solutions would be Teigha by ODA (2000$ a year) and RealDWG in C# by Autocad (5000$ a year)...

Cheaper alternatives a

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值