如何从DXF文件中提取/解码数据 [英] How to extract / decode data from DXF file

查看:677
本文介绍了如何从DXF文件中提取/解码数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



是否有可能从dxf文件中提取数据?我想根据总切割长度和启动次数来建立数控等离子切割机的成本计算程序。我想将dxf文件拖放到表格中并收到:



- 开始次数

- 总长度

- 零件面积

- 零件宽度

- 零件高度等



任何建议如何解码/提取dxf文件?

Hello,

is there any possibility to extract data from dxf file ? I would like to build costing program for CNC plasma cutting machine depending on total cut length and number of starts. I would like to drag and drop dxf file into form and recieve:

- count of starts
- total length
- area of part
- width of part
- height of part etc

Any advice how to decode/ extract dxf file ?

推荐答案

DXF文件只是文本,所以阅读它应该不是问题。如第一个链接所述,理解它可能会更困难。

https://en.wikipedia.org/ wiki / AutoCAD_DXF [ ^ ]

DXF规范 [ ^ ]



当我这样做的时候,我宁愿阅读CAD程序生成的DSTV文件,以便更轻松地提供给CNC。



所以我的建议是使用DSTV文件,如果你能得到它们,这可能是CAD程序挂钩数控机床的。

搜索谷歌搜索CNC + DSTV
DXF file is simply text, so reading it should not be a problem. Understanding it may be more difficult as stated in first link.
https://en.wikipedia.org/wiki/AutoCAD_DXF[^]
DXF specifications[^]

When I do the same, I rather read the DSTV files generated by the CAD program to feed the CNC, much easier.

So my advice is use the DSTV files if you can get them, which is likely if the CAD program hook the CNC machines.
Search Google for CNC + DSTV


这篇关于如何从DXF文件中提取/解码数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆