📐 DXF 转 PDF(CAD 图纸转 PDF)DXF to PDF Converter
把 AutoCAD 等 CAD 软件导出的 DXF 图纸转换为矢量 PDF:支持直线、圆、圆弧、多段线(含圆弧段)、椭圆、样条曲线、文字、多行文字、块参照、标注、实体填充和线型,按图层颜色和线宽输出,可开关图层,选择纸张、方向、比例(适应页面或 1:100 等)和彩色/黑白/灰度打印,正确显示 GBK 等编码的中文,文件不上传。Convert DXF drawings exported from AutoCAD and other CAD programs into vector PDF. Lines, circles, arcs, polylines (with arc segments), ellipses, splines, text, multiline text, block references, dimensions, solid fills and linetypes are drawn with layer colours and lineweights. Toggle layers and choose the paper, orientation, scale (fit to page or a fixed ratio such as 1:100) and colour, black or greyscale output. Chinese text in GBK and other code pages displays correctly, and nothing is uploaded.
使用说明与常见问题How-to & FAQ
「DXF 转 PDF(CAD 图纸转 PDF)」是什么?What is the DXF to PDF Converter tool?
把 AutoCAD 等 CAD 软件导出的 DXF 图纸转换为矢量 PDF:支持直线、圆、圆弧、多段线(含圆弧段)、椭圆、样条曲线、文字、多行文字、块参照、标注、实体填充和线型,按图层颜色和线宽输出,可开关图层,选择纸张、方向、比例(适应页面或 1:100 等)和彩色/黑白/灰度打印,正确显示 GBK 等编码的中文,文件不上传。Convert DXF drawings exported from AutoCAD and other CAD programs into vector PDF. Lines, circles, arcs, polylines (with arc segments), ellipses, splines, text, multiline text, block references, dimensions, solid fills and linetypes are drawn with layer colours and lineweights. Toggle layers and choose the paper, orientation, scale (fit to page or a fixed ratio such as 1:100) and colour, black or greyscale output. Chinese text in GBK and other code pages displays correctly, and nothing is uploaded.
如何使用「DXF 转 PDF(CAD 图纸转 PDF)」?How do I use the DXF to PDF Converter tool?
在「DXF 转 PDF(CAD 图纸转 PDF)」中,选择或拖入文件,按需设置「纸张」、「方向」、「比例」、「绘图单位」、「页边距 (mm)」等选项,然后点击「全选」、「全不选」按钮即可。In the DXF to PDF Converter: Choose or drop your files, set "Paper", "Orientation", "Scale", "Drawing units", "Margin (mm)", then click "All", "None".
支持哪些 DXF 内容?Which DXF content is supported?
支持 ASCII(文本)格式的 DXF,从 R12 到 AutoCAD 2018 各版本。可绘制:直线、圆、圆弧、轻量多段线和旧式多段线(含圆弧段和全局宽度)、椭圆和椭圆弧、样条曲线、单行文字、多行文字(自动换行、去除格式代码)、块参照(含嵌套、缩放、旋转、阵列和属性)、标注(使用图中保存的标注块)、引线、实体填充(SOLID 和实心 HATCH)和点。三维网格、图像、OLE 对象和外部参照不会绘制,完成时会列出未绘制的对象类型和数量。ASCII (text) DXF from R12 up to AutoCAD 2018. It draws lines, circles, arcs, lightweight and old-style polylines (with arc segments and global width), ellipses and elliptical arcs, splines, single-line text, multiline text (wrapped, with formatting codes removed), block references (nested, scaled, rotated, arrays and attributes), dimensions (using the dimension blocks stored in the file), leaders, solid fills (SOLID and solid HATCH) and points. 3D meshes, images, OLE objects and external references aren't drawn; the result lists which object types were skipped and how many.
DWG 文件可以转换吗?Can I convert DWG files?
不能直接转换。DWG 是 Autodesk 的私有二进制格式,请先在 AutoCAD、中望 CAD、浩辰 CAD、LibreCAD 或免费的 ODA File Converter 中“另存为 DXF”(选择 ASCII 格式),再用本工具转换。二进制 DXF 同样需要另存为 ASCII DXF。Not directly. DWG is Autodesk's proprietary binary format: use Save As DXF (ASCII) in AutoCAD, ZWCAD, GstarCAD, LibreCAD or the free ODA File Converter first, then convert the DXF here. Binary DXF files also need to be saved as ASCII DXF.
怎样按比例打印,例如 1:100?How do I print at a fixed scale such as 1:100?
在“比例”中选择 1:100 等,工具会根据图纸记录的绘图单位($INSUNITS,如毫米、米)计算实际尺寸;旧文件没有记录单位时,请在“绘图单位”中手动选择。若按该比例图形放不进所选纸张,会提示实际尺寸,请换更大的纸张(最大 A0)或选“按图形大小”让页面随图形变大。选“适应页面”时,会显示大约的比例。Pick 1:100 or another ratio under Scale. The real size is worked out from the drawing units recorded in the file ($INSUNITS, such as millimetres or metres); for older files without units, choose them under Drawing units. If the drawing doesn't fit the paper at that scale you'll see its real size — choose larger paper (up to A0) or Fit to drawing so the page grows with the drawing. With Fit to page the approximate scale is shown.
颜色、线宽和图层是怎么处理的?How are colours, lineweights and layers handled?
颜色按 AutoCAD 索引色(ACI)、真彩色和“随层 / 随块”规则确定;白色(7 号色)在白纸上输出为黑色。勾选“使用图纸中的线宽”时,按对象或图层的线宽输出,未设置线宽的对象使用“默认线宽”。虚线、点划线等线型按 LTSCALE 缩放。关闭或冻结的图层默认不输出,可以在图层列表中勾选显示;需要打印给施工或审图时,可选“全部黑色”或“灰度”。Colours follow AutoCAD Color Index (ACI), true colour and ByLayer/ByBlock rules; white (colour 7) prints as black on white paper. With Use lineweights from the drawing, object or layer lineweights are used and anything without one gets the Default lineweight. Dashed, centre and other linetypes are scaled by LTSCALE. Layers that are off or frozen are left out by default — tick them in the layer list to include them. For construction or review prints, choose All black or Greyscale.
中文文字显示成乱码或问号怎么办?What if Chinese text appears garbled or as question marks?
工具会按文件头的代码页(如 ANSI_936 即 GBK、ANSI_950 即 Big5)解码旧版 DXF,AutoCAD 2007 及以后的 DXF 按 UTF-8 解码,\U+4E2D 这类转义也会还原,PDF 中自动嵌入思源黑体。图纸里使用 SHX 大字体的文字会用思源黑体代替,字形与 CAD 中略有不同,但内容和位置一致。Older DXF files are decoded with the code page in the header (ANSI_936 is GBK, ANSI_950 is Big5), DXF files from AutoCAD 2007 onwards as UTF-8, and \U+4E2D-style escapes are restored; Noto Sans CJK is embedded in the PDF. Text that uses SHX big fonts in the drawing is shown in Noto Sans CJK, so the letter shapes differ slightly from CAD but the content and position are the same.
图纸会上传吗?Is my drawing uploaded?
不会。DXF 在你的浏览器里解析,PDF 也在本地生成,图纸不会离开你的设备。No. The DXF is parsed in your browser and the PDF is created locally; the drawing never leaves your device.
「DXF 转 PDF(CAD 图纸转 PDF)」免费吗?需要注册吗?Is the DXF to PDF Converter free? Do I need an account?
「DXF 转 PDF(CAD 图纸转 PDF)」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The DXF to PDF Converter is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.