JP2002342395A - Device and method for processing three-dimensional form - Google Patents

Device and method for processing three-dimensional form

Info

Publication number
JP2002342395A
JP2002342395A JP2001142253A JP2001142253A JP2002342395A JP 2002342395 A JP2002342395 A JP 2002342395A JP 2001142253 A JP2001142253 A JP 2001142253A JP 2001142253 A JP2001142253 A JP 2001142253A JP 2002342395 A JP2002342395 A JP 2002342395A
Authority
JP
Japan
Prior art keywords
interference
convex
curved surface
convex hull
polyhedron
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
JP2001142253A
Other languages
Japanese (ja)
Inventor
Jun Sato
佐藤  淳
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001142253A priority Critical patent/JP2002342395A/en
Publication of JP2002342395A publication Critical patent/JP2002342395A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To perform a processing accompanied with interference calculation with a free-form surface expressed by a higher-order curved surface expression or three-dimensional(3D) form composed of a large number of free-form surfaces by utilizing a polyhedron corresponding to simplified convex closure. SOLUTION: In a convex polyhedron calculating part 2, a convex polyhedron roughly expressing the size and position of a curved surface is found for each of a plurality of curved surfaces configuring a plurality of 3D forms and in a convex polyhedron interference deciding part 3, on the basis of each of found convex polyhedrons, the presence/absence of interference on the curved surface between the 3D forms is roughly decided. Concerning the curved surface, with which the possibility of interference is decided by that decision, in a convex closure calculating part 4, the convex closure including that curved surface is found and on the basis of each convex closure found in a convex closure interference deciding part 5, the presence/absence of interference on the curved surface between the 3D forms is more exactly decided.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、3次元CAD/
CAM/CAE/CGなど3次元形状の干渉計算を伴う
3次元形状処理装置及び3次元形状処理装置に関する。
TECHNICAL FIELD The present invention relates to a three-dimensional CAD /
The present invention relates to a three-dimensional shape processing device and a three-dimensional shape processing device that involve interference calculation of a three-dimensional shape such as CAM / CAE / CG.

【0002】[0002]

【従来の技術】ベジェ(Bezier)曲面やビースプ
ライン(B−spline)曲面に代表される媒介変数
で表現された自由曲面からなる3次元形状に対する各種
の処理を扱うことのできる3次元形状処理システムにお
いて、曲面に関する干渉計算は計算コストが高く、その
干渉計算を伴う処理を実行する際には、いきなり干渉計
算処理を適用することはない。従来、前処理として、曲
面を包含する凸包を使って、その曲面が互いに干渉する
可能性を調べた上で、その可能性がある場合にのみ干渉
計算処理を適用していた。例えば、複数の3次元形状の
曲面同士を対象とする干渉計算の場合、それぞれの曲面
を包含する凸包同士が干渉するか否かを調べて、それら
が干渉する場合、すなわちそれらが包含する曲面同士が
干渉する可能性がある場合にのみ、再帰分割法や追跡法
といった技術を用いて干渉線を求めていた。
2. Description of the Related Art A three-dimensional shape processing system capable of handling various processes for a three-dimensional shape composed of a free-form surface represented by a parameter represented by a Bezier surface or a B-spline surface. In the above, the calculation of the interference for a curved surface has a high calculation cost, and when executing the processing involving the calculation of the interference, the interference calculation processing is not suddenly applied. Conventionally, as a pre-process, a convex hull including a curved surface is used to check the possibility that the curved surfaces interfere with each other, and then, only when there is such a possibility, the interference calculation process is applied. For example, in the case of interference calculation for a plurality of curved surfaces having a three-dimensional shape, it is checked whether or not convex hulls including the respective curved surfaces interfere with each other. Only when there is a possibility that they interfere with each other, an interference line is obtained by using a technique such as a recursive division method or a tracking method.

【0003】このように、前処理として凸包によってチ
ェックを行って干渉計算を必要最小限に抑えることによ
り、高コストな干渉計算を極力減らして3次元形状に対
する処理全体の高速化を図ることができ、直接干渉計算
を適用する場合に比べて高速な操作を実現する上で効果
的である。上記3次元形状の自由曲面に対して凸包を求
めることと、その凸包を利用した高速な干渉計算に関す
る従来の技術としては、以下に代表される手法がある。
R.E.Barnhill,S.N.Kersey.:
「A marching method for pa
rametric surface/surface
intersection」(Computer Ai
ded Geometric Design, 199
0)
[0003] As described above, by performing a check using a convex hull as a pre-process and suppressing the interference calculation to a necessary minimum, it is possible to reduce the costly interference calculation as much as possible and to speed up the entire processing for the three-dimensional shape. This is effective in realizing a high-speed operation as compared with a case where direct interference calculation is applied. Conventional techniques for obtaining a convex hull for the three-dimensionally shaped free-form surface and for performing high-speed interference calculation using the convex hull include the following techniques.
R. E. FIG. Barnhill, S .; N. Kersey. :
"A Marching Method for Pa
rametic surface / surface
intersection "(Computer Ai
ded Geometric Design, 199
0)

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述の
従来の技術では、自由曲面を表わす曲面式の次数が高次
の場合や対象形状が非常に多数の自由曲面から構成され
る場合、凸包を求めること自体が大変な処理負担になる
ので、3次元形状に対する処理の実行速度が低下すると
いう問題があった。この発明は上記の課題を解決するた
めになされたものであり、高次の曲面式で表わされる自
由曲面や多数の自由曲面から構成される3次元形状を対
象とする干渉計算を伴う処理を簡易的な凸包に相当する
多面体を利用することによって高速に行えるようにする
ことを目的とする。
However, according to the above-mentioned prior art, when the order of a surface expression representing a free-form surface is higher or when the target shape is composed of a very large number of free-form surfaces, a convex hull is formed. There is a problem that the processing itself for the three-dimensional shape is reduced because the calculation itself becomes a heavy processing load. The present invention has been made to solve the above-mentioned problem, and simplifies processing involving interference calculation for a free-form surface represented by a higher-order surface equation or a three-dimensional shape composed of a large number of free-form surfaces. It is an object of the present invention to perform high-speed processing by using a polyhedron corresponding to a typical convex hull.

【0005】[0005]

【課題を解決するための手段】この発明は上記の目的を
達成するため、3次元形状に対する干渉計算を伴う処理
を実行する3次元形状処理装置であって、複数個の3次
元形状を構成する複数個の曲面のそれぞれについてその
曲面の大きさと位置を大まかに表わす凸多面体を求める
凸多面体計算手段と、その凸多面体計算手段によって求
めた各凸多面体に基づいて各3次元形状同士の曲面の干
渉の有無を大まかに判定する凸多面体干渉判定手段と、
その凸多面体干渉判定手段による判定によって干渉する
可能性があると判定した曲面についてその曲面を包含す
る凸包を求める凸包計算手段と、その凸包計算手段によ
って求めた各凸包に基づいて各3次元形状同士の曲面の
干渉の有無をより正確に判定する凸包干渉判定手段を備
えた3次元形状処理装置を提供する。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention is a three-dimensional shape processing apparatus for executing a process involving interference calculation for a three-dimensional shape, comprising a plurality of three-dimensional shapes. Convex polyhedron calculation means for obtaining a convex polyhedron roughly representing the size and position of each of the plurality of curved surfaces, and interference of the curved surfaces of the three-dimensional shapes with each other based on each convex polyhedron obtained by the convex polyhedron calculation means Convex polyhedron interference determination means for roughly determining the presence or absence of
A convex hull calculating means for obtaining a convex hull including the curved surface for a curved surface determined to possibly interfere by the determination by the convex polyhedron interference determining means, and a convex hull calculated by the convex hull calculating means. Provided is a three-dimensional shape processing device including a convex hull interference determination unit that more accurately determines whether or not there is interference between curved surfaces of three-dimensional shapes.

【0006】また、上記凸多面体干渉判定手段による判
定結果と上記凸包干渉判定手段による判定結果とを同一
のデータ構造で一括して管理する判定結果管理手段を設
けるとよい。さらに、上記凸多面体干渉判定手段によっ
て正しい判定結果が得られないときには、上記凸包計算
手段によって上記各3次元形状を構成する各曲面のそれ
ぞれについてその曲面を包含する凸包を求め、上記凸包
干渉判定手段によって上記凸包計算手段で求めた各凸包
に基づいて各3次元形状同士の曲面の干渉の有無をより
正確に判定するように制御する手段を設けるとよい。
Further, it is preferable to provide a judgment result management means for collectively managing the judgment result by the convex polyhedron interference judgment means and the judgment result by the convex hull interference judgment means with the same data structure. Further, when a correct determination result is not obtained by the convex polyhedron interference determining means, the convex hull calculating means obtains a convex hull including each of the curved surfaces constituting each of the three-dimensional shapes, and calculates the convex hull. It is preferable to provide means for controlling the interference determining means to more accurately determine the presence or absence of interference between the curved surfaces of the three-dimensional shapes based on each convex hull obtained by the convex hull calculating means.

【0007】また、3次元形状に対する干渉計算を伴う
処理を実行する3次元形状処理方法であって、複数個の
3次元形状を構成する複数個の曲面のそれぞれについて
その曲面の大きさと位置を大まかに表わす凸多面体を求
める凸多面体計算ステップと、その凸多面体計算ステッ
プによって求めた各凸多面体に基づいて各3次元形状同
士の曲面の干渉の有無を大まかに判定する凸多面体干渉
判定ステップと、その凸多面体干渉判定ステップによる
判定によって干渉する可能性があると判定した曲面につ
いてその曲面を包含する凸包を求める凸包計算ステップ
と、その凸包計算ステップによって求めた各凸包に基づ
いて各3次元形状同士の曲面の干渉の有無をより正確に
判定する凸包干渉判定ステップとからなる3次元形状処
理方法も提供する。
Also, there is provided a three-dimensional shape processing method for executing processing involving interference calculation with respect to a three-dimensional shape, wherein the size and position of each of a plurality of curved surfaces constituting a plurality of three-dimensional shapes are roughly determined. A convex polyhedron calculation step of obtaining a convex polyhedron represented by: and a convex polyhedron interference determination step of roughly determining whether or not there is interference between curved surfaces of the three-dimensional shapes based on each convex polyhedron obtained by the convex polyhedron calculation step, A convex hull calculation step for obtaining a convex hull including the curved surface for the curved surface determined to have a possibility of interfering by the determination by the convex polyhedron interference determination step; Also provided is a three-dimensional shape processing method including a convex hull interference determining step of more accurately determining the presence or absence of a curved surface between two-dimensional shapes.

【0008】また、上記凸多面体干渉判定ステップによ
る判定結果と上記凸包干渉判定ステップによる判定結果
とを同一のデータ構造で一括して管理するとよい。さら
に、上記凸多面体干渉判定ステップによって正しい判定
結果が得られないときには、上記凸包計算ステップによ
って上記各3次元形状を構成する各曲面のそれぞれにつ
いてその曲面を包含する凸包を求め、上記凸包干渉判定
ステップによって上記凸包計算ステップによって求めた
各凸包に基づいて各3次元形状同士の曲面の干渉の有無
をより正確に判定するとよい。
It is preferable that the result of the judgment in the convex polyhedral interference judging step and the result of the judgment in the convex hull interference judging step are managed collectively in the same data structure. Further, when a correct determination result is not obtained in the convex polyhedron interference determining step, a convex hull including each of the curved surfaces constituting each of the three-dimensional shapes is obtained in the convex hull calculating step, and the convex hull is obtained. It is preferable that the interference judging step more accurately judge the presence or absence of interference between the curved surfaces of the three-dimensional shapes based on each convex hull obtained in the convex hull calculating step.

【0009】[0009]

【発明の実施の形態】以下、この発明の実施形態を図面
に基づいて具体的に説明する。図2は、この発明の一実
施形態である3次元形状補正処理装置のシステム構成を
示すブロック図である。この3次元形状補正処理装置
は、キーボード,マウス等の入力装置10と、この3次
元形状補正処理装置全体の制御を司り、この発明に係わ
る各機能部を実現するマイクロコンピュータであるCP
U11と、CPU11がこのコンピュータシステム上で
動作させる制御プログラムを格納し、各種の処理を実行
する際の作業領域として使用すると共に3次元形状等の
情報を一時的に格納するメモリ12と、後述する面テー
ブルや3次元形状等の情報を記憶するハードディスク装
置等の外部記憶装置13と、CRT,LCD等のディス
プレイ装置である出力装置14と、10〜14の各部が
データをやり取りするバス15とからなる。
Embodiments of the present invention will be specifically described below with reference to the drawings. FIG. 2 is a block diagram showing a system configuration of a three-dimensional shape correction processing device according to an embodiment of the present invention. The three-dimensional shape correction processing device is a microcomputer CP that controls the input device 10 such as a keyboard and a mouse, and controls the whole of the three-dimensional shape correction processing device and realizes each functional unit according to the present invention.
U11, a memory 12 for storing a control program operated by the CPU 11 on this computer system, and used as a work area when executing various processes and for temporarily storing information such as a three-dimensional shape, which will be described later. An external storage device 13 such as a hard disk device that stores information such as a surface table and a three-dimensional shape, an output device 14 that is a display device such as a CRT and an LCD, and a bus 15 through which various units 10 to 14 exchange data. Become.

【0010】図1は、図2に示した3次元形状処理装置
のCPU11のこの発明に係わる機能構成を示すブロッ
ク図である。ここでは、3次元形状に対する、干渉計算
を伴う操作として、対象形状どうしの干渉線を表示する
操作を取り上げる。CPU11は、入力部1,面の大き
さと位置を表わす凸多面体を計算して求める凸多面体計
算部2,凸多面体による干渉判定を行う凸多面体干渉判
定部3,面を包含する凸包を計算して求める凸包計算部
4,凸包による干渉判定を行う凸包干渉判定部5,干渉
計算部6の各機能から構成される。
FIG. 1 is a block diagram showing a functional configuration according to the present invention of the CPU 11 of the three-dimensional shape processing apparatus shown in FIG. Here, as an operation involving interference calculation for a three-dimensional shape, an operation of displaying interference lines between target shapes will be described. The CPU 11 calculates an input unit 1, a convex polyhedron calculating unit 2 for calculating and calculating a convex polyhedron representing the size and position of the surface, a convex polyhedron interference determining unit 3 for performing interference determination by the convex polyhedron, and calculating a convex hull including the surface. Hull calculation unit 4, convex hull interference determination unit 5 that performs interference determination by convex hull, and interference calculation unit 6.

【0011】すなわち、上記3次元形状補正装置が3次
元形状に対する干渉計算を伴う処理を実行する3次元形
状処理装置であって、上記凸多面体計算部2が複数個の
3次元形状を構成する複数個の曲面のそれぞれについて
その曲面の大きさと位置を大まかに表わす凸多面体を求
める凸多面体計算手段の機能を果たす。上記凸多面体干
渉判定部3が凸多面体計算手段によって求めた各凸多面
体に基づいて各3次元形状同士の曲面の干渉の有無を大
まかに判定する凸多面体干渉判定手段の機能を果たす。
上記凸包計算部4が凸多面体干渉判定手段による判定に
よって干渉する可能性があると判定した曲面についてそ
の曲面を包含する凸包を求める凸包計算手段の機能を果
たす。上記凸包干渉判定部5が凸包計算手段によって求
めた各凸包に基づいて各3次元形状同士の曲面の干渉の
有無をより正確に判定する凸包干渉判定手段の機能を果
たす。
That is, the three-dimensional shape correction device is a three-dimensional shape processing device that executes a process involving an interference calculation with respect to the three-dimensional shape, and the convex polyhedron calculation unit 2 includes a plurality of three-dimensional shapes. The function of a convex polyhedron calculation means for obtaining a convex polyhedron roughly representing the size and position of each of the curved surfaces. The convex polyhedron interference judging section 3 functions as a convex polyhedron interference judging means for roughly judging the presence or absence of interference between curved surfaces of the three-dimensional shapes based on each convex polyhedron obtained by the convex polyhedron calculating means.
The convex hull calculation unit 4 functions as a convex hull calculation unit that obtains a convex hull including the curved surface for a curved surface determined to have a possibility of interference by the determination by the convex polyhedron interference determination unit. The convex hull interference determining unit 5 functions as a convex hull interference determining unit that more accurately determines the presence or absence of interference between curved surfaces of the three-dimensional shapes based on each convex hull obtained by the convex hull calculating unit.

【0012】また、上記外部記憶装置13が上記凸多面
体干渉判定手段による判定結果と上記凸包干渉判定手段
による判定結果とを同一のデータ構造で一括して管理す
る判定結果管理手段の機能を果たす。さらに、上記CP
U11が上記凸多面体干渉判定手段によって正しい判定
結果が得られないときには、上記凸包計算手段によって
上記各3次元形状を構成する各曲面のそれぞれについて
その曲面を包含する凸包を求め、上記凸包干渉判定手段
によって上記凸包計算手段によって求めた各凸包に基づ
いて各3次元形状同士の曲面の干渉の有無をより正確に
判定するように制御する手段の機能を果たす。
Further, the external storage device 13 functions as a judgment result management means for collectively managing the judgment result by the convex polyhedron interference judgment means and the judgment result by the convex hull interference judgment means with the same data structure. . Further, the CP
When U11 cannot obtain a correct determination result by the convex polyhedron interference determining means, the convex hull calculating means obtains a convex hull including each of the curved surfaces constituting each of the three-dimensional shapes, and obtains the convex hull. The interference determining means functions as a means for controlling so as to more accurately determine the presence or absence of interference between the curved surfaces of the three-dimensional shapes based on the convex hulls calculated by the convex hull calculating means.

【0013】そして、上記CPU11によって、複数個
の3次元形状を構成する複数個の曲面のそれぞれについ
てその曲面の大きさと位置を大まかに表わす凸多面体を
求める凸多面体計算ステップと、その凸多面体計算ステ
ップによって求めた各凸多面体に基づいて各3次元形状
同士の曲面の干渉の有無を大まかに判定する凸多面体干
渉判定ステップと、その凸多面体干渉判定ステップによ
る判定によって干渉する可能性があると判定した曲面に
ついてその曲面を包含する凸包を求める凸包計算ステッ
プと、その凸包計算ステップによって求めた各凸包に基
づいて各3次元形状同士の曲面の干渉の有無をより正確
に判定する凸包干渉判定ステップの処理を実行する。
The CPU 11 calculates a convex polyhedron for each of a plurality of curved surfaces forming a plurality of three-dimensional shapes, and calculates a convex polyhedron roughly representing the size and position of the curved surface. It is determined that there is a possibility of interference by a convex polyhedron interference determining step of roughly determining whether or not there is interference between curved surfaces of the three-dimensional shapes based on each convex polyhedron obtained by the above, and a determination by the convex polyhedral interference determining step. A convex hull calculating step of obtaining a convex hull including the curved surface with respect to the curved surface, and a convex hull for more accurately determining the presence or absence of interference between the curved surfaces of the three-dimensional shapes based on each convex hull obtained by the convex hull calculating step The process of the interference determination step is performed.

【0014】また、上記CPU11の制御によって上記
外部記憶装置13に上記凸多面体干渉判定ステップによ
る判定結果と上記凸包干渉判定ステップによる判定結果
とを同一のデータ構造で一括して管理する。さらに、上
記CPU11は、上記凸多面体干渉判定ステップによっ
て正しい判定結果が得られないときには、上記凸包計算
ステップによって上記各3次元形状を構成する各曲面の
それぞれについてその曲面を包含する凸包を求め、上記
凸包干渉判定ステップによって上記凸包計算ステップに
よって求めた各凸包に基づいて各3次元形状同士の曲面
の干渉の有無をより正確に判定する。
Further, under the control of the CPU 11, the judgment result in the convex polyhedron interference judgment step and the judgment result in the convex hull interference judgment step are collectively managed in the external storage device 13 with the same data structure. Further, when a correct determination result is not obtained in the convex polyhedron interference determining step, the CPU 11 obtains a convex hull including each curved surface constituting each of the three-dimensional shapes by the convex hull calculating step. The presence / absence of interference between curved surfaces of the three-dimensional shapes is more accurately determined based on the convex hulls determined in the convex hull calculation step in the convex hull interference determination step.

【0015】次に、この3次元形状補正処理装置におけ
る干渉処理動作を説明する。図3は、この3次元形状補
正処理装置における干渉処理のフローチャートである。
この処理では、干渉部分をもつ可能性がある3次元形状
同士について干渉の有無をチェックし、もしあれば干渉
線を求めて表示する。
Next, an interference processing operation in the three-dimensional shape correction processing device will be described. FIG. 3 is a flowchart of the interference processing in the three-dimensional shape correction processing device.
In this process, the presence or absence of interference is checked for three-dimensional shapes that may have an interference portion, and if so, an interference line is obtained and displayed.

【0016】ステップ(図中「S」で示す)1で複数の
面から構成される2個の3次元形状B1とB2を外部記
憶装置に記憶して用意する。この3次元形状B1,B2
をそれぞれ構成する曲面の数をそれぞれn,mとし、ス
テップ2で3次元形状B1,B2に対する曲面テーブル
T01に登録して管理する。この曲面テーブルT01
は、3次元形状B1,B2のそれぞれの曲面毎にそれぞ
れを識別するための識別子(3次元形状B1の曲面は1
からn、3次元形状B2の曲面は1からm)、その曲面
の幾何情報とその曲面の大きさと位置を大まかに表わす
多面体とその曲面を包含する凸包の情報を保持する。た
だし、このステップ2の時点では、識別子と幾何情報の
みを登録し、それ以外の値は初期化しておく。ステップ
3で凸多面体による処理を行うか否かを判断し、行うな
らステップ4で各曲面について大きさと位置を大まかに
表わす凸多面体を求めて、曲面テーブルT01の当該箇
所に登録する。
In step (indicated by "S" in the figure) 1, two three-dimensional shapes B1 and B2 composed of a plurality of surfaces are stored and prepared in an external storage device. These three-dimensional shapes B1, B2
Are respectively set to n and m, and are registered and managed in the curved surface table T01 for the three-dimensional shapes B1 and B2 in step 2. This curved surface table T01
Is an identifier for identifying each of the curved surfaces of the three-dimensional shapes B1 and B2 (the curved surface of the three-dimensional shape B1 is 1
To n, the curved surface of the three-dimensional shape B2 is 1 to m), and holds geometric information of the curved surface, information of a polyhedron roughly indicating the size and position of the curved surface, and information of a convex hull including the curved surface. However, at the time of this step 2, only the identifier and the geometric information are registered, and the other values are initialized. In step 3, it is determined whether or not to perform processing using a convex polyhedron. If so, in step 4, a convex polyhedron roughly representing the size and position of each curved surface is obtained and registered in the corresponding location of the curved surface table T01.

【0017】凸多面体は例えば以下のようにして求め
る。曲面の境界をなす曲線列を構成する全曲線の両端の
座標値を調べて、X,Y,Zの各成分について、最小値
Xmin,Ymin,Zminと最大値Xmax,Ym
ax,Zmaxを求める。そして、XY平面,YZ平
面,ZX平面のそれぞれに平行な2枚ずつの計6枚から
で構成され、8つの隅の座標値が以下のとおりである直
方体を求める凸多面体とする。(Xmin,Ymin,
Zmin),(Xmin,Ymax,Zmin),(X
max,Ymin,Zmin),(Xmax,Yma
x,Zmin),(Xmin,Ymin,Zmax),
(Xmin,Ymax,Zmax),(Xmax,Ym
in,Zmax),(Xmax,Ymax,Zmax)
ただし、このままでは凸多面体で囲まれる閉空間が小さ
すぎて、曲面はおろか境界曲線も包含しないものとなる
ことが多く、大まかとは言え曲面の大きさと位置を表わ
すには精度が悪すぎるので、8つの隅の座標値のうちで
隣接する座標値間で最大となる距離を基準とした値で多
面体を大き目にとる。
The convex polyhedron is obtained, for example, as follows. By examining the coordinate values at both ends of all the curves constituting the curve sequence that forms the boundary of the curved surface, the minimum values Xmin, Ymin, Zmin and the maximum values Xmax, Ym are obtained for the X, Y, and Z components.
ax and Zmax are obtained. Then, the convex polyhedron is configured to be a rectangular parallelepiped which is composed of a total of six sheets, two in each of the XY plane, the YZ plane, and the ZX plane, and whose eight corners have the following coordinate values. (Xmin, Ymin,
Zmin), (Xmin, Ymax, Zmin), (X
max, Ymin, Zmin), (Xmax, Yma
x, Zmin), (Xmin, Ymin, Zmax),
(Xmin, Ymax, Zmax), (Xmax, Ym
in, Zmax), (Xmax, Ymax, Zmax)
However, as it is, the closed space surrounded by the convex polyhedron is too small, the curved surface often does not include the boundary curve, and the accuracy is too poor to express the size and position of the curved surface, although roughly. The polyhedron is made larger with a value based on the distance between the adjacent coordinate values which is the maximum among the coordinate values of the eight corners.

【0018】ステップ5で3次元形状B1,B2のそれ
ぞれについて、曲面テーブルT01を参照して、構成す
る曲面を大きさと位置を大まかに表わす凸多面体を合算
することによって形状全体の大きさと位置を大まかに表
わす凸多面体を求める。ステップ6で3次元形状B1を
構成する各曲面F1i(1≦i≦n)について、曲面テ
ーブルT01に登録されたその曲面に対する凸多面体
が、相手の3次元形状B2の全体に対する凸多面体と干
渉するか否かを判定して、その判定結果を曲面テーブル
T01の当該箇所に登録する。さらに、3次元形状B2
を構成する各曲面F2j(1≦j≦m)について、曲面
テーブルT01に登録されたその曲面に対する凸多面体
が、相手の3次元形状B1の全体に対する凸多面体と干
渉するか否かを判定して、その判定結果を曲面テーブル
T01の当該箇所に登録する。
In step 5, for each of the three-dimensional shapes B1 and B2, the size and position of the entire shape are roughly calculated by summing convex polyhedrons that roughly represent the size and position of the curved surface to be formed with reference to the curved surface table T01. Is obtained. In step 6, for each curved surface F1i (1 ≦ i ≦ n) constituting the three-dimensional shape B1, the convex polyhedron corresponding to the curved surface registered in the curved surface table T01 interferes with the convex polyhedron corresponding to the whole of the opponent three-dimensional shape B2. It is determined whether or not this is the case, and the result of the determination is registered in the relevant portion of the curved surface table T01. Furthermore, the three-dimensional shape B2
Is determined for each curved surface F2j (1 ≦ j ≦ m) constituting the curved surface T2, whether or not the convex polyhedron for the curved surface registered in the curved surface table T01 interferes with the convex polyhedron for the entire three-dimensional shape B1 of the partner. Then, the determination result is registered in the corresponding portion of the curved surface table T01.

【0019】ステップ7で、各曲面について曲面テーブ
ルT01を参照して、ステップ6において干渉の可能性
があるとの判定結果が登録されているか初期化されたま
まであるものについて、公知技術を用いてその曲面を包
含する凸包を求めて、曲面テーブルT01の当該箇所に
登録する。ステップ8で3次元形状B1,B2のそれぞ
れについて、曲面テーブルT01を参照して構成する各
曲面の凸包を合算することによって各3次元形状B1,
B2の全体の凸包を求める。ステップ9で3次元形状B
1を構成する各曲面F1i(1≦i≦n)について、曲
面テーブルT01に登録されたその曲面に対する凸包が
相手の3次元形状B2の全体に対する凸包と干渉するか
否かを判定して、その判定結果を曲面テーブルT01の
当該箇所に登録する。さらに、3次元形状B2を構成す
る各曲面F2j(1≦j≦m)について、曲面テーブル
T01に登録されたその曲面に対する凸包が相手の3次
元形状B1の全体に対する凸包と干渉するか否かを判定
して、その判定結果を曲面テーブルT01の当該箇所に
登録する。
In step 7, by referring to the curved surface table T01 for each curved surface, it is determined whether or not the result of determination that there is a possibility of interference in step 6 is registered or has been initialized by using a known technique. A convex hull including the curved surface is obtained and registered in the corresponding portion of the curved surface table T01. In step 8, for each of the three-dimensional shapes B1 and B2, the convex hulls of the respective curved surfaces formed with reference to the curved surface table T01 are summed to obtain the three-dimensional shapes B1 and B2.
Find the overall convex hull of B2. 3D shape B in step 9
1 for each curved surface F1i (1 ≦ i ≦ n), it is determined whether or not the convex hull of the curved surface registered in the curved surface table T01 interferes with the convex hull of the other three-dimensional shape B2. Then, the determination result is registered in the corresponding portion of the curved surface table T01. Further, for each of the curved surfaces F2j (1 ≦ j ≦ m) constituting the three-dimensional shape B2, whether or not the convex hull for the curved surface registered in the curved surface table T01 interferes with the convex hull for the entire other three-dimensional shape B1 Is determined, and the result of the determination is registered in the corresponding location of the curved surface table T01.

【0020】ステップ10では次の(1)〜(4)の処
理を実行する。 (1)3次元形状B1を構成する各曲面F1i(1≦i
≦n)について、その曲面に対する凸包が相手3次元形
状B2の全体に対する凸包と干渉するか否かを曲面テー
ブルT01を参照して調べる。干渉しなければ、その曲
面は干渉部分には存在しないので処理を終える。干渉す
るならば、次の処理(2)に進む。 (2)3次元形状B2を構成する各曲面F2j(1≦j
≦m)について、その曲面に対する凸包が相手3次元形
状B1の全体に対する凸包と干渉するか否かを曲面テー
ブルT01を参照して調べる。干渉しなければ、その曲
面は干渉部分には存在しないので処理を終える。干渉す
るならば、次の処理(3)に進む。 (3)曲面テーブルT01を参照して曲面F1iと曲面
F2jの凸包同士が干渉するか否かを判定する。干渉し
なければ、その曲面は干渉部分には存在しないので、処
理を終える。干渉するならば、次の処理(4)に進む。 (4)曲面F1iと曲面F2jの幾何情報を参照して、
公知技術を用いて曲面同士の干渉線を計算し、干渉して
いて干渉線が求まったら出力装置に表示する。
In step 10, the following processes (1) to (4) are executed. (1) Each curved surface F1i (1 ≦ i) constituting the three-dimensional shape B1
For ≦ n), it is determined whether or not the convex hull of the curved surface interferes with the convex hull of the entire other three-dimensional shape B2 with reference to the curved surface table T01. If there is no interference, the process is terminated because the curved surface does not exist in the interference portion. If there is interference, proceed to the next process (2). (2) Each curved surface F2j (1 ≦ j) constituting the three-dimensional shape B2
For ≦ m), it is determined whether or not the convex hull of the curved surface interferes with the convex hull of the entire other three-dimensional shape B1 with reference to the curved surface table T01. If there is no interference, the process is terminated because the curved surface does not exist in the interference portion. If there is interference, the process proceeds to the next process (3). (3) Referring to the curved surface table T01, it is determined whether or not the convex hulls of the curved surface F1i and the curved surface F2j interfere with each other. If there is no interference, the process is terminated because the curved surface does not exist at the interference portion. If there is interference, go to the next process (4). (4) Referring to the geometric information of the curved surface F1i and the curved surface F2j,
The interference line between the curved surfaces is calculated using a known technique, and when the interference line is found, the interference line is displayed on the output device.

【0021】上記に例として記した凸多面体の求め方で
は、多くの場合、曲面を包含している。しかし、曲面の
境界を構成する曲線が複雑な場合や境界曲線列に対して
曲面形状が著しく異なる場合には、凸多面体がその曲面
を包含していないことがある。上記ステップ4で求めた
凸多面体がその曲面を包含していない場合には、表示さ
れる結果が正しくないことがあり得る。そこで、その結
果を見て正しく無いと判断される場合には、上記ステッ
プ4〜6をスキップして、ステップ7から処理を開始さ
せるように入力装置から明示的に入力する。つまり、ス
テップ3において凸多面体による干渉判定では正しく結
果が得られないものと判断し、凸多面体による処理を行
わないならステップ7へ進んで公知技術を用いてその曲
面を包含する凸包を求めて、曲面テーブルT01の当該
箇所に登録する。
The method of obtaining a convex polyhedron described above as an example often includes a curved surface. However, when the curve forming the boundary of the curved surface is complicated or when the curved surface shape is significantly different from the boundary curve sequence, the convex polyhedron may not include the curved surface. If the convex polyhedron obtained in step 4 does not include the curved surface, the displayed result may be incorrect. Therefore, if it is determined that the result is not correct based on the result, the above steps 4 to 6 are skipped and an input is made explicitly from the input device to start the process from step 7. That is, it is determined in Step 3 that the result of the interference determination by the convex polyhedron cannot be correctly obtained. If the processing by the convex polyhedron is not performed, the process proceeds to Step 7 to obtain a convex hull including the curved surface using a known technique. Is registered in the corresponding portion of the curved surface table T01.

【0022】ステップ8で3次元形状B1,B2のそれ
ぞれについて、曲面テーブルT01を参照して構成する
各曲面の凸包を合算することによって各3次元形状B
1,B2の全体の凸包を求める。ステップ9で3次元形
状B1を構成する各曲面F1i(1≦i≦n)につい
て、曲面テーブルT01に登録されたその曲面に対する
凸包が相手の3次元形状B2の全体に対する凸包と干渉
するか否かを判定して、その判定結果を曲面テーブルT
01の当該箇所に登録する。さらに、3次元形状B2を
構成する各曲面F2j(1≦j≦m)について、曲面テ
ーブルT01に登録されたその曲面に対する凸包が相手
の3次元形状B1の全体に対する凸包と干渉するか否か
を判定して、その判定結果を曲面テーブルT01の当該
箇所に登録する。
In step 8, for each of the three-dimensional shapes B1 and B2, the convex hulls of the respective curved surfaces formed with reference to the curved surface table T01 are summed to obtain the three-dimensional shapes B1 and B2.
The overall convex hull of 1 and B2 is obtained. In step 9, for each curved surface F1i (1 ≦ i ≦ n) constituting the three-dimensional shape B1, whether the convex hull for the curved surface registered in the curved surface table T01 interferes with the convex hull for the entire other three-dimensional shape B2 Is determined, and the determination result is stored in the curved surface table T.
01 is registered in the corresponding location. Further, for each of the curved surfaces F2j (1 ≦ j ≦ m) constituting the three-dimensional shape B2, whether or not the convex hull for the curved surface registered in the curved surface table T01 interferes with the convex hull for the entire other three-dimensional shape B1 Is determined, and the result of the determination is registered in the corresponding location of the curved surface table T01.

【0023】ステップ10では次の(1)〜(4)の処
理を実行する。 (1)3次元形状B1を構成する各曲面F1i(1≦i
≦n)について、その曲面に対する凸包が相手3次元形
状B2の全体に対する凸包と干渉するか否かを曲面テー
ブルT01を参照して調べる。干渉しなければ、その曲
面は干渉部分には存在しないので処理を終える。干渉す
るならば、次の処理(2)に進む。 (2)3次元形状B2を構成する各曲面F2j(1≦j
≦m)について、その曲面に対する凸包が相手3次元形
状B1の全体に対する凸包と干渉するか否かを曲面テー
ブルT01を参照して調べる。干渉しなければ、その曲
面は干渉部分には存在しないので処理を終える。干渉す
るならば、次の処理(3)に進む。 (3)曲面テーブルT01を参照して曲面F1iと曲面
F2jの凸包同士が干渉するか否かを判定する。干渉し
なければ、その曲面は干渉部分には存在しないので、処
理を終える。干渉するならば、次の処理(4)に進む。 (4)曲面F1iと曲面F2jの幾何情報を参照して、
公知技術を用いて曲面同士の干渉線を計算し、干渉して
いて干渉線が求まったら出力装置に表示する。
In step 10, the following processes (1) to (4) are executed. (1) Each curved surface F1i (1 ≦ i) constituting the three-dimensional shape B1
For ≦ n), it is determined whether or not the convex hull of the curved surface interferes with the convex hull of the entire other three-dimensional shape B2 with reference to the curved surface table T01. If there is no interference, the process is terminated because the curved surface does not exist in the interference portion. If there is interference, proceed to the next process (2). (2) Each curved surface F2j (1 ≦ j) constituting the three-dimensional shape B2
For ≦ m), it is determined whether or not the convex hull of the curved surface interferes with the convex hull of the entire other three-dimensional shape B1 with reference to the curved surface table T01. If there is no interference, the process is terminated because the curved surface does not exist in the interference portion. If there is interference, the process proceeds to the next process (3). (3) Referring to the curved surface table T01, it is determined whether or not the convex hulls of the curved surface F1i and the curved surface F2j interfere with each other. If there is no interference, the process is terminated because the curved surface does not exist at the interference portion. If there is interference, go to the next process (4). (4) Referring to the geometric information of the curved surface F1i and the curved surface F2j,
The interference line between the curved surfaces is calculated using a known technique, and when the interference line is found, the interference line is displayed on the output device.

【0024】このようにして、3次元形状に対する干渉
計算を伴う処理を高速に実行することができる。また、
3次元形状に対する干渉計算を伴う処理について、メモ
リ領域を効率に使用して実行することができる。さら
に、3次元形状に対する干渉計算を伴う処理について、
実行速度を優先した場合には正確な結果を得られない場
面では、正確さを優先することで正確な結果も得ること
もできる。
In this way, processing involving interference calculation for a three-dimensional shape can be executed at high speed. Also,
The process involving the calculation of interference with the three-dimensional shape can be executed using the memory area efficiently. Further, regarding processing involving interference calculation for a three-dimensional shape,
When accurate results cannot be obtained when execution speed is prioritized, accurate results can also be obtained by prioritizing accuracy.

【0025】[0025]

【発明の効果】以上説明してきたように、この発明の3
次元形状処理装置と3次元形状処理方法によれば、高次
の曲面式で表わされる自由曲面や多数の自由曲面から構
成される3次元形状を対象とする干渉計算を伴う処理を
簡易的な凸包に相当する多面体を利用することによって
高速に行うことができる。
As described above, according to the present invention,
According to the three-dimensional shape processing apparatus and the three-dimensional shape processing method, a process involving interference calculation for a free-form surface represented by a high-order surface equation or a three-dimensional shape composed of a large number of free-form surfaces can be simply performed by a convex method. It can be performed at high speed by using a polyhedron corresponding to a parcel.

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

【図1】図2に示した3次元形状処理装置のCPU11
のこの発明に係わる機能構成を示すブロック図である。
FIG. 1 shows a CPU 11 of the three-dimensional shape processing apparatus shown in FIG.
1 is a block diagram showing a functional configuration according to the present invention.

【図2】この発明の一実施形態である3次元形状補正処
理装置のシステム構成を示すブロック図である。
FIG. 2 is a block diagram illustrating a system configuration of a three-dimensional shape correction processing apparatus according to an embodiment of the present invention.

【図3】この3次元形状補正処理装置における干渉処理
のフローチャートである。
FIG. 3 is a flowchart of an interference process in the three-dimensional shape correction processing device.

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

1:入力部 2:凸多面体計算部 3:凸多面体干渉判定部 4:凸包計算部 5:凸包干渉判定部 6:干渉計算部 10:入力装置 11:CPU 12:メモリ 13:外部記憶装置 14:出力装置 15:バス 1: Input unit 2: Convex polyhedron calculation unit 3: Convex polyhedron interference judgment unit 4: Convex hull calculation unit 5: Convex hull interference judgment unit 6: Interference calculation unit 10: Input device 11: CPU 12: Memory 13: External storage device 14: Output device 15: Bus

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 3次元形状に対する干渉計算を伴う処理
を実行する3次元形状処理装置であって、 複数個の3次元形状を構成する複数個の曲面のそれぞれ
についてその曲面の大きさと位置を大まかに表わす凸多
面体を求める凸多面体計算手段と、 該凸多面体計算手段によって求めた各凸多面体に基づい
て各3次元形状同士の曲面の干渉の有無を大まかに判定
する凸多面体干渉判定手段と、 該凸多面体干渉判定手段による判定によって干渉する可
能性があると判定した曲面についてその曲面を包含する
凸包を求める凸包計算手段と、 該凸包計算手段によって求めた各凸包に基づいて各3次
元形状同士の曲面の干渉の有無をより正確に判定する凸
包干渉判定手段とを備えたことを特徴とする3次元形状
処理装置。
1. A three-dimensional shape processing apparatus for executing a process involving an interference calculation with respect to a three-dimensional shape, wherein a size and a position of each of the plurality of curved surfaces constituting the plurality of three-dimensional shapes are roughly determined. A convex polyhedron calculating means for obtaining a convex polyhedron represented by: Convex hull calculation means for obtaining a convex hull containing the curved surface for the curved surface determined to have a possibility of interference by the determination by the convex polyhedron interference determination means; A three-dimensional shape processing apparatus comprising: a convex hull interference determining unit that more accurately determines the presence or absence of a curved surface between two-dimensional shapes.
【請求項2】 前記凸多面体干渉判定手段による判定結
果と前記凸包干渉判定手段による判定結果とを同一のデ
ータ構造で一括して管理する判定結果管理手段を設けた
ことを特徴とする請求項1記載の3次元形状処理装置。
2. A judgment result managing means for managing the judgment result by said convex polyhedron interference judging means and the judgment result by said convex hull interference judging means collectively with the same data structure. 3. The three-dimensional shape processing apparatus according to 1.
【請求項3】 前記凸多面体干渉判定手段によって正し
い判定結果が得られないときには、前記凸包計算手段に
よって前記各3次元形状を構成する各曲面のそれぞれに
ついてその曲面を包含する凸包を求め、前記凸包干渉判
定手段によって前記凸包計算手段で求めた各凸包に基づ
いて各3次元形状同士の曲面の干渉の有無をより正確に
判定するように制御する手段を設けたことを特徴とする
3次元形状処理装置。
3. When a correct judgment result is not obtained by the convex polyhedron interference judging means, the convex hull calculating means obtains a convex hull containing each curved surface constituting each of the three-dimensional shapes, Means for controlling so as to more accurately determine the presence or absence of interference between the curved surfaces of the three-dimensional shapes based on each convex hull obtained by the convex hull calculating means by the convex hull interference determining means. 3D shape processing device.
【請求項4】 3次元形状に対する干渉計算を伴う処理
を実行する3次元形状処理方法であって、 複数個の3次元形状を構成する複数個の曲面のそれぞれ
についてその曲面の大きさと位置を大まかに表わす凸多
面体を求める凸多面体計算ステップと、 該凸多面体計算ステップによって求めた各凸多面体に基
づいて各3次元形状同士の曲面の干渉の有無を大まかに
判定する凸多面体干渉判定ステップと、 該凸多面体干渉判定ステップによる判定によって干渉す
る可能性があると判定した曲面についてその曲面を包含
する凸包を求める凸包計算ステップと、 該凸包計算ステップによって求めた各凸包に基づいて各
3次元形状同士の曲面の干渉の有無をより正確に判定す
る凸包干渉判定ステップとからなることを特徴とする3
次元形状処理方法。
4. A three-dimensional shape processing method for executing a process involving interference calculation with respect to a three-dimensional shape, wherein a size and a position of each of the plurality of curved surfaces constituting the plurality of three-dimensional shapes are roughly determined. A convex polyhedron calculation step of obtaining a convex polyhedron represented by: a convex polyhedron interference determining step of roughly determining whether or not there is interference between curved surfaces of the three-dimensional shapes based on each convex polyhedron obtained in the convex polyhedron calculation step; A convex hull calculating step of obtaining a convex hull containing the curved surface for the curved surface determined to possibly interfere by the determination by the convex polyhedron interference determining step; A convex hull interference determining step of more accurately determining the presence or absence of interference between the curved surfaces of the two-dimensional shapes.
Dimensional shape processing method.
【請求項5】 前記凸多面体干渉判定ステップによる判
定結果と前記凸包干渉判定ステップによる判定結果とを
同一のデータ構造で一括して管理することを特徴とする
請求項4記載の3次元形状処理方法。
5. The three-dimensional shape processing according to claim 4, wherein the judgment result in said convex polyhedron interference judging step and the judgment result in said convex hull interference judging step are collectively managed in the same data structure. Method.
【請求項6】 前記凸多面体干渉判定ステップによって
正しい判定結果が得られないときには、前記凸包計算ス
テップによって前記各3次元形状を構成する各曲面のそ
れぞれについてその曲面を包含する凸包を求め、前記凸
包干渉判定ステップによって前記凸包計算ステップによ
って求めた各凸包に基づいて各3次元形状同士の曲面の
干渉の有無をより正確に判定することを特徴とする3次
元形状処理方法。
6. When a correct determination result is not obtained in the convex polyhedral interference determining step, a convex hull including the curved surface is obtained for each of the curved surfaces constituting each of the three-dimensional shapes by the convex hull calculating step. A three-dimensional shape processing method, wherein the presence or absence of interference between curved surfaces of the three-dimensional shapes is more accurately determined based on each convex hull obtained in the convex hull calculation step in the convex hull interference determining step.
JP2001142253A 2001-05-11 2001-05-11 Device and method for processing three-dimensional form Pending JP2002342395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001142253A JP2002342395A (en) 2001-05-11 2001-05-11 Device and method for processing three-dimensional form

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001142253A JP2002342395A (en) 2001-05-11 2001-05-11 Device and method for processing three-dimensional form

Publications (1)

Publication Number Publication Date
JP2002342395A true JP2002342395A (en) 2002-11-29

Family

ID=18988589

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001142253A Pending JP2002342395A (en) 2001-05-11 2001-05-11 Device and method for processing three-dimensional form

Country Status (1)

Country Link
JP (1) JP2002342395A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013190849A (en) * 2012-03-12 2013-09-26 Toshiba Corp Object retrieval device and method thereof
DE112021007684T5 (en) 2021-08-06 2024-03-21 Fanuc Corporation Malfunction tester

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013190849A (en) * 2012-03-12 2013-09-26 Toshiba Corp Object retrieval device and method thereof
DE112021007684T5 (en) 2021-08-06 2024-03-21 Fanuc Corporation Malfunction tester

Similar Documents

Publication Publication Date Title
CN113297650B (en) BIM technology-based unit type glass curtain wall construction method and system
CN101140598A (en) Part identification image processor, program for generating part identification image, and recording medium storing the same
CN108022202A (en) A kind of advanced blanking geometry engines structure
JP4209129B2 (en) How to render a mesh with multiple polygons representing a graphics model
JP2007048004A (en) Design support apparatus and design support method
JPH07254075A (en) Method for deforming three-dimensional object and modeling system
JP2002342395A (en) Device and method for processing three-dimensional form
JP4093440B2 (en) Method for determining inclusion relationship of closed region and recording medium recording program for executing this method
JP3938687B2 (en) 3D shape processing apparatus and 3D shape processing method
JP4915518B2 (en) Three-dimensional model display device, program and method thereof
JP3786127B2 (en) Disassembled assembly drawing creation apparatus and method
JP2001092992A (en) Three-dimensional shape processing method and recording medium recording program for executing the same
CN117349970B (en) Automatic rationality verification method for ship assembly arrangement
JP2822194B2 (en) Method and apparatus for creating a two-dimensional projection diagram of a three-dimensional shape model using a computer
JP2004094750A (en) Three-dimensional configuration processor, interference model detecting method, program and storage medium
JP3931691B2 (en) Image generating apparatus and program
JP3786412B2 (en) Fillet creation method and 3D CAD program
EP0212774A2 (en) Display system
US20020063720A1 (en) Texture generating apparatus for dynamic interference checking
JP4040821B2 (en) Three-dimensional shape processing method and storage medium storing program for executing the shape processing method
JP4005282B2 (en) Three-dimensional shape processing method and storage medium storing the shape processing method
JP4005290B2 (en) Three-dimensional shape processing method and storage medium storing the shape processing method
JPH1074215A (en) Inter-object distance computing unit and inter-object distance computing program storage medium
US20140118342A1 (en) Information processing apparatus and drawing method
JPH08108345A (en) Cutting route preparing method and cutting simulation method for tool for nc machine tool