JPH0540512A - Cad/cam device - Google Patents

Cad/cam device

Info

Publication number
JPH0540512A
JPH0540512A JP19803791A JP19803791A JPH0540512A JP H0540512 A JPH0540512 A JP H0540512A JP 19803791 A JP19803791 A JP 19803791A JP 19803791 A JP19803791 A JP 19803791A JP H0540512 A JPH0540512 A JP H0540512A
Authority
JP
Japan
Prior art keywords
graphic
dimension
scale
data
size
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
JP19803791A
Other languages
Japanese (ja)
Inventor
Naoto Yamaguchi
直人 山口
Yutaka Tanaka
豊 田中
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP19803791A priority Critical patent/JPH0540512A/en
Publication of JPH0540512A publication Critical patent/JPH0540512A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To generate an NC program through the use of the data of a scale discordant graphic obtained at the time of design. CONSTITUTION:The correspondence relation information of a dimension line and a graphic element is generated (S1), and the graphic dimension of the graphic element in which the ratio of the graphic dimension and a dimension value does not coincide with the drawing scale of the whole graphic is changed so that this ratio is made coincide with the drawing scale of the whole graphic (S4). The graphic elements to be affected by the change of the dimension line are found out based on the correspondence-relation information, and the positions and the sizes of these graphic elements are changed in accordance with dimension line data after the change (S6). Thus, the NC program can be generated by using the data of the scale discordant graphic obtained at the time of the design. Therefore, the generating manhour of the NC program is reduced.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、CAD/CAM装置
に関し、特に、板金設計・板金加工を支援するのに好適
なCAD/CAM装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CAD / CAM apparatus, and more particularly to a CAD / CAM apparatus suitable for supporting sheet metal design / sheet metal processing.

【0002】[0002]

【従来の技術】板金設計の設計図面では、製品全体の大
きさに比べて、その製品の加工部分の大きさが極端に小
さいのが通常である。このため、製品の図形全体を同じ
尺度で描くと、加工部分の大きさが非常に小さくなり、
図面が見にくくなってしまうことが多い。そこで、通常
は、図面を描く際に製品全体の大きさに比べて加工部分
の形状を大きく描き、加工部分の形状と寸法線が見やす
くなるようにしている。
2. Description of the Related Art In a design drawing of a sheet metal design, the size of a processed portion of a product is usually extremely smaller than the size of the entire product. Therefore, if you draw the whole figure of the product on the same scale, the size of the processed part will be very small,
Drawings are often difficult to see. Therefore, in general, when drawing a drawing, the shape of the processed portion is drawn larger than the size of the entire product so that the shape and dimension line of the processed portion can be easily seen.

【0003】例えば、図7に示すような製品の場合、図
形全体をその作図尺度と一致するように作図すると、加
工部分(円弧状の切欠部など)が非常に小さくなってそ
の形状と寸法線が分かりにくくなる。そこで、図6に示
すように、加工部分を全体の作図尺度よりも大きく描い
ている。
For example, in the case of a product as shown in FIG. 7, if the whole figure is drawn so as to match the drawing scale, the processed portion (arc-shaped notch, etc.) becomes very small, and its shape and dimension line. Becomes difficult to understand. Therefore, as shown in FIG. 6, the processed portion is drawn larger than the overall drawing scale.

【0004】このような板金設計や板金加工に用いられ
る従来のCAD/CAM装置は、次のような構成を有し
ている。図10は、従来のCAD/CAM装置の一例の
ハードウェア構成図である。
A conventional CAD / CAM device used for such sheet metal design and sheet metal processing has the following configuration. FIG. 10 is a hardware configuration diagram of an example of a conventional CAD / CAM device.

【0005】図10において、従来のCAD/CAM装
置(50)は、CPU(50a)と、メモリ(50b)
と、CRT表示装置(50c)と、補助記憶装置(50
d)と、マウス(50e)と、キーボード(50f)
と、プロッタ(50g)とを備えて構成されている。こ
れらの要素(50a)(50b)(50c)(50d)
(50e)(50f)(50g)は、バス(50h)を
介して互いに接続されている。
In FIG. 10, a conventional CAD / CAM device (50) includes a CPU (50a) and a memory (50b).
A CRT display device (50c) and an auxiliary storage device (50
d), mouse (50e), keyboard (50f)
And a plotter (50 g). These elements (50a) (50b) (50c) (50d)
(50e) (50f) (50g) are connected to each other via a bus (50h).

【0006】CPU(50a)は、全体を制御し、入力
された各種データに基づいて図形データの作成・変更、
NCプログラムの作成など、種々の作業を行なう。
The CPU (50a) controls the whole and creates / changes graphic data based on various input data.
Performs various tasks such as creating NC programs.

【0007】メモリ(50b)は、システムプログラ
ム、作成した図形のデータ、加工条件データなどの各種
データを記憶する。
The memory (50b) stores various data such as a system program, created graphic data, and processing condition data.

【0008】CRT表示装置(50c)は、入力された
各種データ、作成した図形のデータ、加工条件、加工経
路、入力要求メッセージなどを表示する。
The CRT display device (50c) displays various input data, created graphic data, processing conditions, processing routes, input request messages, and the like.

【0009】補助記憶装置(50d)は、作成した図形
のデータ、NCプログラムなどをフロッピィディスクな
どの記憶媒体に格納して保存するのに使用する。
The auxiliary storage device (50d) is used to store the created graphic data, NC program and the like in a storage medium such as a floppy disk.

【0010】マウス(50e)は、CRT表示装置(5
0c)に表示されている図形の図形要素やメニューの指
示、選択などを行なうのに使用する。
The mouse (50e) is a CRT display device (5
0c) is used for designating the graphic elements of the graphic displayed in 0c) and for instructing and selecting menus.

【0011】キーボード(50f)は、図形作成に必要
なデータ、加工条件などの数値・文字データを入力する
のに使用する。
The keyboard (50f) is used to input numerical data and character data such as data necessary for creating a figure and processing conditions.

【0012】プロッタ(50g)は、作成した図形を紙
に出力して印刷するのに使用する。
The plotter (50g) is used to output the created figure on paper and print it.

【0013】図9は、図10に示した従来のCAD/C
AM装置(50)の機能ブロック図である。図形作成手
段(51)は、オペレータによりマウス(50e)また
はキーボード(50f)を介して入力された各種データ
に基づいて、例えば図6に示すような、図形寸法と寸法
値の比が図形全体の作図尺度に一致しない図形要素を含
む図形(以下、尺度不一致図形という)を作成する。
FIG. 9 shows the conventional CAD / C shown in FIG.
It is a functional block diagram of AM apparatus (50). The figure creating means (51), based on various data inputted by the operator via the mouse (50e) or keyboard (50f), has a ratio of figure dimensions and dimension values as shown in FIG. Create a figure that includes figure elements that do not match the drawing scale (hereinafter referred to as scale mismatch figure).

【0014】すなわち、マウス(50e)やキーボード
(50f)を介して図形データが入力されると、それら
入力データを組み合わせて各種処理を行ない、入力デー
タに応じて点、線、円弧などの図形要素データ、それら
の図形要素に付される寸法線データ、さらにはそれらの
寸法線に付される寸法値データや加工上の注意を示す注
記などの補助データなどを作成する。そして、作成した
これらのデータに基づき、CRT表示装置(50c)に
図形、文字などを表示する。作成したこれらのデータ
は、順次メモリ(50b)に記憶する。
That is, when the graphic data is input through the mouse (50e) or the keyboard (50f), the input data are combined to perform various processes, and the graphic elements such as points, lines, arcs, etc. are processed according to the input data. Data, dimensional line data attached to those graphic elements, dimensional value data attached to these dimensional lines, auxiliary data such as notes indicating cautions for processing, etc. are created. Then, based on these created data, figures, characters, etc. are displayed on the CRT display device (50c). These created data are sequentially stored in the memory (50b).

【0015】オペレータは、マウス(50e)またはキ
ーボード(50f)を介してCAD/CAM装置(5
0)に適宜データを入力し、その入力に応じてCRT表
示装置(50c)に表示される内容を見て誤りの有無な
どを確認しながら、所望の尺度不一致図形や寸法線など
がCRT表示装置(50c)に表示されるまで入力を繰
り返す。
The operator operates the CAD / CAM device (5) via the mouse (50e) or the keyboard (50f).
0) inputting appropriate data, and checking the contents displayed on the CRT display device (50c) according to the input to confirm whether or not there is an error, and the desired scale-mismatching figure or dimension line is displayed on the CRT display device. Repeat the input until it is displayed at (50c).

【0016】印刷手段(56)は、図形作成手段(5
1)で作成された尺度不一致図形のデータをメモリ(5
0b)から読み出し、プロッタ(50g)に出力して尺
度不一致図形を紙に印刷する。
The printing means (56) is a graphic forming means (5
The data of the scale mismatch graphic created in 1) is stored in the memory (5
0b), output to a plotter (50g), and print the scale mismatch graphic on paper.

【0017】加工経路情報作成手段(57)は、オペレ
ータにより入力された各種データに基づいて、図7に示
すような、すべての図形要素の図形寸法と寸法値の比が
図形全体の作図尺度に一致した図形(以下、尺度一致図
形という)を作成し、得られたデータに基づいて加工経
路情報を作成する。その手順は、図形作成の場合と同様
である。作成した加工経路情報は、メモリ(50b)に
記憶する。尺度一致図形の尺度は、通常1/1である。
Based on various data input by the operator, the machining route information creating means (57) sets the ratios of the graphic dimensions of all the graphic elements and the dimension values to the drawing scale of the entire graphic as shown in FIG. A matched figure (hereinafter referred to as a scale-matched figure) is created, and machining path information is created based on the obtained data. The procedure is the same as in the case of creating a figure. The created machining path information is stored in the memory (50b). The scale of the scale matching figure is usually 1/1.

【0018】加工条件設定手段(54)は、オペレータ
の指示に応じて、加工経路情報作成手段(57)で作成
された加工経路情報に対して、加工方法、加工精度など
の加工条件を指定する。こうして加工条件が付された加
工経路情報は、メモリ(50b)に記憶する。なお、加
工条件の指定は、マウス(50e)やキーボード(50
f)を用いて行なう。
The processing condition setting means (54) specifies processing conditions such as a processing method and processing accuracy for the processing path information created by the processing path information creating means (57) in response to an instruction from the operator. .. The processing path information with the processing conditions thus added is stored in the memory (50b). In addition, the processing conditions are specified by the mouse (50e) and the keyboard (50
f).

【0019】NCプログラム作成手段(55)は、メモ
リ(50b)から加工条件が付された加工経路情報を読
み出し、それに基づいてNCプログラムを作成する。作
成されたNCプログラムは、補助記憶装置(50d)に
出力され、フロッピィディスクなどの記憶媒体に格納さ
れる。加工する際には、その記憶媒体をNC工作機械に
セットする。
The NC program creating means (55) reads out machining path information with machining conditions from the memory (50b), and creates an NC program based on the information. The created NC program is output to the auxiliary storage device (50d) and stored in a storage medium such as a floppy disk. When processing, the storage medium is set on the NC machine tool.

【0020】[0020]

【発明が解決しようとする課題】以上述べたように、従
来のCAD/CAM装置(50)では、図形作成手段
(51)で作成した尺度不一致図形を一度、紙上に印刷
し、印刷された図形を見ながらオペレータが再度データ
を入力することにより、加工指令情報を得ている。この
ため、NCプログラムの作成作業に手間がかかるだけで
なく、時間も多く要する問題がある。
As described above, in the conventional CAD / CAM device (50), the scale-mismatched figure created by the figure creating means (51) is once printed on paper, and the printed figure is printed. The operator inputs the data again while watching the operation instruction information. For this reason, there is a problem that not only is it troublesome to create the NC program, but it also takes a lot of time.

【0021】そこで、この発明は、設計時に得られた尺
度不一致図形のデータを利用してNCプログラムを作成
することができるCAD/CAM装置を提供することを
目的とする。
Therefore, an object of the present invention is to provide a CAD / CAM device capable of creating an NC program by utilizing the data of the scale mismatch graphic obtained at the time of design.

【0022】[0022]

【課題を解決するための手段】この発明のCAD/CA
M装置は、図形寸法と寸法値の比が図形全体の作図尺度
に一致しない図形要素を含む図形を作成する図形作成手
段と、図形寸法と寸法値の比が図形全体の作図尺度に一
致しない図形要素の図形寸法を変更して、その図形要素
の図形寸法と寸法値の比を図形全体の作図尺度に一致さ
せる図形変更手段と、すべての図形要素の図形寸法と寸
法値の比を図形全体の作図尺度に一致させた図形に基づ
いてNCプログラムを作成するNCプログラム作成手段
とを具備することを特徴とする。
CAD / CA of the present invention
The apparatus M is a figure creating means for creating a figure including a figure element in which the ratio of the figure size and the dimension value does not match the drawing scale of the entire figure, and the figure whose ratio of the figure size and the dimension value does not match the drawing scale of the entire figure. Change the graphic size of an element so that the ratio of the graphic size and the dimension value of the graphic element matches the drawing scale of the whole graphic. And an NC program creating means for creating an NC program based on a figure matched with a drawing scale.

【0023】前記図形変更手段は、寸法線とその寸法線
の長さを変更したときにその位置および大きさまたはそ
のいずれか一方が変化する図形要素との対応関係を示す
対応関係情報を演算する対応関係情報演算手段と、図形
寸法と寸法値の比が図形全体の作図尺度に一致しない図
形要素に付された寸法線の長さを変更する寸法線長さ変
更手段と、その寸法線長さ変更手段により寸法線の長さ
が変更されたときに、前記対応関係情報に基づいて図形
要素の位置および大きさまたはそのいずれか一方を変更
する図形要素変更手段とを具備するのが好ましい。
The graphic changing means calculates correspondence information indicating a correspondence between a dimension line and a graphic element whose position and / or size changes when the length of the dimension line is changed. Correspondence information calculation means, dimension line length changing means for changing the length of the dimension line attached to the figure element in which the ratio of the figure size and the dimension value does not match the drawing scale of the whole figure, and the dimension line length It is preferable to include graphic element changing means for changing the position and / or size of the graphic element based on the correspondence information when the length of the dimension line is changed by the changing means.

【0024】[0024]

【作用】この発明のCAD/CAM装置では、図形寸法
と寸法値の比が図形全体の作図尺度に一致しない図形要
素の図形寸法が、図形全体の作図尺度に一致するように
変更されるので、再度データを入力しなくても尺度不一
致図形のデータから尺度一致図形のデータが得られる。
その尺度一致図形のデータから加工経路情報を注出すれ
ば、直ちにNCプログラムを作成することができる。
In the CAD / CAM apparatus of the present invention, the ratio of the figure size and the dimension value does not match the drawing scale of the whole figure. The figure size of the graphic element is changed so as to match the drawing scale of the whole figure. Even if the data is not input again, the data of the scale-mismatched figure can be obtained from the data of the scale-mismatched figure.
By pouring out the machining path information from the data of the scale matching figure, the NC program can be immediately created.

【0025】また、図形要素に付される寸法線の長さ
は、通常、その図形要素の寸法に一致するので、寸法線
の長さと寸法値の比が図形全体の作図尺度に一致するよ
うに寸法線の長さを変更し、それに伴って対応する図形
要素の位置や大きさを変更すれば、尺度一致図形のデー
タが得られる。そこで、その尺度一致図形のデータから
加工経路情報を注出してNCプログラムを作成すること
ができる。
Further, since the length of the dimension line attached to the graphic element usually corresponds to the dimension of the graphic element, the ratio of the length of the dimension line to the dimension value should match the drawing scale of the whole graphic. If the length of the dimension line is changed and the position and size of the corresponding graphic element are changed accordingly, the data of the scale matching graphic can be obtained. Therefore, the NC program can be created by extracting the machining path information from the data of the scale matching figure.

【0026】[0026]

【実施例】以下、添付図面に基づいてこの発明のCAD
/CAM装置の一実施例を説明する。図3は、この発明
のCAD/CAM装置の一実施例のハードウェア構成図
である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS CAD of the present invention will be described below with reference to the accompanying drawings.
An example of the / CAM device will be described. FIG. 3 is a hardware configuration diagram of an embodiment of the CAD / CAM device of the present invention.

【0027】図3において、この発明のCAD/CAM
装置(10)は、プロッタ(50g)がないことを除け
ば、図10に示した従来のCAD/CAM装置(50)
と同じ構成を有している。なお、対応する要素には対応
する符号を付してある。
Referring to FIG. 3, CAD / CAM of the present invention
The device (10) is the conventional CAD / CAM device (50) shown in FIG. 10 except that the plotter (50g) is not provided.
It has the same configuration as. Incidentally, corresponding elements are given corresponding reference numerals.

【0028】図1は、図3に示したこの発明のCAD/
CAM装置(10)の機能ブロック図である。図1にお
いて、この発明のCAD/CAM装置(10)は、図形
作成手段(11)と、図形変更手段(12)と、加工経
路情報抽出手段(13)と、加工条件設定手段(14)
と、NCプログラム作成手段(15)とを備えて構成さ
れている。
FIG. 1 shows the CAD / CAD of the present invention shown in FIG.
It is a functional block diagram of a CAM device (10). In FIG. 1, a CAD / CAM device (10) according to the present invention includes a figure creating means (11), a figure changing means (12), a machining path information extracting means (13), and a machining condition setting means (14).
And an NC program creating means (15).

【0029】図形作成手段(11)は、従来のCAD/
CAM装置(50)の図形作成手段(51)と同じ構成
であり、マウス(10e)またはキーボード(10f)
を介して入力された各種データに基づいて、図6に示す
ような尺度不一致図形を作成する。作成した尺度不一致
図形のデータは、メモリ(10b)に記憶する。
The figure creating means (11) is a conventional CAD /
It has the same configuration as the figure creating means (51) of the CAM device (50) and has a mouse (10e) or keyboard (10f).
Based on various data input via, a scale mismatch graphic as shown in FIG. 6 is created. The created data of the scale disagreement pattern is stored in the memory (10b).

【0030】図形変更手段(12)は、メモリ(10
b)より尺度不一致図形のデータを読み出し、図形寸法
と寸法値の比が図形全体の作図尺度に一致しない図形要
素の寸法データを変更して、その図形要素の図形寸法と
寸法値の比を図形全体の作図尺度に一致させる。こうし
て得られた尺度一致図形のデータは、メモリ(10b)
に記憶する。図6の図形を変更して得た尺度一致図形
は、図7のようになる。なお、この尺度一致図形の尺度
は、例えば1/1である。
The graphic changing means (12) is a memory (10
Read the data of the figure that does not match the scale from b), change the dimension data of the figure element whose ratio of the figure dimension and the dimension value does not match the drawing scale of the entire figure, and change the figure dimension of the figure element to the dimension value. Match the overall drawing scale. The data of the scale matching figure thus obtained is stored in the memory (10b).
Remember. The scale matching figure obtained by changing the figure in FIG. 6 is as shown in FIG. The scale of this scale-matching graphic is, for example, 1/1.

【0031】加工経路情報抽出手段(13)は、図形変
更手段(12)で変更・作成された尺度一致図形のデー
タをメモリ(10b)から読み出し、そのデータから加
工経路情報を抽出する。この抽出方法は、従来のCAD
/CAM装置(50)の加工経路情報作成手段(57)
で実行される方法と同じである。抽出された加工経路情
報は、メモリ(10b)に記憶される。図7の図形から
抽出した加工経路情報の一例を図8に示す。
The machining path information extracting means (13) reads the data of the scale-matching graphic changed / created by the graphic changing means (12) from the memory (10b) and extracts the machining path information from the data. This extraction method uses the conventional CAD
/ CAM device (50) processing route information creating means (57)
Is the same as that performed in. The extracted machining path information is stored in the memory (10b). FIG. 8 shows an example of the machining path information extracted from the figure of FIG.

【0032】加工条件設定手段(14)は、従来のCA
D/CAM装置(50)の加工条件設定手段(54)と
同じ構成である。加工経路情報をメモリ(10b)から
読み出し、その加工経路情報に対して、マウス(10
e)またはキーボード(10f)を介して入力された各
種データに基づいて、加工方法、加工精度などの加工条
件を指定する。加工条件を指定された加工経路情報は、
メモリ(10b)に記憶する。
The processing condition setting means (14) is a conventional CA.
It has the same configuration as the processing condition setting means (54) of the D / CAM device (50). The machining path information is read from the memory (10b), and the mouse (10
e) or processing conditions such as processing accuracy and processing accuracy are specified based on various data input via the keyboard (10f). The machining route information for which the machining conditions are specified is
It is stored in the memory (10b).

【0033】NCプログラム作成手段(15)は、従来
のCAD/CAM装置(50)のNCプログラム作成手
段(55)と同じ構成である。加工条件が付された加工
経路情報をメモリ(10b)から読み出し、それに基づ
いてNCプログラムを作成する。作成されたNCプログ
ラムは、メモリ(10b)に記憶され、さらに補助記憶
装置(10d)に出力されて記憶媒体に格納される。
The NC program creating means (15) has the same structure as the NC program creating means (55) of the conventional CAD / CAM device (50). The machining path information with the machining conditions is read from the memory (10b), and the NC program is created based on the information. The created NC program is stored in the memory (10b), further output to the auxiliary storage device (10d), and stored in the storage medium.

【0034】次に、上記図形変更手段(12)の構成を
詳細に説明する。図2は、図形変更手段(12)の構成
を示す機能ブロック図である。図形変更手段(12)
は、対応関係情報演算手段(12a)と、寸法線長さ変
更手段(12b)と、図形要素変更手段(12c)とを
備えている。
Next, the configuration of the figure changing means (12) will be described in detail. FIG. 2 is a functional block diagram showing the configuration of the figure changing means (12). Figure changing means (12)
Includes a correspondence information calculating means (12a), a dimension line length changing means (12b), and a graphic element changing means (12c).

【0035】対応関係情報演算手段(12a)は、尺度
不一致図形のデータについて、図形要素と寸法線の対応
関係情報を演算する。この対応関係情報とは、ある寸法
線の長さを変更したときにその影響を受けて変形しある
いは移動する図形要素との対応を明らかにする情報であ
る。
The correspondence information calculation means (12a) calculates the correspondence information between the graphic element and the dimension line for the data of the scale mismatch graphic. This correspondence information is information that clarifies the correspondence with a graphic element that is deformed or moves under the influence of a change in the length of a certain dimension line.

【0036】寸法線長さ変更手段(12b)は、図形寸
法と寸法値の比が図形全体の作図尺度に一致しない図形
要素に付された寸法線の長さを変更して、すべての寸法
線の長さと寸法値の比が図形全体の作図尺度に一致する
ようにする。
The dimension line length changing means (12b) changes the lengths of the dimension lines attached to the graphic elements in which the ratio of the graphic dimension and the dimension value does not match the drawing scale of the entire graphic, and all the dimension lines are changed. Make sure that the ratio of the length to the dimension value matches the drawing scale of the whole figure.

【0037】図形要素変更手段(12c)は、寸法線長
さ変更手段(12a)により寸法線の長さが変更された
ときに、対応関係情報演算手段(12a)で得た対応関
係情報に基づいて、その変更された寸法線に対応する図
形要素を変更する。すなわち、寸法線の長さの変更(拡
大または縮小)に応じて図形要素を拡大または縮小し、
さらに他の図形要素と整合するように移動させる。
The graphic element changing means (12c) is based on the correspondence information obtained by the correspondence information calculating means (12a) when the length of the dimension line is changed by the dimension line length changing means (12a). And change the graphic element corresponding to the changed dimension line. That is, the graphic element is enlarged or reduced according to the change (enlargement or reduction) of the length of the dimension line,
Furthermore, it is moved so as to match with other graphic elements.

【0038】次に、上記図形変更手段(12)の動作を
説明する。図4は、図形変更手段(12)の動作を示す
フローチャートである。
Next, the operation of the figure changing means (12) will be described. FIG. 4 is a flowchart showing the operation of the figure changing means (12).

【0039】ステップS1では、まず、図形作成手段
(11)で作成された尺度不一致図形のデータについ
て、各図形要素の図形要素データと寸法線データの関係
を調べ、その尺度不一致図形の全体の作図尺度(例えば
1/1)と一致するようにいずれかの寸法線の長さを拡
大または縮小した場合に、それに伴ってどの図形要素の
位置や大きさが変わるかを明らかにする対応関係情報を
作成する。得られた対応関係情報は、メモリ(10b)
に記憶する。
In step S1, first, the relationship between the graphic element data of each graphic element and the dimension line data is examined for the data of the graphic pattern that does not match the scale created by the graphic creating means (11), and the drawing of the entire graphic pattern that does not match the scale is performed. Correspondence information that clarifies which figure element's position or size changes when the length of any dimension line is expanded or reduced to match the scale (eg, 1/1) create. The obtained correspondence information is stored in the memory (10b).
Remember.

【0040】図5に示す図形について対応関係情報の一
例を示すと、次の通りである。 寸法線(D1)−寸法補助線(H11)側−構成点(P1)、(P4) 寸法補助線(H12)側−構成点(P2)、(P3) 寸法線(D2)−寸法補助線(H21)側−構成点(P2)、(P1) 寸法補助線(H22)側−構成点(P3)、(P4) 線分(L1)−構成点(P1)、(P2) 線分(L2)−構成点(P2)、(P3) 線分(L3)−構成点(P3)、(P4) 線分(L4)−構成点(P4)、(P1)
An example of correspondence information about the graphic shown in FIG. 5 is as follows. Dimension line (D1) -dimension auxiliary line (H11) side-constituent points (P1), (P4) Dimension auxiliary line (H12) side-constituent points (P2), (P3) Dimension line (D2) -dimension auxiliary line ( H21) side-constituent point (P2), (P1) Dimension auxiliary line (H22) side-constituent point (P3), (P4) Line segment (L1) -Constituent point (P1), (P2) Line segment (L2) -Composition point (P2), (P3) Line segment (L3) -Composition point (P3), (P4) Line segment (L4) -Composition point (P4), (P1)

【0041】上記対応関係情報において、例えば寸法線
(D1)の長さを変化させる場合、それによって影響を
受ける構成点は(P1)(P4)(P2)(P3)であ
る。上記〜から明らかなように、線分(L1)(L
2)(L3)(L4)はこれらの構成点(P1)(P
4)(P2)(P3)を組み合わせて構成されているの
で、寸法線(D1)の長さの変化に伴って変形、移動す
る必要がある図形要素は、線分(L1)(L2)(L
3)(L4)であることになる。このように、上記対応
関係情報によって、線分(L1)(L2)(L3)(L
4)などの図形要素の中のどれを変形、移動させれば、
尺度一致図形が得られるかを知ることができる。
In the correspondence information, for example, when the length of the dimension line (D1) is changed, the constituent points affected by it are (P1) (P4) (P2) (P3). As is clear from above, the line segment (L1) (L
2) (L3) and (L4) are these constituent points (P1) (P
4) Since it is configured by combining (P2) and (P3), the graphic elements that need to be deformed and moved with the change in the length of the dimension line (D1) are line segments (L1) (L2) ( L
3) (L4). In this way, line segments (L1) (L2) (L3) (L
If you transform or move any of the graphic elements such as 4),
It is possible to know whether a scale matching figure can be obtained.

【0042】ステップS2では、各図形要素の寸法線デ
ータと寸法値データを対比し、その比が図形全体の作図
尺度に一致しない、すなわち尺度不一致の寸法線がある
か否かを判定する。図5の例で言えば、例えば、線分
(L1)の寸法線(D1)の長さとそれに付されている
寸法値の比が、図形全体の作図尺度に一致しているか否
かを判定する。尺度不一致の寸法線があると判定する
と、ステップS3に進み、尺度不一致の寸法線がないと
判定すると、ステップS6に飛ぶ。
In step S2, the dimension line data and the dimension value data of each graphic element are compared, and it is determined whether or not the ratio does not match the drawing scale of the entire graphic, that is, whether or not there is a dimension line that does not match the scale. In the example of FIG. 5, for example, it is determined whether or not the ratio of the length of the dimension line (D1) of the line segment (L1) and the dimension value attached thereto matches the drawing scale of the entire figure. .. If it is determined that there is a dimension line that does not match the scale, the process proceeds to step S3. If it is determined that there is no dimension line that does not match the scale, the process jumps to step S6.

【0043】ステップS3では、尺度不一致の寸法線の
データを取り出し、ステップS4で、その取り出した寸
法線のデータを変更して、その寸法線の長さと寸法値と
の比が全体の作図尺度と一致するようにする。こうし
て、尺度一致の寸法線を得る。図5の例で言えば、例え
ば、寸法線(D1)の長さとその寸法値の比が全体の作
図尺度に一致していない場合、その寸法線(D1)のデ
ータを取り出し、その長さを全体の作図尺度と一致する
ように変更する。
In step S3, the data of the dimension line which does not match the scale is taken out, and in step S4, the data of the dimension line taken out is changed so that the ratio of the length of the dimension line to the dimension value becomes the whole drawing scale. Try to match. In this way, a dimension line conforming to the scale is obtained. In the example of FIG. 5, for example, when the ratio of the length of the dimension line (D1) and the dimension value does not match the overall drawing scale, the data of the dimension line (D1) is extracted and its length is set. Change to match the overall drawing scale.

【0044】ステップS5では、ステップS4で得た新
しい(尺度一致の)寸法線の長さデータをメモリ(10
b)に記憶し、その後、ステップS2に復帰する。図5
の例で言えば、例えば、寸法線(D1)の変更後の長さ
データを記憶してから、ステップS2に復帰する。
In step S5, the length data of the new dimension line (matching the scale) obtained in step S4 is stored in the memory (10
It is stored in b), and then the process returns to step S2. Figure 5
Speaking of the example, for example, after storing the length data after the change of the dimension line (D1), the process returns to step S2.

【0045】以後、同様にしてステップS2〜S5を繰
り返し、寸法線の長さと寸法値の比が図形全体の作図尺
度に一致しないすべての図形要素について、寸法線の長
さを同様に変更する。
Thereafter, steps S2 to S5 are repeated in the same manner, and the lengths of the dimension lines are similarly changed for all the graphic elements whose ratio of the length of the dimension line to the dimension value does not match the drawing scale of the entire graphic.

【0046】ステップ6では、メモリ(10b)より変
更後の寸法線の長さデータを読み出し、また、ステップ
S1で作成した対応関係情報に基づいて影響を受ける図
形要素を見出して、変更後の寸法線の長さに対応するよ
うに図形要素の位置データおよび大きさデータを変更す
る。こうして、図形全体の作図尺度が一致した図形すな
わち尺度一致図形が得られる。
In step 6, the changed length data of the dimension line is read from the memory (10b), and the affected graphic element is found on the basis of the correspondence information created in step S1 to find the changed dimension. The position data and size data of the graphic element are changed so as to correspond to the length of the line. In this way, a figure in which the drawing scales of all the figures match, that is, a scale-matching figure is obtained.

【0047】ステップ7では、位置、大きさを変更して
得た新たな図形要素の位置データおよび大きさデータを
メモリ(10b)に記憶する。
In step 7, the position data and size data of the new graphic element obtained by changing the position and size are stored in the memory (10b).

【0048】ステップ8では、CRT表示装置(10
c)から尺度不一致図形を消し、ステップS7で得た尺
度一致図形を表示する。
In step 8, the CRT display device (10
The scale-mismatching figure is deleted from c), and the scale-matching figure obtained in step S7 is displayed.

【0049】ステップ9では、メモリ(10b)から尺
度不一致図形に関するデータを削除する。
In step 9, data relating to the scale mismatch graphic is deleted from the memory (10b).

【0050】ステップ10では、ステップS8で消され
た尺度不一致図形の代わりに、尺度一致図形をCRT表
示装置(10c)に表示する。
In step 10, the scale-matching graphic is displayed on the CRT display device (10c) instead of the scale-mismatching graphic erased in step S8.

【0051】以上のようにして、尺度一致図形がCRT
表示装置(10c)に表示され、またそのデータはメモ
リ(10b)に記憶されるので、次に、オペレータは、
CRT表示装置(10c)に表示されている図形を見な
がらマウス(10e)などにより加工経路を入力すれ
ば、加工経路情報抽出手段(13)がメモリ(10b)
に記憶されているデータを用いて演算を行なう。こうし
て加工経路情報が得られる。
As described above, the scale matching figure is the CRT.
Since it is displayed on the display device (10c) and the data is stored in the memory (10b), the operator
If a machining route is input with the mouse (10e) or the like while looking at the graphic displayed on the CRT display device (10c), the machining route information extracting means (13) will be stored in the memory (10b).
Calculation is performed using the data stored in. In this way, the processing route information is obtained.

【0052】[0052]

【発明の効果】この発明のCAD/CAM装置によれ
ば、設計時に得られた尺度不一致図形のデータを利用し
てNCプログラムを作成することができる。このため、
尺度一致図形を作成するためにデータを再入力する必要
がなくなり、NCプログラム作成工数が低減される。
According to the CAD / CAM apparatus of the present invention, it is possible to create an NC program by using the data of the scale mismatch graphic obtained at the time of design. For this reason,
It is not necessary to re-input the data to create the scale matching figure, and the NC program creation man-hour is reduced.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明のCAD/CAM装置の一実施例を示
す機能ブロック図である。
FIG. 1 is a functional block diagram showing an embodiment of a CAD / CAM device of the present invention.

【図2】この発明のCAD/CAM装置の一実施例の図
形変更手段の機能ブロック図である。
FIG. 2 is a functional block diagram of figure changing means of an embodiment of a CAD / CAM device of the present invention.

【図3】この発明のCAD/CAM装置の一実施例のハ
ードウェア構成図である。
FIG. 3 is a hardware configuration diagram of an embodiment of a CAD / CAM device of the present invention.

【図4】この発明のCAD/CAM装置の一実施例の図
形変更手段の動作を示すフローチャートである。
FIG. 4 is a flow chart showing the operation of the figure changing means of one embodiment of the CAD / CAM device of the present invention.

【図5】寸法線と図形要素の対応関係情報を示すための
説明図である。
FIG. 5 is an explanatory diagram showing correspondence information between dimension lines and graphic elements.

【図6】設計した尺度不一致図形の一例を示す図であ
る。
FIG. 6 is a diagram showing an example of a designed scale mismatch graphic.

【図7】図6の尺度不一致図形から得られた尺度一致図
形を示す図である。
7 is a diagram showing a scale-matching figure obtained from the scale-mismatching figure of FIG. 6;

【図8】図7の図形から抽出された加工経路情報の一例
を示す図である。
8 is a diagram showing an example of processing route information extracted from the figure of FIG.

【図9】従来のCAD/CAM装置の一例の機能ブロッ
ク図である。
FIG. 9 is a functional block diagram of an example of a conventional CAD / CAM device.

【図10】従来のCAD/CAM装置の一例のハードウ
ェア構成図である。
FIG. 10 is a hardware configuration diagram of an example of a conventional CAD / CAM device.

【符号の説明】[Explanation of symbols]

10 CAD/CAM装置 10a CPU 10b メモリ 10c CRT表示装置 10d 補助記憶装置 10e マウス 10f キーボード 11 図形作成手段 12 図形変更手段 12a 対応関係情報演算手段 12b 寸法線長さ変更手段 12c 図形要素変更手段 13 加工経路情報抽出手段 14 加工条件設定手段 15 NCプログラム作成手段 10 CAD / CAM device 10a CPU 10b Memory 10c CRT display device 10d Auxiliary storage device 10e Mouse 10f Keyboard 11 Graphic creation means 12 Graphic modification means 12a Correspondence information calculation means 12b Dimension line length modification means 12c Graphic element modification means 13 Processing path Information extracting means 14 Machining condition setting means 15 NC program creating means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 図形寸法と寸法値の比が図形全体の作図
尺度に一致しない図形要素を含む図形を作成する図形作
成手段と、図形寸法と寸法値の比が図形全体の作図尺度
に一致しない図形要素の図形寸法を変更して、その図形
要素の図形寸法と寸法値の比を図形全体の作図尺度に一
致させる図形変更手段と、すべての図形要素の図形寸法
と寸法値の比を図形全体の作図尺度に一致させた図形に
基づいてNCプログラムを作成するNCプログラム作成
手段とを具備することを特徴とするCAD/CAM装
置。
1. A figure creating means for creating a figure including a figure element in which a ratio of a figure size and a dimension value does not match a drawing scale of the whole figure, and a ratio of the figure size and the dimension value does not match a drawing scale of the whole figure. A figure changing means that changes the figure size of a figure element so that the figure size and dimension value ratio of that figure element matches the drawing scale of the whole figure, and the figure size and dimension value ratio of all figure elements is the whole figure A CAD / CAM device comprising: an NC program creating means for creating an NC program based on a figure matched with the drawing scale of FIG.
【請求項2】 前記図形変更手段が、寸法線とその寸法
線の長さを変更したときにその位置および大きさまたは
そのいずれか一方が変化する図形要素との対応関係を示
す対応関係情報を演算する対応関係情報演算手段と、図
形寸法と寸法値の比が図形全体の作図尺度に一致しない
図形要素に付された寸法線の長さを変更する寸法線長さ
変更手段と、その寸法線長さ変更手段により寸法線の長
さが変更されたときに、前記対応関係情報に基づいて図
形要素の位置および大きさまたはそのいずれか一方を変
更する図形要素変更手段とを具備する請求項1に記載の
CAD/CAM装置。
2. The graphic changing means creates correspondence information indicating correspondence between a dimension line and a graphic element whose position and / or size changes when the length of the dimension line is changed. Correspondence information calculating means for calculating, dimension line length changing means for changing the length of the dimension line attached to the figure element in which the ratio of the figure size and the dimension value does not match the drawing scale of the entire figure, and the dimension line The graphic element changing means for changing the position and / or the size of the graphic element based on the correspondence information when the length of the dimension line is changed by the length changing means. CAD / CAM device described in 1.
JP19803791A 1991-08-07 1991-08-07 Cad/cam device Pending JPH0540512A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19803791A JPH0540512A (en) 1991-08-07 1991-08-07 Cad/cam device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19803791A JPH0540512A (en) 1991-08-07 1991-08-07 Cad/cam device

Publications (1)

Publication Number Publication Date
JPH0540512A true JPH0540512A (en) 1993-02-19

Family

ID=16384492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19803791A Pending JPH0540512A (en) 1991-08-07 1991-08-07 Cad/cam device

Country Status (1)

Country Link
JP (1) JPH0540512A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009134537A (en) * 2007-11-30 2009-06-18 Toyohashi Univ Of Technology Graphic processor, and graphic processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009134537A (en) * 2007-11-30 2009-06-18 Toyohashi Univ Of Technology Graphic processor, and graphic processing program

Similar Documents

Publication Publication Date Title
JPS6019227A (en) Document processing method
JPH0540512A (en) Cad/cam device
JP3099621B2 (en) CAD system for standard parts database
JP2584229B2 (en) CAD / CAM automatic programming device
JP3767176B2 (en) Design support system
JPH05273958A (en) Outline data processor
JP2727819B2 (en) CAD / CAM equipment
JPH01108670A (en) Mathematical formula input and edit system
JP3285241B2 (en) Storage shape generation device
JPH0476674A (en) Drawing data processor
JPH04278671A (en) Control system for design information on communication equipment
JPH08115351A (en) Plant picture designing device
JPH02284209A (en) Cad/cam device
JPH05228741A (en) Cad/cam device
JPH09156618A (en) Output device of manufacturing information mark
JPH03164969A (en) Data processor
JPH03147186A (en) Character information input device
JPH06124106A (en) Method for setting screen output from digitizer
JPH0594442A (en) Document preparing device
JPH07168613A (en) Machining program editing system of numerical controller
JPH05128215A (en) Cad/cam device
JPH04248677A (en) Method and device for drawing wall or beam in building drawing or the like
JPH03259373A (en) Document processor
JPH05282406A (en) Paper vessel design system
JPH05197514A (en) Circuit diagram generation device