JPH02222005A - Production of inverted shape working data - Google Patents
Production of inverted shape working dataInfo
- Publication number
- JPH02222005A JPH02222005A JP4177689A JP4177689A JPH02222005A JP H02222005 A JPH02222005 A JP H02222005A JP 4177689 A JP4177689 A JP 4177689A JP 4177689 A JP4177689 A JP 4177689A JP H02222005 A JPH02222005 A JP H02222005A
- Authority
- JP
- Japan
- Prior art keywords
- data
- shape
- mesh
- digitizing
- axis
- 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.)
- Ceased
Links
Landscapes
- Numerical Control (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、デジタイジングしたモデル形状の反転形状を
加工するNCデータを作成する方法に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a method for creating NC data for processing an inverted shape of a digitized model shape.
従来の技術
ならい等によりデジタイジングしたデータから、デジタ
イジングしたモデルの反転形状を荒加工するNCデータ
を作成する方法は既に公知である。A method of creating NC data for rough machining the inverted shape of a digitized model from data digitized using conventional techniques is already known.
従来から行われている反転形状の加工データを得る方法
は、デジタイジングデータ中に含まれているオフセット
ベクトル、即ち、モデル形状面にトレーサヘッドのスタ
イラスを押圧したとき、その反力として生じる変位量の
オフセットベクトル、を使用するか、または、デジタイ
ジングデータの各座標値からデータ処理して算出したオ
フセットベクトル(法線ベクトル)を用いて、デジタイ
ジングデータに対し所定量のオフセット処理を行って反
転形状データ及び反転形状加工データを作成している。The conventional method of obtaining processing data for an inverted shape is to use the offset vector included in the digitizing data, that is, the amount of displacement that occurs as a reaction force when the stylus of the tracer head is pressed against the model shape surface. , or use an offset vector (normal vector) calculated by data processing from each coordinate value of the digitizing data to offset the digitized data by a predetermined amount and invert it. Shape data and inverted shape processing data are created.
第5図は、デジタイジング装置、またはデジタイジング
装置によって得られたデジタイジングデータから自動プ
ログラミング装置等によって反転形状加工データを作成
する従来方法の処理フローチャートである。FIG. 5 is a processing flowchart of a conventional method for creating inverted shape processing data using a digitizing device or an automatic programming device from digitizing data obtained by the digitizing device.
まず、モデル面をならい、デジタイジングを行ないデジ
タイジングデータを得る(ステップ200)。第6図は
モデル面MDLをならい、デジタイジングする説明図で
あり、スタイラスSTLをX軸方向に所定のならい速度
で移動させると共に、Z軸方向にモデルMDLに沿って
上下させ、所定時間毎に或いは設定値が許容値を越える
毎にスタイラスの中心位置の三次元位置データ(座標値
)を取り込んで記憶する。そして、ならい範囲の境界に
到達した時にY軸方向に所定量ビックフィードし、以後
同様に表面ならいを行いながら、スタイラスSTLの位
置を監視すると共にその位置データを取り込んでモデル
MDL面をデジタイジングし、デジタイジングデータを
得る。このデジタイジングデータは(第6図破線DL上
のデータ)はスタイラスSTLの中心座標位置の軌跡デ
ータであり、スタイラスSTLの半径r分オフセットベ
クトル(モデルMDLの面の法線ベクトル)のプラス方
向(モデルMDLの面からスタイラス中心方向)にモデ
ルMDLの面からオフセットされているデータである。First, a model surface is traced and digitized is performed to obtain digitizing data (step 200). FIG. 6 is an explanatory diagram of digitizing by tracing the model surface MDL, in which the stylus STL is moved in the X-axis direction at a predetermined tracing speed, and is moved up and down along the model MDL in the Z-axis direction at predetermined intervals. Alternatively, each time the set value exceeds the allowable value, three-dimensional position data (coordinate values) of the center position of the stylus is captured and stored. Then, when the boundary of the tracing range is reached, a predetermined amount of big feed is applied in the Y-axis direction, and thereafter, while tracing the surface in the same way, the position of the stylus STL is monitored and the position data is imported to digitize the model MDL surface. , obtain digitizing data. This digitizing data (data on the broken line DL in Figure 6) is locus data of the center coordinate position of the stylus STL, and the positive direction ( This data is offset from the surface of model MDL in a direction (from the surface of model MDL toward the center of the stylus).
そこで、デジタイジングデータ中に含まれるオフセット
ベクトルまたはデジタイジングデータの座標位置から算
出されるオフセットベクトルを用いてスタイラスSTL
の半径分、オフセットベクトルのマイナス方向に該デジ
タイジングデータをシフトさせ、形状データ(モデルM
DLの面データ)を得る(ステップ201)。次に、反
転形状データを得るために座標変換を行う。即ち、ミラ
ーイメージ処理を行って形状データ(モデルMDLの面
データ)を反転させ、第7図に示すようにモデルMDL
を反転した面RMDLの反転形状データを得る(ステッ
プ202)。Therefore, using the offset vector included in the digitizing data or the offset vector calculated from the coordinate position of the digitizing data, the stylus STL
The digitizing data is shifted by the radius of the offset vector in the negative direction of the offset vector, and the shape data (model M
DL surface data) is obtained (step 201). Next, coordinate transformation is performed to obtain inverted shape data. That is, mirror image processing is performed to invert the shape data (surface data of the model MDL), and the model MDL is created as shown in FIG.
Obtain the inverted shape data of the surface RMDL that is inverted (step 202).
次に、該反転形状(RMDL)をワークに加工しようと
するとき、ワークと工具が干渉して工具の破損や切り過
ぎ等が生じないか検討する干渉チェックを行うために使
用する反転形状の面データを作成する。なお、この干渉
チェック方法及び面データの作成方法は、既に本出願人
によって提案されている(特願昭62−108582号
、特願昭63−229346号参照)。Next, when attempting to machine the reversed shape (RMDL) into a workpiece, the surface of the reversed shape is used to perform an interference check to check whether the workpiece and the tool will interfere and cause damage to the tool or excessive cutting. Create data. Note that this interference checking method and surface data creation method have already been proposed by the present applicant (see Japanese Patent Application No. 108582/1982 and Japanese Patent Application No. 229346/1982).
そこで、この提案されている面データ作成方法について
概説する。Therefore, this proposed surface data creation method will be outlined.
まず、送り軸をX軸、ならい軸をZ軸、ビックフィード
軸をY軸とすると、X−Y平面におけるならい範囲をX
N+m、YIIlInに分割し、mxn個(7)メツシ
ュMi、j (i=1〜m、j=1”−n)を作り、
各メツシュM i、j中でデジタイジングされたZ軸の
値が最大なものを求め、各メツシュM i、jをこの最
大の2軸座標値を代表値としてこの代表点のZ軸座標値
と同一座標としたメツシュ面S i、jを作成する。こ
うして、全メツシュM i、jに対しメツシュ面S i
、jが得られれば、(反転)形状を近似した面データが
得られる。この面データ作成処理が第5図中のステップ
203の処理である。First, if the feed axis is the X axis, the profiling axis is the Z axis, and the big feed axis is the Y axis, then the profiling range on the X-Y plane is
Divide into N+m, YIIlIn, create mxn (7) meshes Mi,j (i=1~m, j=1''-n),
Find the maximum digitized Z-axis value in each mesh M i, j, and calculate each mesh M i, j using the maximum two-axis coordinate value as the representative value and the Z-axis coordinate value of this representative point. Create mesh surfaces S i,j with the same coordinates. Thus, for all meshes M i,j, the mesh surface S i
, j, surface data that approximates the (inverted) shape can be obtained. This surface data creation process is the process of step 203 in FIG.
次に、ステップ202で得られた反転形状データに対し
、オフセットベクトルを用いて工具TLの半径R分、オ
フセットベクトルプラス方向に該反転形状データの座標
値を移動させ(ステップ204)、次に工具径弁の干渉
チェックを行って反転形状加工データを得る(ステップ
205)。Next, with respect to the inverted shape data obtained in step 202, the coordinate values of the inverted shape data are moved in the offset vector plus direction by the radius R of the tool TL using an offset vector (step 204), and then the tool An interference check of the diameter valve is performed to obtain inverted shape machining data (step 205).
この干渉チェックは、ステップ203で作成された面デ
ータを用いて行われるもので、前述した特願昭62−1
08582号、特願昭63−229346号に詳しく述
べられているので、ここでは簡単に概説する。This interference check is performed using the surface data created in step 203, and is
Since it is described in detail in No. 08582 and Japanese Patent Application No. 63-229346, a brief overview will be given here.
第8図は、反転形状面(RMDL)と該反転形状データ
からステップ203で作成された面データが示す形状近
似面S i、j及び干渉チェックの説明図であり、x−
7拡大断面図を示している。反転形状データに対し、ス
テップ204で工具半径R分のオフセクト処理を行い、
工具TLの中心が第8図Pの位置にあるとする。このと
き、工具下りとメツシュ面が干渉しないか、即ち、中心
Pの半径Rの球面と各メツシュ面が交差しないか判断し
、交差する場合には工具位置をプラス7方向に移動させ
干渉が生じないようにする。第8図の例では、工具中心
位ffPをプラス2方向にdだけ移動させ工具中心位置
P′としている。また、第9図に示すように、工具TL
がポイントPiからポイントp i+1に移動するとき
工具TLと8791面が交差し、ワークを切り過ぎるお
それがある場合にも、補正を行い、ポイントPiからp
i+1間を複数に分割し、各分割点P1.P2・・・
・・・をそれぞれ工具TLとメツシュ面(Si÷1.j
)が干渉しないようにZ軸プラス方向に移動させ、工具
中心点PI’ 、P2’ ・・・・・・とじて工具経路
を求める(なお、これら干渉チェック方法の詳細は前述
の特願昭62−108582号、特願昭63−2293
46号を参照)。FIG. 8 is an explanatory diagram of the shape approximation surface S i, j and interference check indicated by the reverse shape surface (RMDL) and the surface data created from the reverse shape data in step 203, and x-
7 shows an enlarged sectional view. In step 204, offset processing for the tool radius R is performed on the inverted shape data,
Assume that the center of the tool TL is at the position shown in FIG. 8P. At this time, it is determined whether there is no interference between the tool descending and the mesh surface, that is, whether each mesh surface intersects with the spherical surface of the center P and radius R, and if they do, the tool position is moved in the +7 direction to cause interference. Make sure there is no such thing. In the example shown in FIG. 8, the tool center position ffP is moved by d in the plus two directions to set the tool center position P'. Moreover, as shown in FIG. 9, the tool TL
When the tool TL moves from point Pi to point p
i+1 is divided into a plurality of parts, and each division point P1. P2...
... are the tool TL and the mesh surface (Si÷1.j
) in the Z-axis plus direction to avoid interference, and determine the tool path by checking the tool center points PI', P2'... -108582, patent application No. 63-2293
(See No. 46).
かくして、干渉チェックがか行われ、工具とワークが干
渉しない反転形状の荒加工NCデータが得られる。In this way, an interference check is performed, and rough machining NC data of an inverted shape in which the tool and workpiece do not interfere is obtained.
発明が解決しようとする課題
上述した従来の反転形状加工データを作成する方法では
、ステップ201、ざらにはステップ204でオフセッ
トベクトルを使用している。このオフセットベクトルは
、デジタイジングデータから得られるか、または、デジ
タイジングデータの座標値から算出して求めるものであ
り、精度が低い。Problems to be Solved by the Invention In the above-described conventional method for creating inverted shape machining data, an offset vector is used in step 201 and, more specifically, in step 204. This offset vector is obtained from digitizing data or calculated from coordinate values of digitizing data, and has low accuracy.
デジタイジング中に含まれるオフセットベクトルは、ト
レーサヘッドをモデル面に押圧する力の反力によって検
出するものであるから、摩擦等の影響やモデル面の精度
等が影響し、全体的に精度の低いものしか得られない。The offset vector included in digitizing is detected by the reaction force of the force that presses the tracer head against the model surface, so it is affected by effects such as friction and the accuracy of the model surface, resulting in low accuracy overall. You can only get things.
また、デジタイジングデータの座標値から算出したオフ
セットベクトルは、不連続な曲面融合部分で精度が低い
。そのため、これら精度が低いオフセットベクトルを用
いて反転形状加工データを作成する従来の方法では、十
分な寸法精度が得られない部分が存在する加工データし
か得られないという欠点があった。Furthermore, the offset vector calculated from the coordinate values of the digitizing data has low accuracy in the discontinuous curved surface fusion portion. Therefore, the conventional method of creating inverted shape machining data using offset vectors with low accuracy has the disadvantage that only machining data in which there are parts where sufficient dimensional accuracy cannot be obtained is obtained.
そこで、本発明の目的は、オフセットベクトルを用いず
に反転形状を荒加工するNOデータを作成する方法を提
供することにある。Therefore, an object of the present invention is to provide a method for creating NO data for rough machining an inverted shape without using an offset vector.
課題を解決するための手段
デジタイジングしたモデル形状の反転形状を加工するN
C加工データを作成する方法において、本発明は、デジ
タイジングデータの軌跡の面データを作成し、上記デジ
タイジングデータの面データに対し、スタイラス半径分
の干渉チェック処理を行って干渉しないようにデジタイ
ジングデータをならい軸マイナス方向に補正し補正形状
データを作成し、上記補正形状データを反転のための座
標変換を行い反転形状データを作成し、上記反転形状デ
ータの軌跡に対し面データを作成し、上記反転形状の面
データに対し、工具半径分の干渉チェック処理を行って
工具と面データが干渉しないよう反転形状データをなら
い軸プラス方向に補正して反転形状のNC加工データを
作成することによって、オフセットベクトルを使用する
ことなく、反転形状加工データを作成し、上記課題を解
決した。Means to solve the problemN Processing the inverted shape of the digitized model shape
In the method of creating C processing data, the present invention creates surface data of the locus of digitizing data, performs interference check processing for the stylus radius on the surface data of the digitizing data, and digitizes the surface data to prevent interference. Ising data is corrected in the negative direction of the tracing axis to create corrected shape data, the above corrected shape data is subjected to coordinate transformation for reversal to create reversed shape data, and surface data is created for the locus of the above reversed shape data. , Perform an interference check process for the surface data of the above-mentioned reversed shape for the radius of the tool, correct the reversed shape data in the positive direction of the tracing axis so that the tool and surface data do not interfere, and create NC machining data of the reversed shape. The above problem was solved by creating inverted shape machining data without using offset vectors.
作 用
デジタイジングデータに対して、該デジタイジングデー
タの軌跡によって生まれる面を近似する面データを、従
来と同様な方法で作成する。そして、この面データに対
し、スタイラス半径分の干渉チェックを行い、干渉が生
じないようにデジタイジングデータをならい軸マイナス
方向に補正し、補正形状データを作成する。この補正形
状データはデジタイジングしたモデル形状と路間−の形
状データとなる。次に、ミラーイメージ処理等を行って
補正形状データの反転形状データを作成し、この反転形
状データに対し、同様に反転形状を近似する面データを
作成する。次に、反転形状面データに対し、工具半径分
の干渉チェックを行い、工具と反転形状面データ(近似
面)が干渉し・ないように反転形状データをならい軸プ
ラス方向に移動させて補正し、反転形状のNC加工デー
タを作成する。Effect Surface data that approximates a surface created by the locus of the digitizing data is created using a method similar to the conventional method. Then, an interference check for the radius of the stylus is performed on this surface data, and the digitizing data is corrected in the negative direction of the tracing axis to prevent interference, thereby creating corrected shape data. This corrected shape data becomes shape data between the digitized model shape and the road. Next, mirror image processing or the like is performed to create inverted shape data of the corrected shape data, and surface data that similarly approximates the inverted shape is created for this inverted shape data. Next, perform an interference check for the tool radius on the reversed shape surface data, and correct it by moving the reversed shape data in the plus direction of the tracing axis to prevent interference between the tool and the reversed shape surface data (approximate surface). , create NC machining data of the inverted shape.
このように、干渉チェック処理を使用することにより、
オフセットベクトルを使用せず反転形状の荒加工のNC
加工データーが得られる。In this way, by using the interference check process,
NC for rough machining of reversed shapes without using offset vectors
Processing data can be obtained.
実施例
第3図は本発明を実施する装置(デジタイザ)のブロッ
ク図である。Embodiment FIG. 3 is a block diagram of a device (digitizer) implementing the present invention.
1はデジタイザであり、ならい制御しながらトレーサヘ
ッドの現在位置を取り込んでデジタイジングする機能と
共に、NGデータ作成機能並びに工具干渉チェック機能
を備え、プロセッサ1a。A digitizer 1 has a function of capturing and digitizing the current position of the tracer head while performing tracing control, as well as a function of creating NG data and checking tool interference, and a processor 1a.
制御プログラムを記憶するROM1b、デジタイジング
した位置データを記憶するRAM1c、ワーキングメモ
リ1dを有している。It has a ROM 1b for storing control programs, a RAM 1c for storing digitized position data, and a working memory 1d.
2は操作盤であり、各種操作信号を入力すると共に、な
らい条件、ならい範囲、ならい方法、メツシュM (i
、j)の縦横寸法、工具半径Rを設定する機能を有して
いる。Reference numeral 2 denotes an operation panel through which various operation signals are input, as well as information on the tracing conditions, tracing range, tracing method, mesh M (i
, j) and the tool radius R.
10X、10Y、10Zはデジタイf1から指令された
各軸方向の速度データ(デジタル値)をアナログ速度信
号vx、vy、vzに変換するOA変換器、11X、1
1Y、11ZLtX軸、Y軸、Z軸サーボ回路、12X
〜122はそれぞれ11に、 Y軸、2軸モータ、13
X〜13Zはそれぞれ対応するモータが所定角度回転す
る毎に1個のパルスXf、Yf、Zfを発生するパルス
発生器、14はパルスXf、Yf、Zfをそれぞれ移動
方向に応じて可逆計数して各軸現在位置を記憶する現在
位置レジスタである。なお、THはトレーサヘッド、S
TLはスタイラス、MDLはモデルである。10X, 10Y, 10Z are OA converters that convert speed data (digital values) in each axis direction commanded from digitizer f1 into analog speed signals vx, vy, vz; 11X, 1
1Y, 11ZLtX axis, Y axis, Z axis servo circuit, 12X
~122 are each 11, Y axis, 2 axis motor, 13
X to 13Z are pulse generators that generate one pulse Xf, Yf, and Zf each time the corresponding motor rotates a predetermined angle, and 14 is a pulse generator that reversibly counts the pulses Xf, Yf, and Zf according to the direction of movement. This is a current position register that stores the current position of each axis. In addition, TH is tracer head, S
TL is a stylus and MDL is a model.
第4図は本発明の荒加工用NCデータ作成処理のフロー
チャートである。以下、第4図のフローチャートに従っ
て、本発明にかかる荒加工用NCデータ作成処理を説明
する。なお、ならい範囲及び干渉チェックのための各メ
ツシュの縦横寸法等は既に操作盤2(第3図参照)から
入力されてあり、該ならい範囲はmxn個のメツシュM
i、j(i=1〜m、j−1〜n)に分割されである
ものとする。さらに、工具移動中における干渉チェック
を行うか否か判別する基準となるポイント間の距111
mも既に操作盤2から入力されであるものとする。FIG. 4 is a flowchart of the rough machining NC data creation process of the present invention. Hereinafter, the rough machining NC data creation process according to the present invention will be explained according to the flowchart of FIG. Note that the tracing range and the vertical and horizontal dimensions of each mesh for interference checking have already been input from the operation panel 2 (see Figure 3), and the tracing range consists of mxn meshes M.
It is assumed that it is divided into i and j (i=1 to m, j-1 to n). Furthermore, the distance 111 between points serves as a reference for determining whether or not to perform an interference check during tool movement.
It is assumed that m has already been input from the operation panel 2.
さて、送り軸をX軸、ならい軸をZ軸、ビットフィード
軸をY軸として表面往復ならいを行い、該ならいと並・
行して周知のデジタイジング処理によりスタイラス位置
の座標値を所定時間毎に、或いは設定値が許容値を越え
る毎に取り込んでデジタイジングデータを作成してRA
M1cに記憶する(ステップ100)。Now, perform surface reciprocating profiling with the feed axis as the X axis, the profiling axis as the Z axis, and the bit feed axis as the Y axis.
The coordinate values of the stylus position are captured at predetermined time intervals or each time the set value exceeds the allowable value using well-known digitizing processing, and digitizing data is created.
It is stored in M1c (step 100).
また、デジタイジングデータの作成と並行して各メツシ
ュM (i、j)の代表点を以下の方、法で求めてワー
キングメモリ1dに記憶する。即ち、各メツシュM(i
、j>に対応させて三次元座標値記憶用の記憶域をワー
キングメモリ1dに設けておく。In addition, in parallel with the creation of digitizing data, the representative points of each mesh M (i, j) are determined by the following method and stored in the working memory 1d. That is, each mesh M(i
, j>, a storage area for storing three-dimensional coordinate values is provided in the working memory 1d.
そして、デジタイジング処理により得られるX。Then, X obtained by digitizing processing.
yJ!l1lliiがどのメツシュに属するかチェック
する。yJ! Check which mesh l1llii belongs to.
接触位置が属するメツシュM (i、j)が求まれば、
該接触位置がメツシュM (i、j)の最初の位置かチ
ェックし、最初の位置であれば、接触位置の2軸座標値
をメツシュM (+、、+)の記憶域に記憶し、最初の
位置でなければメツシュM (i、j)に対応する記憶
域に記憶されているZ軸座標値と検出した2軸座標値と
を比較し、検出したZ軸座標値が太きいときのみ該Z軸
座標値を記憶域に記憶する。かかる処理をスタイラス位
置データをデジタイジングする毎に実行すれば、各メツ
シュM (i、j>に対応するワーキングメモリ1dの
各記憶域には、メツシュM (i、j)に属するポイン
トのうち最もZ軸座標値の大きなポイントの座標値が記
憶されることになり、各メツシュにおける代表点の高さ
を有する而(メツシュ面という) S (i、j)が得
られ、これらメツシュ面、S(i、j)で近似されるデ
ジタイジングデータの軌跡の面データが得られる(ステ
ップ101)。Once the mesh M (i, j) to which the contact position belongs is found,
It is checked whether the contact position is the first position of the mesh M (i, j), and if it is the first position, the two-axis coordinate values of the contact position are stored in the storage area of the mesh M (+,, +), and the first position is If it is not the position of Store the Z-axis coordinate value in the storage area. If such processing is executed every time stylus position data is digitized, each storage area of the working memory 1d corresponding to each mesh M (i, j) will contain the most The coordinate values of points with large Z-axis coordinate values are stored, and S (i, j) having the height of the representative point in each mesh (referred to as a mesh surface) is obtained, and these mesh surfaces, S ( Surface data of the trajectory of the digitizing data approximated by i, j) is obtained (step 101).
第1図は、このデジタイジングデータ、デジタイジング
データの面データを作成する方法の説明図であり、x7
平面を示している。モデルMDL面をトレーサヘッドの
スタイラスSTLでデジタイジング処理をすれば、第1
図中DLで示すスタイラスSTLの中心座標位置(デジ
タイジングデータ)の軌跡DLが得られる。そして、こ
の中心座標位@(デジタイジングデータ)の各メツシュ
内での最大のZ軸座標値で代表させる同−Z軸座標値の
メツシュ面S (i、j)を得る。なお、第1図におい
ては、説明を簡単にするためにX7平面を表示している
が、各メツシュM (i、j)のXY平面上における最
大のZ軸座標値におけるメツシュM i、jの面をメツ
シュ面S (i、j)とするものである。FIG. 1 is an explanatory diagram of this digitizing data and a method for creating surface data of the digitizing data,
It shows a plane. If you digitize the model MDL surface with the stylus STL of the tracer head, the first
A locus DL of the center coordinate position (digitizing data) of the stylus STL, indicated by DL in the figure, is obtained. Then, a mesh surface S (i, j) of the −Z-axis coordinate value represented by the maximum Z-axis coordinate value within each mesh at this center coordinate position @ (digitizing data) is obtained. Note that in FIG. 1, the X7 plane is shown to simplify the explanation, but the mesh M (i, j) at the maximum Z-axis coordinate value on the XY plane of each mesh M (i, j) The surface is a mesh surface S (i, j).
こうして、デジタイジングデータ、デジタイジングデー
タの面データが得られると、次にスタイラス半径分の干
渉チェックを行い、デジタイジングの面データとスタイ
ラスが干渉しないようにデジタイジングデータをZ軸マ
イナス方向に移動させ、補正形状データを得る(ステッ
プ102)。Once the digitizing data and surface data of the digitizing data are obtained in this way, an interference check is performed for the radius of the stylus, and the digitizing data is moved in the negative direction of the Z-axis to avoid interference between the digitizing surface data and the stylus. and obtain corrected shape data (step 102).
これは、従来から存在する干渉チェック処理を利用して
形状データを得ようとするものである。各メツシュ毎に
該メツシュ内の最大のZ軸座標値を有するデジタイジン
グポイントを代表点として該代表点にスタイラスを置い
たとき、スタイラスとデジタイジングデータの加工面は
当然干渉を起こす。そこで、干渉を行わないようにZ軸
マイナス方向に移動させる。即ち、上記代表点において
、スタイラスSTLの半径rの球面を描き、この球面及
びこの球面の移動面とデジタイジングデータの面データ
である各メツシュ面S (i、j)が交差しない点まで
該代表点の座標値をZ軸マイナス方向に移動させる。そ
うすると、第1図に示すように、モデルMDLの面と路
間−の形状データ、即ち、補正形状データMDL’が得
られる。なお、従来は第5図に示すステップ201でオ
フセットベクトルマイナス方向にスタイラス半径分だけ
デジタイジングデータをオフセットさせて形状データを
求めていたが、オフセットベクトルが正確であれば、こ
の方法によった方が正確な形状データが得られるが、オ
フセットベクトルが不正確であることから、むしろ本発
明のように、既に存在する干渉チェック処理を利用して
形状データと路間−の補正形状データMDL’ を得る
方がより正確な形状データが得られる。This is an attempt to obtain shape data using a conventional interference check process. When a stylus is placed at the representative point of each mesh, with the digitizing point having the maximum Z-axis coordinate value within the mesh being the representative point, the stylus and the machined surface of the digitizing data will naturally interfere. Therefore, it is moved in the negative direction of the Z-axis to avoid interference. That is, at the above representative point, draw a spherical surface of the stylus STL with radius r, and draw the spherical surface of the stylus STL until the point where this spherical surface and the moving surface of this spherical surface and each mesh surface S (i, j), which is the surface data of the digitizing data, do not intersect. Move the coordinate value of the point in the negative direction of the Z-axis. Then, as shown in FIG. 1, shape data between the surface of the model MDL and the road, that is, corrected shape data MDL' is obtained. Conventionally, shape data was obtained by offsetting the digitizing data by the radius of the stylus in the negative direction of the offset vector in step 201 shown in FIG. Although accurate shape data can be obtained, since the offset vector is inaccurate, rather, as in the present invention, the shape data and the road-to-way correction shape data MDL' are calculated using existing interference check processing. This method provides more accurate shape data.
次に、得られ°た補正された形状データに対し、反転の
ための座標変換、即ち、ミラーイメージ処理を行って反
転形状データRMDL’ を得る(ステップ103)。Next, the obtained corrected shape data is subjected to coordinate transformation for reversal, that is, mirror image processing, to obtain reversed shape data RMDL' (step 103).
こうして、得られた反転形状データRMDL’に対する
面データS’ (i、j)を前述同様の処理で作成する
(ステップ104)(第2図参照)。そして、工具半径
R分で前述同様の干渉チェックを行い、工具TLと反転
形状の面データS’ (i、j)が干渉しないように2
軸プラス方向に反転形状データを移動させ反転形状加工
データ(反転形状加工データの軌跡TCPL)を得る(
ステップ105)。In this way, surface data S' (i, j) for the obtained inverted shape data RMDL' are created by the same process as described above (step 104) (see FIG. 2). Then, the same interference check as described above is performed at the tool radius R, and two
Move the inverted shape data in the positive direction of the axis to obtain the inverted shape machining data (trajectory TCPL of the inverted shape machining data) (
Step 105).
なお、上記実施例においては、デジタイザ内で反転形状
加工データを作成したが、デジタイザで作成したデジタ
イジングデータを自動プログラミング装置に入力し、自
動プログラミング装置によって上記処理と同様な処理を
行わせて反転形状加工データを得るようにしてもよい。In the above example, the inverted shape processing data was created in the digitizer, but the digitizing data created in the digitizer is input to an automatic programming device, and the automatic programming device performs the same processing as the above to reverse the shape. Shape processing data may also be obtained.
発明の効果
本発明においては、不正確なオフセットベクトルを使用
することなく、干渉チェック処理を利用してデジタイジ
ングしたモデルの反転形状の荒加工用のNGデータが得
られるので、オフセットベクトルを使用したときよりも
より正確な反転形状NC加工データが得られる。Effects of the Invention In the present invention, NG data for rough machining of the reversed shape of a digitized model can be obtained using interference check processing without using inaccurate offset vectors, so offset vectors are used. More accurate inverted shape NC machining data can be obtained than before.
第1図は本発明の一実施例におけるデジタイジングデー
タの軌跡の面データを作成する方法の説明図、第2図は
同実施例における反転形状の加工データを作成する方法
の説明図、第3図は同実施例を実施する装置(デジタイ
ザ)のブロック図、第4図は同装置による反転形状加工
データを作成する処理フローチャート、第5図は従来か
ら行われていた反転形状加工データの作成方法の処理フ
ローチャート、第6図はモデル面をならいデジタイジン
グを行う説明図、第7図は反転形状データの説明図、第
8図、第9図は干渉チェックの説明図である。
STL・・・スタイラス、TL・・・工具、MDL・・
・モデル、MDL’・・・補正形状データ、RMDL’
・・・反転補正形状データ、OL・・・デジタイジン
グデータの軌跡、TCPL・・・反転形状加工データの
軌跡、r・・・スタイラスの半径、
R・・バエ真の半径。
第
第4
国
第
第
5(i−1、j]
第
因
Pi+i
S(i、 j )FIG. 1 is an explanatory diagram of a method for creating surface data of a locus of digitizing data in one embodiment of the present invention, FIG. 2 is an explanatory diagram of a method of creating processing data of an inverted shape in the same embodiment, and FIG. The figure is a block diagram of the device (digitizer) that implements the same embodiment, Figure 4 is a processing flowchart for creating inverted shape machining data by the same device, and Figure 5 is a conventional method of creating inverted shape machining data. FIG. 6 is an explanatory diagram of digitizing by following the model surface, FIG. 7 is an explanatory diagram of inverted shape data, and FIGS. 8 and 9 are explanatory diagrams of interference checking. STL...Stylus, TL...Tool, MDL...
・Model, MDL'...Corrected shape data, RMDL'
... Reversal correction shape data, OL... Locus of digitizing data, TCPL... Locus of inverted shape processing data, r... Radius of stylus, R... True radius of fly. 4th country 5th (i-1, j) Factor Pi+i S(i, j)
Claims (1)
C加工データを作成する方法において、デジタイジング
データの軌跡の面データを作成し、 上記デジタイジングデータの面データに対し、スタイラ
ス半径分の干渉チェック処理を行つて干渉しないように
デジタイジングデータをならい軸マイナス方向に補正し
補正形状データを作成し、上記補正形状データを反転の
ための座標変換を行い反転形状データを作成し、 上記反転形状データの軌跡に対し面データを作成し、 上記反転形状の面データに対し、工具半径分の干渉チェ
ック処理を行つて工具と面データが干渉しないよう反転
形状データをならい軸プラス方向に補正して反転形状の
NC加工データを作成することを特徴とする反転形状加
工データ作成方法。[Claims] N for processing an inverted shape of a digitized model shape
In the method of creating C machining data, create surface data of the trajectory of the digitizing data, perform interference check processing for the radius of the stylus on the surface data of the digitizing data, and follow the digitizing data to avoid interference. Create corrected shape data by correcting in the negative direction of the axis, perform coordinate transformation to reverse the above corrected shape data to create reversed shape data, create surface data for the locus of the above reversed shape data, and create the above reversed shape. The invention is characterized in that an interference check process is performed on the surface data of the tool for the radius of the tool, and the reversed shape data is corrected in the positive direction of the tracing axis so that the tool and the surface data do not interfere, thereby creating NC machining data of the reversed shape. How to create inverted shape machining data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4177689A JPH02222005A (en) | 1989-02-23 | 1989-02-23 | Production of inverted shape working data |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4177689A JPH02222005A (en) | 1989-02-23 | 1989-02-23 | Production of inverted shape working data |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02222005A true JPH02222005A (en) | 1990-09-04 |
Family
ID=12617777
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4177689A Ceased JPH02222005A (en) | 1989-02-23 | 1989-02-23 | Production of inverted shape working data |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02222005A (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6468808A (en) * | 1987-09-10 | 1989-03-14 | アイダエンジニアリング株式会社 | Working method for injection mold |
-
1989
- 1989-02-23 JP JP4177689A patent/JPH02222005A/en not_active Ceased
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6468808A (en) * | 1987-09-10 | 1989-03-14 | アイダエンジニアリング株式会社 | Working method for injection mold |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4633409A (en) | Numerical control device | |
| JPH01246046A (en) | Profile molding equipment | |
| EP0436735B1 (en) | Noncontact profile control unit | |
| US6754550B2 (en) | Toleranced digitizing method | |
| JP2017140684A (en) | Robot programming device that teaches robot programs | |
| EP0446370B1 (en) | Non-contact profile control apparatus | |
| US4961041A (en) | Method of creating numerical control data for rough machining | |
| JPH0276004A (en) | Nc data preparing method for rough working | |
| JPH0223404A (en) | Method for preparing nc data for rough working | |
| US4958293A (en) | Digitizing method | |
| JP2561908B2 (en) | Numerical control device and numerical control method | |
| JPS63273910A (en) | Production of nc data for rough working | |
| JP2752379B2 (en) | Digitizing method | |
| JP2022134756A (en) | Device for evaluating nc programs for multi-axis processing machine, evaluation method, and processing method | |
| JPH01303505A (en) | Production for rough machining nc data | |
| JPH0761590B2 (en) | Tool interference check method | |
| JPH01177945A (en) | Device for preparing nc data for rough work | |
| JPS6435607A (en) | Path data preparing system | |
| US5209618A (en) | Method of setting tracing zone | |
| JPS60175555U (en) | Processing reference point correction device for NC machine tools | |
| JPH02205441A (en) | Digitizing method | |
| JP2790809B2 (en) | Contour copying method | |
| JPH0794096B2 (en) | Machining error prevention system for machine tools | |
| JPS6337402A (en) | Three-dimensional position correction method for numerically controlled machine tools | |
| JPH033761A (en) | Profile control method |