我需要一个库和一些技巧来处理一些 DXF 文件
我需要帮助朋友自动化执行任务,并发现自己需要一些信息。 基本上,我需要处理一堆 DWG 文件,我宁愿通过编码而不是手工来完成。
所有文件包含的形状都将被输入到某种绘图仪中,但问题是线条会时不时地中断,绘图仪无法完成其工作。
我需要知道是否有任何方法可以破解图像文件以使线条连续。
我有Python、C#、C 的经验和一些其他编程语言的知识,但我对图像处理几乎一无所知。我真的很感激你们能提供的任何帮助。
提前致谢
I need to help a friend with automating a task and find myself in need of some information.
Basically there are a bunch of DWG files i need to process and i would rather do it by coding than by hand.
All the files contain are shapes that are to be fed into a kind of plotter but the problem is that the lines come out interrupted at intervals and the plotter can't do it's job.
I need to know if there are any ways to hack the image files to make the lines continuous.
I have experience in Python, C# , C and some knowledge of a sum of other programming languages but i have almost no knowledge at all about image processing. I would really appreciate any help you guys can provide.
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有几个用于读取/写入DXF/DWG文件的库,其中之一是CadLib,感觉免费试用。 开放设计联盟也有库(在 C++ 中,他们也有 .NET 包装器)。
There are a few libraries for reading/writing DXF/DWG files, one of them is CadLib, feel free to try it out. The Open Design Alliance also has libraries (in C++, they also have .NET wrappers).