CAD数据交换
CAD 数据交换包括许多将数据从一种CAD系统转换到另外一种CAD文件格式的软件技术及方法。产品生命周期管理要求 OEM 厂商之间以及他们的供应商之间要进行良好的产品开发协作。
其中主要的问题议题就是几何元素如网格、曲面以及实体造型之间的转换,以及如属性、元数据、装配结构以及特征数据的转换。
转换的方法
总地来说有三种方法可以进行 CAD 软件之间的数据转换。
- CAD 系统直接输出/输入
- 第三方的直接转换
- 采用中间的数据交换格式
内部直接格式转换
一些 CAD 系统通过简单地打开、另存选项就可以直接读写其它一些 CAD 格式。由于大部分的 CAD 文件格式都不是公开的,只有是同一个公司的产品或者是擅自破译竞争对手的文件格式才有可能采用这种方式。
外部直接格式转换
许多专注于 CAD 数据转换的公司提供将一种 CAD 数据格式转换成另外一种 CAD 系统的数据格式。这些系统有它们自己的预处理中间格式,一些系统还可以审查转换过程中的数据。其中一些可以独自工作,另外一些由于 CAD 系统的编程接口所以需要在同一机器上安装两个 CAD 的软件包以读写数据。
数据转换格式
一种常用的转换格式是使用中间格式。一个 CAD 系统输出这种格式,另外一个 CAD 则读取这种格式。 其中有一些格式是标准化组织定义的独立于 CAD 厂商的格式,另外更多的却是被当作业界标准的公司私有的格式。
示例格式
数据转换的细致程度
由于每一种 CAD 系统都有自己数学上以及结构上定义的几何形状,因此在从一种 CAD 数据格式转换到另外一种时都不可避免地会有一些信息的丢失。另外中间文件格式还受制于它们能够描述的数据格式,在不同的发送、接受系统上其解释可能会有所不同。
因此在不同的系统之间进行数据转换的时候首先要确定哪些需要进行转换。
If only the 3D model is required for the downstream process, then only the model description needs to be transferred. However, there are levels of detail. For example: is the data wireframe, surface, or solid; is the topology (BREP) information required; must the face and edge identifications be preserved on subsequent modification; must the feature information and history be preserved between systems; and is PMI annotation to be transferred.
With product models, retaining the assembly structure may be required.
If drawings need to be translated, the wireframe geometry is normally not an issue; however text, dimensions and other annotation can be an issue, particularly fonts and formats.
No matter what data is to be translated, there is also a need to preserve attributes (such as color and layer of graphical objects) and text information stored within the files.
Some translation methods are more successful than others at translating data between CAD systems.