JPH0697417B2 - Display method of cutting part of material in automatic programming for NC - Google Patents
Display method of cutting part of material in automatic programming for NCInfo
- Publication number
- JPH0697417B2 JPH0697417B2 JP61125180A JP12518086A JPH0697417B2 JP H0697417 B2 JPH0697417 B2 JP H0697417B2 JP 61125180 A JP61125180 A JP 61125180A JP 12518086 A JP12518086 A JP 12518086A JP H0697417 B2 JPH0697417 B2 JP H0697417B2
- Authority
- JP
- Japan
- Prior art keywords
- view
- information
- ram
- coordinate information
- plan
- 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.)
- Expired - Lifetime
Links
Landscapes
- Numerical Control (AREA)
Description
【発明の詳細な説明】 (発明の技術分野) 本発明は、NC(数値制御)装置の画像表示装置上に加工
素材形状とその素材の切削部とを表示する方法に関し、
特に、上記表示の視方向を容易に変換でき、また特定の
高さにおける加工の様子をシミュレートできるようにし
たNC用自動プログラミングにおける素材の表示方法に関
する。TECHNICAL FIELD OF THE INVENTION The present invention relates to a method of displaying a work material shape and a cutting portion of the material on an image display device of an NC (numerical control) device,
In particular, the present invention relates to a method of displaying a material in automatic programming for NC in which the viewing direction of the above display can be easily converted and the processing state at a specific height can be simulated.
(発明の技術的背景とその問題点) 最近のNC(数値制御)装置の普及は目覚ましいものがあ
るが、ユーザー側からみた取扱いの容易さなどに改善の
余地がまだ残されている。例えば、NC装置の画像表示装
置上において素材の切削の様子をシミュレートする場
合、切削される様子を細かく表示させるには処理時間が
長くかかり、実時間で行なうことが不可能になってしま
う。そして、特に、上記切削される様子をさらに詳細に
表示させるために、当該表示を回転させてそのグラフィ
ック視方向を変換しようとすると、再度シミュレートを
最初からやり直さねばならず、無駄な処理時間を費やし
ている。(Technical background of the invention and its problems) Although the recent spread of NC (Numerical Control) devices is remarkable, there is still room for improvement in terms of ease of handling from the user's perspective. For example, when simulating the cutting state of a material on the image display device of the NC device, it takes a long processing time to display the cutting state in detail, which makes it impossible to perform in real time. Then, in particular, in order to display the above-mentioned cutting state in more detail, if the display is rotated and the graphic viewing direction is changed, the simulation must be restarted from the beginning, resulting in unnecessary processing time. Spending.
いま、画像表示装置上に加工素材を三角法で展開し、平
面図,正面図,側面図等を表示しておき、この素材の中
に工具が切削した部分を塗りつぶして表示させる(以
下、“塗りつぶり表示”という)ようにする場合につい
て考えてみる。この素材形状及び工具の通過領域の共通
部分が切削部となるが、この切削部分は複雑な形状にお
ける交点や境界点を計算することにより決定される。そ
して、これらの計算が平面図,正面図,側面図などにつ
いて全て必要であるため、この計算処理時間は非常に長
くなってしまい、加工シミュレートをする場合、実時間
では不可能であった。Now, develop the processing material on the image display device by trigonometry and display the plan view, front view, side view, etc., and display the part cut by the tool in this material by painting (hereinafter, "Let's think about the case of doing so). A common part of the material shape and the passage area of the tool is a cutting part, and this cutting part is determined by calculating intersection points and boundary points in a complicated shape. Since these calculations are required for all of the plan view, front view, side view, etc., this calculation processing time becomes very long, and it was impossible to perform the processing simulation in real time.
また、上述のような加工シミュレートにおける表示は、
素材を所定の一方向から表示するだけであり、その切削
部の様子が十分に観察できないことがある。そこで、上
記切削部の様子を更に細かく観察するために、当該表示
のグラフイック視方向を変換しようとすると、まず、当
該素材及び工具の通過領域を回転させた後、その素材形
状及び工具の通過領域の共通部分である切削部を再度求
め直すというように、上述のような加工シミュレートを
最初からやり直さなければならず、無駄な処理が生じて
しまいその処理時間は多大なものになってしまうという
問題点があった。また、素材の特定の高さにおける加工
後の様子だけをシミュレートすることもできなかった。Also, the display in the processing simulation as described above,
The material is only displayed from one predetermined direction, and the state of the cutting portion may not be sufficiently observed. Therefore, in order to more closely observe the state of the cutting portion, when trying to change the graphic view direction of the display, first, after rotating the passage area of the material and the tool, the material shape and the passage area of the tool. It is said that the machining simulation as described above must be redone from the beginning, such as re-obtaining the cutting part which is the common part of the above, resulting in wasteful processing and enormous processing time. There was a problem. Also, it was not possible to simulate only the appearance of the material after processing at a specific height.
(発明の目的) 本発明は上述のような事情からなされたものであり、本
発明の目的は、平面図,正面図,側面図などについての
切削部分の計算処理時間を短かくして、画像表示装置上
で素材が切削される様子をグラフィック表示して実時間
でシミュレートできると共に、一度シミュレートすれ
ば、再度シミュレートし直すことなく上記表示を回転し
てグラフィック視方向を変換でき、また、素材の特定の
高さにおける加工後の様子だけをシミュレートすること
もできるNC用自動プログラミングにおける素材の切削部
表示方法を提供することにある。(Object of the Invention) The present invention has been made under the circumstances as described above, and an object of the present invention is to shorten the calculation processing time of a cut portion for a plan view, a front view, a side view, etc. A graphic representation of how the material is being cut can be displayed in real time, and once simulated, the above display can be rotated to change the graphic viewing direction without simulating again. It is to provide a method for displaying a cutting portion of a material in automatic programming for NC that can also simulate only a state after processing at a specific height of.
(発明の概要) 本発明は、素材の切削部を2面図またはそれ以上の複数
面図に展開して、画像表示装置上に表示するNC用自動プ
ログラミングにおける素材の切削部表示方法において、
素材形状座標情報及び工具通過領域座標情報に基づき、
第1面図の平面での切削部形状が異なる毎に第1面図の
垂直軸方向に切削部領域を分割し、前記分割された各要
素毎の第1面図内の切削部画像情報と切削部領域の各要
素毎の第1面図の垂直軸方向の座標情報を生成すると共
に、前記切削部領域の各要素毎に当該第1面図内の切削
部画像情報及び当該第1面図の垂直軸方向の座標情報を
それぞれ記憶しておき、前記記憶された各要素のうち、
1要素又はそれ以上の要素を第1面図内で回転させた
後、当該回転された要素の第1面図内の切削部画像情報
を行又は列方向に論理演算した結果と第1面図の垂直軸
方向の座標情報から、第2面図またはそれ以上の複数面
図の座標情報を生成して表示するようにしたものであ
る。(Summary of the Invention) The present invention relates to a method for displaying a cutting portion of a material in NC automatic programming in which the cutting portion of the material is developed into a two-view drawing or a plurality of more-view drawings and is displayed on an image display device.
Based on the material shape coordinate information and the tool passing area coordinate information,
The cutting portion area is divided in the direction of the vertical axis of the first drawing for each different cutting portion shape in the plane of the first drawing, and the cutting portion image information in the first drawing for each of the divided elements and The coordinate information in the vertical axis direction of the first plan for each element of the cutting section region is generated, and the cutting section image information in the first plan and the first plan for each element of the cutting section region are generated. The coordinate information in the vertical axis direction of is stored respectively, and among the stored elements,
After rotating one element or more in the first view, the result of logically operating the cut portion image information in the first view of the rotated element in the row or column direction and the first view The coordinate information of the second or more plural views is generated and displayed from the coordinate information in the vertical axis direction.
(発明の実施例) 第1図は本発明方法を実現する装置の一実施例を示すブ
ロック構成図であり、コマンド解釈部1は世界座標系に
よる図形データについてのディスプレイコマンドを解釈
し、それぞれのコマンド信号を出力する。まず、コマン
ド解釈部1から出力された素材表示コマンドを入力した
素材表示部2は、例えばCRT等の画像表示装置18に素材
を塗りつぶして表示するように信号変換処理を行ない、
この塗りつぶし情報BLKを表示用V-RAM11に出力する。ま
た、コマンド解釈部1から出力された素材表示コマンド
を入力した素材形状登録部3は、切削部分を決定するた
めに素材形状を登録しておく。そして、コマンド解釈部
1から出力されたパラメータコマンドを入力したパラメ
ータ解釈部4は、切削部分を表示するためのディスプレ
イコマンドのパラメータを解釈し、それぞれのパラメー
タに対応する工具通過領域情報P1を工具通過領域情報生
成部5に、パラメータ種類P2を第2面図生成部13に、そ
して第1面図及び第2面図の色及び模様等に関する描画
情報P3を描画情報記憶部14に出力する。(Embodiment of the Invention) FIG. 1 is a block configuration diagram showing an embodiment of an apparatus for implementing the method of the present invention. A command interpreting section 1 interprets a display command for graphic data in the world coordinate system and Output a command signal. First, the material display unit 2 that has input the material display command output from the command interpreting unit 1 performs signal conversion processing so that the material is displayed on the image display device 18, such as a CRT, by painting the material,
This fill information BLK is output to the display V-RAM 11. Further, the material shape registration unit 3 which inputs the material display command output from the command interpretation unit 1 registers the material shape in order to determine the cut portion. Then, the parameter interpreting unit 4 which inputs the parameter command output from the command interpreting unit 1 interprets the parameters of the display command for displaying the cutting portion, and passes the tool passing area information P1 corresponding to each parameter to the tool passing region information P1. The area information generation unit 5 outputs the parameter type P2 to the second floor plan generation unit 13, and the drawing information P3 regarding the colors and patterns of the first front plan and the second front plan to the drawing information storage unit 14.
そこで、このパラメータ解釈部4から出力されたパラメ
ータに対応した工具通過領域情報P1を入力した工具通過
領域情報生成部5は、工具通過領域のボクシング領域の
座標情報を生成する。ここにおいて、ボクシング領域と
は、世界座標系でのオブジェクトを境界づける直方体
で、各辺がいずれかの座標軸と平行な領域を意味するも
のである。Therefore, the tool passage area information generation unit 5 that has input the tool passage area information P1 corresponding to the parameter output from the parameter interpretation unit 4 generates the coordinate information of the boxing area of the tool passage area. Here, the boxing region is a rectangular parallelepiped that bounds an object in the world coordinate system, and means a region in which each side is parallel to any coordinate axis.
そして、上記素材形状登録部3において登録された素材
形状のボクシング領域情報と、工具通過領域情報生成部
5において生成された工具通過領域のボクシング領域の
座標情報とが切削部分情報算出部6に入力されると、こ
の切削部分情報算出部6は、素材形状のボクシング領域
及び工具通過領域のボクシング領域の共通部分、すなわ
ち切削部分のボクシング領域の座標情報を算出し、上記
切削部分を工具の回転の中心軸と直交する平面に投影し
た切削部分の断面(以下、“切削断面”という)を算出
して、上記切削断面が共通な要素毎に、上記切削部分の
ボクシング領域を分割する。切削部分要素記憶部7は、
上記切断部分情報算出部6で分割された切削断面の各要
素毎の座標情報を記憶し、この各切削断面の座標情報SE
1が第1面図生成部8に出力されると、第1面図生成部
8は、上記切削部分の境界点の計算やV-RAM情報の演算
により、当該切削部分を工具の回転の中心軸と平行な平
面に投影した図(以下、“第1面図”という)を作成し
て、この第1面図の座標情報FPを作業用V-RAM9及び記憶
用V-RAM16に出力する。そこで、この座標情報FPは上記
各要素毎に独立した座標情報として記憶用V-RAM16に記
憶され、一方、作業用V-RAM9に出力された第1面図の座
標情報は、V-RAM情報転送部10により座標情報RAM1とし
て表示用V-RAM11に転送されると共に、行列情報生成部1
2に出力される。行列情報生成部12は作業用V-RAM9にお
いて生成された第1面図の全ての行または全ての列の論
理和を演算し、第2面図の行または列の情報を生成し、
この行列情報GYを第2面図生成部13に出力する。Then, the boxing area information of the material shape registered in the material shape registering section 3 and the coordinate information of the boxing area of the tool passing area generated in the tool passing area information generating section 5 are input to the cutting portion information calculating section 6. Then, the cutting portion information calculating unit 6 calculates the coordinate information of the common portion of the boxing area of the material shape and the boxing area of the tool passing area, that is, the boxing area of the cutting portion, A cross section of the cut portion projected on a plane orthogonal to the central axis (hereinafter referred to as “cut section”) is calculated, and the boxing region of the cut portion is divided for each element having the common cut section. The cutting partial element storage unit 7
Coordinate information for each element of the cutting cross section divided by the cutting portion information calculating unit 6 is stored, and coordinate information SE of each cutting cross section is stored.
When 1 is output to the first drawing generator 8, the first drawing generator 8 calculates the boundary point of the cutting portion and calculates the V-RAM information so that the cutting portion is the center of rotation of the tool. A diagram projected on a plane parallel to the axis (hereinafter referred to as “first plan view”) is created, and the coordinate information FP of this first plan view is output to the working V-RAM 9 and the storage V-RAM 16. Therefore, the coordinate information FP is stored in the storage V-RAM 16 as independent coordinate information for each element, while the coordinate information of the first view output to the working V-RAM 9 is the V-RAM information. The transfer information is transferred to the display V-RAM 11 as the coordinate information RAM 1 by the transfer unit 10, and the matrix information generation unit 1
Output to 2. The matrix information generation unit 12 calculates the logical sum of all rows or all columns of the first view generated in the working V-RAM 9 to generate information of the rows or columns of the second view,
This matrix information GY is output to the second plan generation unit 13.
一方、切削部の表示に回転等の操作を加えてグラフィッ
ク視方向を変換する画像データ制御部15から交換情報GC
が上記記憶用V-RAM16に出力されると、画像データ転送
制御部17は上記記憶用V-RAM16に記憶された上記第1面
図の座標情報のうち必要な切削部分の情報を、上記作業
用V-RAM9に転送すると共に、上記描画情報記憶部14に記
憶されている描画情報P3のうち、必要な描画情報CCを上
記作業用V-RAM9及び第2面図生成部13に転送する。On the other hand, from the image data control unit 15 that converts the viewing direction of the graphic by adding an operation such as rotation to the display of the cutting unit, the exchange information GC
Is output to the V-RAM 16 for storage, the image data transfer control unit 17 converts the necessary cutting portion information out of the coordinate information of the first view stored in the V-RAM 16 for storage into the work information. The necessary drawing information CC of the drawing information P3 stored in the drawing information storage unit 14 is transferred to the working V-RAM 9 and the second surface drawing generating unit 13 while being transferred to the working V-RAM 9.
また、上記パラメータ解釈部4から出力されたパラメー
タ種類P2と、上記行列情報GY,座標情報SE2及び描画情報
CCを入力した第2面図生成部13は、生成された行または
列の情報と分割された切削部分の座標情報とから第2面
図の座標情報RAM2を求め、この座標情報RAM2を表示用V-
RAM11に伝送する。Also, the parameter type P2 output from the parameter interpretation unit 4, the matrix information GY, the coordinate information SE2, and the drawing information.
The second plan generation unit 13 that has input the CC obtains the coordinate information RAM2 of the second plan from the generated row or column information and the coordinate information of the divided cutting portion, and displays this coordinate information RAM2 for display. V-
Transmit to RAM11.
以上のように、第1面図座標情報RAM1,第2面図座標情
報RAM2及び塗りつぶし情報BLKは共に表示用V-RAM11に入
力され、表示情報に交換されてから画像表示装置18に入
力されて画像表示される。As described above, the first view coordinate information RAM1, the second view coordinate information RAM2, and the fill information BLK are all input to the display V-RAM11, exchanged for display information, and then input to the image display device 18. Image is displayed.
このような構成において、本発明の動作を第2図のフロ
ーチャートを参照して説明する。With such a configuration, the operation of the present invention will be described with reference to the flowchart of FIG.
このフローチャートは切削部分の表示のコマンドに関し
て示したもので、まず工具通過領域情報生成部5におい
て、工具通過領域のボクシング領域の座標情報を算出す
る(ステップS1)。次に、切削部分情報算出部6におい
て、切削部分のボクシング領域の座標情報を算出し、更
にこのボクシング領域を細部に分割する(ステップS
2)。ここでは、工具の回転の中心軸と直交する平面に
投影した“切削断面”を算出して、上記切削断面が共通
な要素毎に、上記切削部分のボクシング領域を分割す
る。そして次に、切削部分要素記憶部7において、上記
ステップS2において分割された切削部分のボクシング領
域の各要素D1,D2,…DMの座標情報を記憶し(ステップS
3)、これら各要素D1,D2,…,DMの座標情報を以下のよう
にして1要素ずつ表示用信号に変換して行く(ステップ
S4,S5〜S10)。すなわち、第1面図生成部8において、
切削部分の境界点の計算やV-RAM情報の演算により、作
業用V-RMA9に各要素Dj(j=1,2…,M)の第1面図を生
成すると共に、記憶用V-RAM16に各要素Dj(j=1,2…,
M)毎に独立した画像情報として記憶する(ステップS
6)。次に、作業用V-RAM9から表示用V-RAM11にV-RAM情
報転送部10を介して各要素Djの第1面図を送ることによ
り、表示するための第1面図が生成される(ステップS
7)。そして、行列情報生成部12において、各要素Djの
第1面図の全ての行又は全ての列の論理和を演算し、各
要素Djの第2面図の行または列の情報を生成する(ステ
ップS8)。次に、第2面図生成部13において、行又は列
の情報及び各要素Djの座標情報から第2面図の座標情報
を求め、表示用V-RAM11に生成する(ステップS9)。This flowchart shows the command for displaying the cut portion. First, the tool passage area information generation unit 5 calculates the coordinate information of the boxing area of the tool passage area (step S1). Next, the cutting portion information calculation unit 6 calculates the coordinate information of the boxing area of the cutting portion, and further divides this boxing area into details (step S
2). Here, a "cutting section" projected on a plane orthogonal to the central axis of rotation of the tool is calculated, and the boxing area of the cutting portion is divided for each element having the same cutting section. Then, in the cutting portion element storage unit 7, the coordinate information of each element D 1 , D 2 , ..., D M of the boxing area of the cutting portion divided in step S2 is stored (step S
3), the coordinate information of each of these elements D 1 , D 2 , ..., D M is converted into a display signal one by one as follows (step
S4, S5 ~ S10). That is, in the first plan generation unit 8,
By calculating the boundary points of the cutting part and calculating the V-RAM information, the first view of each element Dj (j = 1, 2, ..., M) is generated in the working V-RMA 9 and the storage V-RAM 16 Each element Dj (j = 1,2 ...,
Each M) is stored as independent image information (step S
6). Next, the first front view for display is generated by sending the first front view of each element Dj from the working V-RAM 9 to the display V-RAM 11 via the V-RAM information transfer unit 10. (Step S
7). Then, in the matrix information generation unit 12, the logical sum of all rows or all columns of the first view of each element Dj is calculated to generate the information of the row or column of the second view of each element Dj ( Step S8). Next, the second surface drawing generation unit 13 obtains the coordinate information of the second surface drawing from the row or column information and the coordinate information of each element Dj, and generates it in the display V-RAM 11 (step S9).
このようにして、第1面図及び第2面図の座標情報RAM
1,RAM2が表示用V-RAM11に生成されたので、これら情報
と素材表示部2から出力される塗りつぶし情報BLKとを
合成することにより、画像表示装置18に切削状態が実時
間でシミュレーション表示されるのである。In this way, the coordinate information RAM for the first and second views
Since 1 and RAM2 are generated in the display V-RAM11, the cutting state is simulated and displayed on the image display device 18 in real time by synthesizing these information and the fill information BLK output from the material display unit 2. It is.
第3図〜第21図は、素材及び工具通過領域の関係につい
て、第2図のフローチャートにしたがって切削部分が表
示される様子を示している。第3図は素材MAT及び工具
通過領域AREA1の関係を示しており、第4図はステップS
1において算出された工具通過領域のボクシング領域ARE
A2を示している。そして、ステップS2において切削部分
のボクシング領域AREA3をD1,D2,D3の3つの要素に分割
した様子を、第5図に示す。第6図に示すように、ステ
ップS3において、上記3つの要素D1,D2,D3がそれぞれ独
立した1つの要素としてその座標情報が記憶され、各要
素について表示されていく。ここで、上記ステップS4に
おいて、j=1とすると、j=1≦3(=M)であるか
ら、ステップS5においてステップS6に分岐する。FIGS. 3 to 21 show how the cut portion is displayed according to the flowchart of FIG. 2 regarding the relationship between the material and the tool passage area. Fig. 3 shows the relationship between the material MAT and the tool passage area AREA1, and Fig. 4 shows step S.
Boxing area ARE of tool passage area calculated in 1
A2 is shown. FIG. 5 shows a state in which the boxing area AREA3 of the cutting portion is divided into three elements D 1 , D 2 and D 3 in step S2. As shown in FIG. 6, in step S3, the coordinate information is stored as one independent element for each of the three elements D 1 , D 2 , and D 3 and displayed for each element. Here, if j = 1 in the step S4, then j = 1 ≦ 3 (= M), so that the process branches to step S6 in step S5.
第7図は要素D1について示すもので、ステップS6におけ
る作業用V-RAM9及び記憶用V-RAM16に生成及び記憶され
た要素D1における第1面図を示し、第8図はステップS7
において転送されて表示用V-RAM11に生成された第1面
図を示す。なお、第8図で示される第2面図は、素材形
状の情報だけを表示している。そこで、要素D1の第2面
図として行情報は第9図に示すようなものとなり、第10
図はステップS9で得られる表示用V-RAM11に生成された
第1面図及び第2面図を示している。Figure 7 is shows the elements D 1, shows a first side view in the generation and the stored elements D 1 to the working V-RAM 9 and stored for V-RAM 16 in step S6, FIG. 8 is the step S7
FIG. 7 shows a first view transferred in step S4 and generated in the display V-RAM 11. The second view shown in FIG. 8 displays only the material shape information. Therefore, the line information for the second view of element D 1 is as shown in FIG.
The figure shows the first and second views generated in the display V-RAM 11 obtained in step S9.
ここで、ステップS10において、j=2とするj=2≦
3(=M)であるから、ステップS5においてステップS6
に分岐する。Here, in step S10, j = 2 and j = 2 ≦
3 (= M), so in step S5, step S6
Branch to.
同様にして、要素D2について行なうと、作業用V-RAM9及
び記憶用V-RAM16に生成された第1面図は第11図に示す
ものとなり、表示用V-RAM11に生成された要素D1及びD2
における第1面図及び第2面図は第14図に示すものとな
る。ここで、第12図は上記第8図に相当するものであ
り、作業用V-RAM9及び記憶用V-RAM16に生成された要素D
2についての第1面図を表示用V-RAM11に転送した図であ
る。また、第13図は上記第9図に相当するものであり、
要素D2についての第2面図としての行情報を示す。ステ
ップS10において、j=3とするとj=3≦3(=M)
であるから、ステップS5においてテップS6に分岐する。
同様に、要素D3についても第15図〜第18図に示すような
情報生成が行なわれることにより、最終的に第18図に示
すように、第1面図座標情報RAM1,第2面図座標情報RAM
2及び塗りつぶし情報BKLがそれぞれ表示用V-RAM11に生
成されるのである。なお、ステップS10において、j=
4とするとj=4>3(=M)であるから、ステップS5
において終了に分岐する。Similarly, for element D 2 , the first view generated in the working V-RAM 9 and the storage V-RAM 16 is as shown in FIG. 11, and the element D generated in the display V-RAM 11 is shown. 1 and D 2
The first and second views in FIG. 14 are as shown in FIG. Here, FIG. 12 corresponds to FIG. 8 and the element D generated in the working V-RAM 9 and the storage V-RAM 16
It is the figure which transferred the 1st surface view about 2 to V-RAM11 for a display. Also, FIG. 13 corresponds to FIG. 9 above,
The line information as the second view of the element D 2 is shown. If j = 3 in step S10, j = 3 ≦ 3 (= M)
Therefore, in step S5, the process branches to step S6.
Similarly, for the element D 3 , information generation as shown in FIGS. 15 to 18 is performed, so that finally, as shown in FIG. 18, the first view coordinate information RAM 1 and the second view Coordinate information RAM
2 and the fill information BKL are respectively generated in the display V-RAM 11. In step S10, j =
If j is 4, j = 4> 3 (= M), so step S5
Branches to end at.
ところで、このようにして第1面図の座標情報が算出さ
れ、また、この第1面図の座標情報に基づいて第2面図
の座標情報が表示用V-RAM11に生成されて、画像表示装
置18に一視方向からの表示が行なわれると共に、これら
各要素の座標情報は記憶用V-RAM16に記憶されているの
で、当該表示を視た作業者が、さらにその詳細を確認す
るために当該表示のグラフィック視方向を変換したい場
合は、以下のようにすれば、再度上述のような加工シミ
ュレートをやり直さなくとも、上記ステップS6〜S9に従
って容易にその視方向で変換できるようになる。By the way, the coordinate information of the first plan is calculated in this way, and the coordinate information of the second plan is generated in the display V-RAM 11 based on the coordinate information of the first plan to display the image. While the display from the one-view direction is performed on the device 18, the coordinate information of each of these elements is stored in the storage V-RAM 16, so that the operator viewing the display can further confirm the details. When it is desired to change the graphic view direction of the display, the view direction can be easily changed according to the above steps S6 to S9 without performing the above-described processing simulation again by performing the following.
すなわち、上記第5図に示すように切削部分のボクシン
グ領域AREA3はD1,D2,D3の3つの要素に分割され、第19
図に示すように、上記3つの要素D1,D2,D3がそれぞれ1
つの要素として記憶用V-RAM16に記憶されている。そこ
で、例えばこのうち要素D2を回転させ、そのグラフィッ
ク視方向を変換して表示したい場合は、作業者が例えば
操作盤(図示せず)等を操作して画像データ制御部15か
ら変換情報GCを上記記憶用V-RAM16に出力させると、画
像データ転送制御部17は上記記憶用V-RAM16に記憶され
た上記第1面図の座標情報のうち必要な切削部分の情報
を上記作業用V-RAM9に転送し、第20図に示すように、上
記要素D2の第1面図を回転させて生成すると共に、当該
回転された第1面図の行情報を行列情報生成部13に転送
して、第20図に示すように第2面図の行情報GYを構築
し、第2面図生成部13に転送する。そこで、第2面図生
成部13において、上記行情報GY,要素D2の高さ情報及び
情報描画情報記憶部14に記憶されている描画情報CC等に
より、第20図に示すように当該回転された要素D2の第2
面図を生成する。そして、表示用V-RAM11において、当
該回転された要素2の第1面図及び第2面図に、上記素
材形状と切削部分を重ねて生成し、第21図に示すよう
に、所望するグラフィック視方向を変換した表示がなさ
れるようになる。That is, as shown in FIG. 5, the boxing area AREA3 of the cutting portion is divided into three elements D 1 , D 2 and D 3 ,
As shown in the figure, each of the three elements D 1 , D 2 , D 3 is 1
It is stored in the memory V-RAM 16 as one element. Therefore, for example, when the element D 2 is rotated and the graphic viewing direction is to be converted and displayed, for example, the operator operates an operation panel (not shown) or the like to convert the conversion information GC from the image data control unit 15. When the image data is transferred to the storage V-RAM 16, the image data transfer control unit 17 outputs the necessary cutting portion information out of the coordinate information of the first plan stored in the storage V-RAM 16 to the work V-RAM 16. -Transfer to RAM9, and as shown in FIG. 20, rotate and generate the first view of the element D 2 and transfer the rotated row information of the first view to the matrix information generation unit 13. Then, as shown in FIG. 20, the line information GY of the second surface drawing is constructed and transferred to the second surface drawing generating unit 13. Therefore, in the second plan generation unit 13, as shown in FIG. 20, the line information GY, the height information of the element D 2 and the drawing information CC stored in the information drawing information storage unit 14 The second of the rendered elements D 2
Generate a floor plan. Then, in the display V-RAM 11, the material shape and the cut portion are overlapped and generated on the first and second front views of the rotated element 2 , and a desired graphic is generated as shown in FIG. A display in which the viewing direction is changed is displayed.
なお、ここでは要素D2を回転させてそのグラフィック視
方向を一度変換する例を示したが、同様の操作を繰返す
ことにより、さらにその視方向を変換することもでき
る。また、他の要素D1,D3はもちろん、これら要素を複
数組合せた表示についても適用できることは明らかであ
る。さらに、ここでは第1面図及び第2面図の2面図の
表示について説明したが、同様にして3面図以上の複数
面図についても適用できることは明らかである。Although the example in which the element D 2 is rotated to convert the graphic viewing direction once is shown here, the viewing direction can be further converted by repeating the same operation. Further, it is obvious that the present invention can be applied not only to the other elements D 1 and D 3 but also to a display in which a plurality of these elements are combined. Further, although the display of the two views of the first view and the second view has been described here, it is obvious that the same can be applied to a plurality of views of three or more views.
(発明の効果) 以上のように本発明方法によれば、第2面図またはそれ
以上の複数面図を生成するのに、切削部分の境界点等の
複雑な計算をする必要がなく、V-RAMの単純な演算だけ
で済むため、ソフトウエアの容量は小さくてよく、且つ
処理時間を短縮でき、また加工シミュレートを実時間で
行なうことも可能となる。さらに、素材を一度加工シミ
ュレートしたら、その座標情報が記憶されているので、
当該素材については、簡単な操作で他方向から視た加工
後の様子を容易に表示でき、再度加工シミュレートし直
す無駄時間がなく、また、特定の高さのみの加工後の様
子をも表示することができるようになる。(Effect of the invention) As described above, according to the method of the present invention, it is not necessary to perform complicated calculation such as the boundary point of the cut portion in order to generate the second or more plural views, and -Since only a simple calculation of RAM is required, the software capacity can be small, the processing time can be shortened, and the machining simulation can be performed in real time. Furthermore, once the material has been processed and simulated, its coordinate information is stored.
With regard to the material, it is possible to easily display the state after processing viewed from another direction with simple operation, there is no dead time to re-simulate processing, and the state after processing at a specific height is also displayed. You will be able to.
第1図は本発明方法を実現する装置の一実施例を示すブ
ロック構成図、第2図は本発明の動作例を説明するため
のフローチャート、第3図〜第21図はそれぞれこのフロ
ーチャートに従って表示される素材及び工具通過領域の
関係を示す図である。 1……コマンド解釈部、2……素材表示部、3……素材
形状登録部、4……パラメータ解釈部、5……工具通過
領域情報生成部、6……切削部分情報算出部、7……切
削部分要素記憶部、8……第1図面生成部、9……作業
用V-RAM、10……V-RAM情報転送部、11……表示用V-RA
M、12……行列情報生成部、13……第2面図生成部、14
……描画情報記憶部、15……画像データ制御部、16……
記憶用V-RAM、17……画像データ転送制御部、18……画
像表示装置。FIG. 1 is a block diagram showing an embodiment of an apparatus for implementing the method of the present invention, FIG. 2 is a flow chart for explaining an operation example of the present invention, and FIGS. 3 to 21 are displayed according to this flow chart. It is a figure which shows the relationship of the material and tool passage area | region which are made. 1 ... Command interpretation unit, 2 ... Material display unit, 3 ... Material shape registration unit, 4 ... Parameter interpretation unit, 5 ... Tool passage area information generation unit, 6 ... Cutting part information calculation unit, 7 ... … Cutting partial element memory, 8 …… first drawing generator, 9 …… work V-RAM, 10 …… V-RAM information transfer unit, 11 …… display V-RA
M, 12 ... Matrix information generating unit, 13 ... Second view generating unit, 14
...... Drawing information storage unit, 15 …… Image data control unit, 16 ……
V-RAM for storage, 17 ... Image data transfer control unit, 18 ... Image display device.
Claims (1)
数面図に展開して、画像表示装置上に表示するNC用自動
プログラミングにおける素材の切削部表示方法におい
て、素材形状座標情報及び工具通過領域座標情報に基づ
き、第1面図の平面内での切削部形状が異なる毎に第1
面図の垂直軸方向に切削部領域を分割し、前記分割され
た切削部領域の各要素毎の第1面図内の切削部画像情報
と各要素毎の第1面図の垂直軸方向の座標情報を生成す
ると共に、前記切削部領域の各要素毎に当該第1面図内
の切削部画像情報及び当該第1面図の垂直軸方向の座標
情報をそれぞれ記憶しておき、前記記憶された各要素の
うち、1要素又はそれ以上の要素を第1面図内で回転さ
せた後、当該回転された要素の第1面図内の切削部画像
情報を行又は列方向に論理演算した結果と第1面図の垂
直軸方向の座標情報から、第2面図またはそれ以上の複
数面図の座標情報を生成して表示するようにしたことを
特徴とするNC用自動プログラミングにおける素材の切削
部表示方法。1. A method for displaying a cutting portion of a material in NC automatic programming for expanding a cutting portion of the material into a two-view drawing or a plurality of more than one views and displaying the same on an image display device. Based on the tool passing area coordinate information, the first time each time the shape of the cutting portion in the plane of the first plan is different.
The cutting part area is divided in the vertical axis direction of the plan view, and the cutting part image information in the first plan view of each element of the divided cutting part area and the vertical axis direction of the first plan view of each element The coordinate information is generated, and the cutting portion image information in the first plan view and the coordinate information in the vertical axis direction of the first plan view are stored for each element of the cutting section region and stored. After rotating one or more elements among the respective elements in the first view, the cutting portion image information in the first view of the rotated element is logically operated in the row or column direction. From the result and the coordinate information in the vertical axis direction of the first view, the coordinate information of the second view or more multi-views is generated and displayed. How to display the cutting part.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61125180A JPH0697417B2 (en) | 1986-05-30 | 1986-05-30 | Display method of cutting part of material in automatic programming for NC |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61125180A JPH0697417B2 (en) | 1986-05-30 | 1986-05-30 | Display method of cutting part of material in automatic programming for NC |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62281013A JPS62281013A (en) | 1987-12-05 |
| JPH0697417B2 true JPH0697417B2 (en) | 1994-11-30 |
Family
ID=14903876
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61125180A Expired - Lifetime JPH0697417B2 (en) | 1986-05-30 | 1986-05-30 | Display method of cutting part of material in automatic programming for NC |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0697417B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE3888188D1 (en) * | 1988-12-06 | 1994-04-07 | Heidenhain Gmbh Dr Johannes | Method for simulating the machining of a workpiece and displaying the same, and device for carrying out the method. |
| JP2634911B2 (en) * | 1989-08-15 | 1997-07-30 | オ−クマ株式会社 | Digitized data processing device |
| JP2787868B2 (en) * | 1992-03-27 | 1998-08-20 | 三菱電機株式会社 | Numerical controller |
| JPH0695725A (en) * | 1992-09-16 | 1994-04-08 | Fanuc Ltd | Animation drawing system for nc working program |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59123010A (en) * | 1982-12-29 | 1984-07-16 | Fanuc Ltd | Screen control system for numerical controller |
| JPS6130360A (en) * | 1984-07-23 | 1986-02-12 | Yamazaki Mazak Corp | Indication control for workpiece picture in nc apparatus |
-
1986
- 1986-05-30 JP JP61125180A patent/JPH0697417B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62281013A (en) | 1987-12-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4791579A (en) | Process and apparatus for graphically representing a variable structure in perspective | |
| EP0421818A2 (en) | Interactive computer graphics system for making precise drawings | |
| JPH0697417B2 (en) | Display method of cutting part of material in automatic programming for NC | |
| JP3165780B2 (en) | 3D model information retrieval system | |
| JPH02236704A (en) | Motion simulation system | |
| JPH0611457B2 (en) | Display method of cutting part of material in automatic programming for NC | |
| JPH0250507B2 (en) | ||
| JP3129059B2 (en) | Computer embedded product development method and device | |
| JP2713582B2 (en) | Plot editor | |
| JP3441804B2 (en) | Image processing apparatus and method | |
| JP2701056B2 (en) | Secondary representation method for three-dimensional objects | |
| JP2787868B2 (en) | Numerical controller | |
| JPH03175588A (en) | Viewpoint rotating system | |
| JPH0816935B2 (en) | Wave image generation method | |
| JPH08106550A (en) | Projection drawing device | |
| JP2964778B2 (en) | Graphic data processing device | |
| JP3848717B2 (en) | 3D model generation system | |
| GB2169779A (en) | Depicting a three-dimensional object | |
| JPH02254492A (en) | Graphic display device | |
| JPS6340967A (en) | Plane input device | |
| JPH07175944A (en) | 3D model placement method | |
| JP3092779B2 (en) | Graphic processing method and apparatus | |
| JPS6180363A (en) | Teaching method for automatically controlled work equipment | |
| JPS60191370A (en) | Data base production for visual range simulator | |
| JPS5824956A (en) | Graphic processing device |