AutoCAD (.dwg, .dxf) 导入/导出
可以储存 2D 与 3D 几何图形的一种常用文件格式,是一些 CAD 软体 的原生文件格式,AutoCAD 是其中之一。
导入
To open, import, insert, and attach a file as a worksession
-
From the File menu, click Open, Insert, Import, or Worksession > Attach.
- In the dialog box, select a supported file type.
- Click
When you open a non-3dm file and save the model, its filename will be the default 3dm filename.
and configure the settings.
DWG/DXF 导入选项
导入未引用的图层
导入空白的图层。
导入未引用的图块
导入未使用的图块定义。
导入未引用的线型
导入未使用的线型定义。
宽聚合线转换为曲面
忽略宽度
面域转换为曲线
网格精确度
自动
如果从 DWG/DXF 导入的网格太大或距离原点太远时,以单精度导入网格会造成某些问题,Rhino 会改以双精度导入网格。
双精度
单精度
模型单位
图纸单位
将图层颜色设为图层材质
将各个图层的图层颜色作为材质颜色并将材质赋予给对应的图层。
Always use these settings. Do not show this dialog again.
Saves the current settings and turns off the dialog display.
To turn the message back on
See also: ResetMessageBoxes command.
指令行选项
详细输出信息 (是/否)
设置为是时,指令行中显示由 Check 指令报告的损坏物件的信息。损坏物件不会导入。建议关闭此选项,除非您有必要将其打开。
导入的注意事项
- Rhino 支持读取的最新 DWG 格式是 AutoCAD 2018。
- 多重面网格与 3D 面导入为网格物件,不会转换为 NURBS。
- 宽聚合线导入为曲面,宽度小于 Rhino 的公差设定时会导入为多重直线,射线、面域与 OLE 物件无法导入。
- 线宽设定的依图层与依物件导入为以图层与以物件。
- 图块属性导入为文字。
- 未包含在图块中的属性定义将被跳过。
- 剖面线导入到 Rhino 后的位置可能会不一样,因为 Rhino 不支持变更原点。
- 关闭与冻结的图层导入为关闭的图层。
- Rhino 可以导入 AutoCAD 的外部参考 (XREF),导入的外部参考会成为 Rhino 的图块。
- 如果图块定义位于 AutoCAD 的图层 0,它的属性会设为以父物件。
- AutoCAD 的尺寸标注型式的缩放比会导入为 Rhino 的尺寸标注型式里的模型空间缩放比。
- 图片会导入 Rhino 为图片物件。
-
当 Rhino 工作视窗背景颜色的值 (亮度) 为128或更大时,AutoCAD 颜色索引 (ACI) 7 被导入为黑色。否则,它会导入为白色。
ACI 7 is a special color in AutoCAD. It displays as black when the viewport background is light, and as white when the viewport background is dark. Rhino does not have such feature.
- AutoCAD xData is imported as Attribute User Text.
- The Open command disables Layout space scaling when DWG/DXF files are opened in Rhino.
- Gradient patterns are imported as gradient hatches.
- AutoCAD Base location is imported as Rhino Model Base Point.
- UserArrow settings can be imported.
- Objects can be copied and pasted between Rhino and AutoCAD.
- Named UCS in AutoCAD import into Rhino as Named CPlane.
-
Dynamic block definitions in AutoCAD import as unused static block definitions in Rhino. All variants of a dynamic block import as separate block definitions. Variant type names are used as block definitions names if possible. To change block instances to reference a different block definition, use the ReplaceBlock command.
导出
To save as or export a Rhino model
- On the File menu, click Export Selected or Save As.
- In the dialog box, the Files of type list displays the currently supported file types for export.
- In the Files of type box, select the supported file type.
- In the File name box, select or type a file name.
- Specify what is to be saved.
- If the export can be configured, click the button to specify export settings.
- Mesh file types export NURBS surfaces as meshes either with the specified meshing options, or the document render mesh settings.
Options (For Rhino 3DM only) | |
---|---|
Save small |
Though clearing the render meshes makes the file smaller, it will shade and render more slowly the next time you open the file. |
Save geometry only |
Saves geometry objects only. No layers, materials, properties, notes, or units settings are saved. This is similar to exporting the objects. A new file is made, but it does not become your active Rhino model. |
Save textures |
Embeds external textures used by materials, environments and decals into the model. |
Save plugin data | Saves data attached to objects or the document by plug-in applications. |
DWG/DXF 导出选项
导出配置
选择要使用的导出配置。
Default
2007 Lines
2007 Natural
2007 Polylines
2007 Solids
2010 Lines
2010 Natural
2010 Polylines
2010 Solids
2013 Lines
2013 Natural
2013 Polylines
2013 Solids
2018 Lines
2018 Natural
2018 Polylines
2018 Solids
CAM Imperial
CAM Metric
R12 Lines & Arcs
R12 Natural
Always use these settings. Do not show this dialog again.
Saves the current settings and turns off the dialog display.
To turn the message back on
See also: ResetMessageBoxes command.
编辑配置
打开AutoCAD 导出配置对话框。
使用外部配置文件导出 DWG/DXF
要确保公司中的所有 Rhino 用户使用相同的配置设置导出 dwg/dxf 文件,请使用可编辑脚本的导出指令:-Export
准备配置文件
- 使用 AcadSchemes 指令创建自定义配置文件。
- 点击 Acad 导出配置文件 (*.ini)。 保存一个
- 在纯文本编辑器中打开 ini 文件,例如 Windows 记事本。
- 将 CurrentOption=n 更改为 CurrentOption=y.
- 保存文件。
使用配置文件导出
- 执行 -Export 指令。
- 输入文件名称,例如,my.dwg 或 my.dxf.
可以包含文件的完整路径。 - 当出现以配置...写入文件提示时,选择 FromIni 选项。
- 浏览并选择配置文件或者输入文件的完整路径。
- 继续操作以完成 dwg/dxf 文件的导出。
导出注意事项
- 图纸配置的名称使用 AutoCAD 不支持的字节时会以底线取代。
- 如果您导出 Rhino 的 NURBS 曲面时设置了曲面导出为实体,AutoCAD 就可以识别 NURBS 几何图形,在 AutoCAD 中这些物件将被表示为实体或曲面。
- 图像物件导出为 AutoCAD 图片。
图像物件使用的图片需要随 DWG/DXF 文件一起移动。而且您需要在 AutoCAD 中重新定位图像。 - AutoCAD 不像 CAD 应用程序那样支持单位系统。当在 AutoCAD 中插入图块时,Rhino 和大多数 non-Autodesk 应用程序使用名为 "INSUNITS" 的变量来控制单位系统转换。Rhino 根据 Rhino 单位系统对该变量进行设置,1 代表英寸,4 代表毫米等。更多信息...
- 用户属性文本导出为 AutoCAD xData。
- 渐变剖面线导出为渐变图案。
- Rhino 模型基准点导出为 AutoCAD 基准位置。
- Named CPlane in Rhino is exported as Named UCS in AutoCAD.
- Enable AcadExportSelectUnexportableObjects in Advanced settings to highlight objects skipped by DWG/DXF exporter.
导入与导出的注意事项
- 图块定义与引例可以导入与导出。
- 图纸空间导入为图纸配置。
- 图层名称、颜色可以导入与导出。
- NURBS 物件可以使用 IGES 格式与 AutoCAD 做文件交换。
- ACIS SAT 文件可以将实体物件导出给 AutoCAD 2000 或以上的版本,AutoCAD 2000 的 ACIS 物件可以导入。
- 物件属性的 ByBlock 与 ByLayer 导入 Rhino 会转换为以父物件与以图层。
- AutoCAD 图块的属性可以导入 Rhino 为附加至物件的文字资讯,物件的文字资讯可以使用 GetUserText 与 SetUserText 指令存取。
-
细分物件根据曲面导出设置导出为多重曲面、网格或曲线。
-
文本字段作为纯文本导出到 DWG/DXF 文件。
-
Named CPlanes in Rhino and Named UCS in AutoCAD are exchangeable.
请参考

AcadSchemes
Edit AutoCAD export schemes.