[c#]将.dwg(autocad)转换为g代码的代码 [英] [c#] code for converting .dwg (autocad) to g-code

查看:2102
本文介绍了[c#]将.dwg(autocad)转换为g代码的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪里可以找到代码样本,以便将.dwg或.dxf(来自autocad)的软件更改为CNC铣床的g代码。

Where can i find sample of code to make a software who changes .dwg or .dxf (from autocad) to g-code for CNC milling machine.

推荐答案

原则上没有转换。第一个文件是AutoCAD或其他CAD的输出,即CAD文件。第二个是CAM文件,描述了技术过程。我是否甚至必须解释为什么不能仅仅因为缺乏信息而被转换为第二个?



AutoCAD文件本质上就是技术画画。在某种程度上,它甚至不是一个真正的CAD文件,它只是显示技术图纸线条所在的文件。 CAM文件基本上显示了仪器如何以什么顺序移动,以及制造过程中每个步骤的速度。这是很多额外的信息。



当然,有大量的软件可以帮助创建g代码并可能导入AutoCAD文件。您可以执行搜索并找出您需要的内容。



-SA
There is no "conversion" in principle. First file is the output of AutoCAD or other CAD, a CAD file. The second one is the CAM file, describing technological process. Do I even have to explain why one cannot be just "converted" into the second, because of the lack of information?

AutoCAD file is, essentially, just the technical drawing. In a way, it isn't even a "real" CAD file, it's just the file showing where the lines of the technical drawing are. The CAM file essentially shows how the instrument moves, in what sequence, which what speed on every step of the manufacturing process. This is a lot of additional information.

Of course, there is a good amount of software assisting creation of g-code and possibly importing AutoCAD files. You can perform the search and find out what do you need.

—SA


这篇关于[c#]将.dwg(autocad)转换为g代码的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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