JP2002006915A - Method and apparatus for making nc data for machining of metal - Google Patents

Method and apparatus for making nc data for machining of metal

Info

Publication number
JP2002006915A
JP2002006915A JP2000182675A JP2000182675A JP2002006915A JP 2002006915 A JP2002006915 A JP 2002006915A JP 2000182675 A JP2000182675 A JP 2000182675A JP 2000182675 A JP2000182675 A JP 2000182675A JP 2002006915 A JP2002006915 A JP 2002006915A
Authority
JP
Japan
Prior art keywords
data
cad
graphic element
attribute
database
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
JP2000182675A
Other languages
Japanese (ja)
Inventor
Makoto Tsukagoshi
誠 塚越
Ken Isozaki
研 磯崎
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.)
Taiyo Kagaku Kogyo Co Ltd
Original Assignee
Taiyo Kagaku Kogyo Co Ltd
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 Taiyo Kagaku Kogyo Co Ltd filed Critical Taiyo Kagaku Kogyo Co Ltd
Priority to JP2000182675A priority Critical patent/JP2002006915A/en
Publication of JP2002006915A publication Critical patent/JP2002006915A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

PROBLEM TO BE SOLVED: To make NC data by automatically recognizing Z-axis coordinate data and inputting machining method and conditions automatically, from even the CAD data produced using two-dimensional CAD software or CAD software without having sophisticated three dimensional function. SOLUTION: Prepared preliminarily are a Z-axis coordinate database that assigns Z-axis coordinates to the attributes assigned to the graph elements, which are made by CAD software, of the CAD data for the work, machining means database that assigns machining methods to the shape and attributes of the graph elements of the CAD data, and machining condition database that assigns machining conditions to the shape, attributes and machining means of graph elements of the CAD data. The CAD software produces CAD data giving the attributes corresponding to the Z-axis coordinate to each graph element of the work, automatically assigns the Z-axis coordinates and other necessary machining information data from that attributes, and makes outputs NC data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、NCマシニングセ
ンター等によりワークを切削加工するに当たり、そのワ
ークのCADデータから三次元の加工寸法、加工工具、
加工条件等のデータを含むNCデータを作成する方法と
装置に関する。さらに詳しく言うと、X−Y軸系の二次
元のデータのみ取り扱うことができるCADソフトウェ
ア、或いは高度な三次元処理機能を持たず、高さ成分Z
軸方向のデータを完全に取り扱うことができないCAD
ソフトウェアで作成したCADデータから、三次元デー
タを含む完全なNCデータをCADデータから自動的に
作成することができるようにした方法と装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of cutting a work by an NC machining center or the like.
The present invention relates to a method and an apparatus for creating NC data including data such as processing conditions. More specifically, CAD software that can handle only two-dimensional data of the XY axis system, or a height component Z that does not have an advanced three-dimensional processing function
CAD that cannot completely handle axial data
The present invention relates to a method and apparatus capable of automatically creating complete NC data including three-dimensional data from CAD data created by software.

【0002】[0002]

【従来の技術】今日、プリント配線基板等の設計にあた
っては、CAD(Computer Aidded Design)が多用され
ており、これに伴い、このCADソフトウェアで作成し
たワークのCADデータから、CAM(Computer Aidde
d Manufacturing) が使用されるようになっている。例
えば、ワークの切削加工では、NCマシニングセンター
等のNC(Numerical Control) 機械を制御してワーク
の切削を行うため、CAMデータは、そのワークの切削
形状と寸法、ワークを切削する工具とその加工方法及び
その時の切削条件等を含むデータが必要となる。
2. Description of the Related Art At present, CAD (Computer Aidded Design) is frequently used for designing printed wiring boards and the like, and accordingly, CAD (Computer Aiddeed) is calculated from CAD data of a work created by the CAD software.
d Manufacturing) is being used. For example, in the cutting of a workpiece, the workpiece is cut by controlling an NC (Numerical Control) machine such as an NC machining center. Therefore, the CAM data includes the cutting shape and dimensions of the workpiece, the tool for cutting the workpiece, and the processing method. And data including cutting conditions at that time are required.

【0003】従来におけるこの種のNCデータの作成方
法は、加工に関する必要情報項目等をデータベースとし
て整備しておき、このデータベースより前記のような必
要情報項目を順次呼び出し、必要情報項目をそれぞれ割
り付け、NCデータとして作成し、出力する方法がとら
れている。
In a conventional method of creating this kind of NC data, necessary information items related to machining are prepared as a database, and the necessary information items as described above are sequentially called from the database, and the necessary information items are allocated. A method of creating and outputting as NC data is adopted.

【0004】[0004]

【発明が解決しようとする課題】前述のようにしてNC
データを作成するにあたっては、2つの問題点がある。
その1つは、ワークを加工する形状を1つ1つ入力して
CAMソフトウェアに認識させる必要があるというこ
と。もう1つは、形状に適した加工条件等の情報を作業
者が入力する必要があるということである。
SUMMARY OF THE INVENTION As described above, NC
There are two problems in creating data.
One of them is that it is necessary to input the shapes to be machined one by one and let the CAM software recognize them. Another is that the operator needs to input information such as processing conditions suitable for the shape.

【0005】形状認識そのものは、三次元CAD/CA
Mでは一般的のことであるが、二次元CAD/CAM
や、モデリング機能等の高度な三次元処理機能を持たな
い、いわゆる2.5次元CAD/CAMを使用した場
合、Z軸座標のデータは、別途手動により設定するのが
一般的である。
[0005] Shape recognition itself is performed by three-dimensional CAD / CA.
M is common, but 2D CAD / CAM
When a so-called 2.5-dimensional CAD / CAM having no advanced three-dimensional processing function such as a modeling function is used, the data of the Z-axis coordinate is generally set manually separately.

【0006】また、加工条件等の設定についても同様
で、設定値が加工工程毎に変動する可能性があるため、
常に一定というわけではない。これらのことから、CA
DデータからNCデータを作成する際には、人手による
入力作業が必要となり、多くの手数がかかるという課題
があった。
The same applies to the setting of processing conditions and the like. Since the set value may vary for each processing step,
It is not always constant. From these, CA
When the NC data is created from the D data, a manual input operation is required, and there is a problem that a lot of trouble is required.

【0007】本発明は、このような従来におけるNCデ
ータの作成手段における課題に鑑み、二次元CADソフ
トウェアや、高度な三次元機能を持たない、いわゆる
2.5次元CADソフトウェアを使用して作成したワー
クのCADデータであっても、Z軸座標のデータを自動
で認識し、さらにこれに基づき、加工方法及び加工条件
も自動で設定してNCデータを作成できるようにするこ
とを目的とする。
[0007] In view of such problems in the conventional means for creating NC data, the present invention has been created using two-dimensional CAD software or so-called 2.5-dimensional CAD software that does not have an advanced three-dimensional function. It is an object of the present invention to automatically recognize the Z-axis coordinate data even for the CAD data of a work, and to automatically set a processing method and processing conditions based on the Z-axis coordinate data so that NC data can be created.

【0008】[0008]

【課題を解決するための手段】本発明では、前記の目的
を達成するため、予めCADソフトウェアで作成される
ワークのCADデータの図形要素に割り振られる属性に
対しZ軸方向の座標を割り振った属性に対応したZ軸座
標データベースと、CADデータの図形要素の形状及び
属性に対して加工方法を割り振った加工手段データベー
スと、CADデータの図形要素の形状、属性及び加工手
段に対して加工条件を割り振った加工条件データベース
とを作成し、記憶しておく。そして、CADソフトウェ
アにより、ワークの各図形要素にそのZ軸座標に応じた
属性を与えながらCADデータを作成し、前記データベ
ースにより、この属性から図形要素のZ軸座標や必要な
加工情報データを自動的に割り付け、NCデータを作
成、出力することができるようにした。
According to the present invention, in order to achieve the above object, an attribute in which coordinates in the Z-axis direction are assigned to attributes assigned to graphic elements of CAD data of a work created in advance by CAD software. , A machining means database in which machining methods are assigned to the shapes and attributes of graphic elements of CAD data, and machining conditions are assigned to the shapes, attributes and machining means of graphic elements in CAD data. A working condition database is created and stored. The CAD software creates CAD data while giving each graphic element of the work an attribute in accordance with the Z-axis coordinate. The database automatically converts the Z-axis coordinate of the graphic element and necessary processing information data from the attribute. NC data can be created and output.

【0009】すなわち、本発明によるNCデータの作成
方法は、CADソフトウェアで作成されるワークのCA
Dデータの図形要素に割り振られる属性に対しZ軸方向
の座標を割り振った属性に対応したZ軸座標データベー
スと、ワークのCADデータの図形要素の形状及び属性
に対して加工方法を割り振った加工手段データベース
と、ワークのCADデータの図形要素の形状、属性及び
加工手段に対して加工条件を割り振った加工条件データ
ベースとを用意する。そして、X−Y方向の二次元座標
を取扱可能なCADソフトウェアにより、ワークの各図
形要素にそのZ軸座標に応じた属性を与えながらCAD
データを作成するステップと、このCADデータの前記
図形要素のZ軸座標を示す属性に対し、前記属性に対応
したZ軸座標データベースによりその図形要素のZ軸座
標を決定するステップと、このCADデータの図形要素
の形状及び属性から、前記加工手段データベースにより
その部分の加工方法を決定するステップと、このCAD
データの図形要素の形状、属性及びその部分の加工方法
から、前記加工条件データベースによりその部分の加工
条件を決定するステップとにより、CADデータを処理
し、これをNC機械によりワークを切削加工するNCデ
ータとして出力する。
In other words, the method for creating NC data according to the present invention is a method for creating CA data for a workpiece created by CAD software.
A Z-axis coordinate database corresponding to attributes in which coordinates in the Z-axis direction are assigned to attributes assigned to graphic elements of D data, and a processing means that allocates a processing method to the shape and attributes of graphic elements in CAD data of a work. A database and a processing condition database in which the processing conditions are assigned to the shape, attribute, and processing means of the graphic element of the CAD data of the work are prepared. Then, by using CAD software capable of handling two-dimensional coordinates in the XY directions, the CAD is performed while giving each graphic element of the work an attribute corresponding to the Z-axis coordinate.
Creating data; determining, for the attribute indicating the Z-axis coordinate of the graphic element in the CAD data, determining the Z-axis coordinate of the graphic element using a Z-axis coordinate database corresponding to the attribute; Determining a processing method for the portion from the processing means database from the shape and attribute of the graphic element of
A step of determining machining conditions for the part from the machining condition database based on the shape and attribute of the graphic element of the data and a method for machining the part, the CAD data is processed, and the NC machine cuts the workpiece with the NC machine. Output as data.

【0010】前記のZ軸座標を示す図形要素の属性とし
ては、CADデータ上の線分等の図形要素に与えられる
様々な属性を利用することができる。例えば、それはC
ADデータ上の図形要素が置かれる画層(Layer)、 図
形要素に与えられる色、図形要素に与えられる線種等を
あげることができる。特に、図形要素が置かれる画層が
最も利用しやすいであろう。
As the attributes of the graphic element indicating the Z-axis coordinates, various attributes given to graphic elements such as line segments on CAD data can be used. For example, it is C
A layer on which the graphic element on the AD data is placed, a color given to the graphic element, a line type given to the graphic element, and the like can be given. In particular, the layer on which the graphic element is located will be most accessible.

【0011】このようなNCデータの作成方法を実施す
るためのNCデータの作成装置は、CADソフトウェア
で作成されるワークのCADデータの図形要素に割り振
られる属性に対しZ軸方向の座標を割り振った属性に対
応したZ軸座標データベースと、図形要素の形状及び属
性に対して加工方法を割り振った加工手段データベース
と、図形要素の形状、属性及び加工手段に対して加工条
件を割り振った加工条件データベースとを有する。さら
にCADソフトウェアにより、各図形要素にそのZ軸座
標に応じて属性を与えながら作成されたCADデータの
前記図形要素のZ軸座標を示す属性に対し、前記属性に
対応したZ軸座標データベースによりその図形要素のZ
軸座標を決定する手段と、このワークのCADデータの
図形要素の形状及び属性から、前記加工手段データベー
スによりその部分の加工方法を決定する手段と、このワ
ークのCADデータの図形要素の形状、属性及びその部
分の加工方法から、前記加工条件データベースによりそ
の部分の加工条件を決定する手段とを有する。
An NC data creating apparatus for implementing such an NC data creating method assigns coordinates in the Z-axis direction to attributes assigned to graphic elements of CAD data of a workpiece created by CAD software. A Z-axis coordinate database corresponding to the attribute, a processing means database in which processing methods are allocated to the shapes and attributes of the graphic elements, and a processing condition database in which processing conditions are allocated to the shapes, attributes and processing means of the graphic elements. Having. Further, the CAD software creates an attribute indicating the Z-axis coordinate of the graphic element in the CAD data created while giving an attribute to each graphic element according to the Z-axis coordinate. Graphic element Z
Means for determining the axis coordinates, means for determining the machining method of the part by the machining means database based on the shape and attribute of the graphic element of the CAD data of the work, and shape and attribute of the graphic element of the CAD data of the work. And means for determining the processing condition of the part from the processing condition database based on the processing method of the part.

【0012】このようなNCデータ作成方法では、CA
Dソフトウェアで作成されるワークの図形要素に与えら
れる属性をZ軸座標を示す情報として利用し、割り付け
たZ軸座標をデータベースに登録している。このため、
CADデータの図面上では、Z軸座標を取り扱うことが
できない二次元CADソフトウェアや、いわゆる2.5
次元CADソフトウェアを使用して作成したCADデー
タでも、面倒な手動による設定が大幅に低減され、Z軸
座標を自動取得してNCデータを作成することができ
る。
In such an NC data creation method, CA
The attribute given to the graphic element of the work created by the D software is used as information indicating the Z-axis coordinate, and the assigned Z-axis coordinate is registered in the database. For this reason,
On CAD data drawings, two-dimensional CAD software that cannot handle Z-axis coordinates,
Even with CAD data created using dimensional CAD software, troublesome manual setting is greatly reduced, and NC data can be created by automatically acquiring the Z-axis coordinates.

【0013】さらに、このZ軸座標とその図形要素の二
次元上での形状寸法により、加工工具や加工方法及びそ
の加工条件等もデータベースから取得して割り付けるこ
とができるので、ワークのCADデータの入力からNC
データの作成までがソフトウェア上の処理で自動に行え
ることになる。これにより、人手による入力作業を大幅
に低減することができる。
Further, the machining tool, the machining method, the machining conditions, and the like can be obtained from the database and assigned based on the Z-axis coordinates and the two-dimensional shape and dimensions of the graphic element. NC from input
The process up to data creation can be performed automatically by software processing. As a result, manual input work can be significantly reduced.

【0014】[0014]

【発明の実施の形態】次に、図面を参照しながら、本発
明の実施の形態について、具体的且つ詳細に説明する。
図1は、本発明によるNCデータ作成方法において、C
ADソフトウェアによるワークのCADデータ作成から
NCデータを作成し、NC機械7に出力するまでの一般
的なコンピュータハードウェアシステムを示す概観図で
ある。
Embodiments of the present invention will now be described specifically and in detail with reference to the drawings.
FIG. 1 shows a method for creating NC data according to the present invention.
FIG. 1 is an overview diagram showing a general computer hardware system from creation of CAD data of a work by AD software to creation of NC data and output to an NC machine 7.

【0015】コンピュータ本体1には、入力装置として
キーボード2、マウス3及びデジタイザ4が接続され、
その処理状態や作成図面を表示するディスプレイ5が接
続されている。さらに、プロッタやプリンタ等のハード
コピーを出力するためのハードコピー出力装置6が接続
される。また、作成したNCデータはファイルとしてN
C機械7に出力される。
A keyboard 2, a mouse 3, and a digitizer 4 are connected to the computer main body 1 as input devices.
A display 5 for displaying the processing state and the created drawing is connected. Further, a hard copy output device 6 for outputting a hard copy such as a plotter or a printer is connected. Also, the created NC data is
Output to C machine 7.

【0016】図2は、コンピュータ本体1とその周辺機
器との接続関係を示すシステム図である。コンピュータ
本体1には、マイクロプロセッサ11が搭載されてお
り、さらにマイクロプロセッサ11には、RAM(Rand
om acces memory) からなる主記憶装置12と、入出力
を制御するI/O部14がデータバスにより接続されて
いる。さらにこのI/O部14がIDEデータバスやP
CIバスとSCSIアダプタ等を介してハードディス
ク、光ディスク、光磁気ディスク等の外部記憶装置13
に接続されている。例えば、図示の外部記憶装置13
は、オペレーションシステムを主記憶装置12に読み込
むブートディスクを示している。
FIG. 2 is a system diagram showing a connection relationship between the computer main body 1 and its peripheral devices. The computer main body 1 has a microprocessor 11 mounted thereon, and further has a RAM (Rand Rand).
A main storage device 12 composed of an om acces memory) and an I / O unit 14 for controlling input / output are connected by a data bus. Further, the I / O unit 14 is connected to an IDE data bus or P
An external storage device 13 such as a hard disk, an optical disk, or a magneto-optical disk via a CI bus and a SCSI adapter
It is connected to the. For example, the illustrated external storage device 13
Indicates a boot disk for reading the operation system into the main storage device 12.

【0017】この外部記憶装置13には、幾つかのデー
タベースが構築される。まず、後述するように、CAD
ソフトウェアで作成したワークのCADデータにおい
て、各図形要素の属性とZ軸座標との対応を関連付けた
データベースである。例えば、各図形要素が置かれる画
層(Layer) とZ軸座標との対応を関連付けた画層に対
応したZ軸座標データベース15である。ここで、図形
要素とは、CADデータにおいて、ワークの外形、内部
構造を示すための線分、面等の要素を言う。CADソフ
トウェアによる設計、製図においては、これらの図形要
素が何れかの画層に属するように作成されるが、各画層
にZ軸座標成分を割り振ると共に、或る画層がどのZ軸
座標にあるかを対応させたデータベースが画層に対応し
たZ軸座標データベース15である。これは、CADソ
フトウェア、CAMソフトウェア、NCデータ作成ソフ
トウェアにより読み取り、画層から対応するZ軸座標に
変換することができる形態のデータとして構築される。
Several databases are constructed in the external storage device 13. First, as described later, CAD
This is a database in which the correspondence between the attribute of each graphic element and the Z-axis coordinate is associated with the CAD data of the work created by the software. For example, it is the Z-axis coordinate database 15 corresponding to the layer in which the correspondence between the layer (Layer) where each graphic element is placed and the Z-axis coordinate is associated. Here, the graphic element refers to an element such as a line segment, a surface, or the like for indicating the external shape and internal structure of the work in the CAD data. In the design and drafting by CAD software, these graphic elements are created so as to belong to one of the layers, and a Z-axis coordinate component is allocated to each layer, and a certain layer is assigned to which Z-axis coordinate. The database corresponding to the existence is the Z-axis coordinate database 15 corresponding to the image layer. This is constructed as data that can be read by CAD software, CAM software, and NC data creation software, and can be converted from the image layer to the corresponding Z-axis coordinates.

【0018】他のデータベースは、CADデータの図形
要素の形状及び前記画層に対応するZ軸座標に対して、
加工方法を割り振った加工手段データベース16であ
る。ここでは、CADデータの図形要素の形状及び前記
属性により、使用する工具とそれによる加工の方法、例
えば、ドリルによる孔明け加工か、エンドミルによる凹
部加工か、あるいはフライスによるザグリ加工か等々、
CADデータの図形要素の形状及び属性から得られるワ
ークの加工対象部分の形状、寸法の情報を元に、加工工
具や加工方法を割り振っておく。さらに、このデータを
前記CADデータの図形要素の形状及び画層等の情報と
対応させておく。
Another database stores the shape of the graphic element of the CAD data and the Z-axis coordinate corresponding to the image layer.
This is a processing means database 16 to which processing methods are assigned. Here, depending on the shape of the graphic element of the CAD data and the attribute, a tool to be used and a processing method using the same, for example, drilling by a drill, concave processing by an end mill, counterbore processing by milling, etc.
A processing tool and a processing method are allocated based on information on the shape and dimensions of the processing target portion of the work obtained from the shape and attribute of the graphic element of the CAD data. Further, this data is associated with information such as the shape of the graphic element and the image layer of the CAD data.

【0019】さらに、もう一つのデータベースは、ワー
クのCADデータの図形要素の形状、画層及び加工手段
に対して加工条件を割り振った加工条件データベース1
7である。ここでは、CADデータの図形要素の形状及
び前記画層及びそれにより選択された前記の加工手段毎
に加工条件を設定しておき、それをCADデータの図形
要素の形状、画層及び加工手段に対応して参照できるよ
うにしたデータベースである。例えば、ワークのCAD
データの図形要素の形状が円であり、そのZ軸座標がワ
ークの表面に対して−tであり、tがワークの厚さであ
れば、ドリルによる孔明け加工として加工手段が決定さ
れ、同時にワークの加工部分の形状、寸法、例えば孔の
径によりドリル径が決定される。続いて、加工条件デー
タベース17により、前記ドリル径により加工条件、例
えばドリルの主軸回転数と送りが決定される。
Further, another database is a machining condition database 1 in which machining conditions are assigned to the shape, layer, and machining means of graphic elements of CAD data of a work.
7 Here, processing conditions are set for each of the shape of the graphic element of the CAD data and the image layer and the processing means selected thereby, and are set to the shape, the layer and the processing means of the graphic element of the CAD data. It is a database that can be referred to correspondingly. For example, CAD of work
If the shape of the graphic element of the data is a circle, the Z-axis coordinate is −t with respect to the surface of the work, and if t is the thickness of the work, the processing means is determined as drilling by a drill, and at the same time, The drill diameter is determined by the shape and size of the processed part of the work, for example, the diameter of the hole. Subsequently, the processing conditions, for example, the spindle rotation speed and feed, are determined by the processing condition database 17 based on the drill diameter.

【0020】図3は、このようなシステムを使用してN
Cデータを作成する手順を示したものである。まず、C
ADソフトウェアを使用し、ワークの設計と製図をす
る。入力デバイスとしては、主に図1に示したキーボー
ド2、マウス3、デジタイザ4を使用する。キーボード
2は、数値、コマンドやそのオプションを入力する時に
使用する。マウスは、画面上での座標位置の指定の他、
GUI(Graphic UsersInterfasce)環境のもとでは、
コマンドやそのオプションを入力する時にも使用され
る。デジタイザ4は、画面上の座標に対する絶対座標を
入力することができるデバイスであり、紙に描かれた図
形をそのまま絶対座標で入力するのに使用することがで
きる。また、非GUI環境のもとでは、CADソフトウ
ェアのメニューファイルを編集することで、デジタイザ
にコマンドやそのオプションを割り振り、ポインティン
グカーソルでコマンドやそのオプションを入力すること
もできる。
FIG. 3 illustrates N using such a system.
It shows a procedure for creating C data. First, C
Work design and drafting using AD software. As the input device, the keyboard 2, mouse 3, and digitizer 4 shown in FIG. 1 are mainly used. The keyboard 2 is used to input numerical values, commands and their options. The mouse can be used to specify the coordinates on the screen,
Under the GUI (Graphic UsersInterfasce) environment,
Also used to enter commands and their options. The digitizer 4 is a device capable of inputting absolute coordinates with respect to coordinates on a screen, and can be used to input a figure drawn on paper as absolute coordinates. In a non-GUI environment, commands and their options can be assigned to the digitizer by editing the menu file of the CAD software, and the commands and their options can be input with a pointing cursor.

【0021】次に、CADソフトウェアで作成した図面
を、CADデータとして出力する。CADデータのデー
タ形式は、各社様々な形式を採用しており、殆ど互換性
はない。同じ会社の同じ種類のCADソフトウェアで作
成したCADデータであっても、CADソフトウェアの
バージョンが異なると、互換性が無くなることも多い。
唯一広い互換性を持っているのが、オートデスク(Auto
desk)社が提唱しているDXF(Data eXchange Forma
t)形式である。これは、オートデスク社が提供してい
る三次元CADソフトウェアのAutoCAD(登録商
標)や二次元CADソフトウェアのAutoCAD L
T(登録商標)で使用されているデータフォーマット
で、二次元や三次元のCADデータを交換するための事
実上の業界標準形式となっている。
Next, the drawing created by the CAD software is output as CAD data. The data format of CAD data employs various formats, and there is almost no compatibility. Even if the CAD data is created by the same kind of CAD software of the same company, compatibility is often lost if the CAD software version is different.
The only thing that has wide compatibility is Autodesk
desk) DXF (Data eXchange Forma)
t) format. This is because AutoCAD (registered trademark) of three-dimensional CAD software provided by Autodesk and AutoCAD L of two-dimensional CAD software are provided.
A data format used by T.RTM., Which has become the de facto industry standard format for exchanging two-dimensional and three-dimensional CAD data.

【0022】使用するCADデータの形式としては、こ
のDXF形式が一般的である。ただ、会社や工場内で使
用されているCADソフトウェアが1種類に統一されて
いたり、或いは出力データファイルが互いに互換性のあ
る複数種類のCADソフトウェアに限られている場合
は、そのCADソフトウェア固有の形式のCADデータ
を使用するのが簡便である。
The DXF format is generally used as the format of the CAD data to be used. However, if the CAD software used in the company or factory is unified into one type, or if the output data file is limited to a plurality of types of CAD software that are compatible with each other, the CAD software specific It is convenient to use CAD data in the form.

【0023】次に、この出力したCADデータを前記の
データベースにより処理する。まず、ワークのCADデ
ータの特定の加工対象となっている図形要素の形状及び
寸法を読み取り、X−Y座標の二次元分の形状と寸法を
把握する。さらに、その図形要素が置かれている画層を
読み取り、前記の画層に対応したZ軸座標データベース
により、その図形要素のZ軸座標の情報を得る。これに
より、二次元CADソフトウェアで作成された二次元C
ADデータあっても、当該図形要素のZ軸座標を含む三
次元座標の情報が得られることになる。
Next, the outputted CAD data is processed by the database. First, the shape and size of a graphic element that is a specific processing target in CAD data of a work are read, and the shape and size of two-dimensional XY coordinates are grasped. Further, the layer on which the graphic element is placed is read, and information on the Z-axis coordinates of the graphic element is obtained from the Z-axis coordinate database corresponding to the layer. Thereby, the two-dimensional C created by the two-dimensional CAD software
Even with the AD data, information on three-dimensional coordinates including the Z-axis coordinates of the graphic element can be obtained.

【0024】次に、この図形要素の三次元座標の情報か
ら、前記の加工手段データベース16により、使用する
工具とそれによる加工の方法が決定される。例えば、図
4に示すように、二次元CADデータにおいて、金属板
M上に直径の等しい2つの円があった場合において、一
方が画層Aにあり、他方が画層Bにあったとし、画層A
がワークの表面に対して−tのZ軸座標に対応してお
り、画層Bがワークの表面に対して−t/2のZ軸座標
に対応しており、なお且つtがワークの厚さであれば、
前者は貫通孔であり、後者は凹部であることが分かる。
この結果、前記の加工手段データベース16により、前
者はドリルによる孔明け加工として加工手段が決定さ
れ、後者はエンドミルによる窪み加工として加工手段が
それぞれ決定される。同時に、X−Yの二次元寸法の情
報から、使用するドリルやエンドミルの呼び径が決定さ
れる。
Next, from the information on the three-dimensional coordinates of the graphic element, the tool to be used and the method of machining by the tool are determined by the machining means database 16 described above. For example, as shown in FIG. 4, in the two-dimensional CAD data, when there are two circles having the same diameter on the metal plate M, one is in the layer A and the other is in the layer B, Layer A
Corresponds to the Z-axis coordinate of -t with respect to the surface of the work, the image layer B corresponds to the Z-axis coordinate of -t / 2 with respect to the surface of the work, and t is the thickness of the work. If so,
It can be seen that the former is a through hole and the latter is a recess.
As a result, according to the processing means database 16, the former is determined as the drilling processing by the drill, and the latter is determined as the pitting processing by the end mill. At the same time, the nominal diameter of the drill or end mill to be used is determined from the information of the XY two-dimensional dimensions.

【0025】このようにして、或る図形要素のX−Y−
Zの三次元寸法の情報とその加工手段の情報が決定され
た後、加工条件データベース17により、決定された加
工手段に対する加工条件が決定される。例えば、図形要
素のX−Y−Zの三次元寸法の情報とその加工手段に適
した加工条件、例えば使用するドリルやエンドミルに適
した主軸回転数と送りが決定され、同時にZ軸座標の情
報により切り込み深さが決定される。
In this manner, the XY-
After the information on the three-dimensional dimension of Z and the information on the processing means are determined, the processing conditions for the determined processing means are determined by the processing condition database 17. For example, information on the XYZ three-dimensional dimensions of the graphic element and processing conditions suitable for the processing means thereof, for example, the spindle rotation speed and feed suitable for the drill or end mill to be used are determined, and at the same time, information on the Z-axis coordinates. Determines the cutting depth.

【0026】NCデータは、このような加工を必要とす
る各図形要素の情報の集積として作成され、NCマシニ
ングセンター等のNC機械に出力される。これにより、
CADソフトウェアにより設計、製図されたワークがN
C機械の加工ステージに送られ、NC機械加工される。
The NC data is created as an accumulation of information of each graphic element requiring such processing, and is output to an NC machine such as an NC machining center. This allows
Work designed and drafted by CAD software is N
It is sent to the processing stage of the C machine and is NC machined.

【0027】前述の図4で示した例では、図形要素の単
純な寸法を例として説明したが、図形要素のX−Y−Z
軸座標の情報は、例えば寸法公差、表面粗さ等の付帯的
寸法要素を含むものである。例えば、孔径や窪み径を或
る寸法公差内に納める必要がある場合、或いは所定の表
面粗さ以下に加工する必要が或る場合、ドリルやエンド
ミルによる切削の後、内面研磨等の二次加工が必要とな
ることもある。それらのデータは、CADデータの寸法
公差、表面粗さ等の前記付帯的寸法要素から前述と同様
にして加工手段データベース16と加工条件データベー
ス17を参照して決定する。
In the example shown in FIG. 4 described above, the simple size of the graphic element has been described as an example.
The information on the axis coordinates includes incidental dimensional elements such as dimensional tolerance and surface roughness. For example, when it is necessary to keep the hole diameter or dent diameter within a certain dimensional tolerance, or when it is necessary to process the surface to a predetermined surface roughness or less, after cutting with a drill or end mill, secondary processing such as inner surface polishing May be required. These data are determined by referring to the processing means database 16 and the processing condition database 17 in the same manner as described above from the additional dimensional elements such as the dimensional tolerance and surface roughness of the CAD data.

【0028】なお、前述の例では、ワークのCAD図形
の図形要素から画層に対応したZ軸座標データベースに
よりZ軸座標を決めるのに、その図形要素が置かれた画
層を使用した。Z軸座標を示す図形要素の属性として、
前記の画層以外に、その図形要素の色や線種等も使用す
ることができる。この場合は、Z軸座標の情報を得るデ
ータベースとして、色に対応したZ軸座標データベース
や線種に対応したZ軸座標データが構築される。ベース
さらに、その図形要素の属性として、画層、色、線種等
のように、複数の属性を併用することで、さらに多くの
情報を割り振ったデータベースを構築することができ
る。
In the above-described example, the layer in which the graphic element is placed is used to determine the Z-axis coordinates from the graphic element of the CAD figure of the workpiece by the Z-axis coordinate database corresponding to the layer. As the attribute of the graphic element indicating the Z-axis coordinate,
In addition to the above-mentioned image layers, the color and line type of the graphic element can be used. In this case, a Z-axis coordinate database corresponding to a color or Z-axis coordinate data corresponding to a line type is constructed as a database for obtaining information on Z-axis coordinates. By using a plurality of attributes such as a layer, a color, a line type, and the like as attributes of the graphic element, a database in which more information is allocated can be constructed.

【0029】[0029]

【発明の効果】以上説明した通り、本発明によるNCデ
ータ作成方法と装置では、二次元CADソフトウェア
や、高度な三次元機能を持たない、いわゆる2.5次元
CADソフトウェアを使用して作成したワークのCAD
データであっても、画層等の図形要素の寸法と異なる情
報をZ軸座標を示すデータとして使用し、X−Y軸座標
に加えてデータベースによりZ軸座標のデータを自動で
設定ができるようにしている。さらにこれに基づき、加
工方法及び加工条件も自動で入力してNCデータを作成
できるようにしている。このため、人手による入力作業
を大幅に低減し、人手をかけずにソフト上で容易にNC
データを作成することができるようになる。従って、デ
ータ加工時における作業工数の削減及び人為的な作業ミ
スを防止することで加工工程の作業効率が良くなるとい
う効果がある。
As described above, in the NC data creation method and apparatus according to the present invention, a work created using two-dimensional CAD software or so-called 2.5-dimensional CAD software having no advanced three-dimensional functions. CAD
Even in the case of data, information different from dimensions of graphic elements such as layers is used as data indicating Z-axis coordinates, and data of Z-axis coordinates can be automatically set by a database in addition to XY-axis coordinates. I have to. Furthermore, based on this, the NC data can be created by automatically inputting the processing method and processing conditions. For this reason, the manual input operation is greatly reduced, and the NC can be easily executed on software without human intervention.
You will be able to create data. Therefore, there is an effect that the working efficiency of the working process is improved by reducing the number of working steps and preventing an artificial working error at the time of data working.

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

【図1】本発明の一実施形態によるNCデータ作成方法
を実施するためのシステム例を示す概観図である。
FIG. 1 is a schematic diagram showing an example of a system for implementing an NC data creation method according to an embodiment of the present invention.

【図2】本発明の一実施形態によるNCデータ作成方法
を実施するためのシステム例を示すブロック図である。
FIG. 2 is a block diagram showing an example of a system for implementing an NC data creation method according to an embodiment of the present invention.

【図3】本発明の一実施形態によるNCデータ作成方法
でNCデータを作成する手順の例を示すフローシートで
ある。
FIG. 3 is a flowchart illustrating an example of a procedure for creating NC data by an NC data creation method according to an embodiment of the present invention.

【図4】本発明の一実施形態によるNCデータ作成方法
でNCデータを作成する際の概念を示すワークの一部分
のCAD画面とワークの加工例とを示す部分斜視図であ
る。
FIG. 4 is a partial perspective view showing a CAD screen of a part of a work and a processing example of the work showing a concept when creating NC data by the NC data creating method according to one embodiment of the present invention.

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

1 コンピュータ本体 13 外部記憶装置 15 画層に対応したZ軸座標データベース 16 加工手段データベース 17 加工条件データベース DESCRIPTION OF SYMBOLS 1 Computer main body 13 External storage device 15 Z-axis coordinate database corresponding to a layer 16 Processing means database 17 Processing condition database

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 ワークのCADデータからそのワークを
切削する加工寸法、加工方法及び加工条件を含むNCデ
ータを作成する方法であって、CADソフトウェアで作
成されるワークのCADデータの図形要素に割り振られ
る属性に対しZ軸方向の座標を割り振った属性に対応し
たZ軸座標データベースと、ワークのCADデータの図
形要素の形状及び属性に対して加工方法を割り振った加
工手段データベースと、ワークのCADデータの図形要
素の形状、属性及び加工手段に対して加工条件を割り振
った加工条件データベースとを用意し、X−Y方向の二
次元座標を取扱可能なCADソフトウェアにより、ワー
クの各図形要素属性に応じたZ軸座標を与えながらCA
Dデータを作成するステップと、このCADデータの前
記図形要素のZ軸座標を示す属性に対し、前記属性に対
応したZ軸座標データベースによりその図形要素のZ軸
座標を決定するステップと、このCADデータの図形要
素の形状及び属性から、前記加工手段データベースによ
りその部分の加工方法を決定するステップと、このCA
Dデータの図形要素の形状、属性及びその部分の加工方
法から、前記加工条件データベースによりその部分の加
工条件を決定するステップとによりCADデータを処理
し、これをNC機械により加工するNCデータとして出
力することを特徴とする切削加工のNCデータ作成方
法。
1. A method for creating NC data including machining dimensions, machining methods and machining conditions for cutting a workpiece from CAD data of the workpiece, wherein the NC data is assigned to graphic elements of CAD data of the workpiece created by CAD software. Z-axis coordinate database corresponding to attributes in which the coordinates in the Z-axis direction are allocated to the attributes to be processed, a processing means database in which the processing method is allocated to the shape and attribute of the graphic element of the CAD data of the work, and the CAD data of the work A processing condition database in which processing conditions are allocated to the shape, attribute, and processing means of the graphic elements of the above is prepared, and CAD software capable of handling two-dimensional coordinates in the XY directions is used in accordance with each graphic element attribute of the workpiece. CA with given Z-axis coordinates
Creating D data; determining, for the attribute indicating the Z-axis coordinate of the graphic element in the CAD data, determining the Z-axis coordinate of the graphic element using a Z-axis coordinate database corresponding to the attribute; Determining a processing method for the part from the processing means database from the shape and attribute of the graphic element of the data;
CAD data is processed by the step of determining the processing condition of the part from the processing condition database based on the shape and attribute of the graphic element of the D data and the processing method of the part, and this is output as NC data to be processed by the NC machine. NC data creation method for cutting.
【請求項2】 Z軸座標を示す図形要素の属性が、CA
Dデータ上で同図形要素が置かれる画層であることを特
徴とする請求項1に記載のNCデータ作成方法。
2. The attribute of a graphic element indicating a Z-axis coordinate is CA
2. The NC data creating method according to claim 1, wherein the graphic element is a layer on which the same graphic element is placed on the D data.
【請求項3】 Z軸座標を示す図形要素の属性が、CA
Dデータ上で同図形要素に与えられる色であることを特
徴とする請求項1に記載のNCデータ作成方法。
3. The attribute of a graphic element indicating a Z-axis coordinate is CA
2. The NC data creating method according to claim 1, wherein the color is given to the same graphic element on the D data.
【請求項4】 Z軸座標を示す図形要素の属性が、CA
Dデータ上で同図形要素に与えられる線種であることを
特徴とする請求項1に記載のNCデータ作成方法。
4. The attribute of a graphic element indicating a Z-axis coordinate is CA
2. The NC data creating method according to claim 1, wherein the line type is given to the same graphic element on the D data.
【請求項5】 ワークのCADデータからそのワークを
切削する加工寸法、加工方法及び加工条件を含むNCデ
ータを作成する装置であって、CADソフトウェアで作
成されるワークのCADデータの図形要素に割り振られ
る属性に対しZ軸方向の座標を割り振った属性に対応し
たZ軸座標データベースと、ワークのCADデータの図
形要素の形状及び属性に対して加工方法を割り振った加
工手段データベースと、ワークのCADデータの図形要
素の形状、属性及び加工手段に対して加工条件を割り振
った加工条件データベースとを有し、X−Y方向の二次
元座標を取扱可能なCADソフトウェアにより、各図形
要素属性に応じたZ軸座標を与えながら作成されたCA
Dデータの前記図形要素のZ軸座標を示す属性に対し、
前記属性に対応したZ軸座標データベースによりその図
形要素のZ軸座標を決定する手段と、このワークのCA
Dデータの図形要素の形状及び属性から、前記加工手段
データベースによりその部分の加工方法を決定する手段
と、このワークのCADデータの図形要素の形状、属性
及びその部分の加工方法から、前記加工条件データベー
スによりその部分の加工条件を決定する手段とを有し、
これらの手段によりCADデータを処理し、これをNC
機械により加工するNCデータとして出力することを特
徴とする切削加工のNCデータ作成装置。
5. An apparatus for creating NC data including machining dimensions, machining methods and machining conditions for cutting a workpiece from CAD data of the workpiece, wherein the NC data is assigned to graphic elements of the CAD data of the workpiece created by CAD software. Z-axis coordinate database corresponding to attributes in which the coordinates in the Z-axis direction are allocated to the attributes to be processed, a processing means database in which the processing method is allocated to the shape and attribute of the graphic element of the CAD data of the work, and the CAD data of the work And a machining condition database in which machining conditions are assigned to the shapes, attributes and machining means of the graphic elements, and CAD software capable of handling two-dimensional coordinates in the X-Y direction is used for Z-elements corresponding to the respective graphic element attributes. CA created while giving axis coordinates
For the attribute indicating the Z-axis coordinate of the graphic element in the D data,
Means for determining a Z-axis coordinate of the graphic element by a Z-axis coordinate database corresponding to the attribute;
The means for determining the processing method of the part by the processing means database from the shape and attribute of the graphic element of the D data, and the processing condition from the shape and attribute of the graphic element of the CAD data of this work and the processing method of the part Means for determining the processing conditions of the part by the database,
The CAD data is processed by these means and is
An NC data creation device for cutting, which is output as NC data to be machined.
JP2000182675A 2000-06-19 2000-06-19 Method and apparatus for making nc data for machining of metal Pending JP2002006915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000182675A JP2002006915A (en) 2000-06-19 2000-06-19 Method and apparatus for making nc data for machining of metal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000182675A JP2002006915A (en) 2000-06-19 2000-06-19 Method and apparatus for making nc data for machining of metal

Publications (1)

Publication Number Publication Date
JP2002006915A true JP2002006915A (en) 2002-01-11

Family

ID=18683393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000182675A Pending JP2002006915A (en) 2000-06-19 2000-06-19 Method and apparatus for making nc data for machining of metal

Country Status (1)

Country Link
JP (1) JP2002006915A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006107233A (en) * 2004-10-07 2006-04-20 Honda Motor Co Ltd Nc working system, nc data preparation device, nc data preparation system, nc data preparation method and nc data preparation program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006107233A (en) * 2004-10-07 2006-04-20 Honda Motor Co Ltd Nc working system, nc data preparation device, nc data preparation system, nc data preparation method and nc data preparation program

Similar Documents

Publication Publication Date Title
US6112133A (en) Visual system and method for generating a CNC program for machining parts with planar and curvilinear surfaces
US7577492B2 (en) Automatic programming method and automatic programming device
JP3068827B2 (en) Process design processing method in machining
JP4276656B2 (en) CAD system, program for executing the CAD system, and recording medium recording the program
JP2586889B2 (en) Interactive graphic input system
JP2002529843A (en) Image CNC program for generating machine parts
JP2002529843A5 (en)
JP2002006915A (en) Method and apparatus for making nc data for machining of metal
JPH0821089B2 (en) Solid model shape definition method in CAD / CAM system
JPH0457459B2 (en)
JPH0716860B2 (en) Automatic processing data creation device based on 2D CAD drawings
JPH0883105A (en) Parts working estimating device
JP7057593B1 (en) CNC device machining program generation program and CNC device machining program generation method
JPH0685130B2 (en) Processing area division processing device in automatic processing machine
JPH07191722A (en) Nc data preparing device
JPH1185239A (en) Nc data generating method for boring
JP3116733B2 (en) Processing axis direction determination device for CAM system
JP3925506B2 (en) CAD / CAM equipment
JPS6039049A (en) Preparation system of machining information
JP2792764B2 (en) Numerical control data editing device
JPS62140744A (en) Conversion processing device for machining data in automatic machine
JP2001100824A (en) Method and device for preparing nc data and storage medium
WO2004038522A1 (en) Cad sysetm, program for running the system, and recording medium having the program recorded therein
JPH0436820B2 (en)
JPS61105615A (en) Working area designating system of nc data generating device