JPH0433008A - Cad/cam device - Google Patents

Cad/cam device

Info

Publication number
JPH0433008A
JPH0433008A JP13496890A JP13496890A JPH0433008A JP H0433008 A JPH0433008 A JP H0433008A JP 13496890 A JP13496890 A JP 13496890A JP 13496890 A JP13496890 A JP 13496890A JP H0433008 A JPH0433008 A JP H0433008A
Authority
JP
Japan
Prior art keywords
path
paths
overlapped
generated
work path
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
JP13496890A
Other languages
Japanese (ja)
Inventor
Masafumi Nakada
雅文 中田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP13496890A priority Critical patent/JPH0433008A/en
Publication of JPH0433008A publication Critical patent/JPH0433008A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make an operator easily know the existence of overlapped paths by providing an overlap detecting means and a work path display means, automatically checking the overlap of the generated paths, and displaying it on a screen so as to whether the paths are overlapped or not. CONSTITUTION:Concerning the work path generated from a graphic data by a work path generating means 8, a direction vector generating means 9 generates a direction vector, and an overlap detecting means 10 checks the change of the direction vector. When the direction is changed at 90 deg., for example, it is decided that the work path is not overlapped, and when the direction is changed at 180 deg., for example, it is decided that the path is overlapped. Based on the decided result of the overlap detecting means 10, a work path display means 5 displays the overlapped work path and the not-overlapped work path so as to identify them by changing the color or the luminance, for example. Thus, the operator can know it only by observing the picture display of the work path whether the overlapped path exists or not.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、CAD/CAM装置に関し、さらに詳しく
は、図形データから加工経路を生成するCAD/CAM
装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a CAD/CAM device, and more specifically, to a CAD/CAM device that generates a machining path from graphic data.
Regarding equipment.

[従来の技術] 従来のCAD/CAM装置の一例を第11図に示す。[Conventional technology] An example of a conventional CAD/CAM device is shown in FIG.

このCAD/CAM装置51において、CPU52には
、人力装置3と、記憶装置4と1表示装置5と、出力装
置6とが接続されている。
In this CAD/CAM device 51, a human power device 3, a storage device 4, a display device 5, and an output device 6 are connected to a CPU 52.

前記CPU52は、中央演算部57と、バス生成部8と
を含んでいる。
The CPU 52 includes a central processing section 57 and a bus generation section 8.

第12図は、上記CAD/CAM装置51の作動を示す
フロー図である。
FIG. 12 is a flow diagram showing the operation of the CAD/CAM device 51.

入力装置3から図形データを入力して記憶装置4に記憶
させておき、パス(加工経路)生成スタートの指示を入
力すると(ステップS1)、パス生成部8は、図形デー
タからパスを生成する(ステップS2)。
When graphic data is input from the input device 3 and stored in the storage device 4, and an instruction to start generating a path (processing path) is input (step S1), the path generation unit 8 generates a path from the graphic data ( Step S2).

中央演算部57は、前記生成したパスを表示装置5の画
面に白色で表示する(ステップ35)。
The central processing unit 57 displays the generated path in white on the screen of the display device 5 (step 35).

前記ステップS2およびステップS5を繰り返して、図
形データから全てのパスを生成すると、処理を終了する
(ステップS7)。
When all the paths are generated from the graphic data by repeating steps S2 and S5, the process ends (step S7).

第13図は、生成されたパスの例であり、パスPL、P
2.P3.P4.P5がこの順に生成される。なお、図
上、黒点はパスの始点を表わし、白点はパスの終点を表
わす。
FIG. 13 shows an example of generated paths, with paths PL, P
2. P3. P4. P5 are generated in this order. Note that in the figure, black dots represent the starting points of the paths, and white dots represent the ending points of the paths.

第14図は、第13図に示すパスP1〜P5の画面表示
例である。
FIG. 14 is a screen display example of paths P1 to P5 shown in FIG. 13.

[発明が解決しようとする課題] 第13図に示すパスP1〜P5において、lクスP4と
パスP5とは重複しているが、このような重複したパス
が存在すると、加工面を傷つけてしまう危険がある。
[Problems to be Solved by the Invention] In passes P1 to P5 shown in FIG. 13, lx P4 and pass P5 overlap, but the presence of such overlapping passes will damage the machined surface. There is a danger.

しかし、第14図に示す如きパスの画面表示では、パス
が重複しいるか否かを識別できないため、重複するパス
の存在をオペレータが見逃してしまう問題点がある。
However, with the screen display of paths as shown in FIG. 14, it is not possible to identify whether or not the paths overlap, so there is a problem that the operator may overlook the existence of overlapping paths.

そこで、この発明の目的は、重複するパスの存在を自動
検出し、それをオペレータに識別可能に表示することが
できるCAD/CAM装置を提供することにある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a CAD/CAM device that can automatically detect the existence of duplicate paths and display the same to an operator in an identifiable manner.

[課題を解決するための手段] この発明のCAD/CAM装置は、図形データから加工
経路を生成する加工経路生成手段と、生成した加工経路
についての方向ベクトルを生成する方向ベクトル生成手
段と、方向ベクトルの変化に基づいて加工経路が重複す
るか否かを判定する重複検出手段と、重複しているもの
と重複していないものとを識別可能な形態で加工経路を
画面表示する加工経路表示手段とを具備したことを構成
上の特徴とするものである。
[Means for Solving the Problems] A CAD/CAM device of the present invention includes a machining path generating means for generating a machining path from graphic data, a direction vector generating means for generating a direction vector for the generated machining path, and a direction vector generating means for generating a direction vector for the generated machining path. Duplication detection means for determining whether or not machining paths overlap based on changes in vectors; and machining path display means for displaying machining paths on a screen in a form that allows identification of overlapping and non-overlapping machining paths. The structural feature is that it is equipped with the following.

[作用] この発明のCA D/CAM装置では、加工経路生成手
段が図形データから生成した加工経路について、方向ベ
クトル生成手段が方向ベクトルを生成する。そして、重
複検出手段が、前記方向ベクトルの変化をチエツクし、
例えば方向が90°変化する場合には加工経路が重複し
ないと判定し、例えば方向が180°変化するような場
合には加工経路が重複すると判定する。
[Operation] In the CA D/CAM device of the present invention, the direction vector generation means generates a direction vector for the machining path generated from the graphic data by the machining path generation means. and an overlap detection means checks for a change in the direction vector,
For example, if the directions change by 90 degrees, it is determined that the machining paths do not overlap, and if the directions change, for example, by 180 degrees, it is determined that the machining paths overlap.

加工経路表示手段は、加工経路を画面表示するが、前記
重複検出手段の判定結果に基づいて、重複している加工
経路と重複していない加工経路とを例えば色や輝度を変
えて表示する。
The machining route display means displays the machining route on the screen, and displays overlapping machining routes and non-overlapping machining routes in different colors or brightnesses, for example, based on the determination result of the duplication detection means.

そこで、オペレータは、加工経路の画面表示を見るだけ
で、重複したパスが存在しているか否か−を知ることが
出来るようになる。
Therefore, the operator can now know whether or not there are duplicate paths simply by looking at the screen display of the machining path.

[実施例] 以下、図に示す実施例に基づいてこの発明をさらに詳し
く説明する。なお、これによりこの発明が限定されるも
のではない。
[Example] Hereinafter, the present invention will be described in more detail based on the example shown in the drawings. Note that this invention is not limited to this.

第1図は、この発明の一実施例のCA D/CAM装!
Flを示すブロック図である。
Figure 1 shows a CAD/CAM system according to an embodiment of this invention!
It is a block diagram showing Fl.

CPU2には、入力装置3と、記憶装置4と表示装置5
と、出力装置6とが接続されている。
The CPU 2 includes an input device 3, a storage device 4, and a display device 5.
and an output device 6 are connected.

CPU2は、全体の作動を制御する中央演算部7と7図
形データに基づいてパスを1ブロツクづつ生成するパス
生成部8と、生成されたパスの始点と終点における単位
接線ベクトルを方向ベクトルとして算出する方向ベクト
ル算出部9と、あるブロックのパスの始点における方向
ベクトルとそのブロックの前のブロックのパスの終点に
おける方向ベクトルとを比較して方向の変化が大体18
0°のときに両バスが重複すると判定し、それ以外は重
複しないと判定する重複検出部10とを含んでいる。
The CPU 2 includes a central processing unit 7 that controls the overall operation, a path generation unit 8 that generates paths one block at a time based on the graphic data, and a unit tangent vector at the start and end points of the generated path that is calculated as a direction vector. The direction vector calculation unit 9 compares the direction vector at the start point of the path of a certain block with the direction vector at the end point of the path of the block before that block, and determines that the change in direction is approximately 18.
It includes an overlap detection unit 10 that determines that both buses overlap when the angle is 0°, and determines that they do not overlap at other times.

前記入力装置3は、図形データや各種の指示等を入力す
るものである。
The input device 3 is used to input graphic data and various instructions.

前記記憶装置4は、入力された図形データや。The storage device 4 stores input graphic data.

生成されたパスや、方向ベクトルや1重複の判定結果や
、プログラム等を記憶するものである。
It stores generated paths, direction vectors, one-duplication determination results, programs, and the like.

前記表示装置5は、図形データや、パス等を画面に表示
するものである。
The display device 5 displays graphic data, paths, etc. on the screen.

前記出力装置6は、生成したパスを実際の加工に供する
ために外部へ出力するものである。
The output device 6 outputs the generated path to the outside for use in actual processing.

第2図は、上記CAD/CAM装W1の作動を示すフロ
ー図である。
FIG. 2 is a flow diagram showing the operation of the CAD/CAM device W1.

オペレータが、パス生成スタートの指示を入力すると(
ステップS1)、パス生成部8は図形データに基づいて
パスを生成しくステップ32)、方向ベクトル算出部9
は前記生成したパスについての方向ベクトルを算出する
(ステップS3)。
When the operator inputs an instruction to start path generation (
Step S1), the path generation section 8 generates a path based on the graphic data.Step 32), the direction vector calculation section 9
calculates a direction vector for the generated path (step S3).

これにより、例えば、第3図に示すように、最初のブロ
ックのパスP1が生成されると共に、そのパスP1の始
点における単位接線ベクトルA1と、終点における単位
接線ベクトルB1とが方向ベクトルとして算出される。
As a result, for example, as shown in FIG. 3, a path P1 for the first block is generated, and a unit tangent vector A1 at the starting point of the path P1 and a unit tangent vector B1 at the end point are calculated as direction vectors. Ru.

重複検出部10は、前記ステップS2で生成したパスの
ブロックの前のブロックのパスについての方向ベクトル
と前記ステップS3で生成した方向ベクトルとを比較し
て両バスが重複しているか否かを判定するが、第3図の
パスP1のブロックの前のブロックが存在しないため、
重複していないと判定する(ステップS4)。
The overlap detection unit 10 compares the direction vector for the path of the block preceding the block of the path generated in step S2 with the direction vector generated in step S3, and determines whether or not both buses overlap. However, since the block before the block of path P1 in Fig. 3 does not exist,
It is determined that there is no overlap (step S4).

重複していないと判定した場合は、該当するパスを白色
表示する(ステップS5)。
If it is determined that there is no overlap, the corresponding path is displayed in white (step S5).

第4図は、パスP1の画面表示例である。FIG. 4 is an example of a screen display of the path P1.

図形データから次のパスが生成できる場合には、前記ス
テップS2に戻る(ステップS7)。
If the next path can be generated from the graphic data, the process returns to step S2 (step S7).

2回目のステップS2およびステップS3では、例えば
、第5図に示すように、パスP2および単位接線ベクト
ルA2.B2が生成される。
In the second step S2 and step S3, for example, as shown in FIG. 5, the path P2 and the unit tangent vector A2. B2 is generated.

重複検出部10は、パスP2の始点における単位接線ベ
クトルA2と、前のブロックのパスP1における終点の
単位接線ベクトルB1とを比較し、その方向の変化をチ
エツクする。
The overlap detection unit 10 compares the unit tangent vector A2 at the starting point of the path P2 with the unit tangent vector B1 at the end point of the path P1 of the previous block, and checks for a change in direction.

このチエツクの具体的方法としては、単位接線ベクトル
A2と単位接線ベクトルB1の各要素を減算し、2乗し
て加算し、所定の許容値εと比較し、許容値εより小さ
ければ、方向変化が大体180°であり重複していると
判定し、許容値εより大きければ重複していないと判定
するものがあげられる。
The specific method for this check is to subtract each element of the unit tangent vector A2 and unit tangent vector B1, square them, add them, compare with a predetermined tolerance value ε, and if it is smaller than the tolerance value ε, the direction will change. is approximately 180 degrees, and it is determined that they overlap, and if it is larger than the tolerance value ε, it is determined that they do not overlap.

第5図の例の場合、パスP2とパスP1とは重複してい
ないと判定される(ステップS4)。
In the example of FIG. 5, it is determined that path P2 and path P1 do not overlap (step S4).

そこで、第6図に示すように、パスP1とパスP2とが
画面に白色表示される(ステップS5)。
Therefore, as shown in FIG. 6, the path P1 and the path P2 are displayed in white on the screen (step S5).

以上の作動を繰り返して、第7図に示すようにパスP4
まで生成されると、第8図に示すようにパスP1〜P4
が白色表示される。
By repeating the above operations, pass P4 is reached as shown in FIG.
When the paths P1 to P4 are generated as shown in FIG.
is displayed in white.

次に、第9図に示すように、パスP5が生成され、その
始点における単位接線ベクトルA5と前のブロックのパ
スP4の終点における単位接線ベクトルB4とが比較さ
れると、方向変化が大体180”であるため、重複検出
部10は、両パスP4  P5が重複していると判定す
る(ステップS4)。
Next, as shown in FIG. 9, when a path P5 is generated and the unit tangent vector A5 at its starting point is compared with the unit tangent vector B4 at the end point of the path P4 of the previous block, the direction change is approximately 180. ”, the duplication detection unit 10 determines that both paths P4 and P5 overlap (step S4).

すると、中央演算部7は、パスP4およびパスP5を赤
色表示する(ステップS6)。
Then, the central processing unit 7 displays the path P4 and the path P5 in red (step S6).

そこで、第10図に示す如き画面表示となり、オペレー
タは、重複しているパスか存在することを容易に知るこ
とが出来るようになる。
Therefore, the screen is displayed as shown in FIG. 10, and the operator can easily know that there are duplicate paths.

なお、上記実施例では、スタンドアロン型のCAD/C
AM装置1について説明したが、NC装置等にCAD/
CAM装置と同等の機能を内蔵する場合にも本発明を適
用することができ、それもこの発明の範囲に含まれる。
Note that in the above embodiment, a stand-alone CAD/C
Although AM device 1 has been explained, CAD/
The present invention can also be applied to a case where functions equivalent to those of a CAM device are built in, and this is also included in the scope of the present invention.

[発明の効果] この発明のCAD/CAM装置によれば、生成したパス
の重複が自動的にチエツクされると共に。
[Effects of the Invention] According to the CAD/CAM device of the present invention, duplication of generated paths is automatically checked.

重複しているか否かを識別可能に画面に表示するから、
オペレータが容易に重複したパスの存在を知ることが出
来るようになる。このため、重複したパスを存在させた
まま加工を行って、加工対象物を傷つけることを未然に
防止できるようになる。
It displays on the screen clearly whether there are duplicates or not.
The operator can easily know the existence of duplicate paths. Therefore, it is possible to prevent damage to the workpiece due to machining with the overlapped passes existing.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明のCAD/CAM装置の一実施例のブ
ロック図、第2図は第1図に示す装置の作動のフロー図
、第3図は生成されたパスと方向ベクトルの概念図、第
4図は第3図のパスの画面表示の例示図、第5図は生成
されたパスと方向ヘクトルの概念図、第6図は第5図の
パスの画面表示の例示図、第7図は生成されたパスと方
向ベクトルの概念図、第8図は第7図のパスの画面表示
の例示図、第9図は生成されたパスと方向ベクトルの例
示図、第10図は第9図のパスの画面表示の例示図、第
11図は従来のCAD/CAM装置の一例のブロック図
、第12図は第11図に示す従来装置の作動のフロー図
、第13図は生成されたパスの概念図、第14図は第1
3図に示すパスの画面表示の例示図である。 図において、(1)(51)はCAD/CAM装置、(
2)(52)はCPU、(3)は入力装置、(4)は記
憶装置、(5)は表示装置、(6)は出力装置、(7)
(57)は中央演算部、(8)はバス生成部、(9)は
方向ベクトル算出部、(10)は重複検出部、(Pl)
〜(B5)はパス、(Al)〜(B5)は方向ベクトル
である。 なお、図中同一符号は同一または相当部分を示す。
FIG. 1 is a block diagram of an embodiment of the CAD/CAM device of the present invention, FIG. 2 is a flow diagram of the operation of the device shown in FIG. 1, and FIG. 3 is a conceptual diagram of generated paths and direction vectors. Figure 4 is an example of the screen display of the path in Figure 3, Figure 5 is a conceptual diagram of the generated path and direction hector, Figure 6 is an example of the screen display of the path in Figure 5, Figure 7 is a conceptual diagram of the generated path and direction vector, FIG. 8 is an example of screen display of the path of FIG. 7, FIG. 9 is an example of the generated path and direction vector, and FIG. 11 is a block diagram of an example of a conventional CAD/CAM device, FIG. 12 is a flowchart of the operation of the conventional device shown in FIG. 11, and FIG. 13 is a diagram showing the generated path. The conceptual diagram, Figure 14 is the first
FIG. 4 is an exemplary diagram of a screen display of the path shown in FIG. 3; In the figure, (1) (51) is a CAD/CAM device, (
2) (52) is the CPU, (3) is the input device, (4) is the storage device, (5) is the display device, (6) is the output device, (7)
(57) is the central processing unit, (8) is the bus generation unit, (9) is the direction vector calculation unit, (10) is the overlap detection unit, (Pl)
~(B5) is a path, and (Al) ~(B5) is a direction vector. Note that the same reference numerals in the figures indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 1、図形データから加工経路を生成する加工経路生成手
段と、生成した加工経路についての方向ベクトルを生成
する方向ベクトル生成手段と、方向ベクトルの変化に基
づいて加工経路が重複するか否かを判定する重複検出手
段と、重複しているものと重複していないものとを識別
可能な形態で加工経路を画面表示する加工経路表示手段
とを具備したことを特徴とするCAD/CAM装置。
1. Machining path generation means that generates a machining path from graphic data, direction vector generation means that generates a direction vector for the generated machining path, and determines whether or not the machining paths overlap based on changes in the direction vectors. What is claimed is: 1. A CAD/CAM device comprising: a duplication detection means for detecting overlapping; and a machining path display means for displaying a machining path on a screen in a form that allows identification of overlapping and non-overlapping machining paths.
JP13496890A 1990-05-24 1990-05-24 Cad/cam device Pending JPH0433008A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13496890A JPH0433008A (en) 1990-05-24 1990-05-24 Cad/cam device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13496890A JPH0433008A (en) 1990-05-24 1990-05-24 Cad/cam device

Publications (1)

Publication Number Publication Date
JPH0433008A true JPH0433008A (en) 1992-02-04

Family

ID=15140808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13496890A Pending JPH0433008A (en) 1990-05-24 1990-05-24 Cad/cam device

Country Status (1)

Country Link
JP (1) JPH0433008A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04299780A (en) * 1991-03-28 1992-10-22 Toppan Printing Co Ltd Package data converting device
CN110874520A (en) * 2018-09-03 2020-03-10 珠海金山办公软件有限公司 Method and device for removing overlapped path and terminal equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04299780A (en) * 1991-03-28 1992-10-22 Toppan Printing Co Ltd Package data converting device
CN110874520A (en) * 2018-09-03 2020-03-10 珠海金山办公软件有限公司 Method and device for removing overlapped path and terminal equipment
CN110874520B (en) * 2018-09-03 2024-01-30 珠海金山办公软件有限公司 Method and device for removing overlapped paths and terminal equipment

Similar Documents

Publication Publication Date Title
JPH0433008A (en) Cad/cam device
JPS62123301A (en) Inspector for semiconductor exposure pattern data
Kavianpour et al. A new approach for circle detection on multiprocessors
US6519370B1 (en) Digital image processing
JP2000293690A (en) Wafer inspecting device
JP2006078314A (en) Waveform display device
JPH04357444A (en) Apparatus for inspecting printed circuit board
JPH04115368A (en) Bundle wire detecting device
JP2004070743A (en) Image processor
JPH05224734A (en) Robot simulating device
JPH10340346A (en) Image processor
JPH03225227A (en) Diagnostic device for cause of abnormality
JPH04184535A (en) Parallel arithmetic units
JPH02144770A (en) Display device
JP2001243084A (en) Power system monitor controller and storage medium with program for executing the same stored
JPH03208358A (en) Verification of pattern data of semiconductor device
JPS58166417A (en) Pattern generator
JPS59148938A (en) Display device of image information
JPH10161722A (en) Palletize coordinate arithmetic method
JPH0581388A (en) Graphic information display function insepcting system
JPH08227429A (en) Device and method for graphic processing
JPH01274282A (en) Display for graphic collation
JPH04312171A (en) Device for judging two segment intersection state
JPH04186478A (en) Interactive data correcting device in cad system
JPS6249575A (en) Graphic input system