JP2006227988A - Cad device and cad program - Google Patents

Cad device and cad program Download PDF

Info

Publication number
JP2006227988A
JP2006227988A JP2005042127A JP2005042127A JP2006227988A JP 2006227988 A JP2006227988 A JP 2006227988A JP 2005042127 A JP2005042127 A JP 2005042127A JP 2005042127 A JP2005042127 A JP 2005042127A JP 2006227988 A JP2006227988 A JP 2006227988A
Authority
JP
Japan
Prior art keywords
dimension
notation
value
calculated
dimension value
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.)
Pending
Application number
JP2005042127A
Other languages
Japanese (ja)
Inventor
Seiichi Kishi
清一 岸
Kazuchika Asada
一央 浅田
Masao Tsuji
雅夫 辻
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.)
FUKUI COMP KK
Fukui Computer KK
Original Assignee
FUKUI COMP KK
Fukui Computer KK
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 FUKUI COMP KK, Fukui Computer KK filed Critical FUKUI COMP KK
Priority to JP2005042127A priority Critical patent/JP2006227988A/en
Publication of JP2006227988A publication Critical patent/JP2006227988A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To recognize a character string described as a dimension value as a numeral value in design drawing data of CAD so that the numeral value can be compared with a calculated value of a position indicated by the dimension. <P>SOLUTION: The CAD device extracts a character/character string expressing a dimension value by using a pattern of a character string constituting dimension description and converts the extracted character/character string into numerical data to generate a described dimension value. Further the CAD device calculates the dimension of a target pointed by a dimension line by using the dimensional line or an extension line to generate a calculated dimension value. Then the CAD device checks whether the described dimension value and the calculated dimension value coincide with each other within a previously determined error range or not and presents the checked result to a user. When an error is included in the dimension value described on a CAD drawing, the user can automatically confirm the error. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、CAD装置、及びCADプログラムに関し、例えば、建築設計、機械設計などの設計図面をコンピュータにより作図・保守するものに関する。   The present invention relates to a CAD apparatus and a CAD program. For example, the present invention relates to a computer that draws and maintains design drawings such as architectural design and mechanical design.

近年の急激なコンピュータの発達に伴い、従来はドラフタなどを用いて手作業で行っていた建築図面の作成をコンピュータを用いたCAD(Computer Aided Design)装置により作成することが広く行われるようになってきた。
ここで、CAD装置とは、コンピュータによる設計支援装置のことであり、コンピュータにCADソフトをインストールし、コンピュータの演算機能や記憶機能などを用いて図面作成を効率化するものである。
With the rapid development of computers in recent years, the creation of architectural drawings, which have been done manually using a drafter or the like, by a CAD (Computer Aided Design) device using a computer has been widely performed. I came.
Here, the CAD device is a computer-aided design support device, in which CAD software is installed in the computer, and drawing creation is made efficient by using the computer's arithmetic function and storage function.

CAD装置で生成されるCADデータ(図面データ)は、例えば、直線や円弧などの図形を表す図形要素や、寸法表記、寸法公差、施工指示などの補助的な要素を用いて設計対象が表現される。   CAD data (drawing data) generated by a CAD device represents a design object using, for example, graphic elements representing figures such as straight lines and arcs, and auxiliary elements such as dimension notation, dimension tolerance, and construction instructions. The

CAD装置では、図形の寸法を表記する寸法表記を図形の大きさと図面の縮尺などから自動生成することが可能であるが、これは設計者が編集することができるため、人為的なミスなどにより寸法表記と図形の大きさが一致しない場合がある。   In a CAD device, it is possible to automatically generate a dimension notation that describes the dimensions of a figure from the size of the figure and the scale of the drawing. However, since this can be edited by the designer, due to human error, etc. Dimensional notation and figure size may not match.

特に、建築分野では、複数の業者が共同して建築工事を行うため、作成されたCADデータが業者間でやり取りされる。そのため、その間で寸法表記が書き換えられるなどして、寸法値の表記が実際に施工する数値と異なる設計図面が施工者に渡されることがある。このような場合、寸法値が正しくない図面に従って施工すると、設計通りの成果物にならない(設計値と表記された寸法値が異なる)ため、図面の寸法値の表記が正しいかどうかを確認する必要がある。
このように、図形と寸法表記が一致するか否かを判定する技術に次のものがある。
特開平1−281570公報
In particular, in the construction field, since a plurality of contractors jointly perform construction work, the created CAD data is exchanged between the contractors. Therefore, a design drawing in which the notation of the dimension value is different from the numerical value actually constructed may be handed over to the installer, for example, by rewriting the dimension notation. In such a case, it is necessary to check whether the notation of the dimensional value of the drawing is correct because it will not be a product as designed if it is constructed according to a drawing with an incorrect dimensional value (the designed value differs from the indicated dimensional value). There is.
As described above, there are the following techniques for determining whether or not a figure and a dimensional notation match.
JP-A-1-281570

この技術は、CAD画面における寸法表記が正しいか否かを図面における実寸法と比較して確認するものである。
特開2000−235595公報
This technique confirms whether or not the dimension notation on the CAD screen is correct by comparing with the actual dimension in the drawing.
JP 2000-235595 A

この技術は、2次元CADデータから3次元CADデータを生成した後、2次元CADデータで表記された寸法値と、3次元CADデータでの図形の寸法が一致するか否かを確認するものである。   In this technology, after generating three-dimensional CAD data from two-dimensional CAD data, it is confirmed whether or not the dimension value described in the two-dimensional CAD data matches the figure dimension in the three-dimensional CAD data. is there.

ところで、一般に、CADデータで用いられる寸法表記は、文字列データ(テキストデータ)で構成されている。
そして、寸法表記には、寸法値を表す数字の他に、寸法の意味や単位などを表す記号(例えば円弧の半径を表すR記号など)、公差の指定などの付属的な情報も含まれている。
このように寸法表記は、複合的な文字列で構成されているため、コンピュータで寸法表記から寸法数値を認識するのが困難であるという問題があった。
By the way, generally, the dimension notation used in CAD data is composed of character string data (text data).
The dimension notation includes not only numbers representing dimension values but also additional information such as symbols representing meanings and units of dimensions (for example, R symbol representing the radius of an arc) and specification of tolerances. Yes.
Thus, since the dimension notation is composed of a complex character string, there is a problem that it is difficult for a computer to recognize the dimension numerical value from the dimension notation.

また、例えば、寸法の範囲を指定する矢線などで表される寸法線の長さと、寸法線が指す箇所を示す寸法補助線の指示箇所(足の基準点)の距離が異なる場合など、寸法表記の形状によっては寸法線の座標から単純に計算できない場合も存在する。   Also, for example, when the length of the dimension line indicated by an arrow line that specifies the dimension range is different from the distance between the designated part of the dimension extension line (the reference point of the foot) that indicates the part pointed to by the dimension line, etc. Depending on the shape of the notation, there are cases where it cannot be simply calculated from the coordinates of the dimension line.

そこで、本発明の目的は、CADデータにおいて、寸法値として表記されている文字列を数値として認識し、寸法表記が示す箇所の計算値と比較することである。   Accordingly, an object of the present invention is to recognize a character string written as a dimension value as a numerical value in CAD data and compare it with a calculated value indicated by the dimension notation.

本発明は、前記目的を達成するために、請求項1に記載した発明では、寸法表記が対応付けられた図形要素を用いて構成されたCADデータから、前記寸法表記を構成する文字列データを読み取って所定の記憶領域に記憶する寸法表記読取手段と、前記記憶した文字列データを変換して前記寸法表記が表す表記寸法値を生成し、前記生成した表記寸法値を所定の記憶領域に記憶する表記寸法値生成手段と、前記文字列データを読み取った寸法表記に対応する図形要素の算出寸法値を算出し、前記算出した算出寸法値を所定の記憶領域に記憶する寸法値算出手段と、前記記憶した表記寸法値と、前記記憶した算出寸法値と、を比較する比較手段と、前記比較手段による比較結果を出力する比較結果出力手段と、を具備したことを特徴とするCAD装置を提供する。
請求項2に記載の発明では、前記寸法値算出手段は、当該算出した図形要素に対応する寸法表記の寸法線、及び寸法補助線の少なくとも一方の座標値を用いて図形要素の寸法値を算出することを特徴とする請求項1に記載のCAD装置を提供する。
請求項3に記載の発明では、前記記憶した表記寸法値の単位が寸法表記によって特定されない場合、前記取得した表記寸法値と算出寸法値との誤差が、単位ごとに設定された表記寸法数値と算出寸法数値の許容誤差のうちの少なくとも1つを満たしている場合に、当該表記寸法値と当該算出寸法値が一致しているか否かを比較することを特徴とする請求項1、又は請求項2に記載のCAD装置を提供する。
請求項4に記載の発明では、前記生成した表記寸法値と当該表記寸法値に対応する算出寸法値とから縮尺を算出し、前記算出した算出縮尺を所定の記憶領域に記憶する縮尺算出手段を具備したことを特徴とする請求項1、請求項2、又は請求項3に記載のCAD装置を提供する。
請求項5に記載の発明では、前記出力手段は、表記寸法と算出寸法が一致しない図形要素を、表記寸法と算出寸法が一致する図形要素から識別可能に表示装置に表示することを特徴とする請求項1から請求項4までのうちの何れか1の請求項に記載のCAD装置を提供する。
請求項6に記載の発明では、寸法表記が対応付けられた図形要素を用いて構成されたCADデータから、前記寸法表記を構成する文字列データを読み取って所定の記憶領域に記憶する寸法表記読取機能と、前記記憶した文字列データを変換して前記寸法表記が表す表記寸法値を生成し、前記生成した表記寸法値を所定の記憶領域に記憶する表記寸法値生成機能と、前記文字列データを読み取った寸法表記に対応する図形要素の算出寸法値を算出し、前記算出した算出寸法値を所定の記憶領域に記憶する寸法値算出機能と、前記記憶した表記寸法値と、前記記憶した算出寸法値と、を比較する比較機能と、前記比較機能による比較結果を出力する比較結果出力機能と、をコンピュータで実現するCADプログラム。
In order to achieve the above object, according to the first aspect of the present invention, in the invention described in claim 1, character string data constituting the dimension notation is obtained from CAD data constituted by using graphic elements associated with the dimension notation. Dimension notation reading means for reading and storing in a predetermined storage area, converting the stored character string data to generate a notation dimension value represented by the dimension notation, and storing the generated notation dimension value in the predetermined storage area A notable dimension value generating means, a calculated dimension value of a graphic element corresponding to the dimension notation obtained by reading the character string data, and a dimension value calculating means for storing the calculated calculated dimension value in a predetermined storage area; CA comprising: comparison means for comparing the stored notation dimension value and the stored calculated dimension value; and comparison result output means for outputting a comparison result by the comparison means. To provide a device.
In the invention according to claim 2, the dimension value calculation means calculates the dimension value of the graphic element by using at least one coordinate value of the dimension notation dimension line and the dimension auxiliary line corresponding to the calculated graphic element. The CAD apparatus according to claim 1 is provided.
In the invention according to claim 3, when the unit of the stored notation dimension value is not specified by the dimension notation, an error between the acquired notation dimension value and the calculated dimension value is the notation dimension numerical value set for each unit. 2. The method according to claim 1, wherein if at least one of the tolerances of the calculated dimension numerical value is satisfied, whether or not the notation dimension value matches the calculated dimension value is compared. 2 is provided.
According to a fourth aspect of the present invention, there is provided a scale calculating means for calculating a scale from the generated notation dimension value and a calculated dimension value corresponding to the notation dimension value, and storing the calculated scale in a predetermined storage area. The CAD device according to claim 1, 2, or 3 is provided.
The invention according to claim 5 is characterized in that the output means displays on the display device a graphic element whose notation size and calculated size do not match so as to be distinguishable from a graphic element whose notation size and calculated size match. A CAD device according to any one of claims 1 to 4 is provided.
According to the sixth aspect of the present invention, the dimension notation reading for reading the character string data constituting the dimension notation from the CAD data constituted by using the graphic element associated with the dimension notation and storing it in a predetermined storage area. A function, a notation dimension value generation function for converting the stored character string data to generate a notation dimension value represented by the dimension notation, and storing the generated notation dimension value in a predetermined storage area, and the character string data. The calculated dimension value of the graphic element corresponding to the dimension notation read is calculated, the calculated dimension value is stored in a predetermined storage area, the stored notation dimension value, and the stored calculation A CAD program for realizing a comparison function for comparing dimension values and a comparison result output function for outputting a comparison result by the comparison function by a computer.

本発明によると、寸法値として表記されている文字列を数値として認識し、寸法表記が示す箇所の計算値と比較することができる。   According to the present invention, a character string described as a dimension value can be recognized as a numerical value and compared with a calculated value indicated by a dimension notation.

[実施の形態の概要]
本実施の形態のCAD装置は、寸法表記を構成する文字列のパターンを用いて寸法値を表す文字・文字列を抽出する。そして、これを数値データに変換し、表記寸法値を生成する。
また、CAD装置は、寸法線や寸法補助線などを用いて寸法線が指し示す箇所の寸法値を計算し、これによって計算寸法値を生成する。
[Outline of the embodiment]
The CAD device according to the present embodiment extracts a character / character string representing a dimension value using a character string pattern constituting a dimension notation. Then, this is converted into numerical data to generate a notation dimension value.
Further, the CAD device calculates a dimension value of a location indicated by the dimension line using a dimension line, a dimension auxiliary line, or the like, thereby generating a calculated dimension value.

CAD装置は、このようにして生成した表記寸法値と計算寸法値が、予め定められた誤差範囲内で一致するか否かを確認し、確認結果をユーザに提示する。
これによって、設計図面(CAD図面)で表記されている寸法値に誤りがあった場合に、ユーザは、これを自動的に確認することができる。
The CAD device confirms whether the notation dimension value thus generated matches the calculated dimension value within a predetermined error range, and presents the confirmation result to the user.
As a result, when there is an error in the dimensional value described in the design drawing (CAD drawing), the user can automatically confirm this.

[実施の形態の詳細]
まず、CAD装置1のハードウェア的な構成について説明する。
図1は、CAD装置1のハードウェアの構成の一例を示した図である。図1は、CAD装置1をパーソナルコンピュータなどで構成し、スタンドアローン的に使用する場合を想定している。
CAD装置1は、制御部11に、バスライン18を介して入力装置15、出力装置16、通信制御装置17、記憶装置23、記憶媒体駆動装置20、入出力インターフェース19などが接続して構成されている。
[Details of the embodiment]
First, the hardware configuration of the CAD apparatus 1 will be described.
FIG. 1 is a diagram illustrating an example of a hardware configuration of the CAD apparatus 1. FIG. 1 assumes that the CAD apparatus 1 is configured by a personal computer or the like and is used in a stand-alone manner.
The CAD device 1 is configured by connecting an input device 15, an output device 16, a communication control device 17, a storage device 23, a storage medium drive device 20, an input / output interface 19, and the like to the control unit 11 via a bus line 18. ing.

制御部11は、CPU(Central Processing Unit)13、ROM(Read Only Memory)12、RAM(Random Access Memory)14などから構成されている。
制御部11は、OS(Operating System)やCADプログラムなどの各種プログラムに従って動作し、プログラムで規定された所定の演算や画面の表示といったCAD装置1全体の制御を行う。本実施の形態では、CAD装置1として建築図面の設計支援処理を行う。
The control unit 11 includes a CPU (Central Processing Unit) 13, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 14, and the like.
The control unit 11 operates in accordance with various programs such as an OS (Operating System) and a CAD program, and controls the entire CAD apparatus 1 such as predetermined calculation defined by the program and display of a screen. In the present embodiment, the CAD device 1 performs design support processing for architectural drawings.

CPU13は、制御部11の中心的なデバイスであって、ROM12や記憶装置23、又は記憶媒体駆動装置20によって駆動される記憶媒体などからプログラムをロードし、プログラムに従って制御部11を制御する。
また、CPU13は、内部にレジスタなどと呼ばれる内部記憶媒体(記憶領域)を複数内蔵している。CPU13は、外部の記憶媒体などから内部記憶媒体にデータを一時的に記憶し、これを演算処理する。演算結果はレジスタに出力され、更にレジスタから外部の記憶媒体などに出力される。
The CPU 13 is a central device of the control unit 11, loads a program from the ROM 12, the storage device 23, or a storage medium driven by the storage medium driving device 20, and controls the control unit 11 according to the program.
The CPU 13 includes a plurality of internal storage media (storage areas) called registers and the like. The CPU 13 temporarily stores data from an external storage medium or the like to the internal storage medium, and performs arithmetic processing on the data. The calculation result is output to the register, and further output from the register to an external storage medium.

ROM12は、CPU13が各種演算や制御を行うための各種プログラム、データ及びパラメータなどを格納したリードオンリーメモリである。ROM12は、不揮発性のメモリであって、ROM12に供給される電力がゼロの状態でも記憶内容は保持される。また、ROM12は、読み込み専用のメモリであるため、通常はデータの書き込みは行われない。   The ROM 12 is a read-only memory that stores various programs, data, parameters, and the like for the CPU 13 to perform various calculations and controls. The ROM 12 is a non-volatile memory, and the stored contents are retained even when the power supplied to the ROM 12 is zero. Further, since the ROM 12 is a read-only memory, data is not normally written.

RAM14は、CPU13にワーキングメモリとして使用されるランダムアクセスメモリである。CPU13は、RAM14にプログラムやデータなどを書き込んだり消去したりすることができる。本実施の形態では、RAM14には、平面図から立面図を自動生成したりなど、各種の設計支援処理をするための領域が確保可能となっている。   The RAM 14 is a random access memory used as a working memory by the CPU 13. The CPU 13 can write and erase programs and data in the RAM 14. In the present embodiment, an area for various design support processes such as automatically generating an elevation from a plan view can be secured in the RAM 14.

入力装置15は、例えばキーボードやマウス、タブレットなどの入力装置から構成されている。
キーボードは、カナや英文字などを入力するためのキーや数字を入力するためのテンキー、各種機能キー、カーソルキー及びその他のキーによって構成されている。
The input device 15 is composed of an input device such as a keyboard, a mouse, or a tablet.
The keyboard includes keys for inputting kana and English characters, numeric keys for inputting numbers, various function keys, cursor keys, and other keys.

キーボードからは、CAD装置1に対して文字や数字などの情報を入力することができる他、メニュー画面から図面要素を選択したりすることもできる。
更に、キーボードから、例えばユーザがCAD装置1にログインするためのログインIDやパスワードを入力したり、あるいは各種プログラムを操作したりすることができる。
From the keyboard, information such as letters and numbers can be input to the CAD apparatus 1 and a drawing element can be selected from the menu screen.
Furthermore, for example, the user can input a login ID and password for logging in to the CAD apparatus 1 or can operate various programs from the keyboard.

マウス、及びタブレットは、ポインティングデバイスである。GUI(Graphical User Interface)などを用いてCAD装置1を操作する場合、表示装置上に表示されたボタンやアイコンなどをマウスなどでクリックすることにより、所定の情報の入力を行うことができる。
本実施の形態では、例えば、コマンド実行ボタンをクリックすることにより、各種コマンドを実行して、寸法確認対象ファイルを開いたり、寸法確認を実行したりすることができる。
A mouse and a tablet are pointing devices. When the CAD apparatus 1 is operated using a GUI (Graphical User Interface) or the like, predetermined information can be input by clicking a button or icon displayed on the display apparatus with a mouse or the like.
In the present embodiment, for example, by clicking a command execution button, various commands can be executed to open a dimension check target file or execute dimension check.

また、入力装置15として、CAD装置1専用の入力ボタン群から成るデバイスを用いることもできる。これは、例えば、円弧を描くボタン、直線を描くボタン、寸法確認を行うボタンなど、各描画機能を設定するためのボタン群から成るデバイスであって、これを用いると、メニュー画面から描画機能を選択する場合に比べて作業の高速化、省力化をすることができる。   Further, as the input device 15, a device composed of a group of input buttons dedicated to the CAD device 1 can be used. This is a device consisting of a group of buttons for setting each drawing function, such as a button for drawing an arc, a button for drawing a straight line, a button for checking dimensions, etc. When this is used, the drawing function can be accessed from the menu screen. Compared to the case of selection, the work speed and labor saving can be reduced.

出力装置16は、例えば表示装置、印刷装置、プロッタなどから構成されている。
表示装置は、例えばCRT(Cathode Ray Tube)ディスプレイ、液晶ディスプレイ、プラズマディスプレイなどで構成され、設計図面を表示したり、寸法確認結果を用いて、表記寸法値と算出寸法値が一致しない図形要素を、表記寸法値と算出寸法値が一致する図形要素から識別可能に表示したりする。
The output device 16 includes, for example, a display device, a printing device, a plotter, and the like.
The display device is composed of, for example, a CRT (Cathode Ray Tube) display, a liquid crystal display, a plasma display, and the like, and displays a design drawing or uses a dimensional confirmation result to display a graphic element whose notation dimension value does not match the calculated dimension value. In addition, the displayed dimension value and the calculated dimension value are displayed so as to be identifiable from a graphic element.

印刷装置は、プログラムの実行結果などを紙などの印刷媒体に印刷する装置である。
印刷装置は、例えば、インクジェットプリンタ、レーザプリンタ、熱転写プリンタ、ドットプリンタなどの各種プリンタ装置によって構成されている。
本実施の形態では、設計図面を印刷する他、寸法確認結果を用いて表記寸法値と算出寸法値が一致しない図形要素を識別可能に印刷することも可能である。
The printing apparatus is an apparatus that prints a program execution result or the like on a print medium such as paper.
The printing apparatus includes various printer apparatuses such as an ink jet printer, a laser printer, a thermal transfer printer, and a dot printer.
In the present embodiment, in addition to printing a design drawing, it is also possible to print a graphic element whose notation dimension value and calculated dimension value do not coincide with each other by using a dimension confirmation result.

通信制御装置17は、図示しない通信回線を介してCAD装置1をインターネットなどのネットワークに接続するための装置であって、モデム、ターミナルアダプタ、その他の装置によって構成されている。   The communication control device 17 is a device for connecting the CAD device 1 to a network such as the Internet via a communication line (not shown), and includes a modem, a terminal adapter, and other devices.

通信制御装置17は、例えばインターネットやLAN(Local Area Network)などに接続しており、これらのネットワークに接続したサーバ装置などに対してデータの送受信を行ったり、電子メールの送受信を行うことができる。
通信制御装置17はCPU13によって制御され、所定のプロトコルに従って送受信を行う。
The communication control device 17 is connected to, for example, the Internet or a LAN (Local Area Network), and can send / receive data to / from server devices connected to these networks and send / receive e-mails. .
The communication control device 17 is controlled by the CPU 13 and performs transmission / reception according to a predetermined protocol.

CAD装置1は、通信制御装置17を用いて、CADプログラム31をアップデートする場合に、現在保持しているCADプログラム31をアップデートするためのプログラムをサーバ装置から受信したり、CADデータを他のコンピュータから受信したりなどすることができる。
更に、CAD装置1は、通信制御装置17を用いて、寸法確認対象のCADデータを外部から受信し、寸法確認結果を外部に送出することが可能である。
When the CAD device 1 updates the CAD program 31 using the communication control device 17, the CAD device 1 receives a program for updating the currently held CAD program 31 from the server device, or receives CAD data from another computer. You can receive from.
Further, the CAD device 1 can receive the CAD data of the dimension confirmation target from the outside using the communication control device 17 and send the dimension confirmation result to the outside.

記憶装置23は、読み書き可能な記憶媒体と、その記憶媒体に対してプログラムやデータを読み書きするための駆動装置とによって構成されている。当該記憶媒体として主にハードディスクが使用されるが、その他に、例えば、光磁気ディスク、磁気ディスク、半導体メモリなどの他の読み書き可能な記憶媒体によって構成することも可能である。   The storage device 23 includes a readable / writable storage medium and a drive device for reading / writing programs and data from / to the storage medium. A hard disk is mainly used as the storage medium, but it can also be configured by other readable / writable storage media such as a magneto-optical disk, a magnetic disk, and a semiconductor memory.

記憶装置23には、CADプログラム31、CADデータベース32、OS33、その他のプログラム34、その他のデータベース35などが所定の記憶領域に格納されている。
CADプログラム31は、設計図の作成・保守などを支援するためのプログラムであり、後述するように、設計図面で描画される図形の寸法を計算によって計測し、この算出寸法値が当該図形に対して表記されている表記寸法値と一致するか確認する機能をCPU13に発揮させることができる。
The storage device 23 stores a CAD program 31, a CAD database 32, an OS 33, other programs 34, other databases 35, and the like in a predetermined storage area.
The CAD program 31 is a program for supporting creation / maintenance of a design drawing. As will be described later, the CAD program 31 measures the size of a figure drawn on the design drawing by calculation, and the calculated size value is applied to the figure. It is possible to cause the CPU 13 to exhibit the function of confirming whether or not it matches the written dimension value.

OS33は、CAD装置1を機能させるための基本的なプログラムであり、ファイルの入出力やCAD装置1に接続されている各デバイスの制御などを行う。
その他のプログラム34は、日本語変換プログラムや通信制御装置17などを制御して通信を確立する通信制御プログラムなど、各種のプログラムから構成されている。
その他のデータベース35は、例えば、CADデータなどCADプログラム31を用いて作成したデータを格納するデータベースなどから構成されている。
The OS 33 is a basic program for causing the CAD apparatus 1 to function, and performs input / output of files, control of each device connected to the CAD apparatus 1, and the like.
The other programs 34 are composed of various programs such as a Japanese language conversion program, a communication control program for controlling the communication control device 17 and the like to establish communication.
The other database 35 includes, for example, a database that stores data created using the CAD program 31 such as CAD data.

記憶媒体駆動装置20は、着脱可能な記憶媒体を駆動してデータの読み書きを行うための駆動装置である。着脱可能な記憶媒体としては、例えば、光磁気ディスク、磁気ディスク、磁気テープ、半導体メモリ、データをパンチした紙テープ、CD−ROMなどがある。   The storage medium driving device 20 is a driving device for reading and writing data by driving a removable storage medium. Examples of the removable storage medium include a magneto-optical disk, a magnetic disk, a magnetic tape, a semiconductor memory, a paper tape punched with data, and a CD-ROM.

なお、CD−ROMや紙テープは、読み込みのみ可能である。記憶媒体駆動装置20を介して記憶媒体からアプリケーションソフトをインストールしたり、CADデータをバックアップするための記憶媒体にバックアップ用のデータを記憶媒体に書き込んだり、記憶媒体に書き込まれているバックアップデータを読み込んだりすることもできる。   Note that CD-ROMs and paper tapes can only be read. Install application software from the storage medium via the storage medium drive unit 20, write backup data to the storage medium for backing up CAD data, and read backup data written to the storage medium You can also do it.

入出力I/F(インターフェース)19は、例えば、シリアルインターフェースやその他の規格のインターフェースにより構成されている。入出力インターフェース19に当該インターフェースに対応した外部機器を接続することにより、CAD装置1の機能を拡張することができる。このような外部機器として例えば、ハードディスクなどの記憶装置、スピーカなどがある。   The input / output I / F (interface) 19 is constituted by, for example, a serial interface or another standard interface. The function of the CAD device 1 can be expanded by connecting an external device corresponding to the interface to the input / output interface 19. Examples of such external devices include a storage device such as a hard disk and a speaker.

ユーザは、以上のようにして構成されたCAD装置1を用いて、各種の設計図面をコンピュータ上で作成することができる。
なお、設計図面には、建築図面、機械図面、土木図面など、各種のものがあり、また、CAD装置も、これらの種類に特化したものが使用されている。
以下では、一例として建築図面を用いて説明するが、以下で説明する技術内容は、機械図面などのその他の種類のCADデータに適用することができる。
The user can create various design drawings on the computer by using the CAD apparatus 1 configured as described above.
There are various types of design drawings such as architectural drawings, mechanical drawings, and civil engineering drawings, and CAD devices specialized for these types are also used.
In the following, description will be made using architectural drawings as an example, but the technical contents described below can be applied to other types of CAD data such as mechanical drawings.

次に、図2の各図を用いて、CADデータの構成を説明する。このCADデータは、例えば、CADデータベース32(図1)に格納されており、寸法確認の対象となるものである。   Next, the configuration of CAD data will be described with reference to each drawing of FIG. This CAD data is stored in, for example, the CAD database 32 (FIG. 1), and is a target for dimension confirmation.

図2(a)は、CADデータのデータ構造を説明するための図である。
CAD装置1では、コンピュータ上での製図用紙に該当する概念である用紙図面の上に、線分、円などの図形要素や、寸法線、寸法補助線などの寸法要素を配置していくことによりCADデータ41を作成していく。
FIG. 2A is a diagram for explaining the data structure of CAD data.
In the CAD apparatus 1, graphic elements such as line segments and circles, and dimension elements such as dimension lines and auxiliary dimension lines are arranged on a paper drawing, which is a concept corresponding to drafting paper on a computer. The CAD data 41 is created.

CADデータ41は、この用紙図面を表示するための用紙図面データ42に加えて複数の縮尺図面データ(縮尺図面データ43a、縮尺図面データ43b、・・・)から構成されている。
なお、以下では、これら縮尺図面データを特に区別しない場合は単に縮尺図面データ43と記す。
The CAD data 41 is composed of a plurality of scale drawing data (scale drawing data 43a, scale drawing data 43b,...) In addition to the paper drawing data 42 for displaying the paper drawing.
In the following description, the scale drawing data 43 will be simply referred to as scale drawing data 43 unless particularly distinguished.

縮尺図面データ43は、レイヤなどと呼ばれる複数の層を構成しており、ユーザは、縮尺図面データ43を選択して、その縮尺図面データ43上に設計図面を描くことができる。   The scale drawing data 43 includes a plurality of layers called layers, and the user can select the scale drawing data 43 and draw a design drawing on the scale drawing data 43.

CADデータ41では、後述の付属情報を設定することにより、縮尺図面データ43ごとに座標系の位置・角度や縮尺を設定することができる。また、例えば、縮尺図面データ43aを非表示にし、他の縮尺図面データ43を表示させるといったように、縮尺図面データ43ごとに表示・非表示を設定することもできる。   In the CAD data 41, the position / angle and scale of the coordinate system can be set for each scale drawing data 43 by setting the additional information described later. In addition, for example, display / non-display can be set for each scale drawing data 43 such that the scale drawing data 43a is hidden and other scale drawing data 43 is displayed.

図2(b)は、縮尺図面データ43が有する属性情報の論理的な構成を示した図である。属性情報45は、縮尺図面データ43ごとに設けられ、各縮尺図面データ43の属性を設定する。属性情報45は、ユーザが設定値を変更することが可能である。
属性情報45は、「図面情報」、「名称」、「X軸方向縮尺」、「Y軸方向縮尺」、「配置角度」、「表示オン・オフ」や図示しないその他の項目から構成されている。
FIG. 2B is a diagram illustrating a logical configuration of attribute information included in the scale drawing data 43. The attribute information 45 is provided for each scale drawing data 43 and sets an attribute of each scale drawing data 43. The attribute information 45 can be changed by the user.
The attribute information 45 includes “drawing information”, “name”, “scale in the X-axis direction”, “scale in the Y-axis direction”, “arrangement angle”, “display on / off”, and other items not shown. .

「図面情報」は、例えば、図面番号、作成日時、作成者といった縮尺図面データ43に関する情報を記録する項目である。
「名称」は、例えば「間取り」など、縮尺図面データ43に対してユーザが設定した図面名称を記録する項目である。
“Drawing information” is an item for recording information about the scale drawing data 43 such as a drawing number, a creation date, and a creator.
The “name” is an item for recording a drawing name set by the user with respect to the scale drawing data 43 such as “floor layout”.

「X軸方向縮尺」は、縮尺図面データ43のX軸方向の縮尺を記録する項目である。この縮尺により、用紙図面データ42で用いられている図形要素の座標値から、この図形で表された設計対象物の実際の寸法を計算することができる。
「Y軸方向縮尺」は、「X軸方向の縮尺」と同様に、縮尺図面データ43のY軸方向の縮尺を記録する項目である。
“X-axis direction scale” is an item for recording the scale in the X-axis direction of the scale drawing data 43. With this scale, the actual dimensions of the design object represented by this graphic can be calculated from the coordinate values of the graphic elements used in the paper drawing data 42.
The “scale in the Y-axis direction” is an item for recording the scale in the Y-axis direction of the scale drawing data 43 in the same manner as the “scale in the X-axis direction”.

「配置角度」は、縮尺図面データ43に設定された座標系の配置角度を記憶する項目であって、例えば、用紙図面データ42の座標系を基準とした配置角度が設定される。
また、図示しないが、縮尺図面データ43の座標系の原点の座標値を記録する項目を設け、縮尺図面データ43の原点の位置を設定できるように構成することも可能である。
“Arrangement angle” is an item for storing the arrangement angle of the coordinate system set in the scale drawing data 43. For example, an arrangement angle based on the coordinate system of the paper drawing data 42 is set.
Although not shown, it is possible to provide an item for recording the coordinate value of the origin of the coordinate system of the scale drawing data 43 so that the position of the origin of the scale drawing data 43 can be set.

「表示オン・オフ」は、縮尺図面データ43をディスプレイ上に表示するか否かを設定する項目である。
この項目をオンに設定すると、当該縮尺図面データ43がディスプレイ上に表示され、オフに設定すると表示されない。
“Display ON / OFF” is an item for setting whether or not to display the scale drawing data 43 on the display.
When this item is set to ON, the scale drawing data 43 is displayed on the display, and when this item is set to OFF, it is not displayed.

図3の各図は、CADデータ41の描画イメージを説明するための概念図である。
図3(a)は、CADデータ41をCAD装置1のディスプレイ上に表示した設計図面画面を模式的に示している。
設計図面画面47での表示内容は、用紙図面データ42と、縮尺図面データ43a、縮尺図面データ43b、縮尺図面データ43cを用いて生成されている。
Each drawing in FIG. 3 is a conceptual diagram for explaining a drawing image of the CAD data 41.
FIG. 3A schematically shows a design drawing screen in which CAD data 41 is displayed on the display of the CAD apparatus 1.
The display contents on the design drawing screen 47 are generated using the paper drawing data 42, the scale drawing data 43a, the scale drawing data 43b, and the scale drawing data 43c.

縮尺図面データ43aは、縮尺が1/50に設定されており、縮尺図面データ43b、縮尺図面データ43cでは、それぞれ1/30、1/10に設定されており、設計図面画面47では、これらの縮尺にて各縮尺図面データ43の表示がなされる。なお、一般に、用紙図面データ42の縮尺は1/1に固定されている。   The scale drawing data 43a is set to 1/50, the scale drawing data 43b and the scale drawing data 43c are set to 1/30 and 1/10, respectively. Each scale drawing data 43 is displayed at the scale. In general, the scale of the paper drawing data 42 is fixed to 1/1.

また、縮尺図面データ43cの座標系は、用紙図面データ42の座標系に対して時計回り方向に傾けて設定されており、設計図面画面47では、縮尺図面データ43cによる表示内容をこの角度だけ傾けて表示している。   Further, the coordinate system of the scale drawing data 43c is set so as to be tilted clockwise with respect to the coordinate system of the paper drawing data 42, and the display content by the scale drawing data 43c is tilted by this angle on the design drawing screen 47. Is displayed.

図3(b)は、設計図面画面47の層構造を示した図である。
図3(b)に示したように、設計図面画面47は、用紙図面データ42による表示と、縮尺図面データ43a、縮尺図面データ43b、縮尺図面データ43cによる表示を重畳して表示し、1枚の設計図面を構成している。
このように、CAD装置1は、複数の図面を重ねて、ユーザから見て1枚の設計図面となるように設計図面画面47を表示する。
FIG. 3B is a diagram showing the layer structure of the design drawing screen 47.
As shown in FIG. 3B, the design drawing screen 47 superimposes and displays the display by the paper drawing data 42 and the display by the scale drawing data 43a, the scale drawing data 43b, and the scale drawing data 43c. The design drawing is configured.
In this way, the CAD apparatus 1 displays a design drawing screen 47 such that a plurality of drawings are overlapped to form one design drawing as viewed from the user.

CADデータは、縮尺図面データ43の上に図面要素(図形要素、寸法要素など)を配置していくことにより作成される。そこで、次に、CADデータで使用される主な図面要素について説明する。   The CAD data is created by arranging drawing elements (graphic elements, dimension elements, etc.) on the reduced scale drawing data 43. Thus, next, main drawing elements used in the CAD data will be described.

図4は、CAD装置1で使用する図面要素と、これら図面要素の属性を一覧した表である。
図4に示したように、図面要素は、直線、円弧などの図形類を描画するための図形要素や、文字、直線寸法、角度寸法、弧長寸法、直径寸法、半径寸法といった寸法要素などから構成されている。
FIG. 4 is a table listing the drawing elements used in the CAD apparatus 1 and the attributes of these drawing elements.
As shown in FIG. 4, drawing elements include graphic elements for drawing graphics such as straight lines and arcs, and dimension elements such as characters, linear dimensions, angular dimensions, arc length dimensions, diameter dimensions, and radial dimensions. It is configured.

各図面要素は、図面要素を配置する座標値など、縮尺図面データ43において図面要素を規定する属性が付随しており、ユーザは、これらの属性を設定していくことにより縮尺図面データ43上に図面要素を配置していくことができる。   Each drawing element is accompanied by attributes defining the drawing element in the scale drawing data 43, such as coordinate values for arranging the drawing elements, and the user sets these attributes on the scale drawing data 43. Drawing elements can be arranged.

以下に、図4の表を用いて各図面要素ごとの属性について説明する。
なお、何れの図面要素においても、属性1は配置される縮尺図面データ43を特定する配置図面番号を示しているので他の属性について説明する。
また、以下では、直線に係る図面要素を直線要素、直線寸法に係る図面要素を直線寸法要素などと略記することにする。
Below, the attribute for each drawing element will be described using the table of FIG.
Note that in any drawing element, attribute 1 indicates an arrangement drawing number for specifying the scale drawing data 43 to be arranged, and therefore other attributes will be described.
In the following, a drawing element related to a straight line is abbreviated as a linear element, and a drawing element related to a linear dimension is abbreviated as a linear dimension element.

直線要素は、例えば、設計対象の直線部分を表現するための図形要素であり、属性1〜属性3により規定される。属性2は直線要素の始点の座標値を規定し、属性3は直線要素の終点の座標値を規定している。
図5に直線要素の一例を図示する。図5に示したように、直線要素119は、始点110、終点111によって規定される。
属性2は、始点110の座標値を規定しており、属性3は、終点111の座標値を規定している。
The straight line element is, for example, a graphic element for expressing a straight line part to be designed, and is defined by attributes 1 to 3. The attribute 2 specifies the coordinate value of the start point of the straight line element, and the attribute 3 specifies the coordinate value of the end point of the straight line element.
FIG. 5 shows an example of a linear element. As shown in FIG. 5, the linear element 119 is defined by the start point 110 and the end point 111.
The attribute 2 defines the coordinate value of the start point 110, and the attribute 3 defines the coordinate value of the end point 111.

円弧要素(図4)は、例えば、設計対象の円・円弧部分を表現するための図形要素であり、属性1〜属性5によって規定される。属性2は円弧要素の中心点の座標値を規定し、属性3は円弧要素の半径を規定している。そして、属性4は円弧要素の開始角、属性5は円弧要素の終了角を規定している。   The arc element (FIG. 4) is, for example, a graphic element for expressing a circle / arc part to be designed, and is defined by attributes 1 to 5. Attribute 2 defines the coordinate value of the center point of the arc element, and attribute 3 defines the radius of the arc element. The attribute 4 defines the start angle of the arc element, and the attribute 5 defines the end angle of the arc element.

図6に円弧要素の一例を図示する。図6に示したように、円弧要素129は、中心点120(属性2)、半径121(属性3)、開始角122(属性4)、及び終了角123(属性5)によって規定される。   FIG. 6 shows an example of the arc element. As shown in FIG. 6, the arc element 129 is defined by a center point 120 (attribute 2), a radius 121 (attribute 3), a start angle 122 (attribute 4), and an end angle 123 (attribute 5).

円弧要素129を規定する角度は、所定の基準線と、円弧要素129の両端点と中心点120を結んだ線分が反時計方向に成す角度を用いる。そして、角度が小さい方を開始角122とし、角度が大きい方を終了角123とする。また、円弧要素129が円を表す場合は開始角122は例えば0°に設定され、終了角123は360°に設定される。   The angle that defines the arc element 129 is an angle formed by a predetermined reference line and a line segment connecting both end points of the arc element 129 and the center point 120 in the counterclockwise direction. The smaller angle is the start angle 122, and the larger angle is the end angle 123. When the arc element 129 represents a circle, the start angle 122 is set to 0 °, for example, and the end angle 123 is set to 360 °.

文字要素(図4)は、属性1〜属性5によって規定される。属性2は文字要素の基準位置の座標値を規定しており、属性3は文字の大きさを規定している。また、属性4は文字要素の配置角度を規定し、属性5は文字列の内容(文字列データ)を規定している。   The character element (FIG. 4) is defined by attributes 1 to 5. The attribute 2 defines the coordinate value of the reference position of the character element, and the attribute 3 defines the character size. The attribute 4 defines the arrangement angle of the character elements, and the attribute 5 defines the contents of the character string (character string data).

図7に文字要素の一例を図示する。
図7に示したように、文字要素139は、文字要素の表示基準点130の座標値(属性2)、大きさ131(属性3)、表示角132(属性4)、及び文字列133(属性5)によって規定される。
FIG. 7 illustrates an example of a character element.
As shown in FIG. 7, the character element 139 includes coordinate values (attribute 2), size 131 (attribute 3), display angle 132 (attribute 4), and character string 133 (attribute) of the display reference point 130 of the character element. 5).

大きさ131は、文字列133の大きさを規定している。
表示角132は、所定の基準線に対して文字列133が反時計方向に成す角度である。
また、文字列133は、文字列データ(文字コードにより寸法文字などを規定したデータ、即ちテキストデータ)にて構成されている。
The size 131 defines the size of the character string 133.
The display angle 132 is an angle formed by the character string 133 counterclockwise with respect to a predetermined reference line.
The character string 133 is composed of character string data (data defining dimension characters by character codes, that is, text data).

直線寸法要素(図4)は、属性1〜属性7によって規定される。属性2は寸法線の始点の座標値を規定し、属性3は寸法線の終点の座標値を規定している。
また、属性4は図形要素において寸法線が指す箇所の始点の座標値を規定しており、属性5は同様に寸法線が指す箇所の終点の座標値を規定している。
そして、属性6は寸法文字の表示基準位置の座標値を規定し、属性7は寸法文字を構成する文字列データを規定している。
The linear dimension element (FIG. 4) is defined by attribute 1 to attribute 7. The attribute 2 defines the coordinate value of the starting point of the dimension line, and the attribute 3 defines the coordinate value of the end point of the dimension line.
The attribute 4 defines the coordinate value of the start point of the location indicated by the dimension line in the graphic element, and the attribute 5 similarly defines the coordinate value of the end point of the location indicated by the dimension line.
The attribute 6 defines the coordinate value of the display reference position of the dimension character, and the attribute 7 defines the character string data constituting the dimension character.

図8(a)に直線寸法要素の一例を図示する。
図8(a)に示したように、直線寸法要素は、直線状の寸法線149と、その両端の寸法補助線148、148、及び文字列145などから構成されている。
属性2は寸法線149の始点140の座標値を規定しており、属性3は寸法線149の終点141の座標値を規定している。
FIG. 8A shows an example of a linear dimension element.
As shown in FIG. 8A, the linear dimension element includes a linear dimension line 149, dimension auxiliary lines 148 and 148 at both ends thereof, a character string 145, and the like.
The attribute 2 defines the coordinate value of the start point 140 of the dimension line 149, and the attribute 3 defines the coordinate value of the end point 141 of the dimension line 149.

また、属性4は寸法線149が指し示す箇所(図示せず)の始点142の座標値を規定しており、属性5は寸法線149が指し示す箇所(図示せず)の終点143の座標値を規定している。
更に、属性6は文字列145の表示基準点144の座標値を規定しており、属性7は文字列145を構成する文字列データを規定している。
なお、以下では寸法線が指し示す箇所を単に寸法指示箇所と記す。
The attribute 4 specifies the coordinate value of the start point 142 of the location (not shown) indicated by the dimension line 149, and the attribute 5 specifies the coordinate value of the end point 143 of the location (not shown) indicated by the dimension line 149. is doing.
Further, the attribute 6 defines the coordinate value of the display reference point 144 of the character string 145, and the attribute 7 defines the character string data constituting the character string 145.
In the following, the location indicated by the dimension line is simply referred to as a dimension indicating location.

図8(b)に直線寸法要素の使用例を図示する。
図8(b)に示したように、直線寸法要素は、寸法対象物240を構成する図形要素の寸法指示箇所に始点142と終点143を設定して生成される。
そのため、始点142と終点143の距離(寸法線149に平行な方向)により寸法線の示す距離を計測することができる。
FIG. 8B shows an example of using linear dimension elements.
As shown in FIG. 8B, the linear dimension element is generated by setting the start point 142 and the end point 143 at the dimension indicating location of the graphic element constituting the dimension object 240.
Therefore, the distance indicated by the dimension line can be measured by the distance (direction parallel to the dimension line 149) between the start point 142 and the end point 143.

角度寸法要素(図4)は、属性1〜属性6によって規定される。属性2は寸法線の始点の座標値を規定し、属性3は寸法線の終点の座標値を規定している。
また、属性4は寸法が示す角度の中心点の座標値を規定している。
更に、属性5は寸法文字の表示基準点の座標値を規定しており、属性6は寸法文字を構成する文字列データを規定している。
The angular dimension element (FIG. 4) is defined by attribute 1 to attribute 6. The attribute 2 defines the coordinate value of the starting point of the dimension line, and the attribute 3 defines the coordinate value of the end point of the dimension line.
The attribute 4 defines the coordinate value of the center point of the angle indicated by the dimension.
Furthermore, the attribute 5 defines the coordinate value of the display reference point of the dimension character, and the attribute 6 defines the character string data constituting the dimension character.

図9(a)に角度寸法要素の一例を図示する。角度寸法要素は、円弧状の寸法線159と、その両端の寸法補助線158、158、及び文字列154などから構成されている。
属性2は寸法線159の始点150の座標値を規定しており、属性3は寸法線159の終点151の座標値を規定している。
FIG. 9A shows an example of an angular dimension element. The angle dimension element includes an arc-shaped dimension line 159, dimension auxiliary lines 158 and 158 at both ends thereof, a character string 154, and the like.
The attribute 2 defines the coordinate value of the start point 150 of the dimension line 159, and the attribute 3 defines the coordinate value of the end point 151 of the dimension line 159.

また、属性4は角度寸法要素が示す角度の中心点152の座標値を規定している。
更に、属性5は文字列154の表示基準位置153の座標値を規定し、属性6は文字列154を構成する文字列データを規定している。
なお、以下では、角度寸法要素が示す角度の中心点を単に中心点と記す。
The attribute 4 defines the coordinate value of the center point 152 of the angle indicated by the angle dimension element.
Further, the attribute 5 defines the coordinate value of the display reference position 153 of the character string 154, and the attribute 6 defines the character string data constituting the character string 154.
In the following, the center point of the angle indicated by the angle dimension element is simply referred to as the center point.

図9(b)に角度寸法要素の使用例を図示する。図9(b)に示したように、角度寸法要素は、寸法対象物250における角度中心に中心点152を設定して生成される。
そのため、寸法補助線158、158の成す角度により寸法線の示す角度を計測することができる。
FIG. 9B shows an example of use of the angular dimension element. As shown in FIG. 9B, the angle dimension element is generated by setting the center point 152 at the center of the angle in the dimension object 250.
Therefore, the angle indicated by the dimension line can be measured by the angle formed by the dimension auxiliary lines 158 and 158.

弧長寸法要素(図4)は、属性1〜属性7によって規定される。
属性2は、寸法線の始点の座標値を規定し、属性3は寸法線の終点の座標値を規定している。
また、属性4は寸法指示箇所の始点の座標値を規定し、属性5は寸法指示箇所の終点の座標値を規定している。
更に、属性6は寸法文字の表示基準点の座標値を規定しており、属性7は寸法文字を構成する文字列データを規定している。
The arc length dimension element (FIG. 4) is defined by attribute 1 to attribute 7.
The attribute 2 defines the coordinate value of the start point of the dimension line, and the attribute 3 defines the coordinate value of the end point of the dimension line.
The attribute 4 defines the coordinate value of the start point of the dimension designation location, and the attribute 5 defines the coordinate value of the end point of the dimension designation location.
Further, attribute 6 defines the coordinate value of the display reference point of the dimension character, and attribute 7 defines character string data constituting the dimension character.

図10(a)に弧長寸法要素の一例を図示する。弧長寸法要素は、円弧状の寸法線169と、その両端の寸法補助線168、168、及び文字列164などから構成されている。
属性2は寸法線169の始点160の座標値を規定しており、属性3は寸法線169の終点161の座標値を規定している。
FIG. 10A shows an example of the arc length dimension element. The arc length dimension element includes an arc-shaped dimension line 169, dimension auxiliary lines 168 and 168 at both ends thereof, a character string 164, and the like.
The attribute 2 defines the coordinate value of the start point 160 of the dimension line 169, and the attribute 3 defines the coordinate value of the end point 161 of the dimension line 169.

また、属性4は寸法指示箇所の始点162の座標値を規定し、属性5は寸法指示箇所の終点163の座標値を規定する。
更に、属性6は文字列164の表示基準位置163の座標値を規定し、属性7は文字列164を構成する文字列データを規定している。
The attribute 4 defines the coordinate value of the start point 162 of the dimension designation location, and the attribute 5 defines the coordinate value of the end point 163 of the dimension designation location.
Further, the attribute 6 defines the coordinate value of the display reference position 163 of the character string 164, and the attribute 7 defines the character string data constituting the character string 164.

図10(b)に弧長寸法要素の使用例を図示する。図10(b)に示したように、弧長寸法要素は、寸法対象物260を構成する円弧要素261の寸法指示箇所に始点162と終点163を設定して生成される。また、寸法補助線168、168は、円弧要素261の接線に対して垂直になるように設定される。   FIG. 10B shows an example of use of the arc length dimension element. As shown in FIG. 10B, the arc length dimension element is generated by setting the start point 162 and the end point 163 at the dimension indicating location of the arc element 261 constituting the dimension object 260. The dimension auxiliary lines 168 and 168 are set to be perpendicular to the tangent line of the arc element 261.

このように寸法補助線168、168を設定すると、寸法補助線168、168の交点166が円弧要素261の中心点となる。そのため、交点166と終点163(又は始点162)から成る線分(線分166−163などと記す)の長さが円弧261の半径となるため、この半径と補助寸法線168、168の成す角度から円弧261の弧長を求めることができる。   When the dimension extension lines 168 and 168 are set in this way, the intersection 166 of the dimension extension lines 168 and 168 becomes the center point of the arc element 261. Therefore, the length of a line segment (denoted as a line segment 166-163) composed of the intersection point 166 and the end point 163 (or the start point 162) is the radius of the arc 261. From this, the arc length of the arc 261 can be obtained.

直径寸法要素(図4)は、属性1〜属性5によって規定される。属性2は寸法線の始点の座標値を規定し、属性3は寸法線の終点の座標値を規定している。
また、属性4は寸法文字の表示基準点の座標値を規定しており、属性5は寸法文字を構成する文字列データを規定している。
直径寸法要素は、円弧や円の直径などを示すのに用いられる。
The diameter dimension element (FIG. 4) is defined by attribute 1 to attribute 5. The attribute 2 defines the coordinate value of the starting point of the dimension line, and the attribute 3 defines the coordinate value of the end point of the dimension line.
The attribute 4 defines the coordinate value of the display reference point of the dimension character, and the attribute 5 defines the character string data constituting the dimension character.
The diameter dimension element is used to indicate the diameter of an arc or a circle.

図11(a)に直径寸法要素の一例を図示する。図11(a)に示したように、直径寸法要素は、寸法線179と、文字列173などから構成されている。
属性2は寸法線179の始点170の座標値を規定しており、属性3は寸法線179の終点171の座標値を規定している。
更に、属性4は文字列173の表示基準位置172の座標値を規定し、属性5は文字列173を構成する文字列データを規定している。
FIG. 11A shows an example of a diameter dimension element. As shown in FIG. 11A, the diameter dimension element includes a dimension line 179, a character string 173, and the like.
The attribute 2 defines the coordinate value of the start point 170 of the dimension line 179, and the attribute 3 defines the coordinate value of the end point 171 of the dimension line 179.
Further, the attribute 4 defines the coordinate value of the display reference position 172 of the character string 173, and the attribute 5 defines the character string data constituting the character string 173.

図11(b)に直径寸法の使用例を図示する。図11(b)に示したように、直径寸法要素は、寸法対象物270を構成する円要素の寸法指示箇所(円の直径上の2点)に始点170と終点171を設定して生成される。
そのため、始点170と終点171の距離から寸法指示箇所の直径を求めることができる。
FIG. 11B shows an example of using the diameter dimension. As shown in FIG. 11B, the diameter dimension element is generated by setting the start point 170 and the end point 171 at the dimension indicating positions (two points on the diameter of the circle) of the circle element constituting the dimension object 270. The
Therefore, the diameter of the dimension indicating location can be obtained from the distance between the start point 170 and the end point 171.

半径寸法要素(図4)は、属性1〜属性5によって規定される。属性2は寸法線の始点の座標値を規定し、属性3は寸法線の終点の座標値を規定している。
また、属性4は寸法文字の表示基準点の座標値を規定しており、属性5は寸法文字を構成する文字列データを規定している。
半径寸法要素は、円弧や円の半径などを示すのに用いられる。
The radial dimension element (FIG. 4) is defined by attribute 1 to attribute 5. The attribute 2 defines the coordinate value of the starting point of the dimension line, and the attribute 3 defines the coordinate value of the end point of the dimension line.
The attribute 4 defines the coordinate value of the display reference point of the dimension character, and the attribute 5 defines the character string data constituting the dimension character.
The radial dimension element is used to indicate the radius of an arc or a circle.

図12(a)に半径寸法要素の一例を図示する。図12(a)に示したように、半径寸法要素は、寸法線189と、文字列183などから構成されている。
属性2は寸法線189の始点180の座標値を規定しており、属性3は寸法線189の終点181の座標値を規定している。
更に、属性4は文字列183の表示基準位置182の座標値を規定し、属性5は文字列183を構成する文字列データを規定している。
FIG. 12A shows an example of the radial dimension element. As shown in FIG. 12A, the radial dimension element is composed of a dimension line 189, a character string 183, and the like.
The attribute 2 defines the coordinate value of the start point 180 of the dimension line 189, and the attribute 3 defines the coordinate value of the end point 181 of the dimension line 189.
Further, the attribute 4 defines the coordinate value of the display reference position 182 of the character string 183, and the attribute 5 defines the character string data constituting the character string 183.

図11(b)に半径寸法の使用例を図示する。図11(b)に示したように、半径寸法要素は、寸法対象物280を構成する円弧要素の中心点に始点180を設定し、寸法指示箇所に終点181を設定して生成される。
そのため、始点180と終点181の距離から寸法指示箇所の半径を計測することができる。
FIG. 11B shows an example of using the radial dimension. As shown in FIG. 11B, the radial dimension element is generated by setting the start point 180 at the center point of the arc element constituting the dimension object 280 and setting the end point 181 at the dimension indication position.
Therefore, the radius of the dimension indicating location can be measured from the distance between the start point 180 and the end point 181.

以上説明したように、図面要素は複数の属性を持っている。そのため、CAD装置1は、図面要素に含まれる属性を確認し、これを図4の表に照会することにより、当該図面要素の種類を特定することができる。
例えば、ある図面要素が属性1〜属性3を備えており、属性2と属性3が何れも座標値である場合、この図面要素は図4の表より直線要素であることがわかる。
As described above, the drawing element has a plurality of attributes. Therefore, the CAD device 1 can identify the type of the drawing element by confirming the attribute included in the drawing element and referring to the attribute in the table of FIG.
For example, when a certain drawing element has attribute 1 to attribute 3 and both attribute 2 and attribute 3 are coordinate values, it can be seen from the table in FIG. 4 that this drawing element is a straight line element.

また、直径寸法要素と半径寸法要素は属性の構成が同じであるため、属性の構成からこれらを判別することはできないが、何れの場合も矢線の長さを求めてこれを算出寸法値とし、表記寸法と比較するため、これらを区別する必要はない。
また、図面要素の種類を特定する属性を設け、CAD装置1がこの属性を用いて図面要素の種類を判別するように構成してもよい。
In addition, the diameter dimension element and the radial dimension element have the same attribute configuration, so they cannot be distinguished from the attribute configuration, but in either case, the length of the arrow line is obtained and used as the calculated dimension value. It is not necessary to distinguish these for comparison with the notation dimensions.
Further, an attribute for specifying the type of the drawing element may be provided, and the CAD apparatus 1 may be configured to determine the type of the drawing element using this attribute.

以上に、CADデータの構成と、作図に用いられる図面要素の構成について説明したが、次に、図面要素を用いて寸法線が指し示す箇所の寸法値(算出寸法値)を計算する方法について説明する。   The configuration of CAD data and the configuration of drawing elements used for drawing have been described above. Next, a method for calculating the dimension value (calculated dimension value) of the location indicated by the dimension line using the drawing elements will be described. .

図13は、直線寸法要素で指し示す部分の長さを計測する方法を説明するための図である。
図13に示したように、直線寸法要素が指し示す部分の長さは、始点142と終点143の寸法線149方向における距離を計算すればよい。
図13の例では、終点143を通り、寸法線149に平行な直線と、この直線に始点142から下ろした垂線との交点142aを計算し、更に、交点142aと終点143を端点とする線分149aの長さAを求めればよい。
FIG. 13 is a diagram for explaining a method of measuring the length of a portion indicated by a linear dimension element.
As shown in FIG. 13, the length of the portion pointed to by the linear dimension element may be calculated by calculating the distance between the start point 142 and the end point 143 in the dimension line 149 direction.
In the example of FIG. 13, an intersection 142a between a straight line passing through the end point 143 and parallel to the dimension line 149 and a perpendicular drawn from the start point 142 is calculated, and a line segment having the intersection point 142a and the end point 143 as end points is calculated. What is necessary is just to obtain | require the length A of 149a.

図14は角度寸法要素が指し示す角度を計測する方法を説明するための図である。
角度寸法要素が指し示す角度は、始点150と中心点152を通る直線と、終点151と中心点152を通る直線の成す角度Aを算出すればよい。
FIG. 14 is a diagram for explaining a method of measuring the angle indicated by the angle dimension element.
As the angle indicated by the angle dimension element, an angle A formed by a straight line passing through the start point 150 and the center point 152 and a straight line passing through the end point 151 and the center point 152 may be calculated.

図15は、弧長寸法要素が指し示す弧長の長さを計測する方法を説明するための図である。
弧長を算出するためには、まず、始点160と指示箇所の始点162を通る直線と、終点161と指示箇所の終点163を通る直線の交点165を計算する。そして、これらの直線の成す角度Tを計算し、更に、終点163と交点165を結ぶ線分の長さRを求める。
このようにして求めた角度Tと長さRを用いて弧長寸法要素が指し示す弧長Aを求めることができる。
FIG. 15 is a diagram for explaining a method of measuring the length of the arc length indicated by the arc length dimension element.
In order to calculate the arc length, first, an intersection 165 of a straight line passing through the start point 160 and the start point 162 of the designated location and a straight line passing through the end point 161 and the end point 163 of the designated location is calculated. Then, an angle T formed by these straight lines is calculated, and a length R of a line segment connecting the end point 163 and the intersection 165 is obtained.
The arc length A indicated by the arc length dimension element can be obtained using the angle T and the length R thus obtained.

直径寸法要素、及び半径寸法要素の指し示す長さを計測するためには、寸法線の始点と終点の距離を計算すればよい。
以上のようにして、寸法線などの図面要素を用いて、図形要素の寸法表記が指し示す寸法値を計算することができる。
In order to measure the lengths indicated by the diameter dimension element and the radial dimension element, the distance between the start point and the end point of the dimension line may be calculated.
As described above, the dimension value indicated by the dimension notation of the graphic element can be calculated using the drawing element such as the dimension line.

次に、寸法文字を構成する文字列データを数値に変換して表記寸法値を生成する方法について説明する。
この処理を行うために、CAD装置1は、寸法表記の寸法文字から文字列データを抽出し、これを予め用意してある文字列パターンとマッチングして比較する。以下に具体的なマッチング方法について説明する。
Next, a method for generating the notation dimension value by converting the character string data constituting the dimension character into a numerical value will be described.
In order to perform this processing, the CAD device 1 extracts character string data from the dimension character with the dimension notation, and compares it with a character string pattern prepared in advance. A specific matching method will be described below.

抽出した文字列データには、寸法を表す数字のほか、記号や注意書きなど数値を表さない文字も含まれる。そのため、CAD装置1は、文字列データから値を表す文字(”0”〜”9”、”+”、”−”、”,”、”.”、空白文字)が連続した部分があるか否かを判断し、連続した範囲別に文字列データを抜き出す。これによって、数値を表す数値文字から成る文字列が抽出される。   The extracted character string data includes characters that do not represent numerical values such as symbols and cautions in addition to numbers that represent dimensions. Therefore, the CAD device 1 has a portion in which characters representing values (“0” to “9”, “+”, “−”, “,”, “.”, Blank characters) are consecutive from the character string data). The character string data is extracted for each continuous range. As a result, a character string composed of numerical characters representing numerical values is extracted.

各寸法要素が角度の寸法を表すものでない場合(直線寸法要素、弧長寸法要素、直径寸法要素、半径寸法要素など、長さを表す寸法要素の場合)、CAD装置1は、抜き出した数値文字の集まりを実数値として数値データに変換する。   When each dimension element does not represent an angle dimension (in the case of a dimension element representing a length, such as a linear dimension element, an arc length dimension element, a diameter dimension element, or a radius dimension element), the CAD device 1 extracts the numerical characters Is converted into numerical data as a real value.

数値文字の集まりの次に距離の単位を表す文字がある場合、CAD装置1は、その数値文字の単位として認識し、記憶する。
寸法値の表記では、寸法の指し示す意味、”=”、数値文字、単位の順序で記述することが多いので、寸法文字列に”=”が含まれていた場合、CAD装置1は、”=”より後ろの数値文字を数値データに変換する。
If there is a character representing a unit of distance next to a set of numerical characters, the CAD device 1 recognizes and stores the unit as the numerical character unit.
In the description of the dimension value, the meaning of the dimension, “=”, numerical characters, and units are often described in the order of the units. Therefore, if the dimension character string includes “=”, the CAD device 1 indicates “=”. The numerical character after "is converted into numerical data.

一方、寸法要素が角度を表すものである場合(角度寸法要素など)、CAD装置1は、抜き出した数値文字の集まりを先頭から順番に検索して、「集まりと集まりの間に1文字のみ存在する」かつ「1文字の次に数値文字の集まりが存在する」という条件を満たす1文字がある場合、その1文字を抜き出す。この条件は、数値文字の間に存在する角度単位を抽出するものである。   On the other hand, when the dimension element represents an angle (such as an angle dimension element), the CAD apparatus 1 searches the collection of numeric characters extracted in order from the top, and “only one character exists between the collections. If there is one character that satisfies the conditions “Yes” and “A set of numerical characters exists after one character”, that one character is extracted. This condition is to extract angular units existing between numerical characters.

CAD装置1は、このようにして数値文字間の1文字を抽出した場合、この1文字を”°”などの角度の単位を表す文字列と比較する。両者が一致した場合は、数値文字と抽出した角度単位を表す文字を、抽出前の順序にて結合する。   When the CAD apparatus 1 extracts one character between numerical characters in this manner, the CAD device 1 compares the one character with a character string representing an angle unit such as “°”. If the two match, the numerical character and the character representing the extracted angle unit are combined in the order before extraction.

この結合の処理を、角度を示す文字列が現れる個数分(例えば度、分、秒の3回)繰り返して角度数値とする。
繰り返し作業中に、単位文字や数値文字の抽出に失敗した場合は、その時点で角度数値として認識する。
以上のようにして寸法文字列を数値に変換して表記寸法値を生成することができる。
This combining process is repeated for the number of times the character string indicating the angle appears (for example, three times of degrees, minutes, and seconds) to obtain an angle numerical value.
If extraction of unit characters or numerical characters fails during repetitive work, it is recognized as an angle numerical value at that time.
As described above, the dimension character string can be converted into a numerical value to generate a notation dimension value.

次に、表記寸法値と算出寸法値の比較方法について説明する。
CAD装置1は、CADデータで寸法表記されている寸法値が改変されていないか確認するため、算出寸法値を正しい値とし、これを基準に表記寸法値が正しいか否かを判断する。
Next, a method for comparing the notation dimension value and the calculated dimension value will be described.
The CAD device 1 determines whether or not the dimension value indicated by the CAD data has been altered in order to make sure that the calculated dimension value is a correct value and uses the reference as a reference.

CAD装置1は、表記寸法値と算出寸法値の一致を判断するために、予め単位ごとに許容誤差を記憶しており、この許容誤差内で両者が一致するか否かを判断する。
例えば、単位が「m」である場合、許容誤差が0.1[m]に設定されているものとする。そして、比較対象の表記寸法値が3[m]で、算出寸法値が3.05[m]であったとする。この場合、両者の誤差は0.05[m]であり、許容誤差の範囲であるため、CAD装置1は、表記寸法値と算出寸法値が一致するものと判断する。なお、これら許容誤差はユーザが設定することも可能である。
The CAD device 1 stores an allowable error for each unit in advance in order to determine whether the written dimension value and the calculated dimension value match, and determines whether or not both match within the allowable error.
For example, when the unit is “m”, it is assumed that the allowable error is set to 0.1 [m]. Then, it is assumed that the written dimension value to be compared is 3 [m] and the calculated dimension value is 3.05 [m]. In this case, since the error between the two is 0.05 [m], which is within the allowable error range, the CAD device 1 determines that the written dimension value matches the calculated dimension value. These permissible errors can also be set by the user.

算出寸法値は、CADデータの図形要素を計測して算出するため、例えば、数値計算に伴う打切誤差などの影響を受け、設計値と微妙に異なる場合がある。
そのため、表記寸法値と算出寸法値の完全一致を一致の条件とすると条件が厳しすぎ、表記寸法値と算出寸法値が実質的に一致しているにもかかわらず一致していないと判断される場合が考えられる。
そのため、本実施の形態では、表記寸法値と算出寸法値の一致を判断するに当たり、許容誤差を設定し、両者の実質一致を判定することにした。
Since the calculated dimension value is calculated by measuring a graphic element of CAD data, the calculated dimension value may be slightly different from the design value due to the influence of a truncation error accompanying numerical calculation, for example.
For this reason, if the matching condition is the exact match between the written dimension value and the calculated dimension value, the condition is too strict, and it is determined that the written dimension value and the calculated dimension value do not match even though they are substantially matched. There are cases.
For this reason, in the present embodiment, in determining the coincidence between the written dimension value and the calculated dimension value, an allowable error is set, and the substantial coincidence between the two is determined.

まず、CAD装置1は、縮尺図面データ43の縮尺と、算出寸法値とを用いて寸法対象物の実寸の値を計算し、これを各単位にて表す。例えば、算出寸法値が距離や弧長を表す数値である場合、これをキロメートル・メートル・センチメートル・ミリメートルなどの各単位で表す。角度を表す数値である場合は、10進法(「123.45度」など)・60進法(「123°35’46”」)などの単位で表す。   First, the CAD device 1 calculates the actual size value of the dimension object using the scale of the scale drawing data 43 and the calculated dimension value, and represents this in each unit. For example, when the calculated dimension value is a numerical value representing a distance or an arc length, it is expressed in units such as kilometers, meters, centimeters, and millimeters. In the case of a numerical value representing an angle, it is expressed in units of decimal system (such as “123.45 degrees”) and 60 system (“123 ° 35′46” ”).

一方、表記寸法値は何れかの単位で表された値であるため、もし表記寸法値と算出寸法値が等しいならば、表記寸法値が、各単位で表した算出寸法値の何れかに一致するはずである。
このように、算出寸法値を各単位にて表すことにより、表記寸法値が何れの単位にて表されていても比較を行うことができる。
On the other hand, since the indicated dimension value is a value expressed in any unit, if the indicated dimension value and the calculated dimension value are equal, the indicated dimension value matches one of the calculated dimension values expressed in each unit. Should do.
As described above, by expressing the calculated dimension value in each unit, the comparison can be performed regardless of which unit the expressed dimension value is expressed.

そこで、CAD装置1は、表記寸法値と算出寸法値の比較を、算出寸法値の全ての単位に渡って行い(表記寸法値と、各単位で表した算出寸法値の全ての組み合わせに対して行い)、1つでも数値が一致した場合は、表記寸法が正しいものと判断する。   Therefore, the CAD device 1 compares the notation dimension value and the calculated dimension value over all units of the calculated dimension value (for all combinations of the notation dimension value and the calculated dimension value expressed in each unit). Perform) If at least one numerical value matches, it is determined that the notation dimensions are correct.

一方、一致するものがなかった場合、CAD装置1は、表記寸法値が誤っているものと判断し、比較した数値の差が最も少ない算出寸法値と単位を正しい表記寸法値の候補としてユーザに提示する。
比較した数値と単位を表示することにより、ユーザは、表記寸法値と算出寸法値の差を確認することができる。
On the other hand, if there is no match, the CAD device 1 determines that the notation dimension value is incorrect, and the calculated dimension value and unit with the smallest difference between the compared numerical values are given to the user as candidates for the correct notation dimension value. Present.
By displaying the compared numerical value and unit, the user can check the difference between the written dimension value and the calculated dimension value.

なお、CAD装置1は、比較対象が角度である場合は、10進法角度と60進法角度での比較は行わない。
このように表記寸法値と算出寸法値の角度単位が異なる場合、CAD装置1は、何れか一方の単位を他方の単位に変換して両者の単位を揃え、比較を行うことができる。
Note that the CAD device 1 does not compare the decimal angle and the 60-degree angle when the comparison target is an angle.
In this way, when the angle unit of the notation dimension value and the calculated dimension value is different, the CAD apparatus 1 can convert either unit into the other unit, align both units, and perform comparison.

ところで、縮尺図面データ43に縮尺情報が存在しない場合がある。この場合、CAD装置1は次のように処理を行う。
まず、CAD装置1は、表記寸法値と算出寸法値を用いて縮尺を計算する。CAD装置1は、この縮尺の計算を全ての寸法要素に対して行う。
そして、求めた縮尺が同じ寸法要素の個数を数え、一番多い縮尺を当該縮尺図面データ43の縮尺として採用する。
Incidentally, there is a case where scale information does not exist in the scale drawing data 43. In this case, the CAD device 1 performs processing as follows.
First, the CAD device 1 calculates the scale using the notation dimension value and the calculated dimension value. The CAD apparatus 1 performs this scale calculation for all dimension elements.
Then, the number of dimension elements having the same scale is counted, and the largest scale is adopted as the scale of the scale drawing data 43.

より詳細には、CAD装置1は、表記寸法値と当該表記寸法値に対応する算出寸法値とから縮尺を算出し、前記算出した算出縮尺を例えばRAM14内の所定の記憶領域に記憶する。CAD装置1はこの記憶した縮尺を縮尺図面データ43の縮尺として採用する。このようにCAD装置1は縮尺算出手段を備えている。   More specifically, the CAD device 1 calculates a scale from the notation dimension value and a calculated dimension value corresponding to the notation dimension value, and stores the calculated scale in, for example, a predetermined storage area in the RAM 14. The CAD apparatus 1 employs the stored scale as the scale of the scale drawing data 43. As described above, the CAD apparatus 1 includes a scale calculation unit.

次に、CAD装置1は、採用した縮尺値を使い、先に説明した縮尺のある寸法と同じように一致・不一致を比較する。
ここで、縮尺情報とはアプリケーション固有の縮尺もしくは、縮尺を持つ図面フォーマットでの縮尺などを表す(例えば、SXF(Scadec data eXchange Format)における部分図など)。
Next, the CAD device 1 compares the coincidence / non-coincidence using the scale values that have been adopted, in the same way as the scaled dimensions described above.
Here, the scale information represents an application-specific scale or a scale in a drawing format having a scale (for example, a partial view in SXF (Scadec data eXchange Format)).

CAD装置1は、以上のようにして表記寸法値と算出寸法値を比較した後、例えば、比較結果を一覧にしたり、あるいは、図面中に出力したりなどして、比較結果をユーザに識別可能に提供する。   After the CAD device 1 compares the indicated dimension value and the calculated dimension value as described above, the comparison result can be identified to the user by, for example, listing the comparison results or outputting them in the drawing. To provide.

次に、図16を用いてCAD装置1が表記寸法値と算出寸法値の一致・不一致を比較する手順について説明する。
以下の手順は、CPU13がCADプログラムに従って行うものである。
Next, a procedure in which the CAD apparatus 1 compares the notation / disagreement between the written dimension value and the calculated dimension value will be described with reference to FIG.
The following procedure is performed by the CPU 13 according to the CAD program.

まず、CAD装置1は、縮尺図面データ43から直線寸法要素や角度寸法要素など、寸法に係る図面要素を抽出する(ステップ5)。
次に、CAD装置1は、抽出した図面要素から寸法表記に係る文字列を抽出し、これを数値に変換する(ステップ10)。
First, the CAD apparatus 1 extracts drawing elements related to dimensions, such as linear dimension elements and angular dimension elements, from the scale drawing data 43 (step 5).
Next, the CAD device 1 extracts a character string related to the dimensional notation from the extracted drawing elements, and converts it into a numerical value (step 10).

より詳細には、CAD装置1は、寸法表記を構成する文字列データを読み取って、例えば、RAM14内の所定の記憶領域にこれを記憶する。このようにCAD装置1は、寸法表記読取手段を備えている。   More specifically, the CAD device 1 reads character string data constituting a dimensional notation and stores it in a predetermined storage area in the RAM 14, for example. As described above, the CAD apparatus 1 includes the dimension notation reading unit.

そして、CAD装置1は、この記憶領域に記憶した文字列データを変換して寸法表記が表す表記寸法値を生成し、これを例えばRAM14内の所定の記憶領域に記憶する。このようにCAD装置1は、表記寸法値生成手段を備えている。   Then, the CAD device 1 converts the character string data stored in the storage area to generate a notation dimension value represented by the dimension notation, and stores this in a predetermined storage area in the RAM 14, for example. As described above, the CAD apparatus 1 includes notation dimension value generation means.

次に、CAD装置1は、当該寸法に係る図面要素が指し示す寸法値を寸法線、寸法補助線などの情報を用いて計算し、算出寸法値を生成する(ステップ15)。
次に、CAD装置1は、表記寸法値と算出寸法値を比較し(ステップ20)、比較結果を記憶する(ステップ25)。
Next, the CAD device 1 calculates a dimension value indicated by the drawing element related to the dimension using information such as a dimension line and a dimension auxiliary line, and generates a calculated dimension value (step 15).
Next, the CAD device 1 compares the notation dimension value with the calculated dimension value (step 20) and stores the comparison result (step 25).

より詳細には、CAD装置1は、文字列データを読み取った寸法表記に対応する図形要素の寸法値を寸法線や寸法補助線などを用いて算出し、算出した算出寸法値を例えばRAM14内の所定の記憶領域に記憶する。このようにCAD装置1は寸法値算出手段を具備している。
そして、CAD装置1は、先に記憶した表記寸法値と、この記憶した算出寸法値と、を比較する。このようにCAD装置1は比較手段を備えている。
More specifically, the CAD device 1 calculates the dimension value of the graphic element corresponding to the dimension notation obtained by reading the character string data using a dimension line, a dimension extension line, and the like, and calculates the calculated dimension value in, for example, the RAM 14. Store in a predetermined storage area. As described above, the CAD apparatus 1 includes the dimension value calculating means.
Then, the CAD device 1 compares the previously stored notation dimension value with the stored calculated dimension value. As described above, the CAD apparatus 1 includes a comparison unit.

次に、CAD装置1は、寸法に係る全ての図面要素(寸法要素)に対して寸法確認を行ったかどうかを判断し、まだ寸法確認を行っていない図面要素がある場合はステップ5に戻って確認処理を続行する(ステップ30;N)。   Next, the CAD device 1 determines whether or not the dimension confirmation has been performed for all the drawing elements (dimension elements) related to the dimension. If there is a drawing element that has not yet been dimension confirmed, the process returns to step 5. The confirmation process is continued (step 30; N).

寸法に係る全ての図面要素に対して寸法確認を行った場合は(ステップ30;Y)、比較結果をユーザに提示し(ステップ40)、処理を終了する。
このようにCAD装置1は比較結果を出力する比較結果出力手段を備えている。
When the dimension confirmation is performed for all the drawing elements related to the dimension (step 30; Y), the comparison result is presented to the user (step 40), and the process is terminated.
As described above, the CAD apparatus 1 includes comparison result output means for outputting a comparison result.

図17(a)は、比較結果の提示例を示した図であり、CAD装置1のディスプレイに表示されたものである。
画面左側には、表記寸法値(寸法文字)と算出寸法値(計測値)が一致しなかった図面要素が一覧にて表示される。
FIG. 17A is a diagram showing a presentation example of the comparison result, which is displayed on the display of the CAD device 1.
On the left side of the screen, a list of drawing elements whose written dimension values (dimension characters) and calculated dimension values (measurement values) did not match is displayed.

また、画面右側には、値が一致しなかった寸法線、寸法補助線、及び寸法文字が色を変えて(図示せず)表示される。
更に、左側の一覧表でエラーになった図面要素をマウスでクリックするなどして選択すると、右側の画面で対応する図面要素の色が変わったり、その部分の部分拡大図が表示されるように構成することもできる。
On the right side of the screen, dimension lines, dimension auxiliary lines, and dimension characters whose values do not match are displayed in different colors (not shown).
In addition, if you select a drawing element with an error in the list on the left by clicking with the mouse, the color of the corresponding drawing element changes on the right screen, or a partial enlarged view of that part is displayed. It can also be configured.

このほか、一覧には、出力可否、比較単位、寸法の縮尺情報などを表示してもよい。
また、一覧の結果を一度に出力することもできる。一度に出力する際には、一覧の項目「出力可否」を設定することにより、出力する寸法を選択することが可能である。
In addition, the list may display output availability, comparison units, scale information of dimensions, and the like.
You can also output the list results at once. When outputting at one time, it is possible to select the size to be output by setting the item “output availability” in the list.

また、図17(b)に示したように、表記寸法値と計測寸法値が一致しなかった場合、設計図面中に表記寸法値と併記して、計測寸法値を表示することもできる。
図17(b)では、表記寸法値「0.520」に対して計測寸法値「0.505」が併記されており、表記寸法値「0.200」に対して計測寸法値「10.000」が併記されている。
Further, as shown in FIG. 17B, when the notation dimension value and the measurement dimension value do not match, the measurement dimension value can be displayed together with the notation dimension value in the design drawing.
In FIG. 17B, the measured dimension value “0.505” is written together with the written dimension value “0.520”, and the measured dimension value “10.000” is plotted against the written dimension value “0.200”. "Is also written.

更に、一覧表示をテキストフォーマットのファイルに出力することもでき、同時に図面をデータファイルに出力したり、出力したファイルを電子メールなどで送信することもできる。
これらの確認・出力機能を使用することで、ユーザに修正が必要な箇所を示すことが容易になる。
Further, the list display can be output to a text format file, and at the same time, the drawing can be output to a data file, or the output file can be transmitted by e-mail or the like.
By using these confirmation / output functions, it becomes easy for the user to indicate a portion that needs to be corrected.

以上に説明した本実施の形態により次のような効果を得ることができる。
(1)寸法文字列から数値を抽出し、前後の文字列から、マイナス符号や角度単位の記号を識別して数値を認識できる。
(2)寸法の形状に応じた寸法値の算出を行うことで、寸法の指す箇所の図面上の数値を計算できる。
(3)単位を考慮した数値比較を行うことで、単位が記入されていなくても、寸法文字列の数値と、寸法の指す箇所の算出値が一致するかどうかを判断できる。
(4)縮尺情報がない図面に描かれた寸法においても、縮尺を算定し、縮尺情報を持つ寸法と同じように確認することができる。
The following effects can be obtained by the present embodiment described above.
(1) A numerical value can be extracted from a size character string, and a numerical value can be recognized by identifying a minus sign or a symbol of an angle unit from the preceding and following character strings.
(2) By calculating the dimension value according to the shape of the dimension, the numerical value on the drawing of the location indicated by the dimension can be calculated.
(3) By comparing the numerical values in consideration of the units, it is possible to determine whether or not the numerical value of the dimension character string matches the calculated value of the location indicated by the dimension even if no unit is entered.
(4) Even in a dimension drawn in a drawing without scale information, the scale can be calculated and confirmed in the same manner as a dimension having scale information.

なお、本実施の形態では、寸法線や寸法補助線の座標値を用いて図形要素の寸法値を計算したが、算出寸法値の計測方法はこれに限定するものではなく、図形要素の座標値から直接求めることも可能である。
例えば、ある寸法要素に対応する直線要素の長さを算出する場合、CAD装置1は、まず、この寸法要素に対応する直線要素を認識し、次いでこの直線要素の両端の座標値からこの直線要素の算出寸法を算出することができる。
In the present embodiment, the dimension value of the graphic element is calculated using the coordinate value of the dimension line or the auxiliary dimension line, but the measurement method of the calculated dimension value is not limited to this, and the coordinate value of the graphic element is not limited to this. It is also possible to ask directly from
For example, when calculating the length of a linear element corresponding to a certain dimension element, the CAD device 1 first recognizes the linear element corresponding to this dimension element, and then uses this linear element from the coordinate values at both ends of this linear element. Can be calculated.

CAD装置のハードウェアの構成の一例を示した図である。It is the figure which showed an example of the hardware constitutions of a CAD apparatus. CADデータの構成を説明するための図である。It is a figure for demonstrating the structure of CAD data. CADデータの描画イメージを説明するための図である。It is a figure for demonstrating the drawing image of CAD data. 図面要素と、これら図面要素の属性を一覧した表である。It is a table listing drawing elements and attributes of these drawing elements. 直線要素を説明するための図である。It is a figure for demonstrating a linear element. 円弧要素を説明するための図である。It is a figure for demonstrating a circular arc element. 文字要素を説明するための図である。It is a figure for demonstrating a character element. 直線寸法要素を説明するための図である。It is a figure for demonstrating a linear dimension element. 角度寸法要素を説明するための図である。It is a figure for demonstrating an angle dimension element. 弧長寸法要素を説明するための図である。It is a figure for demonstrating an arc length dimension element. 直径寸法要素を説明するための図である。It is a figure for demonstrating a diameter dimension element. 半径寸法要素を説明するための図である。It is a figure for demonstrating a radial dimension element. 直線寸法要素で指し示す部分の長さを計測する方法を説明するための図である。It is a figure for demonstrating the method to measure the length of the part pointed by a linear dimension element. 角度寸法要素で指し示す部分の角度を計測する方法を説明するための図である。It is a figure for demonstrating the method to measure the angle of the part pointed by an angle dimension element. 弧長寸法要素で指し示す部分の長さを計測する方法を説明するための図である。It is a figure for demonstrating the method to measure the length of the part pointed by an arc length dimension element. 表記寸法値と算出寸法値の一致・不一致を比較する手順について説明するためのフローチャートである。It is a flowchart for demonstrating the procedure which compares the coincidence / disagreement of a description dimension value and a calculated dimension value. 比較結果の提示例を示した図である。It is the figure which showed the example of presentation of the comparison result.

符号の説明Explanation of symbols

1 CAD装置
11 制御部
12 ROM
13 CPU
14 RAM
15 入力装置
16 出力装置
17 通信制御装置
18 バスライン
19 入出力インターフェース
20 記憶媒体駆動装置
23 記憶装置
1 CAD device 11 Control unit 12 ROM
13 CPU
14 RAM
DESCRIPTION OF SYMBOLS 15 Input device 16 Output device 17 Communication control device 18 Bus line 19 Input / output interface 20 Storage medium drive device 23 Storage device

Claims (6)

寸法表記が対応付けられた図形要素を用いて構成されたCADデータから、前記寸法表記を構成する文字列データを読み取って所定の記憶領域に記憶する寸法表記読取手段と、
前記記憶した文字列データを変換して前記寸法表記が表す表記寸法値を生成し、前記生成した表記寸法値を所定の記憶領域に記憶する表記寸法値生成手段と、
前記文字列データを読み取った寸法表記に対応する図形要素の算出寸法値を算出し、前記算出した算出寸法値を所定の記憶領域に記憶する寸法値算出手段と、
前記記憶した表記寸法値と、前記記憶した算出寸法値と、を比較する比較手段と、
前記比較手段による比較結果を出力する比較結果出力手段と、
を具備したことを特徴とするCAD装置。
Dimension notation reading means for reading character string data constituting the dimension notation from CAD data configured using graphic elements associated with dimension notations and storing them in a predetermined storage area;
Converting the stored character string data to generate a notation dimension value represented by the dimension notation, and storing the generated notation dimension value in a predetermined storage area;
Dimension value calculating means for calculating a calculated dimension value of a graphic element corresponding to the dimension notation obtained by reading the character string data, and storing the calculated calculated dimension value in a predetermined storage area;
Comparison means for comparing the stored notation dimension value with the stored calculated dimension value;
Comparison result output means for outputting a comparison result by the comparison means;
A CAD apparatus comprising:
前記寸法値算出手段は、当該算出した図形要素に対応する寸法表記の寸法線、及び寸法補助線の少なくとも一方の座標値を用いて図形要素の寸法値を算出することを特徴とする請求項1に記載のCAD装置。   2. The dimension value calculating means calculates a dimension value of a graphic element using a coordinate value of at least one of a dimension line and a dimension auxiliary line corresponding to the calculated graphic element. The CAD device described in 1. 前記記憶した表記寸法値の単位が寸法表記によって特定されない場合、前記取得した表記寸法値と算出寸法値との誤差が、単位ごとに設定された表記寸法数値と算出寸法数値の許容誤差のうちの少なくとも1つを満たしている場合に、当該表記寸法値と当該算出寸法値が一致しているか否かを比較することを特徴とする請求項1、又は請求項2に記載のCAD装置。   If the unit of the stored notation dimension value is not specified by the dimension notation, the error between the acquired notation dimension value and the calculated dimension value is the allowable error between the notation dimension value set for each unit and the calculated dimension value. 3. The CAD device according to claim 1, wherein if at least one of the values is satisfied, whether or not the notation dimension value matches the calculated dimension value is compared. 4. 前記生成した表記寸法値と当該表記寸法値に対応する算出寸法値とから縮尺を算出し、前記算出した算出縮尺を所定の記憶領域に記憶する縮尺算出手段を具備したことを特徴とする請求項1、請求項2、又は請求項3に記載のCAD装置。   2. A scale calculating means for calculating a scale from the generated notation dimension value and a calculated dimension value corresponding to the notation dimension value and storing the calculated scale in a predetermined storage area. The CAD device according to claim 1, claim 2, or claim 3. 前記出力手段は、表記寸法と算出寸法が一致しない図形要素を、表記寸法と算出寸法が一致する図形要素から識別可能に表示装置に表示することを特徴とする請求項1から請求項4までのうちの何れか1の請求項に記載のCAD装置。   The output means displays a graphic element whose notation size and calculated size do not coincide with each other on a display device so as to be distinguishable from a graphic element whose notation size and calculated size coincide with each other. The CAD device according to any one of the claims. 寸法表記が対応付けられた図形要素を用いて構成されたCADデータから、前記寸法表記を構成する文字列データを読み取って所定の記憶領域に記憶する寸法表記読取機能と、
前記記憶した文字列データを変換して前記寸法表記が表す表記寸法値を生成し、前記生成した表記寸法値を所定の記憶領域に記憶する表記寸法値生成機能と、
前記文字列データを読み取った寸法表記に対応する図形要素の算出寸法値を算出し、前記算出した算出寸法値を所定の記憶領域に記憶する寸法値算出機能と、
前記記憶した表記寸法値と、前記記憶した算出寸法値と、を比較する比較機能と、
前記比較機能による比較結果を出力する比較結果出力機能と、
をコンピュータで実現するCADプログラム。
A dimension notation reading function for reading character string data constituting the dimension notation from CAD data configured using graphic elements associated with dimension notations and storing them in a predetermined storage area;
A notation dimension value generation function for converting the stored character string data to generate a notation dimension value represented by the dimension notation, and storing the generated notation dimension value in a predetermined storage area;
A dimension value calculating function for calculating a calculated dimension value of a graphic element corresponding to the dimension notation obtained by reading the character string data, and storing the calculated calculated dimension value in a predetermined storage area;
A comparison function for comparing the stored notation dimension value and the stored calculated dimension value;
A comparison result output function for outputting a comparison result by the comparison function;
CAD program that realizes the above on a computer.
JP2005042127A 2005-02-18 2005-02-18 Cad device and cad program Pending JP2006227988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005042127A JP2006227988A (en) 2005-02-18 2005-02-18 Cad device and cad program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005042127A JP2006227988A (en) 2005-02-18 2005-02-18 Cad device and cad program

Publications (1)

Publication Number Publication Date
JP2006227988A true JP2006227988A (en) 2006-08-31

Family

ID=36989313

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005042127A Pending JP2006227988A (en) 2005-02-18 2005-02-18 Cad device and cad program

Country Status (1)

Country Link
JP (1) JP2006227988A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101270646B1 (en) 2011-09-06 2013-06-03 강구만 A auto error revision method for drawing program
JP2018055375A (en) * 2016-09-28 2018-04-05 大和ハウス工業株式会社 Design support device
CN109241569A (en) * 2018-08-03 2019-01-18 东莞市燕秀信息技术有限公司 A kind of size marking method, apparatus, terminal device and readable storage medium storing program for executing
JP2020184267A (en) * 2019-05-09 2020-11-12 福井コンピュータホールディングス株式会社 Three-dimensional cad device and three-dimensional cad program
JP7396574B2 (en) 2019-11-19 2023-12-12 前田建設工業株式会社 Drawing scale estimation device, drawing scale estimation method, and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01281570A (en) * 1988-05-07 1989-11-13 Fujitsu Ltd Dimension checking system for cad system
JPH03240878A (en) * 1990-02-19 1991-10-28 Matsushita Electric Ind Co Ltd Method for detecting dimension and shape different spot
JPH10269259A (en) * 1997-03-24 1998-10-09 Mitsubishi Electric Corp Computer system
JPH10293777A (en) * 1997-04-21 1998-11-04 Hitachi Plant Eng & Constr Co Ltd Operation management support system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01281570A (en) * 1988-05-07 1989-11-13 Fujitsu Ltd Dimension checking system for cad system
JPH03240878A (en) * 1990-02-19 1991-10-28 Matsushita Electric Ind Co Ltd Method for detecting dimension and shape different spot
JPH10269259A (en) * 1997-03-24 1998-10-09 Mitsubishi Electric Corp Computer system
JPH10293777A (en) * 1997-04-21 1998-11-04 Hitachi Plant Eng & Constr Co Ltd Operation management support system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101270646B1 (en) 2011-09-06 2013-06-03 강구만 A auto error revision method for drawing program
JP2018055375A (en) * 2016-09-28 2018-04-05 大和ハウス工業株式会社 Design support device
CN109241569A (en) * 2018-08-03 2019-01-18 东莞市燕秀信息技术有限公司 A kind of size marking method, apparatus, terminal device and readable storage medium storing program for executing
CN109241569B (en) * 2018-08-03 2023-07-04 东莞市燕秀信息技术有限公司 Dimension marking method and device, terminal equipment and readable storage medium
JP2020184267A (en) * 2019-05-09 2020-11-12 福井コンピュータホールディングス株式会社 Three-dimensional cad device and three-dimensional cad program
JP7262296B2 (en) 2019-05-09 2023-04-21 福井コンピュータホールディングス株式会社 3D CAD device and 3D CAD program
JP7396574B2 (en) 2019-11-19 2023-12-12 前田建設工業株式会社 Drawing scale estimation device, drawing scale estimation method, and program

Similar Documents

Publication Publication Date Title
US6868359B2 (en) Method and system for CAD engine independence
US7650565B2 (en) Method for managing annotations in a computer-aided design drawing
CN102598002B (en) System and method for producing editable three-dimensional models
JP2007140597A (en) Print control program
JP2006227988A (en) Cad device and cad program
Ryan Computer-aided graphics and design
JP2002083017A (en) Structure state change research support system
MXPA06013949A (en) Computer aided design interface .
JP4921103B2 (en) Apparatus, method and program for visualizing Boolean expressions
JP2005085077A (en) Cad data conversion device, cad data conversion method, and cad data conversion program
JP4139249B2 (en) CAD data identity verification apparatus, CAD data identity verification method, and CAD data identity verification program
JP3898485B2 (en) Drawing drawing display device, drawing drawing display method, and recording medium
JP2005070373A (en) Program and device for map coordinate conversion
JP2010191889A (en) Device for editing map data, and server for the same
JP4860272B2 (en) CAD data identity verification device
JP4405604B2 (en) Information processing apparatus and definition method
JP4302102B2 (en) 3D design support program
WO2019055952A1 (en) Integrated document editor
CN115146356B (en) Method and device for dynamically associating beam Ping Fa reinforcement characters with beam Duan Xinxi
JP4006113B2 (en) Graphic processing method and apparatus
JP2005107769A (en) Survey information processing apparatus, cad device, survey information processing method, and its program
JP4508264B2 (en) Database construction apparatus, database construction method, database construction program, recording medium
JP2000048220A (en) Device and method for document preparation and storage medium
JP4208659B2 (en) Graphic editing device
JP2006004107A (en) Cad change management system, and method and program therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080212

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101029

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110408