JPH03221278A - Method for designing bridge in laser beam machining and device for supporting design thereof - Google Patents

Method for designing bridge in laser beam machining and device for supporting design thereof

Info

Publication number
JPH03221278A
JPH03221278A JP2013577A JP1357790A JPH03221278A JP H03221278 A JPH03221278 A JP H03221278A JP 2013577 A JP2013577 A JP 2013577A JP 1357790 A JP1357790 A JP 1357790A JP H03221278 A JPH03221278 A JP H03221278A
Authority
JP
Japan
Prior art keywords
bridge
line segment
laser processing
design
parameter
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
JP2013577A
Other languages
Japanese (ja)
Inventor
Shigetaka Kobayashi
栄貴 小林
Toru Inamasu
稲益 亨
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.)
Amada Co Ltd
Original Assignee
Amada Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Amada Co Ltd filed Critical Amada Co Ltd
Priority to JP2013577A priority Critical patent/JPH03221278A/en
Publication of JPH03221278A publication Critical patent/JPH03221278A/en
Pending legal-status Critical Current

Links

Landscapes

  • Laser Beam Processing (AREA)

Abstract

PURPOSE:To easily and quickly execute design of a bridge by assigning bridge setting direction to a line segment assigning direction. CONSTITUTION:A device for supporting the design of bridge provides a storing means 8 for storing bridge width W as parameter, a storing means 1 for storing machining shape data for laser beam machining, a displaying means 3 for displaying product graphic as the base stored in the above storing means 1, an inputting means 6 for assigning any one direction among three ways of bridge setting directions at right, left and middle parts to two point coordinates Pi, Pj and the line segment (l) for regulating the line segment (l) in order to design the bridge at between the products displayed on the displaying means 3 and an arithmetic means 7 for calculating the bridge having the width W stored in a bridge parameter stored part at between the products passing the line segment based on the two point coordinate and the bridge setting direction inputted from the inputting means 6.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、レーザ加工により切断される製品間に両製品
が分離されるのを防止するための比較的幅の狭いブリッ
ジを設計するレーザ加工におけるブリッジ設計方法及び
その設計支援装置に関し、特にブリッジの設計を容易、
迅速に行えるようにしたものである。
DETAILED DESCRIPTION OF THE INVENTION [Object of the invention] (Industrial application field) The present invention provides a relatively narrow bridge between products to be cut by laser processing to prevent the products from being separated. Regarding the bridge design method and its design support device in laser processing for designing, especially the ease of bridge design,
It is designed to be done quickly.

(従来の技術) 打抜き文字板や看板文字等をレーザ加工する場合には、
文字構成要素としての製品部分が他の製品部分に対して
分離されないよう、製品間をブリッジで結合する必要が
ある。
(Conventional technology) When laser processing punched dials, signboard characters, etc.
It is necessary to connect the products with a bridge so that the product parts as character components are not separated from other product parts.

従来、この種のブリッジの設計は加工形状を示す図面上
で指定されなければならず、その作成に多くの手間と時
間を要していた。
Conventionally, the design of this type of bridge had to be specified on a drawing showing the processed shape, which required a lot of effort and time to create.

すなわち、製品となる加工形状を、ブリッジを架ける位
置で切り離し、ここに新たにブリッジを書き込まなけれ
ばならなかった。
In other words, it was necessary to cut out the processed shape that would become the product at the position where the bridge was to be placed, and write a new bridge there.

または、イメージスキャナで読み込まれた図面を設計支
援装置(CAD)で処理する場合には、加工形状を表示
した上で、製品とブリッジとの間の4交点を指定し、製
品のブリッジ当接部分の線分をブリッジ幅だけ削除して
おかなければならなかった。
Alternatively, when processing drawings read in with an image scanner using a design support device (CAD), display the machining shape, specify the four intersection points between the product and the bridge, and I had to delete the line segment by the width of the bridge.

このようにしてCADにて設計された図面はCAMに送
られ、NCプログラムとされてレーザ加工機の制御装置
(NC装置)に提供される。
The drawings designed in CAD in this manner are sent to CAM, and provided as an NC program to the control device (NC device) of the laser processing machine.

(発明が解決しようとする課題) しかしながら、上記の如き従来よりのブリッジ設計方法
では、図面にブリッジを書き込んでおく方式にあっては
図面の前処理が大変であり、イメージスキャナ等で読み
込んだ加工形状データをCADで処理するとしてもその
後処理が大変であるという問題点があった。
(Problem to be Solved by the Invention) However, in the conventional bridge design method as described above, the preprocessing of the drawing is difficult in the method of writing the bridge on the drawing, and the Even if the shape data were processed using CAD, there was a problem in that subsequent processing was difficult.

そこで、本発明は、打抜文字板や看板文字等、製品間に
ブリッジを設計するレーザ加工において、ブリッジ部分
を容易、迅速に設計することがてきるレーザ加工におけ
るブリッジ設計方法及び設計支援装置を提供することを
目的とする。
Therefore, the present invention provides a bridge design method and design support device for laser processing, which allows bridge parts to be easily and quickly designed in laser processing for designing bridges between products such as punched dials and signboard characters. The purpose is to provide.

[発明の構成] (課題を解決するための手段) 上記課題を解決する本発明は、レーザ加工によって切断
される製品間に分離防止のための比較的幅の狭いブリッ
ジを設計するレーザ加工におけるブリッジ設計方法にお
いて、 方向の指定された一線分とこの線分に対する左右及び中
央の3通りのブリッジ設定方向の指定により指定の線分
に対し指定のブリッジ設定方向に所定の幅でブリッジ設
定することを規約とし、前記ブリッジの所定の幅を予め
パラメータ設定し、 前記線分及び前記ブリッジ設定方向の入力により、前記
ブリッジを自動的に設計することを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) The present invention for solving the above problems is a bridge in laser processing that designs a relatively narrow bridge to prevent separation between products cut by laser processing. In the design method, by specifying a line segment with a specified direction and three bridge setting directions for this line segment: left, right, and center, it is possible to set a bridge with a predetermined width in the specified bridge setting direction for the specified line segment. The present invention is characterized in that a predetermined width of the bridge is set as a parameter in advance as a rule, and the bridge is automatically designed by inputting the line segment and the bridge setting direction.

また、前記線分は、2点の座標入力で規定され、その方
向は先に入力された点から後に入力された点を結ぶ方向
とされることを特徴とする。
Further, the line segment is defined by inputting the coordinates of two points, and its direction is a direction connecting a point inputted first to a point inputted later.

さらに、レーザ加工により切断される製品間に分離防止
のための比較的幅の狭いブリッジを含めて加工形状を設
計するレーザ加工における加工形状の設計支援装置にお
いて、 ブリッジ幅をパラメータとして記憶するブリッジパラメ
ータ記憶手段と、 レーザ加工の加工形状データを記憶する形状データ記憶
手段と、 前記記憶手段に記憶された基本となる製品図形を表示す
る表示手段と、 前記表示手段に表示された製品間にブリッジを設計する
ための線分を規定するための2点座標と、前記線分に対
し左右及び中央の3通りのブリッジ設定方向のうちいず
れか一つの方向を指定する入力手段と、 前記入力手段から入力された2点座標及びブリッジ設定
方向に基いて、前記線分の通る製品間に前記ブリッジパ
ラメータ記憶部に記憶された幅のブリッジを演算する演
算手段を備えたことを特徴とする。
Furthermore, in a laser processing processing shape design support device that designs a processing shape including a relatively narrow bridge to prevent separation between products to be cut by laser processing, a bridge parameter that stores the bridge width as a parameter is used. A storage means, a shape data storage means for storing processing shape data for laser processing, a display means for displaying a basic product figure stored in the storage means, and a bridge between the products displayed on the display means. input means for specifying two-point coordinates for defining a line segment for design and one of three bridge setting directions, left, right, and center with respect to the line segment; input from the input means; The present invention is characterized by comprising a calculation means for calculating a bridge having a width stored in the bridge parameter storage unit between products passing through the line segment based on the two-point coordinates and the bridge setting direction.

(作用) 本発明のレーザ加工におけるブリッジ設計方法及びその
支援装置では、方向指定された線分に対する設定方向の
指定によりブリッジを自動的に設計することができる。
(Function) In the bridge design method in laser machining and its support device of the present invention, a bridge can be automatically designed by specifying a setting direction for a line segment whose direction has been specified.

この場合、線分を順次入力される2点座標を結ぶ線分と
すれば、2点入力と設定方向の入力のみて容易、迅速に
ブリッジを設計することができる。
In this case, if the line segment is a line segment that connects the coordinates of two points input sequentially, the bridge can be designed easily and quickly by inputting only two points and a setting direction.

(実施例) 第1図を参照するに、本例のレーザ加工形状の設:)支
援装置は、イメージスキャナ等の図面入力装置から入力
されたレーザ加工形状データをベクトルデータとして記
憶する記憶部1を備えている。
(Example) Referring to FIG. 1, the support device includes a storage unit 1 that stores laser processing shape data inputted from a drawing input device such as an image scanner as vector data. It is equipped with

前記記憶部1は、データ処理部2と接続され、この処理
部2には、表示装置3と、キーボード4及びマウス5を
備えた入力装置6と、ブリッジ演算部7が接続されてい
る。ブリッジ演算部7には、ブリッジパラメータ記憶部
8が接続されている。
The storage section 1 is connected to a data processing section 2, and to this processing section 2, a display device 3, an input device 6 including a keyboard 4 and a mouse 5, and a bridge calculation section 7 are connected. A bridge parameter storage section 8 is connected to the bridge calculation section 7 .

表示装置3は、レーザ加工形状を表示するためのもので
ある。入力装置6は、キーボード4及びマウス5の操作
に基いて、座標値や方向を指定するためのものである。
The display device 3 is for displaying the laser-processed shape. The input device 6 is for specifying coordinate values and directions based on operations on the keyboard 4 and mouse 5.

また、ブリッジパラメータ記憶部8には、これから設計
すべきブリッジにつき、その幅寸法がパラメータ設定さ
れる。データ処理部2は、接続部材とデータ交信し、所
要の部材に所要のデータを検索し提供するものである。
Further, in the bridge parameter storage section 8, the width dimension of a bridge to be designed from now on is set as a parameter. The data processing section 2 communicates data with the connecting members and searches for and provides required data to the required members.

ブリッジ演算部7は、入力装置6より入力されたデータ
をレーザ加工形状記憶部1が記憶する形状データに適用
し、ブリッジパラメータ記憶部8で指定される幅のブリ
ッジを自動的に設計するものである。
The bridge calculation unit 7 applies the data input from the input device 6 to the shape data stored in the laser processing shape memory unit 1, and automatically designs a bridge having the width specified in the bridge parameter storage unit 8. be.

第2図において、ステップ201でブリッジ幅Wのパラ
メータを設定し、まだブリッジが設定されていない基本
図形を表示し、ステップ203でブリッジ設計条件を指
定すると、ステップ204で具体的なブリッジが演算さ
れ、ステップ205てブリッジを追加した図形が記憶さ
れる。
In FIG. 2, in step 201, the parameter of the bridge width W is set, a basic figure for which no bridge has been set is displayed, and the bridge design conditions are specified in step 203, and a concrete bridge is calculated in step 204. , step 205, the figure to which the bridge has been added is stored.

具体例を示すと、第3図に示す製品図形において、ステ
ップ203で製品間を結ぶ線分の始点Pi  (PH、
P3.P5.P7.P9.pH)及び終点Pj (P2
 、P4.Pa 、Pa 、PIO,PH2)を入力し
、線分に対しブリッジ設定方向(左、右。
To give a specific example, in the product figure shown in FIG. 3, in step 203, the starting point Pi (PH,
P3. P5. P7. P9. pH) and end point Pj (P2
, P4. Pa, Pa, PIO, PH2) are input, and the bridge setting direction (left, right) is input for the line segment.

中央)を入力すると、ステップ204でブリッジ演算部
7は第4図に示す方式でブリッジを演算する。
(center) is input, the bridge calculation unit 7 calculates a bridge in step 204 using the method shown in FIG.

なお、第3図(a)に示す製品は、漢字の「回」、第3
図(b)に示す製品は、ひらがなの「す」を看板文字と
してレーザ加工する例である。本例では、「回」の文字
を構成する内側部及び外側部、並びに「す」の文字を構
成する相互に離れた部分を、共に「製品」と呼ぶ。
The product shown in Figure 3(a) has the kanji ``kai'', the third
The product shown in Figure (b) is an example in which the hiragana "su" is laser-processed as a signboard character. In this example, the inner and outer parts that make up the character "kai" and the mutually separated parts that make up the character "su" are both referred to as "products."

第4図において、ブリッジ指定の入力が、始点Pi及び
終点Pjを通り、始点Piから終点Pjに向く線分吏が
指定され、左(右)と設定方向が指定されている場合に
は、指定の線分丈と、この線分更に対し指定の設定方向
にパラメータで定められる幅Wを置いて直線吏゛を設定
し、点Pi及びPjと、この点の近傍の図形と前記直線
!L−との交点を求めて、第5図(b)に示すようにブ
リッジ9L、PRを演算する。添字のLは線分吏の左側
に設定されたことを、Rは右側に設定されたことを示す
In Figure 4, when the bridge designation input specifies a line passing through the starting point Pi and ending point Pj, pointing from the starting point Pi to the ending point Pj, and the setting direction is specified as left (right), the specified A straight line is set by setting the length of the line segment and the width W determined by the parameter in the specified setting direction for this line segment, and the points Pi and Pj, the figure in the vicinity of this point, and the straight line! Find the intersection with L-, and calculate the bridges 9L and PR as shown in FIG. 5(b). The subscript L indicates that it is set on the left side of the line segment, and the subscript R indicates that it is set on the right side.

一方、線分更に対しブリッジ設定方向が中央と指定され
た場合には、線分交を中心としてその両側にW/2の幅
を置いて2本の平行な直線吏″が設定され、これらの線
と製品との交点が求められ、第5図(a)に示すように
ブリッジ9Cが演算される。
On the other hand, if the bridge setting direction is specified as the center for the line segment, two parallel straight lines are set with a width of W/2 on both sides centering on the intersection of the line segments, and these The intersection between the line and the product is determined, and a bridge 9C is calculated as shown in FIG. 5(a).

したがって、オペレータは、第3図に示すような形状に
対し入力装置6から第3図に示すような始点Pi及び終
点Pjと、ブリッジ設定方向を選択指定するのみでブリ
ッジ設計することができる。
Therefore, the operator can design a bridge for the shape shown in FIG. 3 by simply selecting and specifying the starting point Pi and ending point Pj as shown in FIG. 3 and the bridge setting direction from the input device 6.

このとき、例えば第3図(C)において、中央部分にブ
リッジを設計したい場合、図形の中心点を指定すればよ
いので、その入力操作が容易である。また、第3図(b
)において、図形の端部にブリッジを設計したい場合、
その端点を指定すればよいのでその入力操作が容易であ
る。
At this time, for example in FIG. 3(C), if it is desired to design a bridge in the central part, it is only necessary to specify the center point of the figure, so the input operation is easy. In addition, Fig. 3 (b
), if you want to design a bridge at the end of the shape,
Since it is only necessary to specify the end point, the input operation is easy.

上記実施例では、線分吏をブリッジの始点Pi及び終点
Pjで定めたが、この点はブリッジの延長線上で設計す
べきブリッジを含む領域を定める点であっても良い。
In the above embodiment, the line segment is defined by the starting point Pi and the ending point Pj of the bridge, but these points may be points that define the area including the bridge to be designed on the extension line of the bridge.

すなわち、第6図に示すように、始点Qi(QQ3.Q
5.Q7)及び終点Qj(Qj、Q4、Q6.Qll)
を定め、この始点Qi及び終点Qi間に含まれる領域に
、製品間を接合するブリッジ9L、9R,9cを演算す
るようにしても良い。
That is, as shown in FIG. 6, starting point Qi (QQ3.Q
5. Q7) and end point Qj (Qj, Q4, Q6.Qll)
may be determined, and the bridges 9L, 9R, and 9c that connect the products may be calculated in the area included between the starting point Qi and the ending point Qi.

この場合、第6図(a)に示すように、複数のブリッジ
を一直線で一気に指定できて便利である。
In this case, as shown in FIG. 6(a), it is convenient to be able to specify a plurality of bridges at once in a straight line.

ただし、この場合でも一直線と交わる他の全ての図形上
に誤ってブリッジを設計することがないように直線指定
ではなく、線分指定することが必要である。
However, even in this case, it is necessary to specify a line segment rather than a straight line in order to avoid accidentally designing a bridge on all other figures that intersect with a straight line.

本発明は、上記実施例に限定されるものではなく、適宜
の設計的変更を行うことにより、適宜の態様で実施し得
るものである。
The present invention is not limited to the above embodiments, but can be implemented in any appropriate manner by making appropriate design changes.

[発明の効果] 以上の通り、本発明のレーザ加工におけるブリッジ設計
方法及びその支援装置によれば、方向指定された線分に
対するブリッジ設定方向の指定によりブリッジを設計す
ることができる。
[Effects of the Invention] As described above, according to the bridge design method in laser processing and its support device of the present invention, a bridge can be designed by specifying a bridge setting direction for a line segment whose direction has been specified.

この場合、線分を順次入力される2点座標を結ぶ線分で
定めれば、特別の線分方向の指定をも省略して2点入力
とブリッジ設定方向の入力のみで容易、迅速にブリッジ
を設計することができる。
In this case, if you define the line segment as a line segment that connects the coordinates of two points that are input sequentially, you can omit the special specification of the line segment direction and easily and quickly bridge the bridge by just inputting the two points and the bridge setting direction. can be designed.

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

第1図は本発明の一実施例に係るレーザ加工形状の設計
支援装置のブロック図、第2図はそのブリッジ設計方式
のフローチャート、第3図(a)。 (b)は製品形状の説明図、第4図(a)、(b)(C
)はブリッジ演算方式の説明図、第5図(a)、(b)
は設計されたブリッジの説明図、第6図(a)、(b)
は線分の他の入力方式を示す説明図である。 、9R,9L、9C・・・設計されたブリッジPi、Q
i・・・線分の始点 Pj、Qj・・・線分の終点
FIG. 1 is a block diagram of a laser processing shape design support apparatus according to an embodiment of the present invention, FIG. 2 is a flowchart of a bridge design method thereof, and FIG. 3(a). (b) is an explanatory diagram of the product shape, Fig. 4 (a), (b) (C
) are explanatory diagrams of the bridge calculation method, Figures 5(a) and (b)
are explanatory diagrams of the designed bridge, Figures 6(a) and (b)
is an explanatory diagram showing another input method for line segments. , 9R, 9L, 9C...Designed bridge Pi, Q
i...Start point of line segment Pj, Qj...End point of line segment

Claims (3)

【特許請求の範囲】[Claims] (1)レーザ加工によって切断される製品間に分離防止
のための比較的幅の狭いブリッジを設計するレーザ加工
におけるブリッジ設計方法において、方向の指定された
一線分とこの線分に対する左右及び中央の3通りのブリ
ッジ設定方向の指定により指定の線分に対し指定のブリ
ッジ設定方向に所定の幅のブリッジを設定することを規
約とし、前記ブリッジの所定の幅を予めパラメータ設定
し、 前記線分及び前記ブリッジ設定方向の入力により、前記
ブリッジを自動的に設計することを特徴とするレーザ加
工におけるブリッジ設計方法。
(1) In the bridge design method for laser processing, in which a relatively narrow bridge is designed to prevent separation between the products to be cut by laser processing, a line segment with a specified direction and the left, right, and center It is a rule that a bridge of a predetermined width is set in a specified bridge setting direction for a specified line segment by specifying three types of bridge setting directions, and the predetermined width of the bridge is set as a parameter in advance, and the line segment and A bridge designing method in laser processing, characterized in that the bridge is automatically designed by inputting the bridge setting direction.
(2)請求項1において、前記線分は、2点の座標入力
で規定され、その方向は先に入力された点から後に入力
された点を結ぶ方向とされることを特徴とするレーザ加
工におけるブリッジ設計方法。
(2) Laser processing according to claim 1, characterized in that the line segment is defined by inputting coordinates of two points, and the direction thereof is a direction connecting a point inputted first and a point inputted later. Bridge design method in.
(3)レーザ加工により切断される製品間に分離防止の
ための比較的幅の狭いブリッジを含めて加工形状を設計
するレーザ加工における加工形状の設計支援装置におい
て、 ブリッジ幅をパラメータとして記憶するブリッジパラメ
ータ記憶手段と、 レーザ加工の加工形状データを記憶する形状データ記憶
手段と、 前記記憶手段に記憶された基本となる製品図形を表示す
る表示手段と、 前記表示手段に表示された製品間にブリッジを設計する
ための線分を規定するための2点座標と、前記線分に対
し左右及び中央の3通りのブリッジ設定方向のうちいず
れか一つの方向を指定する入力手段と、 前記入力手段から入力された2点座標及びブリッジ設定
方向に基いて、前記線分の通る製品間に前記ブリッジパ
ラメータ記憶部に記憶された幅のブリッジを演算するブ
リッジ演算手段を備えたことを特徴とするレーザ加工に
おける加工形状の設計支援装置。
(3) A bridge that stores the bridge width as a parameter in a laser processing processing shape design support device that designs processing shapes including relatively narrow bridges to prevent separation between products to be cut by laser processing. a parameter storage means; a shape data storage means for storing processing shape data for laser processing; a display means for displaying a basic product figure stored in the storage means; and a bridge between the products displayed on the display means. an input means for specifying two-point coordinates for defining a line segment for designing a line segment, and one of three bridge setting directions, left, right, and center, with respect to the line segment; Laser processing characterized by comprising a bridge calculation means for calculating a bridge having a width stored in the bridge parameter storage unit between the products passing through the line segment based on input two-point coordinates and a bridge setting direction. A design support device for machining shapes.
JP2013577A 1990-01-25 1990-01-25 Method for designing bridge in laser beam machining and device for supporting design thereof Pending JPH03221278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013577A JPH03221278A (en) 1990-01-25 1990-01-25 Method for designing bridge in laser beam machining and device for supporting design thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013577A JPH03221278A (en) 1990-01-25 1990-01-25 Method for designing bridge in laser beam machining and device for supporting design thereof

Publications (1)

Publication Number Publication Date
JPH03221278A true JPH03221278A (en) 1991-09-30

Family

ID=11837023

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013577A Pending JPH03221278A (en) 1990-01-25 1990-01-25 Method for designing bridge in laser beam machining and device for supporting design thereof

Country Status (1)

Country Link
JP (1) JPH03221278A (en)

Similar Documents

Publication Publication Date Title
JPH09190551A (en) Drawing method for three-dimensional shape
JPH10154174A (en) Character string automatic editing system
JPH03221278A (en) Method for designing bridge in laser beam machining and device for supporting design thereof
JPS63172330A (en) Halftone application system for document processor
JPH0215304A (en) Method for forming numerical control information
JPS62235606A (en) Nc data originating method for composite curved surface
JP3254286B2 (en) Plate mask making equipment
JP2623357B2 (en) Laser processing data creation device
JP2879831B2 (en) Graphic element extraction method
JPS61105614A (en) Working area designating system of nc data generating device
JPH03164969A (en) Data processor
JPH0212309A (en) Cad/cam device
JP2916534B2 (en) Table output device
JPH05282027A (en) Nc data generating method
CN115454006A (en) Workpiece processing method, device, electronic equipment and computer readable storage medium
JPH03136173A (en) Graphic editing device
JPH07141530A (en) Device and method for editing drawing
JPH05134729A (en) System for displaying dimension and parts number on three-dimensional image in cad/cam
JPH0199173A (en) Computer-aided designing equipment
JPH01261709A (en) Method for operating cad/cam device
JPS62140748A (en) Processing device for machining region in automatic machine
JPH07302350A (en) Device and method for plotting and preparing graphic
JPH0391809A (en) Generation of nc working machine program
JPH08158131A (en) Grading apparatus
JPH0430914A (en) Method and device for editing program data for wire-cut electric discharge machine