svg 2 dxf转换 [英] svg 2 dxf conversion

查看:197
本文介绍了svg 2 dxf转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道在哪里可以找到将svg转换为dxf的可靠工具/库. 只要dxf输出是svg的精确副本,也可以在两种格式之间进行转换. 因此,这意味着要转换路径(尤其是贝塞尔曲线和弧线).我已经在inkscape中查看了svg2dxf导出,但这是偷工减料(实际上是因为它在一些弯曲的端点之间绘制了直线). 因为我最熟悉这些语言,所以在Java,Perl或python中最好使用一个库.我也愿意花少量钱购买商业产品.我已经进行了一些谷歌搜索,但奇怪的是,大多数参赛作品都超过了5岁. 我也对dxf的规范更具可读性感兴趣,因为在autocad网站上发布的规范不是很冗长.

致以诚挚的问候, 爽快.

解决方案

Stani的DXF库蜡染,您可以将两者结合在一起.

I would like to know where I can find a reliable tool/library for conversion of svg to dxf. In between formats are also allowed as long as the dxf output is an exact replica of the svg. So that means conversion of the paths (and in particular bezier curves and arcs). I've looked at the svg2dxf export in inkscape but that's cutting corners (literally as that it draws straight lines between some curved endpoints). A library should be preferable in java, perl or python as I'm most familiar with these languages. I also would be willing to spend a small amount for a commercial product. I've done some googling but strange enough the majority of entries are over 5 years old. I'm also interested in a more readable specification of the dxf as the one published on the autocad website is not very verbose.

kind regards, jeroen.

解决方案

There is Stani's DXF library and batik you could join this two together.

这篇关于svg 2 dxf转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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