Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4980966B2 - CAD data conversion system and CAD data conversion method - Google Patents
[go: Go Back, main page]

JP4980966B2 - CAD data conversion system and CAD data conversion method - Google Patents

CAD data conversion system and CAD data conversion method Download PDF

Info

Publication number
JP4980966B2
JP4980966B2 JP2008071247A JP2008071247A JP4980966B2 JP 4980966 B2 JP4980966 B2 JP 4980966B2 JP 2008071247 A JP2008071247 A JP 2008071247A JP 2008071247 A JP2008071247 A JP 2008071247A JP 4980966 B2 JP4980966 B2 JP 4980966B2
Authority
JP
Japan
Prior art keywords
data
cad
format
auxiliary
conversion
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 - Fee Related
Application number
JP2008071247A
Other languages
Japanese (ja)
Other versions
JP2009230191A (en
Inventor
学 長浜
誠 渡邉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kubota Corp
Original Assignee
Kubota Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Kubota Corp filed Critical Kubota Corp
Priority to JP2008071247A priority Critical patent/JP4980966B2/en
Publication of JP2009230191A publication Critical patent/JP2009230191A/en
Application granted granted Critical
Publication of JP4980966B2 publication Critical patent/JP4980966B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、複数種類のCADの相互間にてデータの使用が可能となるようにデータの変換を行うCADデータ変換システムに関するものである。   The present invention relates to a CAD data conversion system that converts data so that data can be used among a plurality of types of CAD.

従来より、複数種類のCADの相互間で、データの使用が可能となるようにデータの変換を行うCADデータ変換システムが様々開発されている。例えば、CADデータ変換システムでは、CAD独自の形式で記述されたデータを、他のCAD独自の形式のデータに変換して、CAD相互間でのデータの使用が可能となるようにしている。
CADのデータを相互間で使用できるように、共通した形式として最も良く使用されている1つにdxf形式というものがあるが、dxf形式で変換されたデータを全てのCADが使用できるという分けではないのが実情である。
Conventionally, various CAD data conversion systems that perform data conversion so that data can be used among a plurality of types of CAD have been developed. For example, in a CAD data conversion system, data described in a CAD-specific format is converted to data in another CAD-specific format so that data can be used between CADs.
One of the most commonly used formats is the dxf format so that the CAD data can be used between each other. However, in the division that all CAD data can be used in the data converted in the dxf format. There is no actual situation.

dxf形式に関わらず、CADデータ変換後に、CADの相互間でデータの使用ができない理由として、変換後のデータを使用すると、文字や寸法線などが正しく表示されないことが多い。
そこで、CADデータ変換システムにおいて、データを変換しても文字や寸法線が正しく表示できるようにした技術が開発されている(例えば、特許文献1)。
この特許文献1では、複数の異なる機種のCAD装置間で、複数の補助線とこの補助線間の長さを表示する狭義の寸法線とからなる寸法線を含む図面データを交換するため、中間ファイルフォーマットデータをCADデータに変換する異種機種間の図面データ交換方式において、寸法線の変換時に生ずる誤差を補正する寸法線補正手段を備えている。
特開平6−119408号公報
Regardless of the dxf format, after CAD data conversion, data cannot be used between CADs. When converted data is used, characters and dimension lines are often not displayed correctly.
In view of this, a technology has been developed that enables characters and dimension lines to be displayed correctly even after data conversion in a CAD data conversion system (for example, Patent Document 1).
In this Patent Document 1, in order to exchange drawing data including a plurality of auxiliary lines and a dimension line consisting of a plurality of auxiliary lines and a narrowly-defined dimension line indicating the length between the auxiliary lines, a plurality of CAD devices of different types are used. In a drawing data exchange method between different types of models that converts file format data into CAD data, a dimension line correction unit that corrects an error that occurs when converting dimension lines is provided.
JP-A-6-119408

特許文献1のCADデータ変換システムでは、CADデータ変換後の読み込みにおいて、寸法線のズレを補正してCADの図面を表示することができるものの、読み込み側のCADにおいて文字などの変換形式が、変換のデータに対応していない場合には、文字化けが生じて、この文字化けを修正することはできず、全てのCADに対応できないことが問題である。
そこで、本発明は、上記問題点に鑑み、1のCADで作成した寸法、文字などに対応する補助データを読み込んでも他のCADにて確実に正しく表示することができるCADデータ変換システム及びCADデータ変換方法を提供することを目的とする。
In the CAD data conversion system of Patent Document 1, the CAD drawing can be displayed by correcting the deviation of the dimension line in the reading after the CAD data conversion, but the conversion format of characters or the like is converted in the reading-side CAD. If the data is not compatible with this data, garbled characters are generated, and the garbled characters cannot be corrected.
Therefore, in view of the above problems, the present invention provides a CAD data conversion system and CAD data that can be surely displayed correctly in another CAD even if auxiliary data corresponding to dimensions, characters, etc. created by one CAD is read. An object is to provide a conversion method.

前記目的を達成するため、本発明においては以下の技術的手段を講じた。
すなわち、本発明における課題解決のための技術的手段は、複数種類のCADの相互間にてデータの使用が可能となるようにデータの変換を行うCADデータ変換システムにおいて、前記CADの元データを、形状データと、この形状データとは異なる補助データとに分割するデータ分割手段と、前記形状データをCAD形式の第1データに変換すると共に、前記補助データをプリント用の形式の第2データに変換する第1データ変換手段と、前記プリント用の形式の第2データを、CAD形式に変換する第2データ変換手段と、前記CAD形式の第2データと前記第1データ変換手段で変換した第1データとを合成するデータ合成手段とを備えている点にある。
In order to achieve the above object, the present invention takes the following technical means.
That is, the technical means for solving the problems in the present invention is a CAD data conversion system that converts data so that data can be used among a plurality of types of CAD. , Data dividing means for dividing the shape data into auxiliary data different from the shape data, and converting the shape data into first data in CAD format, and converting the auxiliary data into second data in print format. First data converting means for converting, second data in the print format, second data converting means for converting to CAD format, second data in the CAD format, and first data converted by the first data converting means. There is a data synthesizing means for synthesizing one data.

第1データ変換手段は、第2データに合成時の基準点となる基準データを変換時に追加するように構成されていることが好ましい。
前記第1データ変換手段は、補助データを第2データに変換する際には、補助データを、プリント用の形式の1つであるHP−GLの形式の第2データに変換することが好ましい。
前記第2データ変換手段は、プリント用の形式の第2データをCAD形式に変換する際に、第2データ内のデータのうち属性が同じであるものをブロック化してCAD形式に変換することが好ましい。
It is preferable that the first data conversion means is configured to add reference data that becomes a reference point at the time of synthesis to the second data at the time of conversion.
The first data converting means preferably converts the auxiliary data into the second data in the HP-GL format, which is one of the formats for printing, when converting the auxiliary data into the second data.
When the second data conversion means converts the second data in the print format into the CAD format, the data in the second data having the same attribute may be blocked and converted into the CAD format. preferable.

本発明の他の技術的手段は、コンピュータを用いて複数種類のCADの相互間にてデータの使用が可能となるようにデータの変換を行うCADデータ変換方法であって、前記コンピュータは、前記CADの元データを、形状データと、この形状データとは異なる補助データとに分割するステップと、前記形状データをCAD形式の第1データに変換するステップと、前記補助データをプリント用の形式の第2データに変換するステップと、前記プリント用の形式の第2データをCAD形式に変換した後に、当該第2データと前記第1データとを合成するステップと、を実行する点にある。
前記コンピュータは、補助データをプリント用の形式の第2データに変換する際には、当該第2データに合成時の基準点となる基準データを追加することが好ましい。また、前記コンピュータは、前記補助データを第2データに変換する際には、補助データを、プリント用の形式の1つであるHP−GLの形式の第2データに変換することが好ましい。
Another technical means of the present invention is a CAD data conversion method for converting data so that data can be used among a plurality of types of CAD using a computer, wherein the computer The step of dividing the CAD original data into shape data and auxiliary data different from the shape data, the step of converting the shape data into first data in CAD format, and the auxiliary data in a format for printing. and converting the second data, the second data format for the print after conversion into CAD format lies in executing the steps of combining the with the second data of the first data.
When the computer converts the auxiliary data into the second data in the print format, it is preferable to add reference data to be a reference point at the time of composition to the second data. In addition, when the computer converts the auxiliary data into the second data, the computer preferably converts the auxiliary data into the second data in the HP-GL format, which is one of the formats for printing.

前記コンピュータは、前記プリント用の形式の第2データをCAD形式に変換する際には、第2データ内にあるデータのうち属性が同じであるものをブロック化してCAD形式に変換することが好ましい。 When the computer converts the second data in the print format into the CAD format, it is preferable that the data in the second data having the same attribute is blocked and converted into the CAD format. .

本発明によれば、1のCADで作成した寸法、文字などに対応する補助データを読み込んでも他のCADにて確実に正しく表示することができる。   According to the present invention, even if auxiliary data corresponding to dimensions, characters and the like created with one CAD is read, it can be displayed correctly with another CAD.

本発明の実施の形態を図面に基づいて説明する。
図1に示すように、CADデータ変換システム1は、複数種類のCADの相互間にてデータの使用が可能となるようにCADのデータ(以降、CADデータということがある)を変換するもので、コンピュータ2内にインストールされたソフトウェア等から構成されている。
CADデータ変換システム1のコンピュータ2は、制御部3と、記憶部4と、を備えている。
Embodiments of the present invention will be described with reference to the drawings.
As shown in FIG. 1, a CAD data conversion system 1 converts CAD data (hereinafter, sometimes referred to as CAD data) so that data can be used between a plurality of types of CAD. The software 2 is installed in the computer 2.
The computer 2 of the CAD data conversion system 1 includes a control unit 3 and a storage unit 4.

コンピュータ2には、キーボードやマウス等の入力装置が接続されると共に、CAD上の図面等を表示する表示装置(例えば、モニター)が接続されている。
記憶部4は、ハードディスク、CD、DVD等の不揮発性のメモリーから構成されていて、CADソフトウェアが格納されていると共に、変換前のCADに対応した形式で保存されたCADデータ等が格納されている。即ち、図1及び図2に示すように、記憶部4に格納されたCADファイル9には、変換前のCADデータの元データが記憶されていると共に、変換後のCADデータが記憶される。
An input device such as a keyboard and a mouse is connected to the computer 2 and a display device (for example, a monitor) for displaying a drawing on the CAD is connected.
The storage unit 4 is composed of a non-volatile memory such as a hard disk, a CD, a DVD, etc., and stores CAD software and CAD data stored in a format corresponding to the CAD before conversion. Yes. That is, as shown in FIGS. 1 and 2, the CAD file 9 stored in the storage unit 4 stores the original data of the CAD data before the conversion and the CAD data after the conversion.

制御部3は、入力装置、表示装置及びソフトウェアの様々な処理をするものであって、データ分割手段5と、第1データ変換手段6と、第2データ変換手段7と、データ合成手段8とを備えている。
図2に示すように、データ分割手段5は、CADデータの変換時に、CADファイル9に記憶されているCADデータの元データを、形状データと、この形状データとは異なる補助データとに分割するものである。詳しくは、図3(a)の第1図面Aを、CADデータの元データを表示したものとすると、図2及び図3(b)に示すように、データ分割手段5は、CADデータの変換時に、直線、円、曲線などの形状10に対応した形状データと、寸法線、文字(例えば、記号、注記)、英数などの補助的に設けられた補助体11に対応した補助データとに分ける。
The control unit 3 performs various processes of an input device, a display device, and software, and includes a data dividing unit 5, a first data converting unit 6, a second data converting unit 7, and a data synthesizing unit 8. It has.
As shown in FIG. 2, the data dividing means 5 divides the original data of the CAD data stored in the CAD file 9 into shape data and auxiliary data different from the shape data when converting the CAD data. Is. Specifically, if the first drawing A in FIG. 3A is obtained by displaying the original data of the CAD data, the data dividing means 5 converts the CAD data as shown in FIGS. 2 and 3B. Sometimes, the shape data corresponding to the shape 10 such as a straight line, a circle, or a curve, and the auxiliary data corresponding to the auxiliary body 11 provided as an auxiliary such as a dimension line, a character (for example, a symbol, a note), an alphanumeric character, etc. Divide.

図2に示すように、第1データ変換手段6は、データ分割手段5にて分割した形状データを、CAD形式(例えば、K−CADであれば「cad」、AUTO−CADであれば、「dwg」)とは異なる他のCAD形式(例えば、dxf)の第1データに変換するものである。第1データ変換手段6において、形状データを、予め保存している形状データのCAD形式とは異なる他のCAD形式に変換した後は、一旦、記憶部4に格納されている形状データファイル16に、変換後の第1データが記憶される。
また、第1データ変換手段6は、データ分割手段5にて分割した補助データを、CAD形式とは異なるプリント用の形式(以降、プリント形式ということがある)の第2データに変換する。プリント用の形式とは、プリント用の制御言語により記述されたもので、ポストスクリプトに代表されるページ記述言語や、HP−GL、GP−GL、HM−GL、D−SCAN、CDCL等のプロッタ記述言語である。
As shown in FIG. 2, the first data converting means 6 converts the shape data divided by the data dividing means 5 into a CAD format (for example, “cad” for K-CAD, “ dwg ") is converted to first data in another CAD format (for example, dxf). In the first data conversion means 6, after the shape data is converted into another CAD format different from the CAD format of the shape data stored in advance, the shape data is temporarily stored in the shape data file 16 stored in the storage unit 4. The first data after conversion is stored.
The first data conversion unit 6 converts the auxiliary data divided by the data division unit 5 into second data in a print format (hereinafter sometimes referred to as a print format) different from the CAD format. The format for printing is described in a control language for printing, and is a page description language represented by PostScript, or a plotter such as HP-GL, GP-GL, HM-GL, D-SCAN, CDCL. It is a description language.

この実施形態では、第1データ変換手段6は、補助データをプリント形式の第2データに変換する際には、当該補助データに合成時に用いる基準データを追加した後に、プリント形式の1つであるHP−GLの形式の第2データに変換するようになっている。
詳しくは、図3(c)に示すように、第1データ変換手段6は、分割後の補助データを表した第2図面Bに対して、基準点Pを追加し、この基準点Pの位置(座標)を求めて、その位置や座標を基準データとする。そして、第1データ変換手段6は、基準点Pに関する基準データを補助データに追加した後、基準データが追加された補助データをプリント形式に変換する。
In this embodiment, the first data conversion means 6 is one of the print formats after adding the reference data used at the time of composition to the auxiliary data when converting the auxiliary data into the second data of the print format. The data is converted into the second data in the HP-GL format.
Specifically, as shown in FIG. 3C, the first data conversion means 6 adds a reference point P to the second drawing B representing the divided auxiliary data, and the position of the reference point P. (Coordinates) is obtained, and the position and coordinates are used as reference data. The first data conversion unit 6 adds the reference data regarding the reference point P to the auxiliary data, and then converts the auxiliary data to which the reference data is added into a print format.

この基準点Pは図面の範囲を示すことができるものであることが好ましい。例えば、第2図面Bの図面領域12の両端の対角線上に、それぞれ2つの基準点P1、P2を付与して、この2つの基準点P1、P2における位置(座標)の基準データを補助データに追加することが好ましい。このような場合は、当然の如く、分割後の第2図面Bと元図である第1図面Aとの図面領域12の大きさや位置は同じである。
図2に示すように、第2データ変換手段7は、プリント形式の第2データをCAD形式に変換するもので、詳しくは、第1データ変換手段6において、一旦、CAD形式からプリント形式に変換された補助データ(第2データ)を、第2データ変換手段7にてプリント形式からCAD形式(dxf,dwgなど)に変換するものである。第2データ変換手段7において、プリント形式の補助データをCAD形式である第2データに変換した後は、一旦、記憶部4に格納されている補助データファイル17に変換後の第2データが記憶されるようになっている。
The reference point P is preferably one that can indicate the range of the drawing. For example, two reference points P1 and P2 are given to the diagonal lines at both ends of the drawing area 12 of the second drawing B, respectively, and the reference data of the positions (coordinates) at the two reference points P1 and P2 are used as auxiliary data. It is preferable to add. In such a case, as a matter of course, the size and position of the drawing area 12 of the second drawing B after division and the first drawing A which is the original drawing are the same.
As shown in FIG. 2, the second data converting means 7 converts the second data in the print format into the CAD format. Specifically, the first data converting means 6 once converts the CAD format into the print format. The auxiliary data (second data) is converted from a print format to a CAD format (dxf, dwg, etc.) by the second data conversion means 7. After the second data conversion means 7 converts the auxiliary data in the print format into the second data in the CAD format, the converted second data is temporarily stored in the auxiliary data file 17 stored in the storage unit 4. It has come to be.

第2データ変換手段7によって、補助データ(第2データ)を、プリント形式からCAD形式に変換する際、当該第2データ変換手段7は、変換前(CAD形式に変換前)の第2データ内にあるデータのうち属性が同じであるものをブロック化した後、CAD形式に変換している。例えば、CAD形式に変換前の第2データ内(第2図面B)に複数の寸法線があると共に、寸法線とは異なる複数の文字があるとすると、第2データ変換手段7は、まず、変換前の第2データを、寸法線のグループと、文字のグループとの属性毎にデータを分ける。そして、第2データ変換手段7は、分けられた寸法線のグループが1つのブロック(塊)として認識されると共に、分けられた文字のグループが1つのブロック(塊)として認識されるように、第2データをプリント形式からCAD形式に変換する。   When the auxiliary data (second data) is converted from the print format to the CAD format by the second data converting unit 7, the second data converting unit 7 stores the second data in the second data before conversion (before conversion to the CAD format). The data having the same attribute is converted into a CAD format after being blocked. For example, if there are a plurality of dimension lines in the second data before conversion to CAD format (second drawing B) and there are a plurality of characters different from the dimension lines, the second data conversion means 7 The second data before conversion is divided for each attribute of the dimension line group and the character group. Then, the second data conversion unit 7 recognizes the group of divided dimension lines as one block (block) and recognizes the group of divided characters as one block (block). The second data is converted from the print format to the CAD format.

データ合成手段8は、第2データ変換手段7で変換した第2データと第1データ変換手段6で変換した第1データとを合成するものである。このデータ合成手段8は、合成後のデータを読み込んで図面を表示した際に、その図面が、見かけ上、変換前の元の第1図面Aと同じ状態となるように、第2データと第1データとを合成する。
図4に示すように、第3図面Cが形状データファイル16に格納された第1データを表示したもので、第2図面Bが補助データファイル17に格納された第2データを表示したものとする。データ合成手段8は、第1データ変換手段6で変換した際に定めた第2図面Bの基準点P1,P2と、この基準点P1,P2に対応する第3図面Cの対応点N1,N2とが一致するように、第2図面B又は第3図面Cの縮小、拡大を行って第2図面Bと第3図面Cとを一致させる。そして、データ合成手段8は、第2図面Bと第3図面Cとが一致した(基準点P1,P2と対応点N1,N2とが一致)状態における第1データ及び第2データの座標系の修正をして合成を行うことで、両者のデータを合成する。第1データと第2データとの合成後は、CADファイルに変換後のCADデータを格納する。
The data synthesizing unit 8 synthesizes the second data converted by the second data converting unit 7 and the first data converted by the first data converting unit 6. The data synthesizing unit 8 reads the combined data and displays the drawing so that the second data and the second data are displayed so that the drawing is in the same state as the original first drawing A before conversion. One data is synthesized.
As shown in FIG. 4, the third drawing C displays the first data stored in the shape data file 16, and the second drawing B displays the second data stored in the auxiliary data file 17. To do. The data synthesizing unit 8 includes reference points P1 and P2 in the second drawing B determined when the data is converted by the first data conversion unit 6, and corresponding points N1 and N2 in the third drawing C corresponding to the reference points P1 and P2. The second drawing B or the third drawing C is reduced or enlarged so that the second drawing B or the third drawing C matches with each other. Then, the data synthesizing means 8 has the coordinate system of the first data and the second data in the state where the second drawing B and the third drawing C match (the reference points P1, P2 match the corresponding points N1, N2). By correcting and combining, the data of both is combined. After combining the first data and the second data, the converted CAD data is stored in the CAD file.

次に、図5及び図6を用いて、本発明のCADデータ変換方法を、CADデータ変換システム1におけるデータ変換の動作と合わせて説明する。
この説明において、説明の便宜上、CADデータの元データには、図5(a)に示す、自動販売機13に対応した形状データと、寸法線14、数値「1800」、記号「mm」、注記「材料SPCC」に対応した補助データが格納されているものとする。なお、下記の説明において、記号「mm」と注記「材料SPCC」とをまとめて文字ということがある。また、元データのCADの拡張子は、「cad」であり、この「cad」を他のCADの拡張子「dxf」に変換するものとする。
Next, the CAD data conversion method of the present invention will be described with reference to FIG. 5 and FIG. 6 together with the data conversion operation in the CAD data conversion system 1.
In this description, for convenience of description, the original data of CAD data includes shape data corresponding to the vending machine 13 shown in FIG. 5A, a dimension line 14, a numerical value “1800”, a symbol “mm”, a note, It is assumed that auxiliary data corresponding to “Material SPCC” is stored. In the following description, the symbol “mm” and the note “material SPCC” may be collectively referred to as characters. The CAD extension of the original data is “cad”, and this “cad” is converted to the extension “dxf” of another CAD.

図5(b)に示すように、まず、データの変換を行うには、CADソフトウェアに設けられている変換機能を用いて、データ分割手段5により、元のCADデータを、自動販売機13に対応した形状データと、寸法線14、数値「1800」、記号「mm」、注記「材料SPCC」に対応した補助データとに分割する(図6のS1)。このとき、自動販売機13に対応した形状データの第3図面Cと、寸法線14、数値「1800」、記号「mm」、注記「材料SPCC」に対応した補助データの第2図面Bとの両者の図面範囲の大きさは同じであり、図面範囲の縦横比は同じである。   As shown in FIG. 5B, first, in order to convert the data, the original CAD data is transferred to the vending machine 13 by the data dividing means 5 using the conversion function provided in the CAD software. The data is divided into corresponding shape data and auxiliary data corresponding to the dimension line 14, the numerical value “1800”, the symbol “mm”, and the note “material SPCC” (S1 in FIG. 6). At this time, the third drawing C of the shape data corresponding to the vending machine 13 and the second drawing B of the auxiliary data corresponding to the dimension line 14, the numerical value “1800”, the symbol “mm”, and the note “material SPCC”. The size of both drawing ranges is the same, and the aspect ratio of the drawing ranges is the same.

第1データ変換手段6により、自動販売機13に対応した形状データを他のCAD形式(拡張子「dxf」)に変換して、形状データファイル16に変換後の形状データ(第1データ)を記憶する(図6のS2)。
図5(c)に示すように、第1データ変換手段6によって、例えば、補助データに対応した第2図面Bから図面領域12を求めて、当該図面領域12の境界ライン上の左右の2点をそれぞれ抽出し、抽出した点を基準点P1,P2として当該基準点P1,P2の位置等を示す基準データを補助データに追加する(図6のS3)。基準点P1,P2については、第2図面B又は第1図面Aの図面領域12の境界ライン上でなくてもよく、例えば、第3図面Cと共通した2点(例えば、原点と、その他の点)を任意に抽出してもよいし、第3図面Cと共通した第2図面B又は第1図面Aの座標に点や円をプロットして、その点や円を基準点Pとしてもよい。
The first data converting means 6 converts the shape data corresponding to the vending machine 13 into another CAD format (extension “dxf”), and converts the converted shape data (first data) into the shape data file 16. Store (S2 in FIG. 6).
As shown in FIG. 5C, the first data conversion means 6 obtains the drawing area 12 from the second drawing B corresponding to the auxiliary data, for example, and the left and right two points on the boundary line of the drawing area 12 Are extracted, and the extracted points are set as reference points P1 and P2, and the reference data indicating the positions of the reference points P1 and P2 is added to the auxiliary data (S3 in FIG. 6). The reference points P1 and P2 may not be on the boundary line of the drawing area 12 of the second drawing B or the first drawing A, for example, two points common to the third drawing C (for example, the origin and other points) Point) may be arbitrarily extracted, or a point or circle may be plotted on the coordinates of the second drawing B or the first drawing A common to the third drawing C, and the point or circle may be used as the reference point P. .

基準データを補助データに追加した後に、寸法線14、数値「1800」、記号「mm」、注記「材料SPCC」及び基準点P1,P2を含む補助データを、第1データ変換手段6によって、プリント形式(HP−GL形式)の第2データに変換する(図6のS4)。寸法線14、数値「1800」、記号「mm」、注記「材料SPCC」及び基準点P1,P2をHP−GL形式の第2データに変換した状態では、これらの寸法線14、数値「1800」、記号「mm」、注記「材料SPCC」及び基準点P1,P2は、CADに属さないプリント用の形式(データ形式)となっている。   After the reference data is added to the auxiliary data, the auxiliary data including the dimension line 14, the numerical value “1800”, the symbol “mm”, the note “material SPCC”, and the reference points P 1 and P 2 are printed by the first data conversion unit 6. It converts into the 2nd data of a format (HP-GL format) (S4 of FIG. 6). In the state where the dimension line 14, the numerical value “1800”, the symbol “mm”, the note “material SPCC”, and the reference points P1 and P2 are converted into the second data in the HP-GL format, the dimension line 14 and the numerical value “1800”. The symbol “mm”, the note “material SPCC”, and the reference points P1 and P2 have a printing format (data format) that does not belong to CAD.

CADに属さないプリント用の形式の第2データ(補助データ)を、第2変換手段7によって変換対象の他のCADの拡張子である「dxf」に変換する(図6のS5)。変換する際、変換する前の第2図面B上に、複数の寸法線14、複数の数値、複数の記号が存在する場合、第2変換手段7は、第2データを属性毎、即ち、寸法線、数値、記号、注記のぞれぞれにグループ化して、グループ化された属性の各補助体11が、それぞれ1つのブロックとなるように、他のCAD形式に変換する。
プリント用の形式の第2データをCADの拡張子に変換した後、当該第2データをCADで読み込んだ場合、変換前にCAD上で寸法線14、数値「1800」、記号「mm」、注記「材料SPCC」として認識していたものが、寸法線14、数値「1800」、記号「mm」、注記「材料SPCC」としたキャラクターではなく、寸法線14や数値「1800」、記号「mm」及び注記「材料SPCC」も、線や曲線の集合として認識されることになる。これら寸法線14、数値、記号、注記は、ぞれぞれブロック化されているので、複数の寸法線14、複数の数値、複数の記号が存在する場合には、他のCADにおいてデータを読み込み後に、一度に、寸法線14(寸法線のグループ)のみを削除したり、数値(数値のグループ)のみを削除したり、記号(記号のグループ)のみを削除したり、
注記「材料SPCC」(注記グループ)のみを削除することができる。
The second data (auxiliary data) in a print format that does not belong to CAD is converted into “dxf”, which is the extension of another CAD to be converted, by the second conversion means 7 (S5 in FIG. 6). When converting, if there are a plurality of dimension lines 14, a plurality of numerical values, and a plurality of symbols on the second drawing B before conversion, the second conversion means 7 converts the second data into each attribute, that is, the dimension. Each line 11 is grouped into a line, a numerical value, a symbol, and a note, and each auxiliary body 11 of the grouped attribute is converted into another CAD format so that it becomes one block.
When the second data in the print format is converted into a CAD extension and then the second data is read by CAD, before conversion, the dimension line 14, the numerical value “1800”, the symbol “mm”, the note on the CAD What was recognized as “material SPCC” is not a dimension line 14, a character “1800”, a symbol “mm”, and a character “note material SPCC”, but a dimension line 14, a numerical value “1800”, a symbol “mm” And the note “Material SPCC” will also be recognized as a collection of lines and curves. Since these dimension lines 14, numerical values, symbols, and notes are respectively made into blocks, if there are multiple dimension lines 14, multiple numerical values, and multiple symbols, data is read in another CAD Later, you can delete only dimension line 14 (dimension line group), delete only numeric value (number group), delete only symbol (group of symbols),
Only the note “Material SPCC” (note group) can be deleted.

なお、上記の説明では、寸法に関し、寸法に関する数字「1800」及び記号「mm」と、寸法線14とをぞれぞれ分けた上で、これら寸法線14、数字「1800」及び記号「mm」を別々にグループ化(ブロック化)していたが、寸法に関する寸法線14、記号「mm」及び数値「1800」は、寸法に関する1つのもの(寸法の属性)として考えて、1つの塊としてブロック化して、これらをまとめて削除できるようにしてもよい。
また、図5(c)に示すように、記号と注記とは広義で言えば文字となり、図面上には寸法に関する文字(記号)と、寸法に関しない文字(注記)とが存在することになるが、上述したように寸法に関する文字は寸法線14と同じ属性として考え、寸法に関しない文字(注記)とは別とし、これらを第2変換手段7によって別々にグループ化することによって、寸法に関する文字(記号)は寸法線14と共に同時に削除でき、寸法に関しない文字(注記)は、寸法に関する文字(記号)とは別に削除できるようにしてもよい。
In the above description, regarding the dimension, the dimension number “1800” and the symbol “mm” are separated from the dimension line 14, and then the dimension line 14, the numeral “1800” and the symbol “mm” are separated. Are separately grouped (blocked), but the dimension line 14 related to the dimension, the symbol “mm”, and the numerical value “1800” are considered as one related to the dimension (attribute of the dimension) as one lump. You may make it block and can delete these collectively.
Further, as shown in FIG. 5C, the symbols and notes are characters in a broad sense, and there are characters (symbols) related to dimensions and characters (notes) not related to dimensions on the drawing. However, as described above, the character relating to the dimension is regarded as the same attribute as the dimension line 14, separated from the character (note) not related to the dimension, and separately grouped by the second conversion unit 7, thereby the character relating to the dimension. (Symbol) can be deleted together with the dimension line 14, and characters (notes) not related to dimensions may be deleted separately from characters (symbols) related to dimensions.

第2データ変換手段7により、CADに属さないプリント用の形式の第2データ(補助データ)を、変換対象の他のCADの拡張子である「dxf」に変換した後は、補助データファイル17に変換後の補助データ(第2データ)を記憶する(図6のS6)。
図5(d)に示すように、データ合成手段8により、基準点Pの基準データを用いて、形状データによる第3図面Cと補助データによる第2図面Bとが一致するように、形状データファイル16に格納されている第1データと、補助データファイル17に格納されている第2データとを合成する(図6のS7)。
After the second data conversion means 7 converts the second data (auxiliary data) in a print format that does not belong to CAD into “dxf”, which is the extension of another CAD to be converted, the auxiliary data file 17 The auxiliary data (second data) after conversion is stored (S6 in FIG. 6).
As shown in FIG. 5D, the shape data is generated by the data synthesizing unit 8 so that the third drawing C by the shape data and the second drawing B by the auxiliary data coincide with each other using the reference data of the reference point P. The first data stored in the file 16 and the second data stored in the auxiliary data file 17 are combined (S7 in FIG. 6).

データ合成手段8によって、形状データ(第1データ)と補助データ(第2データ)との合成が完了すると、合成データを記憶部4のCADファイルに変換後のCADデータとして記憶させる。
図5(e)に示すように、合成データを他のCADで読み込むと、そのCADでは、図5(a)と同様に、同じ位置に、自動販売機13と、寸法線14及び数値「1800」とを表示することができる。そして、形状データに対応した自動販売機13に対しては、その図形をCAD上で操作して大きさなどを変更することができる。
When the data synthesizing unit 8 completes the synthesis of the shape data (first data) and the auxiliary data (second data), the synthesized data is stored in the CAD file of the storage unit 4 as converted CAD data.
As shown in FIG. 5E, when the synthesized data is read by another CAD, the vending machine 13, the dimension line 14 and the numerical value “1800” are located at the same position in the CAD as in FIG. 5A. Can be displayed. For the vending machine 13 corresponding to the shape data, the size can be changed by operating the figure on the CAD.

以上、本発明によれば、CADの元データを、形状データと、この形状データとは異なる補助データとに分割し、形状データをCAD形式の第1データに変換すると共に、補助データをプリント用の形式の第2データに変換し、プリント用の形式の第2データをCAD形式に変換した後に、当該第2データと第1データとを合成するようにしているので、CADデータを変換後に、他のCADにて変換後のCADデータを読み込んだとしても、位置ズレや文字化けを引き起こしやすい寸法線14、文字などを、位置ズレや文字化けを引き起こすことなく変換前の図面と同じ状態で正しく表示することができる。CADの相互間で、CAD同士の互換性によって、寸法線14、文字、英数字などの位置ズレ、文字化け、文字フォントの変化が発生することが多いが、これを解消することが確実にできる。   As described above, according to the present invention, CAD original data is divided into shape data and auxiliary data different from the shape data, and the shape data is converted into the first data in the CAD format, and the auxiliary data is used for printing. Since the second data and the first data are synthesized after the second data in the format is converted into the CAD format and the second data in the print format is converted into the CAD format, Even if the CAD data after conversion is read by another CAD, the dimension lines 14 and characters that are likely to cause misalignment and garbled characters are correctly displayed in the same state as the drawing before conversion without causing misalignment or garbled characters. Can be displayed. Due to the compatibility of CADs between CADs, misalignment of dimensional lines 14, characters and alphanumeric characters, garbled characters, and changes in character fonts often occur, but this can be reliably eliminated. .

特に、従来のCADデータの変換システムやCADデータ変換方法では、膨大なCADデータを形式の異なるCADで読み込んだ場合において、線、円などの形状10は正しく表示されているものの、一部の文字や英数字などの位置ズレ、文字化けが発生している虞があるため、図面の検図に時間が掛かることになっていたが、本発明では、位置ズレや文字化けを確実に防止しているので、検図の時間を大幅に削減することができる。
本発明によれば、補助データをプリント用の形式の第2データに変換する際には、当該第2データに合成時の基準点Pとなる基準データを付与しているので、第1データと第2データとの合成を確実に素早く成すことができる。
In particular, in the conventional CAD data conversion system and CAD data conversion method, when a large amount of CAD data is read by a CAD having a different format, the shape 10 such as a line or circle is displayed correctly, but some characters are displayed. There was a risk of misalignment and garbled characters such as alphanumeric characters, so it took time to inspect drawings, but the present invention reliably prevents misalignment and garbled characters. Therefore, the inspection time can be greatly reduced.
According to the present invention, when the auxiliary data is converted into the second data in the print format, the reference data to be the reference point P at the time of synthesis is added to the second data. The synthesis with the second data can be performed quickly and reliably.

補助データを第2データに変換する際には、補助データを、プリント用の形式の1つであるHP−GLの形式の第2データに変換しているので、CAD形式のデータを非常に簡単に印刷イメージに近いデータに変換することができる。
しかも、プリント用の形式の第2データをCAD形式に変換する際に、第2データ内にあるデータのうち属性が同じであるものをブロック化してCAD形式に変換しているので、例えば、CADデータ変換後の図面に寸法線が複数存在する場合であれば、複数の寸法線を一度に削除したり、寸法線に関する他の操作(移動、複写、回転等)をなすことができる。特に、図面上に属性の異なるもの(例えば、寸法線、数値、文字)が存在する場合は、CADデータ変換後の図面に対して、属性毎に独立した操作が行えると共に、1つの属性のものに対して1度の操作により、削除、移動、複写、回転、変更などの操作を行うことができる。
When the auxiliary data is converted into the second data, the auxiliary data is converted into the second data in the HP-GL format, which is one of the printing formats, so the CAD format data is very simple. It can be converted to data close to the print image.
In addition, when the second data in the print format is converted into the CAD format, data having the same attribute among the data in the second data is blocked and converted into the CAD format. If there are a plurality of dimension lines in the drawing after data conversion, the plurality of dimension lines can be deleted at once, and other operations (movement, copying, rotation, etc.) regarding the dimension lines can be performed. In particular, when there are objects with different attributes (for example, dimension lines, numerical values, characters) on the drawing, independent operations can be performed for each attribute on the drawing after CAD data conversion, and one with one attribute. The operations such as deletion, movement, copying, rotation, and change can be performed by one operation.

CADデータ変換システムの構成図である。It is a block diagram of a CAD data conversion system. CADデータ変換の手順を示した図である。It is the figure which showed the procedure of CAD data conversion. 変換前の元の図面を説明する説明図である。It is explanatory drawing explaining the original drawing before conversion. 第1データと第2データとの合成を説明する説明図である。It is explanatory drawing explaining the synthesis | combination of 1st data and 2nd data. 変換するデータの手順をCADの画面表示として示した図である。It is the figure which showed the procedure of the data to convert as a screen display of CAD. CADデータ変換方法を示したフローチャートである。It is the flowchart which showed the CAD data conversion method.

符号の説明Explanation of symbols

1 データ変換システム
2 コンピュータ
3 制御部
4 記憶部
5 データ分割手段
6 第1データ変換手段
7 第2データ変換手段
8 データ合成手段
10 形状
11 補助体
12 図面領域
13 自動販売機
14 寸法線
16 形状データファイル
17 補助データファイル
DESCRIPTION OF SYMBOLS 1 Data conversion system 2 Computer 3 Control part 4 Memory | storage part 5 Data division | segmentation means 6 1st data conversion means 7 2nd data conversion means 8 Data composition means 10 Shape 11 Auxiliary body 12 Drawing area 13 Vending machine 14 Dimension line 16 Shape data File 17 Auxiliary data file

Claims (8)

複数種類のCADの相互間にてデータの使用が可能となるようにデータの変換を行うCADデータ変換システムにおいて、
前記CADの元データを、形状データと、この形状データとは異なる補助データとに分割するデータ分割手段と、
前記形状データをCAD形式の第1データに変換すると共に、前記補助データをプリント用の形式の第2データに変換する第1データ変換手段と、
前記プリント用の形式の第2データを、CAD形式に変換する第2データ変換手段と、
前記CAD形式の第2データと第1データ変換手段で変換した第1データとを合成するデータ合成手段とを備えていることを特徴とするCADデータ変換システム。
In a CAD data conversion system that converts data so that data can be used between multiple types of CAD,
Data dividing means for dividing the CAD original data into shape data and auxiliary data different from the shape data;
First data conversion means for converting the shape data into first data in CAD format and converting the auxiliary data into second data in print format;
Second data conversion means for converting the second data in the print format into a CAD format;
A CAD data conversion system comprising: data combining means for combining the second data in the CAD format and the first data converted by the first data conversion means.
第1データ変換手段は、第2データに合成時の基準点となる基準データを変換時に追加するように構成されていることを特徴とする請求項1に記載のCADデータ変換システム。   2. The CAD data conversion system according to claim 1, wherein the first data conversion unit is configured to add reference data to be a reference point at the time of synthesis to the second data at the time of conversion. 前記第1データ変換手段は、補助データを第2データに変換する際には、補助データを、プリント用の形式の1つであるHP−GLの形式の第2データに変換することを特徴とする請求項1又は2に記載のCADデータ変換システム。   The first data conversion means converts the auxiliary data into second data in the HP-GL format, which is one of print formats, when converting the auxiliary data into the second data. The CAD data conversion system according to claim 1 or 2. 前記第2データ変換手段は、プリント用の形式の第2データをCAD形式に変換する際に、第2データ内のデータのうち属性が同じであるものをブロック化してCAD形式に変換することを特徴とする請求項1〜3のいずれかに記載のCADデータ変換システム。   When converting the second data in the print format into the CAD format, the second data conversion means converts the data in the second data having the same attribute into blocks and converts the data into the CAD format. The CAD data conversion system according to any one of claims 1 to 3. コンピュータを用いて複数種類のCADの相互間にてデータの使用が可能となるようにデータの変換を行うCADデータ変換方法であって、
前記コンピュータは、
前記CADの元データを、形状データと、この形状データとは異なる補助データとに分割するステップと、
前記形状データをCAD形式の第1データに変換するステップと、
前記補助データをプリント用の形式の第2データに変換するステップと、
前記プリント用の形式の第2データをCAD形式に変換した後に、当該第2データと前記第1データとを合成するステップと、
を実行することを特徴とするCADデータ変換方法。
A CAD data conversion method for converting data so that data can be used between a plurality of types of CAD using a computer ,
The computer
Dividing the CAD original data into shape data and auxiliary data different from the shape data ;
Converting the shape data into first data in CAD format ;
Converting the auxiliary data into second data in a print format ;
Synthesizing the second data and the first data after converting the second data in the print format into the CAD format ;
The CAD data conversion method characterized by performing these .
前記コンピュータは、補助データをプリント用の形式の第2データに変換する際には、当該第2データに合成時の基準点となる基準データを追加することを特徴とする請求項5に記載のCADデータ変換方法。 6. The computer according to claim 5, wherein when the auxiliary data is converted into the second data in a print format, the computer adds reference data as a reference point at the time of composition to the second data. CAD data conversion method. 前記コンピュータは、前記補助データを第2データに変換する際には、補助データを、プリント用の形式の1つであるHP−GLの形式の第2データに変換することを特徴とする請求項5又は6に記載のCADデータ変換方法。 The computer, when converting the auxiliary data into second data, converts the auxiliary data into HP-GL format second data, which is one of print formats. 5. The CAD data conversion method according to 5 or 6. 前記コンピュータは、前記プリント用の形式の第2データをCAD形式に変換する際には、第2データ内にあるデータのうち属性が同じであるものをブロック化してCAD形式に変換することを特徴とする請求項5〜7のいずれかに記載のCADデータ変換方法。 When the computer converts the second data in the print format into the CAD format, the computer converts the data in the second data having the same attribute into blocks and converts the data into the CAD format. The CAD data conversion method according to claim 5.
JP2008071247A 2008-03-19 2008-03-19 CAD data conversion system and CAD data conversion method Expired - Fee Related JP4980966B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008071247A JP4980966B2 (en) 2008-03-19 2008-03-19 CAD data conversion system and CAD data conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008071247A JP4980966B2 (en) 2008-03-19 2008-03-19 CAD data conversion system and CAD data conversion method

Publications (2)

Publication Number Publication Date
JP2009230191A JP2009230191A (en) 2009-10-08
JP4980966B2 true JP4980966B2 (en) 2012-07-18

Family

ID=41245557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008071247A Expired - Fee Related JP4980966B2 (en) 2008-03-19 2008-03-19 CAD data conversion system and CAD data conversion method

Country Status (1)

Country Link
JP (1) JP4980966B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7128408B2 (en) * 2018-06-26 2022-08-31 キヤノンマーケティングジャパン株式会社 Information processing device, its control method and program, and information processing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001076014A (en) * 1999-09-03 2001-03-23 Kyowa Exeo Corp CAD data file conversion method and computer-readable recording medium recording CAD data file conversion program

Also Published As

Publication number Publication date
JP2009230191A (en) 2009-10-08

Similar Documents

Publication Publication Date Title
JP2011186812A (en) Device for supporting confirmation of consistency between documents or drawings, program for supporting confirmation of consistency, and recording medium to which program for supporting confirmation of consistency is recorded
US5878198A (en) Information processing apparatus and method and memory medium storing information processing program
JP5321109B2 (en) Information processing apparatus and information processing program
CN102262616A (en) Form processing system, OCR device, and form creation device
CN112861485A (en) Method, device and equipment for processing nuclear power DCS control logic drawing
CN104516868B (en) The streaming restoring method and system in a kind of space of a whole page space
US7408556B2 (en) System and method for using device dependent fonts in a graphical display interface
JP4980966B2 (en) CAD data conversion system and CAD data conversion method
JP2009087270A (en) Image processing device and program
JPH04148475A (en) Document processing method and device
JP2009282969A (en) Electronic editing-content change system for document placed in book, electronic editing-content change program of document placed in book and book creation system
JP2019159932A (en) Information processing device and program
JP5645481B2 (en) Apparatus, method, and program
JP2010120341A (en) Ledger sheet outputting method, its implementation device, and program
JP6194781B2 (en) Image processing apparatus and program
EP2402908B1 (en) Rendering data in the correct z-order
CN112818642B (en) Method and device for converting PDF (Portable document Format) file into form file, computer equipment and storage medium
JP2011248421A (en) Data creation method and data creation system
JP2011151703A (en) Image processing apparatus, character magnification processing method and character magnification program
JP2008310423A (en) Image file creation / editing device, image file browsing device, and image file creation / editing method
JP2014023006A (en) Information processing device, information processing method, and information processing program
JP2013012084A (en) Document processing device, document processing system, and program
US8316291B1 (en) Packaging an electronic document and/or a method of displaying the package
JP5390880B2 (en) External character bitmap data extraction method
US20100229087A1 (en) Computer readable medium, information processing device and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100917

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120117

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120224

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120403

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120419

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150427

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4980966

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees