JPH0330002A - Editing method for path data - Google Patents

Editing method for path data

Info

Publication number
JPH0330002A
JPH0330002A JP1163797A JP16379789A JPH0330002A JP H0330002 A JPH0330002 A JP H0330002A JP 1163797 A JP1163797 A JP 1163797A JP 16379789 A JP16379789 A JP 16379789A JP H0330002 A JPH0330002 A JP H0330002A
Authority
JP
Japan
Prior art keywords
data
point
automatically
points
incorrect
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
JP1163797A
Other languages
Japanese (ja)
Inventor
Kataru Ichikawa
市川 語
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries 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 Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP1163797A priority Critical patent/JPH0330002A/en
Publication of JPH0330002A publication Critical patent/JPH0330002A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automatically correct detected incorrect data by operating an angle variation, a tolerance and a radius of curvature of a path in each constitution point from path data. CONSTITUTION:A digitizer 1 makes point group data of an object 2, outputs obtained data to a data medium 3 and sends it to an arithmetic unit 4. In the case by an automatic detecting function for taking notice of an angle variation, a tolerance and a radius of curvature, incorrect data corresponding to one of them is detected, the unit 4 corrects automatically the incorrect data by a mode (deletion, movement, etc., of incorrect point) designated in advance. In such a way, data edited with a high quality can be obtained automatically. Subsequently, three-dimensional shape working tool path data obtained in such a way is sent to machine tool 6 through a medium 5 and an article is worked.

Description

【発明の詳細な説明】 く産業上の利用分野〉 本発明は、CAD/CAMシステム、自動プログラミン
グ装置、NC装置、デジタイザ、スキャニングマシン等
における3次元形状加工用工具経路データあるいはデジ
タイズデータ中の不正データを検出し、且つ修正する編
集方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Fields of Industrial Application] The present invention is intended to prevent fraud in tool path data or digitized data for three-dimensional shape machining in CAD/CAM systems, automatic programming devices, NC devices, digitizers, scanning machines, etc. This invention relates to an editing method for detecting and modifying data.

く従来の技術〉 例えば工具経路データを編集する場合、従来は、工具経
路データをプロッタまたはグラフィックディスプレイに
与え、これらが表示した工具経路を人間が目視して、加
工時に工具食い込み等を生じさせる不正な点が工具経路
中に存在するか否かをチェックし、不正な点があれば手
動操作によりデータの修正を行っていた。デジタイズデ
ータの編集の場合も同様であり、デジタイズデータから
面を創成してグラフィックディスプレ等に表示させて人
間が目視し、滑らかさを欠く不正な点があれば、手動操
作によりデータの修正を行っていた。
For example, when editing tool path data, conventionally, the tool path data is given to a plotter or graphic display, and a human being visually observes the tool path displayed by the plotter or graphic display to prevent irregularities such as tool digging during machining. It was checked to see if there were any illegal points in the tool path, and if any points were found, the data had to be corrected manually. The same goes for editing digitized data; a surface is created from the digitized data, displayed on a graphic display, etc., and visually checked by a human, and if there are any irregularities that lack smoothness, the data is corrected manually. was.

く発明が解決しようとする課題〉 プロッタやグラフィックディスプレイの出力はあくまで
も2次元表承であるため、本来3次元の工具経路、創成
面を一方向から表示しただけでは完全なチェックを行う
ことが不可能である。
Problems to be Solved by the Invention Since the output of a plotter or graphic display is only a two-dimensional representation, it is impossible to perform a complete check by simply displaying the three-dimensional tool path and creation surface from one direction. It is possible.

そこで方向を変えて表示し、種々の方向からのチェック
を繰り返す必要があるが、特に3次元形状加工用工具経
路データあるいは3次元形状のデジタイズデー夕のよう
に大量の経路データを目視と手動修正でw4集する場合
は、作業に時間がかかりすぎろという問題点があった。
Therefore, it is necessary to change the display direction and repeat checking from various directions, but in particular, it is necessary to visually and manually correct large amounts of path data such as tool path data for 3D shape machining or digitization data of 3D shapes. When creating the W4 collection, there was a problem in that it took too much time.

本発明は人間の目視と手動修正によらず、不正な点を自
動的に検出し、且つ自動的に修正を行うことができろ経
路データの編集方法を提供することを目的とする。
An object of the present invention is to provide a route data editing method that can automatically detect incorrect points and automatically correct them without requiring human visual inspection or manual correction.

く課題を解決するための手段〉 本発明による経路データの編集方法は、3次元形状加工
用工具経路データや3次元形状デジタイズデー夕など、
3次元経路の構成点のデータをもとに経路の角度変化、
トレランス及び曲率半径の少なくとも1つを求める演算
により、!!路中の不正な点を自動的に検出し、構成点
の削除及び移動の少なくとも1つを施す演算により、検
出した不正な点のデータを自動的に修正することを特徴
とする。
Means for Solving the Problems> The path data editing method according to the present invention can be used to edit tool path data for three-dimensional shape machining, three-dimensional shape digitization data, etc.
The angle change of the path based on the data of the constituent points of the 3D path,
By calculating at least one of tolerance and radius of curvature,! ! The present invention is characterized in that an invalid point on the road is automatically detected, and the data of the detected invalid point is automatically corrected by performing an operation of at least one of deleting and moving constituent points.

〈作   用〉 3次元形状加工用工具経路に従って加工する時に工具食
い込みが生じたり、デジタイズデータから創成した3次
元の面が滑らかさを欠くような不正な点では、経路の角
度変化が極端に大きかったり、トレランスが極端に大き
かったり、あるいは曲率半径が極端に小さかったりする
<Function> When machining a 3D shape according to a tool path, the tool bites into the tool, or at irregular points where the 3D surface created from digitized data lacks smoothness, the angle change in the path is extremely large. or the tolerance is extremely large, or the radius of curvature is extremely small.

そこで、経路データから、その各構成点で経路の角度変
化、トレランスあるいは曲率半径を計算することにより
、不正な点(不平データ)を自動的に検出することがで
きる。不正な点を検出できたら、その点の削除あるいは
移動等のデータ修正を自動的に行う。
Therefore, by calculating the angular change, tolerance, or radius of curvature of the route at each constituent point from the route data, it is possible to automatically detect invalid points (complaint data). If an incorrect point is detected, the data is automatically corrected by deleting or moving the point.

〈実 施 例〉 第1図〜第5図を参照して本発明の一実施例を説明する
<Example> An example of the present invention will be described with reference to FIGS. 1 to 5.

第1図は本発明の実施例システムのブロック構成を示す
。同図中、デジタイザ1は物体2の点群データを作り、
得られた点群データをフロッピーディスク等のデータ媒
体3に出力し、演算装N4に送る。演算装置4は点群デ
ータからデジタイズデータの編集、面創或、工具経路デ
ータの計算、及び工具経路データの編集等の各処理を行
う。
FIG. 1 shows a block configuration of a system according to an embodiment of the present invention. In the figure, digitizer 1 creates point cloud data of object 2,
The obtained point group data is output to a data medium 3 such as a floppy disk, and sent to the arithmetic unit N4. The arithmetic unit 4 performs various processes such as editing digitized data from point cloud data, creating a surface, calculating tool path data, and editing tool path data.

これらの処理中、デジタイズデータのW集及び工具経路
データの編集夫々において、本発明に基づく不正な点の
自動検出と自動修正が行われる。(詳細後述) かくして得られtコ3次元形状加工用工具経路データを
演算装置4がデータ媒体5に出力し、工作機l1!6に
送り、品物を加工させる。
During these processes, automatic detection and automatic correction of invalid points based on the present invention is performed in each of the W collection of digitized data and the editing of tool path data. (Details will be described later) The computing device 4 outputs the thus obtained three-dimensional shape machining tool path data to the data medium 5, and sends it to the machine tool 11!6 to machine the item.

次に第2図〜第4図を参照し、演算装置4が備えた不正
な点の自動検出機能の例を説明する。
Next, with reference to FIGS. 2 to 4, an example of the automatic detection function of an incorrect point provided in the arithmetic unit 4 will be described.

第2図は経路の角度変化に着目した自動検出機能例を示
す。演算装置4は経路データから連続する3点Pi,P
2,P3のデータを順々に取り出し、3点がなすg路の
角度変化aを計算し、予め定めた一定値a0と比較して
a > a0ならば点P3が不正であり、そのデータが
不正データであると判定する。但し、乙の判定は3点を
結ぶiP1−P2−P3が上に凸の部分(点P2が2点
P, − P2を結ぶ直線よりZ方向上側にある場合)
のみ行うものとしていろ。
FIG. 2 shows an example of an automatic detection function that focuses on changes in route angle. The calculation device 4 calculates three consecutive points Pi, P from the route data.
Take out the data of 2 and P3 one after another, calculate the angle change a of the g path made by the three points, compare it with a predetermined constant value a0, and if a > a0, point P3 is invalid and the data is Determine that the data is invalid. However, in the judgment of B, iP1-P2-P3 connecting three points is a convex part (when point P2 is above the straight line connecting two points P, - P2 in the Z direction)
Please only do this.

第3図はトレランスに着目した自動検出機能例を示す。FIG. 3 shows an example of an automatic detection function that focuses on tolerance.

演算装置4は連続する3点P1,P2,P3のデータか
ら、点P2と直線P1−P3との距aIlを計算し、予
め定めた一定値l0と比較してl > joならば点P
3が不正データであると判定する。但し、この場合も、
判定は3点を結ぶ線PI−P2−P3が上に凸の部分(
点P2が2点P−Pを結ぶ直線よりZ方向上側にある場
合)のみ行うものとしている。
The calculation device 4 calculates the distance aIl between the point P2 and the straight line P1-P3 from the data of the three consecutive points P1, P2, and P3, and compares it with a predetermined constant value l0.
3 is determined to be invalid data. However, in this case too,
The judgment is made when the line PI-P2-P3 connecting the three points is convex upward (
This is performed only when the point P2 is above the straight line connecting the two points PP in the Z direction.

第4図は曲率半径に着目した自動検出機能例を示す。演
算装置4は連続する3点Pi,P2,P3のデータから
、点P2での曲率半径rを計算し、予め定めた一定値r
0と比較してr ( rならば点P3が不正データであ
ると判定する。この場合も、判定は3点を結ぶ線PI−
P2−P3が七に凸の部分(点P2が2点P1− P,
,を結ぶ直線より2方向上側にある場合)のみ行うもの
としている。
FIG. 4 shows an example of an automatic detection function focusing on the radius of curvature. The calculation device 4 calculates the radius of curvature r at point P2 from the data of three consecutive points Pi, P2, and P3, and calculates the radius of curvature r at a predetermined constant value r.
0 and r
P2-P3 is a seven convex part (point P2 is two points P1-P,
, if the line is above the straight line connecting the

演算装置4は上述した3種の自動検出機能により、いず
れかに該当する不正データを検出した場合、予め指定さ
れたモード(不正な点の削除,移動など)で不正データ
を自III修正する。第5図(a)〜(d)に自動修正
機能の例を示す。
When the arithmetic unit 4 detects invalid data corresponding to any of the three types of automatic detection functions described above, it corrects the invalid data in a predetermined mode (delete, move, etc. of invalid points). Examples of the automatic correction function are shown in FIGS. 5(a) to 5(d).

第5図(a)は削除のモードを示す。今、点7が不正な
点であると自動検出され、削除モードが指定されていろ
とする。演算装置4は不正な点7のデータを削除し、前
後の2点を直接結ぶ経路8をとるようにデータを自動修
正する。この削除モードをデジタイズデータの編集に採
用すると、デジタイズデータで面張りを行う場合、不正
データが削除されているので、きれいで滑らかな面を創
成することができろ。
FIG. 5(a) shows the deletion mode. Now, assume that point 7 is automatically detected as an invalid point and that the deletion mode is specified. The arithmetic unit 4 deletes the data of the incorrect point 7 and automatically corrects the data so that a route 8 directly connects the two points before and after. If you use this deletion mode when editing digitized data, you can create a clean and smooth surface when you perform surface lining using digitized data, since the invalid data will be deleted.

第5図(blは移動のモードの一例を示す。この移動モ
ードが指定されていろと、演算装置4は不正な点7を削
除し、その代りに前の点を通る垂直線(Z)9と後の点
を通る水平線(XY)10を経路とするように、両椋9
,10の交点を新たなデータとする。但し、新たな垂直
経路が下方に向かう場合は、垂直と水平の順を逆にし、
第5図(d)に示すように、前の点を通る水平i(XY
)10と後の点を通る垂直線(Z)9を経路とするよう
に、両1%9,10の交点を新たなデータとしている。
FIG. 5 (bl shows an example of the movement mode. If this movement mode had been specified, the arithmetic unit 4 would delete the invalid point 7 and instead draw a vertical line (Z) 9 passing through the previous point. Ryogura 9 so that the horizontal line (XY) 10 passing through the points after and is the route.
, 10 as new data. However, if the new vertical path heads downward, reverse the vertical and horizontal order,
As shown in Figure 5(d), the horizontal i(XY
) 10 and the vertical line (Z) 9 passing through the latter point as a route, the intersection of both 1% 9 and 10 is set as new data.

第5図(clは移動のモードの他の例として上方移動を
示す。上方移動モードが指定されていると、演算装置4
は不正な点7をその上方の点11に移動させて新たなデ
ータとし、点11とその前後の点を結ぶ経路12,13
を作る。
FIG. 5 (cl indicates upward movement as another example of the movement mode. When the upward movement mode is specified, the arithmetic unit 4
moves the invalid point 7 to the point 11 above it as new data, and creates routes 12 and 13 that connect the point 11 and the points before and after it.
make.

なお移動モードの場合、移動方向をX,Y,Z中任意の
1軸だけ、2軸だけ、あるいは3軸同時に設定して良く
、また移動量も自由に設定できるようにしてある。
In the case of the movement mode, the direction of movement may be set to any one axis, only two axes, or three axes simultaneously among X, Y, and Z, and the amount of movement can also be set freely.

以上のように演算装置4が3次元形状に対するデジタイ
ズデータ及び加工用工具経路データ中の不正な点のデー
タを自動的に検出し且つ修正することにより、自動的に
品質良く編集されたデータを得ることができる。
As described above, the arithmetic unit 4 automatically detects and corrects invalid point data in the digitized data for the three-dimensional shape and the machining tool path data, thereby automatically obtaining data edited with good quality. be able to.

く発明の効果〉 本発明の編集方法によれば人間の目視と手動修正によら
ず、経路データ中の不正な点を自動的に検出し、且つ自
動的に修正を行うことができる。
Effects of the Invention> According to the editing method of the present invention, invalid points in route data can be automatically detected and automatically corrected without the need for human visual inspection or manual correction.

特にデジタイズデータを本発明により編集する場合は、
不正データが簡単、確実に検出され、削除等によって修
正されるので、デジタイズデー夕で面張りを行うとき、
きれいで滑らかな面が創成できるようになる。
Especially when editing digitized data according to the present invention,
Since fraudulent data can be easily and reliably detected and corrected by deletion,
A clean and smooth surface can be created.

またNCデータなど加工用工具経路データを本発明によ
りm集する場合(よ、同じく不正データが簡単、確実に
検出され、削除、移動等によって修正されるので、品物
を加工するとき、工具の食い込みがない仕上面が得られ
る。
In addition, when machining tool path data such as NC data is collected by the present invention (similarly, fraudulent data can be easily and reliably detected and corrected by deletion, movement, etc.) A surface finish free of scratches can be obtained.

【図面の簡単な説明】 第1図は本発明の一実施例を示すブロック構成図、第2
図,第3図及び第4図はそれぞれ不正データの検出例を
示す説明図、第5図11f不正データの修正例を示す説
明図である。 図面中、1はデジタイザ、4は演算装置、6は工作機械
である。
[Brief Description of the Drawings] Fig. 1 is a block diagram showing one embodiment of the present invention, Fig. 2 is a block diagram showing an embodiment of the present invention;
3 and 4 are explanatory diagrams showing an example of detection of fraudulent data, and FIG. 5 and FIG. 11F are explanatory diagrams showing an example of correcting fraudulent data, respectively. In the drawings, 1 is a digitizer, 4 is an arithmetic unit, and 6 is a machine tool.

Claims (1)

【特許請求の範囲】[Claims]  3次元経路の構成点のデータをもとに経路の角度変化
、トレランス及び曲率半径の少なくとも1つを求める演
算により、経路中の不正な点を自動的に検出し、構成点
の削除及び移動の少なくとも1つを施す演算により、検
出した不正な点のデータを自動的に修正することを特徴
とする経路データの編集方法。
By calculating at least one of the angle change, tolerance, and radius of curvature of the route based on the data of the constituent points of the three-dimensional route, invalid points on the route are automatically detected, and the constituent points can be deleted or moved. A method for editing route data, the method comprising automatically correcting detected invalid point data by performing at least one calculation.
JP1163797A 1989-06-28 1989-06-28 Editing method for path data Pending JPH0330002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1163797A JPH0330002A (en) 1989-06-28 1989-06-28 Editing method for path data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1163797A JPH0330002A (en) 1989-06-28 1989-06-28 Editing method for path data

Publications (1)

Publication Number Publication Date
JPH0330002A true JPH0330002A (en) 1991-02-08

Family

ID=15780886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1163797A Pending JPH0330002A (en) 1989-06-28 1989-06-28 Editing method for path data

Country Status (1)

Country Link
JP (1) JPH0330002A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015037150A1 (en) * 2013-09-13 2015-03-19 株式会社牧野フライス製作所 Tool path generating method and tool path generating device
WO2016051555A1 (en) * 2014-10-01 2016-04-07 三菱電機株式会社 Numerical control device
JP2017084189A (en) * 2015-10-29 2017-05-18 ブラザー工業株式会社 Control apparatus, machine tool, control method and computer program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015037150A1 (en) * 2013-09-13 2015-03-19 株式会社牧野フライス製作所 Tool path generating method and tool path generating device
CN105492980A (en) * 2013-09-13 2016-04-13 株式会社牧野铣床制作所 Tool path generating method and tool path generating device
JP6038331B2 (en) * 2013-09-13 2016-12-07 株式会社牧野フライス製作所 Tool path generation method and tool path generation apparatus
CN105492980B (en) * 2013-09-13 2018-01-30 株式会社牧野铣床制作所 Tool paths generation method and tool paths generation device
US10088832B2 (en) 2013-09-13 2018-10-02 Makino Milling Machine Co., Ltd. Method of generating tool path by modifying existing tool path and device practicing the same
WO2016051555A1 (en) * 2014-10-01 2016-04-07 三菱電機株式会社 Numerical control device
CN107077119A (en) * 2014-10-01 2017-08-18 三菱电机株式会社 Numerical control device
US10203687B2 (en) 2014-10-01 2019-02-12 Mitsubishi Electric Corporation Numerical control device
CN107077119B (en) * 2014-10-01 2019-03-08 三菱电机株式会社 Numerical control device
JP2017084189A (en) * 2015-10-29 2017-05-18 ブラザー工業株式会社 Control apparatus, machine tool, control method and computer program

Similar Documents

Publication Publication Date Title
Grimstead et al. Creating solid models from single 2D sketches
Park et al. Tool-path generation from measured data
Chui et al. Direct 5-axis tool-path generation from point cloud input using 3D biarc fitting
JPH09506815A (en) Method and device for a product intended to be placed in the human body, and scanning device for a model of the product
CN1094158A (en) The method and the device that are used for verifying geometry
JP2012517053A (en) Robot tool control method
Vosselman et al. Mapping by dragging and fitting of wire-frame models
JP3884195B2 (en) Apparatus and method for distributing design and fabrication information throughout a sheet metal fabrication facility
McLaughlin et al. Rapid human‐assisted creation of bounding models for obstacle avoidance in construction
JPH0330002A (en) Editing method for path data
Herbert et al. Sensor-based interior modeling
JPH0981788A (en) Environment model input device
JP4812477B2 (en) Image measurement device part program generation device, image measurement device part program generation method, and image measurement device part program generation program
JP3894420B2 (en) 3D model generation method and apparatus
JPH0711762B2 (en) NC data correction device
CN114888794B (en) Robot man-machine interaction running path marking method and device
JPH0896001A (en) Flowchart editing device
JPS6160173A (en) Calculation system for 3-dimensional graphic data
CN116740225A (en) Dynamic setting method of parking lot based on space planning
JPH0375903A (en) Offline teaching system
Kaneko et al. Development of Tool Shape Estimation Method Integrating Multidirectional Optical Measurement
JPH08292015A (en) Noncontact image measuring system and edge tracing measuring method
JPS62114856A (en) Limit setting system for profile control device
JPH109856A (en) Earth-volume managing apparatus
JP2837927B2 (en) Numerical control device with a function to display the trajectory of the rotation axis