JPH0616288B2 - How to convert shape data - Google Patents
How to convert shape dataInfo
- Publication number
- JPH0616288B2 JPH0616288B2 JP1-500813A JP50081389A JPH0616288B2 JP H0616288 B2 JPH0616288 B2 JP H0616288B2 JP 50081389 A JP50081389 A JP 50081389A JP H0616288 B2 JPH0616288 B2 JP H0616288B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- group
- graphic
- record
- records
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Processing Or Creating Images (AREA)
Description
【発明の詳細な説明】
技術分野
本発明は、ある処理方式の図形作成システムで作成した
図面或いは製品データを他の異なった処理方式の図形作
成システムで利用するために、中間ファイルを用いて該
図面或いは製品データを後者の図形作成システムのデー
タ処理フォーマットに変換するデータ変換の方法に関す
る。Description: TECHNICAL FIELD The present invention relates to a data conversion method for converting drawing or product data created in a graphic creation system of a certain processing method into the data processing format of another graphic creation system of a different processing method using an intermediate file, in order to use the drawing or product data in the latter system.
背景技術
従来よりパーソナルコンピュータの発達がもたらすCA
D/CAMシステムやコンピュータ通信の普及に伴い、
異なったデータ処理方式の図形データ処理システム(C
AD/CAM)の間でデータを交換するニーズが高まっ
ている。図形データ処理システムの処理方式は多様であ
り、データ交換を広く促進するためには、データ変換の
効率を高くしなければならない。Background Art CA brought about by the development of personal computers
With the spread of D/CAM systems and computer communications,
Graphic data processing system with different data processing methods (C
There is an increasing need to exchange data between graphic data processing systems (AD/CAM). The processing methods of graphic data processing systems are diverse, and in order to widely promote data exchange, the efficiency of data conversion must be increased.
従来の図形データの変換方法では、変換すべき両者のフ
ォーマットの間に中間のフォーマットを設定し、これで
書かれる中間ファイルを経由して間接に行う方法が一般
である。In conventional methods of converting graphic data, an intermediate format is generally set between the two formats to be converted, and the conversion is carried out indirectly via an intermediate file written in this format.
この変換方法には、米国のANSI規格が定めているIGES(I
nitial Graphics Exchange Specification)の中間ファ
イルを用いる方法およびその他の中間ファイルを用いる
方法がある。IGESのファイルフォーマットは、システム
ファイルとしての柔軟性を優先して設計されているた
め、CAD/CAMデータとしての、一連のつながりが
あるレコードやデータの並びが、各セクション毎に分断
される形式となっている。つまり、CAD/CAMデー
タとしての、一連のつながりはポインターを介してしか
表現できない。従って、コンバータの作成にあたって、
読み込み側では、一連の意味あるレコードやデータの並
びを、わざわざ意味のない並びにポインターつきで分解
しなくてはならない。このため、書き込み側では、ポイ
ンターの分析をした上で、一連のレコードやデータの並
びのもつ意味を改めて解釈してからでないと変換できな
い。これは、CAD/CAMデータのレコードやデータ
の並びの持つ意味が単純な場合には格別に問題とはなら
ないであろうが、それが複雑に階層化している場合には
大きな問題となり、正確な変換は極めて困難なものとな
る。しかも、単純な場合においてすら中間ファイルの記
述が冗長になり、ポインターが非常に多くなるので処理
効率も極めて悪い。加えて、このIGESファイルにはCA
D/CAM図形データとして必須なあらゆる要素を網羅
していないとか、その形式や規則の定義があいまいで誤
った解釈を招きやすいといった問題がある。This conversion method includes IGES (International Geometry Standards for Graphics Engineering) defined by the American ANSI standard.
There are two ways to convert CAD/CAM data: to use an intermediate file of the IGES (Initial Graphics Exchange Specification), or to use other intermediate files. The IGES file format was designed with flexibility as a system file as a priority, so the records and data sequences that are connected in a series as CAD/CAM data are divided into sections. In other words, the series of connections as CAD/CAM data can only be expressed via pointers. Therefore, when creating a converter,
On the reading side, a series of meaningful records and data sequences must be broken down into meaningless sequences with pointers. For this reason, on the writing side, conversion is not possible without first analyzing the pointers and reinterpreting the meaning of the series of records and data sequences. This is not a particular problem when the meaning of the records and data sequences in CAD/CAM data is simple, but it becomes a major problem when they are complexly hierarchical, making accurate conversion extremely difficult. Moreover, even in simple cases, the intermediate file description becomes redundant and there are a large number of pointers, making processing efficiency extremely poor. In addition, this IGES file contains CAD
There are problems such as the fact that it does not cover all the elements essential for D/CAM graphic data, and that the definitions of the formats and rules are vague, which can easily lead to misinterpretation.
一般に、異種CAD/CAMシステム間のデータ変換の
ために、IGESファイルを経由したトランスレータを作成
することが標準になっているが、実際には前述の理由に
より、トランスレータの機能や品質が大きくばらつく。
このため、IGESは異種CAD/CAMシステム間に共通
で唯一の中間ファイルとはなりえず、形式的な標準とな
っている。むしろ、それぞれの変換目的に合わせて変換
機能を絞った上で、中間ファイルを個別に設定し、トラ
ンスレータを作成することが多い。Generally, the standard practice for converting data between different CAD/CAM systems is to create a translator via an IGES file, but in reality, for the reasons mentioned above, the functionality and quality of translators vary greatly.
For this reason, IGES cannot be a single, common intermediate file between different CAD/CAM systems, but is merely a formal standard. Rather, translators are often created by narrowing down the conversion functions to suit each conversion purpose and setting up individual intermediate files.
従来の変換方法では、いずれにしても、中間ファイルの
記述に関する形式と規則の汎用性、柔軟性が低く、単純
明解でもない為、完全なトランスレータの作成が極めて
困難である。その結果、変換できる範囲が限られたり、
変換の対象となる異種処理システムが増える程、変換の
バラエティが幾何級数的に増大する。あるいは、図形群
とその属性とを関連づけたデータ群を、自動設計・資材
見積・製作設計などの一連のCAD/CAMアプリケー
ションと汎用のCAD/CAMシステムとの間で自由自
在に交換できないという問題がある。In any case, with conventional conversion methods, the formats and rules for describing intermediate files are not very versatile or flexible, and are not simple and clear, making it extremely difficult to create a perfect translator. As a result, the scope of conversion is limited,
The more heterogeneous processing systems that need to be converted, the greater the variety of conversions that must be performed. Another problem is that data sets that associate shapes with their attributes cannot be freely exchanged between a series of CAD/CAM applications, such as those for automatic design, material estimation, and production design, and general-purpose CAD/CAM systems.
本発明は汎用性、柔軟性が高く、単純明解でしかも図形
群とその属性との関連も含めた自由自在な図形データを
変換方法を提供することを目的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide a method for converting graphic data that is versatile, flexible, simple, clear, and allows free and flexible conversion of graphic data including the relationship between a group of graphics and their attributes.
発明の開示
上記目的を達成するための本発明は、第1の図形データ
処理システムによって作成した図面或いは製品の第1フ
ォーマットの図形データ群を、第2の図形データ処理シ
ステムの、第1フォーマットとは異なる第2フォーマッ
トの図形データ群に変換するデータ変換方法において、
第1フォーマットの図形データ群のそれぞれのデータが
示す前記図面或いは製品上の意味に従い、前記図形デー
タ群を基本図形要素、寸法線要素及びテキスト要素に分
類してこれらを表す基本要素レコード群に変換し、該基
本要素レコード群を、前記図面或いは製品、前記図面或
いは製品を構成する要素図群、該要素図を構成する一般
複合図形及び該要素図を構成するために予め定義される
登録複合図形に分類してこれらを表す編集区分レコード
と、前記登録複合図形を各要素図上に編集するための図
形挿入、前記登録複合図形・前記一般複合図形・基本図
形要素に属性を与えるための属性付与、並びに属性値、
寸法値および注記の内容を図面上に編集するためのテキ
スト挿入を表す編集レコードとを適宜挿入しながら変換
し、変換した各データを中間ファイルに貯えた後に、該
中間ファイルのデータを、第2フォーマットの図面或い
は製品データ群に変換する図形データの変換方法であ
る。DISCLOSURE OF THE INVENTION In order to achieve the above object, the present invention provides a data conversion method for converting a group of graphic data in a first format of a drawing or a product created by a first graphic data processing system into a group of graphic data in a second format different from the first format, the method comprising:
classifying the graphic data group in the first format into basic graphic elements, dimension line elements and text elements according to the meaning of each data of the graphic data group on the drawing or product, and converting the group into basic element records representing these; classifying the basic element records into the drawing or product, element drawings constituting the drawing or product, general composite figures constituting the element drawings, and registered composite figures predefined for constituting the element drawings, and editing division records representing these; graphic insertion for editing the registered composite figures on each element drawing; attribute assignment for assigning attributes to the registered composite figures, the general composite figures and basic graphic elements; and attribute values.
This is a method for converting graphic data, in which editing records representing text insertion for editing dimension values and note contents on a drawing are inserted as appropriate, the converted data is stored in an intermediate file, and then the data in the intermediate file is converted into a drawing or product data group in a second format.
部品や製品の仕様と図形との関連を記述するのに必要な
図形データの表現は各システム、各人あるいは各分野で
異なるものの、本質的な構成要素とその構造は共通であ
り、異なるようにみえるのはその組み合わせの多様さに
起因している。中間ファイルの記述形式とその規則は、
図面の最小構成要素を表現するのに必要にして、かつ十
分なる基本要素レコード群、並びに該基本要素レコード
群を該図面の表現と構造に応じて自由に区分し、編集
し、その構造を分かりやすく表現するために該基本要素
レコード群に適宜挿入される、必要にしてかつ十分なる
編集区分レコード群および編集レコード群から構成され
るので、様々な図形データ処理システムの様々な図面を
柔軟に記述することができる。データが階層化していた
り、属性が付随している場合でも、自由に記述が可能で
ある。特に、自動設計、資材見積、製作設計といったバ
ッチ型の業務専用のアプリケーションのデータは、もと
もと一連の意味ある形式と規則をもった図形データ群
と、それらに付随する属性データ群とからなるので、こ
の中間ファイルの形に変換できる。つまり、どんなタイ
プの図形データ処理システムのデータであれ、中間ファ
イルへの変換が可能となる。Although the representation of the graphic data required to describe the relationship between the specifications of parts and products and the graphics differs depending on the system, person, or field, the essential components and their structure are common, and the differences appear to be due to the variety of combinations. The description format of the intermediate file and its rules are as follows:
The intermediate file format is composed of basic element records necessary and sufficient to represent the smallest structural elements of a drawing, as well as necessary and sufficient edit division records and edit records that are inserted into the basic element records as needed to freely divide and edit the basic element records according to the drawing's expression and structure, and to clearly represent the drawing's structure. This allows for flexible description of various drawings from various graphic data processing systems. Even hierarchical data and attribute-attached data are freely configurable. In particular, data from batch-type applications such as automated design, material estimating, and production design, which originally consist of graphic data with a set of meaningful formats and rules and associated attribute data, can be converted into this intermediate file format. In other words, data from any type of graphic data processing system can be converted into an intermediate file.
また、これらを言い換えると、中間ファイルに貯える図
面データは、変換元図面を構成するデータ群を、基本図
形要素、寸法線要素及びテキスト要素に分類した基本要
素レコード群に、該基本要素レコード群のそれぞれが持
つ図面上の意味あいにそって、図面、要素図、一般複合
図形及び登録複合図形に分類した編集区分レコード、な
らびに、登録複合図形を図面上に配置するための図面挿
入、属性付与、並びに属性値、寸法値及び注記を図面上
に配置するためのテキスト挿入をそれぞれ表す編集レコ
ードを適宜、挿入することで、要素化、構造化して変換
されるので、人はこれらのレコードの羅列を読むだけ
で、図面データの明細とその構成を容易に理解できる。
すなわち、中間ファイルのデータは図面の詳細仕様書と
もいえる解釈の容易な表現と構造をもつ。In other words, the drawing data stored in the intermediate file is converted into elements and structures by appropriately inserting edit classification records into which the data groups constituting the source drawing are classified into basic element records, which are classified into basic graphic elements, dimension line elements and text elements, and edit records representing drawing insertion, attribute assignment for placing registered composite figures on the drawing, and text insertion for placing attribute values, dimension values and notes on the drawing, into the basic element records, which are classified into basic graphic elements, dimension line elements and text elements according to the meaning of the drawings that each of the basic element records has, and so a person can easily understand the details and composition of the drawing data just by reading the list of these records.
In other words, the data in the intermediate file has an easily interpretable expression and structure that can be considered a detailed specification of the drawing.
このように、中間ファイルの記述形式とその規則に汎用
性、柔軟性に加えて、単純明解さがあるので、変換元シ
ステムの図面を中間ファイルへ変換する際の要領は特別
な困難を伴うことがないばかりか、変換相手先システム
のそれへ変換する際にも、中間ファイルの内容を改めて
解釈しなおす煩雑さがなくなる。これにより、トランス
レータの機能や品質を高めることが容易になると同時
に、ポインターも使わなくて済むので、変換効率も大幅
に向上する。本発明では、上述のように、中間ファイル
の記述形式とその規則に汎用性、柔軟性及び単純明解性
があるので、各種図形データ処理システムに共通に、こ
の中間ファイルを介してトランスレータを作成すること
が可能となり、各システムにつき一組の双方向トランス
レータを作成するだけで、各種図形データ処理システム
の間で自由にデータ変換が行えるようになるため、デー
タ変換の自由度及び効率が飛躍的に高くなる。その結
果、業務専用の図形データ処理アプリケーションシステ
ムのデータは汎用の図形データ処理システムから独立し
て保つことも可能となる。As described above, the intermediate file description format and its rules are versatile, flexible, and simple and clear. This not only simplifies the process of converting drawings from a source system into an intermediate file, but also eliminates the need for complex reinterpretation of the intermediate file contents when converting to a destination system. This facilitates improving the functionality and quality of the translator, while also eliminating the need for pointers, significantly improving conversion efficiency. In this invention, the versatile, flexible, and clear intermediate file description format and its rules make it possible to create a translator common to various graphic data processing systems via this intermediate file. By simply creating one bidirectional translator for each system, data conversion can be freely performed between various graphic data processing systems, dramatically increasing the flexibility and efficiency of data conversion. As a result, data from business-specific graphic data processing application systems can be kept independent of general-purpose graphic data processing systems.
図面の簡単な説明
第1図は本発明の1実施例である図面データの変換方法
において中間ファイルに形成する図面データの内容を模
式的に示す平面図、第2図は中間ファイルに形成する図
面データの内容・構成を具体的に示すためのサンプル図
面、第3図はそのサンプル図面に関する登録複合図形、
第4図は本発明の1実施例の図面データ変換に関して示
すブロック図、第5図は本発明の変換方法を用いて、I
BM社のCADAMとAUTODESK社のAUTOC
AD間の双方向のデータ変換を実施したときのシステム
構成を示すブロック図、第6図は中間ファイルを介して
各汎用CAD/CAMシステムと各業務アプリケーショ
ンとの間で相互に図面データや3次元の製品や部品の意
味ありデータを変換し、またその逆の変換を行うシステ
ム構成の例を示す図、第7図は3次元の製品・部品の図
形データを中間ファイルに書き込むフローチャート、第
8図は3次元の中間ファイルに書き込まれたデータを他
のシステムに書き出すためのフローチャートである。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a plan view showing the contents of drawing data formed in an intermediate file in a drawing data conversion method according to one embodiment of the present invention; FIG. 2 is a sample drawing showing the contents and structure of the drawing data formed in the intermediate file; FIG. 3 is a registered composite figure relating to the sample drawing;
FIG. 4 is a block diagram showing the drawing data conversion of one embodiment of the present invention, and FIG. 5 shows the conversion method of the present invention.
BM's CADAM and AUTODESK's AUTOC
FIG. 6 is a block diagram showing the system configuration when two-way data conversion between AD is performed, FIG. 7 is a diagram showing an example of a system configuration for converting drawing data and meaningful data of three-dimensional products and parts between each general-purpose CAD/CAM system and each business application via intermediate files, and for performing the reverse conversion, FIG. 8 is a flowchart for writing three-dimensional product and part graphic data into an intermediate file, and FIG. 9 is a flowchart for writing data written in a three-dimensional intermediate file to another system.
発明を実施するための最良の形態
中間ファイルに形成するデータは、CAD/CAMシス
テム個々の機能にとらわれることなく、図面の内容を記
述するのに本来必要でかつ十分な最小単位の要素レコー
ドで構成し、かつそれらを構造化して表現した。Best Mode for Carrying Out the Invention The data formed in the intermediate file is composed of element records, which are the smallest units essentially necessary and sufficient to describe the contents of the drawing, without being bound by the individual functions of the CAD/CAM system, and these are expressed in a structured manner.
すなわち、基本要素レコード、編集区分レコードおよび
標準レコードで構成した。これらの要素レコード群は、
各要素に関連するデータ群の量に応じて各々一行又は連
続する複数行のレコードで構成される。That is, it is composed of basic element records, edit division records, and standard records. These element record groups are:
Each element consists of a single record or multiple consecutive records depending on the amount of data related to each element.
基本要素レコードは、第1表に示すように、基本図形要
素、寸法線要素、テキスト要素のレコードでなるもので
ある。そして、これらに関連するレイヤー、カラー、線
種、線質、ライン幅、ラインスケールなどの表示制御デ
ータは、各要素レコード毎にもたせると共に、基本図形
要素レコードの内の図形データは全て関数によらない実
像で取り扱い、関数に依存する虚像で取り扱うことに起
因する変換の際のわずらわしさを避け、かつ自由度を確
保した。また、基本図形要素については、楕円、自由曲
線などの多次曲線或いは自由図形の関数によらない変換
も考慮して、ポリライン図形の頂点間の直線や円弧にふ
くらみ量(カーブフィット)データを持たせることで、
近似変換の際の精度をあげることができるようにした。As shown in Table 1, the basic element record consists of records for basic geometric elements, dimension line elements, and text elements. Display control data related to these, such as layer, color, line type, line quality, line width, and line scale, are stored in each element record. All geometric data in the basic geometric element record is handled as real images independent of functions, avoiding the hassle of conversion caused by handling virtual images dependent on functions and ensuring flexibility. Furthermore, for basic geometric elements, ellipses, free curves, and other multi-dimensional curves, as well as free curves, can be converted without using functions. By providing curve fit data for the straight lines and arcs between the vertices of polyline shapes,
It has been made possible to improve the accuracy of approximate conversion.
そして、第1表にも示すように、あらゆる形状を網羅す
るために単純な点をはじめ、任意の複数点の間を任意の
カーブフィット情報でつないだ自由なポリラインに至る
まで、必要不可欠な図形要素の各特性に応じた7つのタ
イプのレコードを用意した。更に各基本要素レコードは
各要素図形の厚み或いは高さのデータをもつようにし
て、いわゆる2.5次元の実物図形を認識できるように
した。As shown in Table 1, seven types of records are prepared according to the characteristics of essential geometric elements, from simple points to free polylines that connect any number of points with any curve fit information, in order to cover all shapes. Furthermore, each basic element record contains data on the thickness or height of each element graphic, making it possible to recognize so-called 2.5-dimensional real graphics.
寸法線要素レコードは1タイプのレコードで第1表に示
すような様々なタイプの寸法線要素図形に対応できるよ
うに設計した。The dimension line element record is designed so that one type of record can accommodate various types of dimension line element figures as shown in Table 1.
テキスト要素レコードは注記、属性値及び寸法値として
の文字列のデータをもつレコードであり、すべてフォン
トデータで認識すると共にすべて2バイト(全角)デー
タで管理するようにした。The text element record is a record having character string data as notes, attribute values, and dimension values, all of which are recognized as font data and are all managed as 2-byte (full-width) data.
編集区分レコード、編集レコードは各要素に分解された
基本要素レコード群を図面データとして意味のある形に
編集するためのレコード群である。 The edit division record and edit record are record groups for editing the basic element record groups that have been broken down into individual elements into meaningful forms as drawing data.
編集区分レコードは、第2表に示すように、図面区分、
登録複合図形区分、要素図区分、一般複合図形区分のレ
コードでなる。As shown in Table 2, the edit division record is divided into drawing division,
It consists of records for registered complex figure classification, element diagram classification, and general complex figure classification.
編集区分レコードは、区分の始まりと終わりを示すレコ
ードを持ち、これで挟まれるレコード群を、ひとくくり
のデータとして認識するためのものである。これにより
データの階層、或いは構造を分かり易く表現する。図面
は複数の登録複合図形と複数の要素図から構成する。但
し、要素図のデータのみを実際の図面データとし、各登
録複合図形は要素図群の中で繰り返される図形群である
ことを示すだけで、次に述べる図形挿入で要素図の中に
配置されるまでは実際の図面を構成しない。そして、一
般複合図形は各要素図の中でその都度定義される図形群
であることを示すものである。An edit division record has records that indicate the start and end of a division, and is used to recognize the group of records between them as a single piece of data. This makes the hierarchy or structure of the data easy to understand. A drawing is made up of multiple registered composite figures and multiple element diagrams. However, only the element diagram data is considered to be the actual drawing data, and each registered composite figure merely indicates that it is a group of figures that is repeated within the group of element diagrams; it does not constitute an actual drawing until it is placed within an element diagram by inserting a figure, as described below. And a general composite figure indicates that it is a group of figures that is defined each time within each element diagram.
次に編集レコードは第2表に示すように図形挿入、属性
付与、テキスト挿入からなる。これらは図面の編集内容
を示すもので、図形挿入は前述の如く、登録複合図形で
あらかじめ定義登録された任意の図形群を指定の要素図
の指定位置に配置するためのデータを持つ。ひとつの登
録複合図形自身の中でも、既に定義された別の登録複合
図形を自由に挿入することで、必要に応じた階層化表現
を行える。この登録複合図形と図形挿入は、データ変換
に当たって、同一図形群を繰り返す時にデータ量を圧縮
したり、一連の関係する図形群のデータ変換を効率よく
行うための手段となる。Next, the edit record consists of shape insertion, attribute assignment, and text insertion, as shown in Table 2. These indicate the edit content of the drawing, and as mentioned above, shape insertion contains data for placing any group of shapes that have been previously defined and registered as registered composite shapes at a specified position in a specified element diagram. By freely inserting other registered composite shapes that have already been defined within one registered composite shape, it is possible to create a hierarchical representation as needed. These registered composite shapes and shape insertion are a means of compressing the amount of data when the same group of shapes is repeated during data conversion, and of efficiently converting the data of a series of related groups of shapes.
一方、注記、寸法値、属性値などのデータについては、
テキスト挿入レコードの直後にテキスト要素レコードを
置くことで、任意のテキスト列群の図面上への配置状態
を表現する。属性付与レコードは、任意のレコード或い
はレコード群の直後に配すると同時に、その直後にテキ
スト要素レコードを置くことで、任意の図形群に対する
属性値を表す。尚、属性付与レコードの直後にテキスト
挿入レコードも合わせておけば、その属性値を図面上に
配置することを意味する。 On the other hand, for data such as notes, dimension values, and attribute values,
Placing a text element record immediately after a text insertion record represents the placement of any text string group on a drawing. Placing an attribute assignment record immediately after any record or record group, and placing a text element record immediately after that, represents the attribute value for any shape group. Incidentally, placing a text insertion record immediately after an attribute assignment record also means that the attribute value will be placed on the drawing.
最後に、寸法データについては、寸法線要素レコード或
いは寸法線要素レコード群、基本図形要素レコード或い
は基本図形要素レコード群、図形挿入レコード或いは図
形挿入レコード群などの直後にテキスト挿入レコード及
びテキスト要素レコード群を配し、それぞれその図形要
素及び寸法値を表現する。Finally, for dimension data, a text insertion record and a text element record group are placed immediately after a dimension line element record or a dimension line element record group, a basic graphic element record or a basic graphic element record group, a graphic insertion record or a graphic insertion record group, etc., to represent the graphic element and dimension value, respectively.
これらの基本要素レコード、編集区分レコード及び編集
レコードを使って、様々な組み合わせの図形や注記、寸
法、属性などの図形データを、図形群との関係を保ちな
がら、自由に階層化して効率良くかつ分かり易く記述で
きることになる。これにより、部品や製品のもつ図形と
その特性の関係を自由に記述できる。このように中間フ
ァイルを構成するレコードとその構造は、図面に書かれ
る内容のすべてを構造化して表現できるよう、最大限の
工夫が凝らされている。Using these basic element records, edit division records, and edit records, various combinations of figures and figure data such as notes, dimensions, and attributes can be freely hierarchically described efficiently and clearly while maintaining relationships with the figure group. This allows you to freely describe the relationships between the figures of parts and products and their characteristics. The records and their structure that make up the intermediate file have been designed to the utmost so that all content written on a drawing can be structured and expressed.
以上に説明した中間ファイルを作成するためのレコード
の構成と構造の例を第3表に示す。又、この構成と構造
を模式的に、第1図に示す。An example of the structure and composition of a record for creating the intermediate file described above is shown in Table 3. This structure and composition are also shown in a schematic form in Figure 1.
第1図に示す中間ファイルは、図面1と図面2とからな
り、各図面は各々4つの要素図により構成される。The intermediate file shown in FIG. 1 consists of drawing 1 and drawing 2, each of which is made up of four element drawings.
図面1の要素図:1aは一般複合図形11に登録複合図
形21を挿入したものである。要素図:2aは一般複合
図形12と一般複合図形13とを、要素図:3aは一般
複合図形14と一般複合図形15とを組み合わせたもの
である。要素図:4aは一般複合図形11に点線で描い
た登録複合図形21を挿入したものである。Element diagram 1a in drawing 1 shows a general composite figure 11 with a registered composite figure 21 inserted therein. Element diagram 2a shows a combination of general composite figures 12 and 13, and element diagram 3a shows a combination of general composite figures 14 and 15. Element diagram 4a shows a general composite figure 11 with a registered composite figure 21 drawn with a dotted line inserted therein.
図面2の要素図:1bは登録複合図形22を図形挿入レ
コードにより回転したものである。同様に要素図:2b
は登録複合図形23を、要素図:3bは登録複合図形2
4を回転したものである。要素図:4bは一般複合図形
16からなる。Element diagram 1b in drawing 2 is the registered composite figure 22 rotated by the figure insertion record. Similarly, element diagram 2b
is the registered complex figure 23, and element diagram: 3b is the registered complex figure 2
Element diagram: 4b is a rotated version of 4. Element diagram: 4b consists of 16 general composite figures.
次に、第2図及び第3図と第4表とを参照して中間ファ
イルを作成するためのレコードの構成と構造について詳
細に説明する。第2図は中間ファイルに形成する図面デ
ータの内容・構成を具体的に示すためのサンプル図面、
第3図はそのサンプル図面に関する3つの登録複合図形
であり、同図(a)は登録複合図形を、同図(b)は
登録複合図形を、同図(c)は登録複合図形を示す
図である。第4表は中間ファイルに納められたサンプル
図面のデータを示す表である。 Next, the composition and structure of the records for creating the intermediate file will be described in detail with reference to Figures 2, 3 and Table 4. Figure 2 shows sample drawings for specifically illustrating the contents and composition of the drawing data to be created in the intermediate file.
Figure 3 shows three registered composite figures related to the sample drawing, where (a) is a diagram of the registered composite figure, (b) is a diagram of the registered composite figure, and (c) is a diagram of the registered composite figure. Table 4 shows the data of the sample drawing stored in the intermediate file.
第4表の1行目のSDWGと67行目のEDWGとではさまれた
データは、第2図に示すサンプル図面に関するデータベ
ースの全体であり、第3図(a)(b)(c)に示す3
つの登録複合図形とVIEW:A・VIEW:B・VIEW:Cの3
つの要素図からなっている。尚、2行目・3行目等は基
本要素レコードである。 The data between SDWG on the first line and EDWG on the 67th line of Table 4 is the entire database related to the sample drawings shown in Figure 2, and is the data for the three drawings shown in Figures 3(a), (b), and (c).
Three registered composite shapes and three VIEW:A, VIEW:B, and VIEW:C
The second and third lines are basic element records.
2行目SBLOCKと9行目EBLOCKとではさまれたデータ,1
3行目SBLOCKと15行目EBLOCKとではさまれたデータ,
16行目SBLOCKと24行目EBLOCKとではさまれたデータ
は、サンプル図面に関する登録複合図形のデータ
を示す。3〜8行目のデータは、第3図(a)に示す登
録複合図形が6コの線分からなる図面枠であることを
示す。10〜12行目のデータは、この登録複合図形
の図面枠が図面の表題を表記するための属性を持ってい
ることを示し、10行目のデータはその属性の種類を、
11行目のデータは属性文字の配置データを、12行目
は具体的な属性値を示している。14行目のデータは、
第3図(b)に示す登録複合図形が1コの円であるこ
とを示し、この登録複合図形は第4表の37行目のレ
コード(INSERTレコ-ド)によって要素図B(VIEW:B)に、5
6行目のレコード(INSERTレコ-ド)によって要素図C(VIE
W:C)にそれぞれ繰り返し使用され、具体的には第2図に
示すサンプル図面の原図と回転図における円であること
を示す。17〜23行目のデータは、第3図(c)に示
す登録複合図形が6頂点からなる自由曲線であること
を示し、17行目は自由曲線の頂点数等の図形情報を、
18〜23行目までは具体的な頂点のデータを各々示し
ている。この登録複合図形は第4表の38行目のレコ
ード(INSERTレコ-ド)によって要素図B(VIEW:B)に、57
行目のレコード(INSERTレコ-ド)によって要素図C(VIEW:
C)にそれぞれ繰り返し使用され、具体的には第2図に示
すサンプル図面の原図と回転図におけるS字図形である
ことを示す。The data between the SBLOCK on the second line and the EBLOCK on the ninth line, 1
The data between SBLOCK on the 3rd line and EBLOCK on the 15th line,
The data between SBLOCK on line 16 and EBLOCK on line 24 indicates the data of the registered composite figure related to the sample drawing. The data on lines 3 to 8 indicates that the registered composite figure shown in Figure 3(a) is a drawing frame consisting of six line segments. The data on lines 10 to 12 indicates that the drawing frame of this registered composite figure has an attribute for displaying the title of the drawing, and the data on line 10 indicates the type of that attribute.
The data on the 11th line shows the layout data of the attribute characters, and the data on the 12th line shows the specific attribute values.
The registered composite figure shown in Figure 3(b) is a circle. This registered composite figure is inserted into element drawing B (VIEW:B) by the record (INSERT record) on the 37th line of Table 4.
The record on the sixth line (INSERT record) creates element diagram C (VIE
W:C), and specifically, it indicates that it is a circle in the original drawing and the rotated drawing of the sample drawing shown in Figure 2. The data on lines 17 to 23 indicate that the registered composite figure shown in Figure 3(c) is a free curve consisting of six vertices, and line 17 indicates the figure information such as the number of vertices of the free curve,
Lines 18 to 23 show specific vertex data. This registered composite figure is inserted into element drawing B (VIEW:B) by the record (INSERT record) on line 38 of Table 4.
The record in the 1st row (INSERT record) creates element diagram C (VIEW:
C), and specifically, the S-shaped figure in the original and rotated view of the sample drawing shown in Figure 2.
第4表の25行目のSVIEWと32行目のEVIEWとではさま
れたデータは、第2図に示すサンプル図面の要素図A(V
IEW:A)の図形全体を示している。要素図A(VIEW:A)に
は、第4表の26〜27行目に示されるTEXTデータ,2
8〜31行目に示される属性付きの図面枠のデータが存
在する。26行目のTEXTデータは、第2図の“VIE
W:A”の文字の位置と大きさ等のデータを具体的に示
し、27行目はその文字を示している。28行目のデー
タは、登録複合図形が要素図A(VIEW:A)に具体化され
ていることを示し、29〜31行目はその属性値が“N
SCFF:新日本製鉄(株)”であることを示してい
る。The data between "SVIEW" on the 25th line and "EVIEW" on the 32nd line of Table 4 is the element drawing A (V
The entire figure of element drawing A (VIEW:A) is shown. The TEXT data shown in the 26th and 27th lines of Table 4,
The data of the drawing frame with attributes shown in lines 8 to 31 exists. The TEXT data in line 26 is the "VIE" data in FIG.
The data on the 28th line indicates that the registered composite figure is embodied in element drawing A (VIEW:A), and the data on the 29th to 31st lines indicate that the attribute value is "N
SCFF: Nippon Steel Corporation.
第4表の33行目のSVIEWと51行目のEVIEWではさまれ
たデータは、第2図に示すサンプル図面の要素図B(VIE
W:B)の図形全体を示している。要素図B(VIEW:B)には、
第4表の34〜35行目に示されるTEXTデータ,36〜
44行目に示される属性付き一般複合図形データ,45
〜48行目に示される寸法データ,49〜50行目に示
されるTEXTデータが存在する。34〜35行目のTEXTデ
ータは、第2図の“VIEW:B”の文字の位置と大き
さ等のデータを示している。36行目のSGROUPと41行
目のEGROUPとではさまれたデータは第2図に示すサンプ
ル図面の要素図B(VIEW:B)のボール図形全体を示す一般
複合図形を示し、37行目で登録複合図形を要素図B
(VIEW:B)に具体化したデータと38行目で登録複合図形
を要素図B(VIEW:B)に具体化したデータと、39,4
0行目の2つの円弧のデータとからでなっている。42
行目はこの一般複合図形の属性の種類等の情報を、43
行目は属性文字の配置データを、44行目は具体的な属
性値が“BALL”であることを示している。実際には
第2図のサンプル図面の要素図B(VIEW:B)に“BAL
L”の文字がこの一般複合図形の属性として表記されて
いる状態を示している。45〜48行目は、サンプル図
面の寸法図形のデータを示している。45行目のデータ
は寸法図形の種類、規格、単位等のデータを示し、46
行目のデータは具体的な寸法図形データを、47行目は
その寸法値の配置データを、48行目は具体的な寸法値
を示している。49〜50行目は、第2図に示すサンプ
ル図面の要素図B(VIEW:B)の“原図”という文字のデー
タを具体的に示している。The data between SVIEW on the 33rd line and EVIEW on the 51st line of Table 4 is the element diagram B (VIE) of the sample drawing shown in Figure 2.
The entire shape of element B (VIEW:B) is shown.
The text data shown in lines 34-35 of Table 4,
General composite figure data with attributes shown on line 44, 45
There are dimension data shown on lines 34 to 35, and TEXT data shown on lines 49 to 50. The TEXT data on lines 34 to 35 indicates data such as the position and size of the characters "VIEW: B" in Figure 2. The data sandwiched between SGROUP on line 36 and EGROUP on line 41 indicates a general composite figure showing the entire ball figure of element drawing B (VIEW: B) of the sample drawing shown in Figure 2, and the data on line 37 indicates the registered composite figure in element drawing B.
The data embodied in (VIEW:B) and the data embodied in element diagram B (VIEW:B) on line 38, and the data embodied in element diagram B (VIEW:B) on line 39,4
It consists of the data of two arcs on the 0th row.
The first line contains information such as the type of attribute of this general composite figure.
The 44th line shows the layout data of the attribute character, and the 45th line shows that the specific attribute value is "BALL". In reality, "BALL" is written in element drawing B (VIEW: B) of the sample drawing in FIG.
The character "L" is written as an attribute of this general composite figure. Lines 45 to 48 show the data of the dimension figure of the sample drawing. The data on line 45 shows the type, standard, unit, etc. of the dimension figure, and the data on line 46 shows the data of the dimension figure.
The data on line 47 shows specific dimension figure data, line 48 shows the specific dimension value. Lines 49 and 50 show specific data for the character "original drawing" in element drawing B (VIEW:B) of the sample drawing shown in Figure 2.
第4表の52行目のSVIEWと66行目のEVIEWではさまれ
たデータは、第2図に示すサンプル図面の要素図C(VIE
W:C)の図形全体を示している。要素図C(VIEW:C)には、
第4表の53〜54行目に示されるTEXTデータ,55〜
63行目に示される属性付き一般複合図形データ,64
〜65行目に示されるTEXTデータが存在する。53〜5
4行目のTEXTデータは、第2図の“VIEW:C”の文
字の位置、大きさ等のデータのその文字を具体的に示し
ている。55行目のSGROUPと60行目のEGROUPとではさ
まれたデータは、第2図に示すサンプル図面の要素図C
(VIEW:C)のボール図形全体を示す一般複合図形を示し、
61〜63行目のデータは、一般複合図形に“BAL
L”という属性が付与されていることを意味しており、
実際にサンプル図面の要素図C(VIEW:C)に“BALL”
の文字が表記されている状態を示している。この一般複
合図形は、56行目で登録複合図形を要素図C(VIEW:
C)に具体化したデータと、57行目で登録複合図形を
要素図C(VIEW:C)に具体化したデータと、58と59行
目の2コの円弧のデータとからなることを示している。
64〜65行目は、サンプル図面の要素図C(VIEW:C)の
“回転図”という文字のデータを具体的に示している。The data between SVIEW on line 52 and EVIEW on line 66 of Table 4 is the element drawing C (VIE) of the sample drawing shown in Figure 2.
The whole shape of element drawing C (VIEW:C) is shown.
The text data shown in lines 53-54 of Table 4,
General composite figure data with attributes shown on line 63, 64
The text data shown in lines 53 to 65 exists.
The TEXT data on the 4th line specifically indicates the position, size, etc. of the characters of "VIEW: C" in Figure 2. The data sandwiched between SGROUP on the 55th line and EGROUP on the 60th line is the element drawing C of the sample drawing shown in Figure 2.
(VIEW:C) shows the general composite figure showing the whole ball figure,
The data on lines 61 to 63 is "BAL" for the general composite figure.
This means that the attribute "L" is given to
Actually, "BALL" is shown on element drawing C (VIEW:C) of the sample drawing.
This general composite figure is shown in the state where the registered composite figure is displayed in the element diagram C (VIEW:
The data in line 57 shows that the registered composite figure is embodied in element drawing C (VIEW:C), and the data in lines 58 and 59 shows that the registered composite figure is embodied in element drawing C (VIEW:C).
Lines 64 and 65 specifically show the data for the characters "rotated view" in element view C (VIEW:C) of the sample drawing.
尚、第4表の例えば8行目の線分のデータを示している
が、1〜10カラム目に図形の種類を、11〜140カ
ラム目までに幾何データを、141〜150カラム目に
レイヤー、151〜160カラム目に色を示すデータが
それぞれ表記される。このように、本実施例の中間ファ
イルでは一般的に図形の種類、幾何データ、レイヤー、
色を1レコードでコンパクトに表現し完結している。こ
れに対して、国際標準であるIGESでは図形の幾何デ
ータと図形のレイヤー、色等の図形属性が図形ファイル
の中でバラバラに表記されており、1図形のデータの表
現が大変複雑である。また、第4表の26〜27行目の
TEXTレコードと30〜31行目のTEXTレコードと47〜
48行目のTEXTレコードのようにレコード様式は同一で
あっても、それぞれ純粋に文字を表現したり、属性のた
めの文字であったり、寸法値のための文字であったりす
ることが可能であり、少ないレコードタイプで色々な表
現を可能としている。For example, the data of the line segment in the 8th row of Table 4 is shown, but the type of figure is written in columns 1 to 10, the geometric data in columns 11 to 140, the layer in columns 141 to 150, and the color in columns 151 to 160. In this way, the intermediate file of this embodiment generally contains the type of figure, the geometric data, the layer,
In contrast, in the international standard IGES, the geometric data of a figure, the figure layer, and figure attributes such as color are written separately in a figure file, making the representation of data for one figure extremely complex. Also, in lines 26-27 of Table 4,
TEXT record and TEXT record of lines 30-31 and 47-
Even if the record format is the same, such as the TEXT record on line 48, it is possible to represent purely characters, characters for attributes, or characters for dimension values, making it possible to express a variety of things with a small number of record types.
次に、これまでに述べた単位レコード群を任意に組み合
わせて様々なシステムの図面を解釈し中間ファイルに記
述するとともに、他方ではこれを解釈し相手側のシステ
ムの図面に変換することになる。中間ファイルの記述や
解釈の際の規則、すなわちレコードの配列規則をもう1
度まとめると次のように単純明解なものである。Next, the unit records described above are arbitrarily combined to interpret the diagrams of various systems and write them in intermediate files, and on the other hand, these are interpreted and converted into diagrams of the other system. The rules for writing and interpreting intermediate files, i.e., the record arrangement rules, are also defined.
To summarise, it is simple and clear:
CAD/CAM図面データとしての各データ群のもつ意
味の解釈に従って、編集区分レコードや編集レコードを
各基本要素レコード群の間にさしはさみながら縦に羅列
する。ひとつの登録複合図形や一般複合図形と解釈され
るレコード群は、それぞれ編集区分レコードSBLOCK/EB
LOCKやSGROUP/EGROUPで挟む。登録複合図形は冒頭でま
とめて記述するとともに、必要の都度、図形挿入レコー
ドINSERTを使って各要素図の中に自由に引用する。場合
によっては複合図形群自身の中で前に定義されている登
録複合図形の図形挿入を利用して多重引用する。According to the interpretation of the meaning of each data group as CAD/CAM drawing data, edit division records and edit records are arranged vertically between each basic element record group. Record groups that are interpreted as one registered composite figure or general composite figure are each assigned an edit division record SBLOCK/EB
The registered complex figures are enclosed in LOCK or SGROUP/EGROUP. The registered complex figures are described together at the beginning, and can be freely referenced in each element diagram using the figure insertion record INSERT whenever necessary. In some cases, multiple references can be made by using the figure insertion of a registered complex figure previously defined within the complex figure group itself.
ある種のCAD/CAMシステム(元システム)の図面
データ(以下元図面データ)を上述の中間ファイルデー
タ(以下共通データ)へ変換するときはまず、元図面デ
ータの各レコードを中間ファイルの構成方法に従い、分
類、階層化し、該レコードの各データを、前述の中間フ
ァイルのレコード仕様にあわせて、分解し或いは、組み
立てし、その結果を逐次共通データとして共通中間ファ
イルに書き込む。When converting drawing data (hereinafter referred to as original drawing data) from a certain type of CAD/CAM system (original system) into the above-mentioned intermediate file data (hereinafter referred to as common data), first, each record of the original drawing data is classified and hierarchically organized according to the construction method of the intermediate file, and each piece of data in the record is decomposed or assembled in accordance with the record specifications of the above-mentioned intermediate file, and the results are sequentially written into the common intermediate file as common data.
第4図に例示するように、この分解、組み立てに当たっ
ては、中間ファイルの各レコードを任意に組み合わせる
ことによって、元図面データの様々なレコード及びデー
タを翻訳することになる。各レコード群は、自由図形の
詳細やテキストの詳細配置など単純な翻訳では精度があ
がらない場合でも、微妙なデータ表現の違いを部分的に
調整するだけで十分な精度をもって近似できるだけのパ
ラメータを持っている。As shown in Figure 4, this decomposition and assembly translates various records and data of the original drawing data by arbitrarily combining each record in the intermediate file. Even in cases where simple translation does not improve accuracy, such as for details of free-form shapes or detailed text placement, each record group has parameters that allow for sufficient approximation accuracy by simply adjusting subtle differences in data expression.
次に、このようにして構成した中間ファイルデータ(共
通データ)を、ある種のCAD/CAMシステム(行先
システム)の図面データ(以下行先図面データ)へ変換
(逆変換)するときは、共通中間ファイルで既に分類、
階層化された共通データをその記述ルールに従って直接
解釈し、行先システムのレコードとそのデータ仕様に合
わせて、分解し或いは組み立てし、或いは調整して、そ
の結果を逐次行先システムの図面データとして書き込
む。変換の要領は、前述の共通データへの変換と同様で
ある。Next, when converting (reverse converting) the intermediate file data (common data) configured in this way into drawing data (hereinafter referred to as destination drawing data) for a certain CAD/CAM system (destination system), the data already classified and
The hierarchical common data is directly interpreted according to its description rules, and is disassembled, assembled, or adjusted according to the records and data specifications of the destination system, and the results are written sequentially as drawing data for the destination system. The conversion method is the same as the conversion to common data described above.
中間ファイルに格納した図形データ(共通データ)は、
分類、階層化されたままのレコードの並びを保っている
ので、わざわざ再度解釈しなくてもそのまま順番に各レ
コードのデータを読み、分解・組立により逐次、行先シ
ステムの図形データに変換することができる。The graphic data (common data) stored in the intermediate file is
Since the records are kept in their categorized and hierarchical order, the data of each record can be read in order without having to take the trouble of reinterpreting it, and can be converted into graphic data for the destination system one by one by disassembling and assembling.
前述した中間ファイルと各図形データ処理システムのデ
ータベースとの間の微妙な機能の差を調整するトランス
レータの個別機能の例としては、
1)自由曲線を直線補間あるいは円弧補間する。Examples of individual functions of the translator that adjust subtle differences in function between the intermediate file and the database of each graphic data processing system are: 1) Linear or circular interpolation of free curves.
2)寸法線、テキストを特定のレイヤーに格納する。2) Store dimension lines and text in specific layers.
3)線種ごとにレイヤー、カラーを特定する。3) Specify the layer and color for each line type.
4)属性が付加される基本要素レコードを制限する。4) Restrict the base element records to which the attribute is attached.
など様々な機能が考えられる。これらの機能調整プログ
ラムは各単一機能ごとにサブルーチン化しておき、多種
の図形データ処理システムのトランスレータ間で共有で
きるようにしておくことで、中間ファイルを共通の核と
した多角変換を効率良く行うことができる。These function adjustment programs are divided into subroutines for each individual function, and by making them shareable among translators of various graphic data processing systems, polygonal conversion can be performed efficiently using intermediate files as a common core.
また、中間ファイルは読んで容易に理解できる形式と配
列となっているので、各種トランスレータや調整用サブ
ルーチンの作成に当たってのいわゆるデバッキングのた
めのチェックも容易となる。Furthermore, since the intermediate files have a format and arrangement that can be easily read and understood, it is also easy to check for so-called debugging when creating various translators and adjustment subroutines.
いずれにしても、中間ファイルは多種の図形データ処理
システムのデータベースにとって、共通で必須なデータ
を網羅しているので、これらの調整用共用サプルーチン
群を用意するだけで、任意のシステム間で、相互に、変
換率に高い変換を効率良く行うトランスレータの作成が
容易となる。In any case, the intermediate files contain common and essential data for the databases of various graphic data processing systems. Therefore, simply by preparing a group of common subroutines for adjusting these data, it becomes easy to create a translator that can efficiently perform high-conversion conversion between any systems.
本発明の変換方法を用いて、IBM社とCADAMとA
UTODESK社のAUTOCAD間の双方向のデータ
変換を行った。変換のシステム構成を第5図に示す。Using the conversion method of the present invention, IBM and CADAM
We performed bidirectional data conversion between AUTOCAD and AUTODESK Co., Ltd. The system configuration for conversion is shown in Figure 5.
また、CADAMからAUTOCADへの図形要素の対
応を第5表にAUTOCADからCADAMへの対応を
第6表に示す。但し、単純な対応は省略するとともに、
第6表では、第5表の逆と異なるもののみ示した。The correspondence of graphic elements from CADAM to AUTOCAD is shown in Table 5, and the correspondence from AUTOCAD to CADAM is shown in Table 6. However, simple correspondences are omitted, and
In Table 6, only the reverse of Table 5 is shown.
中間ファイルの共通データでは、レコードの並び自体に
図面の構成上の意味を持っているので、順次読むだけで
具体的に図面の内容構成を理解することができる。従っ
て、いわば図面の仕様明細書ということができる。 In the common data of the intermediate file, the order of records itself has a structural meaning in terms of the drawing, so by simply reading it in order, you can understand the specific content structure of the drawing. Therefore, it can be said to be a specification of the drawing.
この中間ファイルの概念を応用して、次のような3次元
の実物図形データを共通中間ファイルに拡張することも
できる。By applying this concept of intermediate files, the following three-dimensional real figure data can also be expanded into a common intermediate file.
板状の素材あるいはこれらを組み立てた形状の素材を、
切断、穴明け、曲げなどの自由度の低い加工機器で加工
して得られる部品を組み立てて製作される部品や製品の
加工形状データは、2次元の任意形状に厚さを加えた形
状を、3次元空間上に任意に組み合わせたデータの集ま
りである。従って、各加工形状要素の配置基準点の3次
元座標と各加工要素面の3次元法線ベクトルを、中間フ
ァイルの基本要素レコードのデータ項目として加えたも
のを素材形状、配置、並びにその加工形状、配置を表現
するレコードとすれば、3次元での製品、部品、素材の
加工、組み立て形状とそれらの特性(属性)の明細、即
ち、その設計や加工の詳細仕様書を記述あるいは解釈す
る手段として拡張することもできる。Plate-shaped materials or materials assembled from these,
The processed shape data for parts and products manufactured by assembling parts obtained by processing with low-degree-of-freedom equipment such as cutting, drilling, and bending is a collection of data in which shapes obtained by adding thickness to arbitrary two-dimensional shapes are arbitrarily combined in three-dimensional space. Therefore, if the three-dimensional coordinates of the placement reference point of each processed shape element and the three-dimensional normal vector of each processed element surface are added as data items in the basic element record of the intermediate file and used as a record representing the material shape and layout, as well as the processed shape and layout, it can be expanded as a means of describing or interpreting the details of the three-dimensional processed and assembled shapes of products, parts, and materials and their characteristics (attributes), i.e., detailed specifications for their design and processing.
このように、図面データに限らず、製品や部品の図形、
特性あるいはその加工用の図形データをバッチ処理や対
話処理の設計や加工の様々な業務アプリケーション間で
やりとりするための共通中間ファイルに拡張することも
できる。In this way, not only drawing data but also product and part shapes,
It can also be expanded to a common intermediate file for exchanging characteristics or graphic data for processing between various business applications for design and processing in batch processing or interactive processing.
第6図は中間ファイルを介して各汎用CAD/CAMシ
ステムと各業務アプリケーションとの間で相互に図面デ
ータや3次元の製品や部品の意味ありデータを変換し、
またその逆の変換を行うシステム構成の例を示す図であ
る。Figure 6 shows the conversion of drawing data and meaningful data of 3D products and parts between each general-purpose CAD/CAM system and each business application via intermediate files.
FIG. 10 is a diagram showing an example of a system configuration for performing the reverse conversion.
第7図は3次元の製品・部品の図形データを中間ファイ
ルに書き込むフローチャートである。このフローチャー
トにより第1の3次元図形データ処理システムの製品・
部品データベースを読み、製品・部品を分類、階層化し
つつ各製品・部品データを分解、組立てながら変換し、
逐次その結果を中間ファイルに書き込む。7 is a flowchart for writing three-dimensional product/part graphic data into an intermediate file.
It reads the parts database, classifies and hierarchizes the products and parts, and converts the data of each product and part while disassembling and assembling it.
The results are written sequentially to an intermediate file.
第7表は第7図に示すフローチャートによって書き込ま
れた3次元の中間ファイルを示す表である。Spackageと
Epackageとで挟まれたデータが3次元製品の全データで
ある。partsは基本部品レコードであり各部品の座標系
のデータである。3次元データを記入しなければ部品座
標系での部品原形データとなる。AssembleとBlockとは
部品組立レコードであり、SassembleとEassembleとで挟
まれたデータは組立部品座標系の部品データである。Sb
lockとEblockとで挟まれたデータは各部品を組立てたブ
ロック製品座標系の組立ブロック製品データである。ま
た、SlayoutとElayoutで挟まれたデータが3次元部品・
製品配置データである。Insertレコードは既に定義され
たparts、Assemble、Blockの各データを繰り返し使用す
るときに用いる。Table 7 shows the three-dimensional intermediate files written according to the flowchart shown in Figure 7.
The data between Epackage and Sassemble is all the data for the 3D product. Parts is a basic part record and is the coordinate system data for each part. If no 3D data is entered, it will be the original part data in the part coordinate system. Assemble and Block are part assembly records, and the data between Sassemble and Eassemble is part data in the assembly part coordinate system. Sb
The data between lock and Eblock is the assembly block product data in the block product coordinate system where each part is assembled. Also, the data between Slayout and Elayout is the 3D part/
This is product placement data. The Insert record is used when reusing already defined parts, Assemble, and Block data.
尚、表には示していないが、部品が加工されるときには
部品加工データレコードとしてCut(切断)、Hole(穴
開け)、Bend(曲げ)の加工レコードをPartsの直後に
おく。また、部品・製品の呼称などの属性値はParts・As
semble・Insertの直後にATTR/TEXTをおいて定義する。 Although not shown in the table, when parts are processed, the Cut, Hole, and Bend processing records are placed immediately after Parts as part processing data records. Also, attribute values such as the names of parts and products are stored in Parts・As.
Define ATTR/TEXT immediately after semble/insert.
第8図は3次元の中間ファイルに書き込まれたデータを
他のシステムに書き出すためのフローチャートである。FIG. 8 is a flowchart for writing data written in a three-dimensional intermediate file to another system.
先ず、初期設定した後(ステップS1)、ステップS2
で中間ファイルのデータを読む。ステップS3では読み
出したデータ群を第2の3次元図形データ処理システム
の製品・部品データに座標及びフォーマット変換する。
そして、その変換したデータを第2の3次元図形データ
処理システムのデータベースに書き込む(ステップ
S4)。以下、ステップS2からステップS4の処理を
繰り返し、順次中間ファイルのデータを読み、変換して
第2の3次元図形データ処理システムに書き込む。First, after initial setting (step S1 ), step S2
In step S3 , the data group that has been read is converted in terms of coordinates and format into product and part data for the second three-dimensional graphic data processing system.
The converted data is then written to the database of the second three-dimensional graphic data processing system (step S4 ). Thereafter, steps S2 to S4 are repeated to sequentially read, convert, and write data from the intermediate file to the second three-dimensional graphic data processing system.
このように、異種CAD/CAMシステム間や同業異種
の業務アプリケーション間のデータ変換が、図面・製品
データを問わず自由におこなえる。In this way, data conversion between different CAD/CAM systems or between different business applications in the same industry can be performed freely, regardless of whether it is drawing or product data.
産業上の利用可能性
以上のように、本発明に係る図形データの変換方法は、
異なったデータ処理方法の図形データ処理システム(C
AD/CAM)間で図面や製品の図形データを自由に、
しかも効率よく変換するのに適している。INDUSTRIAL APPLICABILITY As described above, the graphic data conversion method according to the present invention includes the following steps:
Graphic data processing system with different data processing methods (C
Freely exchange drawings and product graphic data between AD/CAM systems.
Moreover, it is suitable for efficient conversion.
Claims (1)
成した図面或いは製品の第1フォーマットの図形データ
群を、第2の図形データ処理システムの、第1フォーマ
ットとは異なる第2フォーマットの図形データ群に変換
するデータ変換方法において、 第1フォーマットの図形データ群のそれぞれのデータが
示す前記図面或いは製品上の意味に従い、前記図形デー
タ群を基本図形要素、寸法線要素及びテキスト要素に分
類してこれらを表す基本要素レコード群に変換し、 該基本要素レコード群を、前記図面或いは製品、前記図
面或いは製品を構成する要素図群、該要素図を構成する
一般複合図形及び該要素図を構成するために予め定義さ
れる登録複合図形に分類してこれらを表す編集区分レコ
ードと、前記登録複合図形を各要素図上に編集するため
の図形挿入、前記登録複合図形・前記一般複合図形・基
本図形要素に属性を与えるための属性付与、並びに属性
値、寸法値および注記の内容を図面上に編集するための
テキスト挿入を表す編集レコードとを適宜挿入しながら
変換し、変換した各データを中間ファイルに貯えた後
に、該中間ファイルのデータを、第2フォーマットの図
面或いは製品データ群に変換することを特徴とする図形
データの変換方法。1. A data conversion method for converting a group of graphic data in a first format for a drawing or product created by a first graphic data processing system into a group of graphic data in a second format different from the first format for a second graphic data processing system, the method comprising: classifying the group of graphic data in the first format into basic graphic elements, dimension line elements, and text elements in accordance with the meaning of each data of the group of graphic data in the first format and converting the group of graphic data into a group of basic element records representing these; converting the group of basic element records into the drawing or product, the group of element figures constituting the drawing or product, the general composite figures constituting the element figures, and the registered composite figures predefined for constituting the element figures, while appropriately inserting edit classification records representing these; and edit records representing shape insertion for editing the registered composite figures on each element figure, attribute assignment for assigning attributes to the registered composite figures, the general composite figures, and basic graphic elements, and text insertion for editing attribute values, dimension values, and note contents on the drawing; storing each converted data in an intermediate file, and then converting the data in the intermediate file into a group of drawing or product data in the second format.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1-500813A JPH0616288B2 (en) | 1988-12-28 | How to convert shape data |
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62333976A JPH01175671A (en) | 1987-12-29 | 1987-12-29 | Method for converting drawing data |
| JP62-333976 | 1987-12-29 | ||
| JP1-500813A JPH0616288B2 (en) | 1988-12-28 | How to convert shape data | |
| PCT/JP1988/001345 WO1989006400A1 (en) | 1987-12-29 | 1988-12-28 | Method of converting graphic data |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JPWO1989006400A1 JPWO1989006400A1 (en) | 1989-11-02 |
| JPH0616288B2 true JPH0616288B2 (en) | 1994-03-02 |
| JPH0616288B1 JPH0616288B1 (en) | 1994-03-02 |
Family
ID=26574686
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1-500813A Expired - Lifetime JPH0616288B2 (en) | 1988-12-28 | How to convert shape data |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0616288B2 (en) |
-
1988
- 1988-12-28 JP JP1-500813A patent/JPH0616288B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0616288B1 (en) | 1994-03-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5138697A (en) | Graphic data conversion method | |
| US20020175948A1 (en) | Graphical user interface method and apparatus for interaction with finite element analysis applications | |
| US5771044A (en) | Method and apparatus for tolerancing three dimensional drawings | |
| KR19990023315A (en) | Data processing system and method for generating a link map | |
| EA006060B1 (en) | Automated system & method for patent drafting & technology assessment | |
| JPH0581358A (en) | Drawing information processing method and drawing information processing system capable of storing a plurality of display methods | |
| US5630041A (en) | System for permanently retaining multi dimensional CAD part information in the form of a tag within a part file | |
| CN115629723A (en) | Engineering drawing batch printing method based on CATIA V6 | |
| Leu et al. | NX 10 for engineering design | |
| JP2586889B2 (en) | Interactive graphic input system | |
| JPH0616288B2 (en) | How to convert shape data | |
| JPH08329004A (en) | Terminal operability improvement method using application programs | |
| US20060149523A1 (en) | Software for die-stamping modelling | |
| JPWO1989006400A1 (en) | How to convert shape data | |
| JP3060810B2 (en) | Specialization method of general-purpose CAD system | |
| KR100243216B1 (en) | Editted design method | |
| JPH0565903B2 (en) | ||
| JPS63220367A (en) | Tree structure chart forming device | |
| JPH01229321A (en) | User interface generation tool | |
| JP3565716B2 (en) | Display control method and apparatus for modeling data | |
| JPH0365759A (en) | Edition processing system for table | |
| JP2000123199A (en) | Three-dimensional cutting device, cutting method, and storage medium storing cutting processing program | |
| JP2002073386A (en) | Data schema generation method and apparatus | |
| JPH11272524A (en) | Data conversion device and storage medium | |
| JP2003108615A (en) | Drawing information processing method and drawing information processing system capable of storing a plurality of display methods |