如何将 3D 模型转换为 SVG 线条艺术? [英] How to convert 3D models to SVG line art?

查看:42
本文介绍了如何将 3D 模型转换为 SVG 线条艺术?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我经常使用 3D CAD 模型,我收到的是 SolidWorks 或 PDF 文件.我需要把它们变成黑色&白色线条艺术,就像您在专利申请中发现的那样.(事实上​​,完全就像您在专利申请中发现的一样!)

I often work with 3D CAD models, which I receive as SolidWorks or PDF files. I need to turn them into black & white line art, like you'd find in a patent application. (In fact, exactly like what you find in a patent application!)

Acrobat-9 允许我旋转 &缩放模型,所以我可以以合理的分辨率打印它们,但我的绘图工具链的其余部分处理 SVG 文件,而我只能从 Acrobat 中获得位图.(我也在 Blender 中从头开始制作模型,并使用那里的渲染程序制作线条图,但这也会生成位图.)

Acrobat-9 allows me to rotate & scale the models, so I can print them with reasonable resolution, but the rest of my drawing toolchain deals with SVG files, while all I can get out of Acrobat is bitmaps. (I also make models from scratch in Blender, and make line drawings using rendering procedures there, but that also produces bitmaps.)

有什么方法可以将 3D 视图转换为 SVG 图片(最好使用相对简单的贝塞尔曲线和缩放线宽)?

Is there some way to get from a 3D view to an SVG picture (preferably with relatively simple Bezier curves and scaled line weights)?

(举个例子,假设我有一个立方体的 3D 模型.我根据需要放置它,然后(以某种方式)将它转换为一个 SVG 图像,其中边缘所在的位置有几条直线,线宽根据到边缘和相机/查看器之间的距离.)

(As an example, imagine that I have a 3D model of a cube. I position it as desired, then (somehow) convert it to an SVG image with several straight lines where the edges are, with the line weights scaled according to the distance between the edge and the camera/viewer.)

推荐答案

如果您已将视图呈现为 PDF 文件,则可以使用 inkscape 用于将 PDF 转换为 SVG 的命令行工具,如这篇博文所述.

if you have rendered views as PDF files, you can use inkscape's command-line tool to convert PDF to SVG, as discussed on this post.

如果没有可用的渲染 PDF,您可以 在转换之前从 CAD 中导出 PDF 快照.

case there are no rendered PDF's available, you can export PDF snapshots from within CAD prior to converting them.

您还可以尝试为此目的制作的其他转换器,例如 verydocPDF-tron.

you can also try other converters made for this purpose, like verydoc or PDF-tron.

这篇关于如何将 3D 模型转换为 SVG 线条艺术?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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