JP2629759B2 - Data generation method for numerical control machining - Google Patents

Data generation method for numerical control machining

Info

Publication number
JP2629759B2
JP2629759B2 JP62324452A JP32445287A JP2629759B2 JP 2629759 B2 JP2629759 B2 JP 2629759B2 JP 62324452 A JP62324452 A JP 62324452A JP 32445287 A JP32445287 A JP 32445287A JP 2629759 B2 JP2629759 B2 JP 2629759B2
Authority
JP
Japan
Prior art keywords
shape
data
data representing
numerical control
intersection
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
Application number
JP62324452A
Other languages
Japanese (ja)
Other versions
JPH01166104A (en
Inventor
浩 中村
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP62324452A priority Critical patent/JP2629759B2/en
Publication of JPH01166104A publication Critical patent/JPH01166104A/en
Application granted granted Critical
Publication of JP2629759B2 publication Critical patent/JP2629759B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Numerical Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は数値制御加工用データ(パートプログラム)
作成方法に関し、特にそのポケット加工データ生成方法
の改良に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to numerical control processing data (part program).
The present invention relates to a creation method, and more particularly to an improvement of a pocket machining data generation method.

〔従来の技術〕[Conventional technology]

従来のポケット加工データ生成方法は、第3図に示す
ようなジグザグ型や、第4図に示すような渦巻型の形成
がよく知られている。
As a conventional pocketing data generation method, a zigzag type as shown in FIG. 3 and a spiral type as shown in FIG. 4 are well known.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

かかる従来のポケット加工データ生成方法において
は、第3図および第4図に示すように工具軌跡データの
重複が発生するため効率的な工具軌跡を得ることが出来
なかった。また、指定図形形状が複雑な形状をしている
場合や指定図形形状の内側に複数の島形状が存在してい
る形状などの場合には、プログラムが図形形状を分割し
たり、新しい形状領域を定義するなどの補助入力をしな
ければならず、プログラミング・ミスが生じやすいと共
にプログラマに相当な経験が要求されていた。
In such a conventional pocket machining data generation method, as shown in FIGS. 3 and 4, the overlap of the tool trajectory data occurs, so that an efficient tool trajectory cannot be obtained. In addition, when the specified figure shape is a complicated shape or when there are multiple island shapes inside the specified figure shape, the program divides the figure shape or creates a new shape area. Auxiliary input such as definition was required, and programming errors were likely to occur, and considerable experience was required for programmers.

しかも、指定図形形状の形状によっては、ポケット加
工データの生成が不可能な場合もあった。
Moreover, depending on the shape of the designated graphic shape, it may not be possible to generate pocket machining data.

そこで、本発明は従来のこのような問題点を解決する
もので、その目的とするところは、指定図形形状を簡単
で高速な方法で、複数の形状に分割し、分割された各々
の形状はNC工作機械の工具の移動が最も簡単で効率的な
ジグザグ方式とすることが可能であるようになし、その
各々の形状に対してポケット加工データを生成し、各々
の形状をつなぎ合わせることにより、効率的な数値制御
加工用データを自動的に作成する方法を提供することで
ある。
Therefore, the present invention solves such a conventional problem. The purpose of the present invention is to divide a designated graphic shape into a plurality of shapes by a simple and high-speed method, and to divide each of the divided shapes. By making it possible to make the tool movement of the NC machine tool the simplest and most efficient zigzag method, generating pocket machining data for each shape and joining each shape, An object of the present invention is to provide a method for automatically creating efficient numerically controlled machining data.

〔問題点を解決するための手段〕[Means for solving the problem]

本発明の数値制御加工用データ生成方法は、NC工作機
械、数値制御装置およびパートプログラム作成装置から
なり、ワーク上の加工部分を数値制御により加工する数
値制御加工システムの加工データを生成する、数値制御
加工用データ生成方法において、 a) 前記加工部分を指定する図形形状を表す指定図形
形状データが極値をなす点である極点を表すデータを求
め、 該各々の極点を表すデータおよび前記指定図形形状デ
ータに基づき、前記各々の極点から所定の方向に引いた
直線が前記指定図形形状をなしている線と最初に交わる
交点を表すデータを求め、 該各々の交点を表すデータ、前記各々の極点を表すデ
ータおよび前記指定図形形状データに基づき、前記極点
および該極点に対応する前記交点を結ぶ各々の線分で前
記図形形状を分割してできた複数の閉領域に対応する分
割図形形状を表すデータを求め、 b) 該各々の分割図形形状を表すデータに基づき、前
記各々の分割図形形状内の工具の移動軌跡を決めるポケ
ット加工データを生成し、 c) 該各々のポケット加工データをつなぎ合わせて、
前記加工部分を加工する数値制御加工用データを生成す
ることを特徴とする。
The numerical control processing data generation method according to the present invention includes an NC machine tool, a numerical control device, and a part program creating device, and generates processing data of a numerical control processing system that processes a processing portion on a workpiece by numerical control. In the control processing data generation method, a) obtaining data representing an extreme point, which is a point at which designated figure shape data representing a figure shape designating the machining portion forms an extreme value; and data representing each of the extreme points and the designated figure Based on the shape data, obtain data representing an intersection at which a straight line drawn in a predetermined direction from each of the poles first intersects a line forming the designated figure shape, data representing each of the intersections, and each of the poles The figure shape is divided by each line segment connecting the pole and the intersection corresponding to the pole based on the data representing the B) obtaining data representing divided graphic shapes corresponding to the plurality of closed regions, and b) determining a moving trajectory of a tool in each of the divided graphic shapes based on the data representing the respective divided graphic shapes. Generating data; c) joining said respective pocketing data together;
Numerical control processing data for processing the processed part is generated.

〔実施例〕〔Example〕

本発明による実施例を第1図、第2図、第5図〜第10
図によって詳細に説明する。
FIGS. 1, 2, 5 to 10 show an embodiment according to the present invention.
This will be described in detail with reference to the drawings.

第2図は、本発明による方法を実施する処理の流れ図
である。第1図は本発明の実施例としての図形形状の説
明図で第1図(a)は平面図、第1図(b)はA−B断
面図である。ここで第1図(a)の図中1は輪郭形状を
示し、2・3は島形状を示す。以下、本発明について処
理の流れ図(第2図)並びに図形形状説明図(第1図)
に基づき詳細に説明していく。
FIG. 2 is a flow chart of a process for implementing the method according to the present invention. FIG. 1 is an explanatory view of a figure shape as an embodiment of the present invention. FIG. 1 (a) is a plan view, and FIG. 1 (b) is a cross-sectional view taken along AB. Here, in FIG. 1 (a), 1 indicates a contour shape, and 2 and 3 indicate island shapes. Hereinafter, a flow chart of the process (FIG. 2) and an explanatory diagram of a graphic shape (FIG. 1) for the present invention
It will be described in detail based on.

(1) 図形形状を構成している全ての要素に対して極
点計算処理を施す。第5図(e)〜(c)に極点の例を
示す。ここで図中11、21、31は、それぞれの図形形状の
極点をあらわす。
(1) Pole calculation processing is performed on all the elements constituting the figure shape. FIGS. 5E to 5C show examples of extreme points. Here, 11, 21, and 31 in the figure represent the extreme points of the respective graphic shapes.

また、第5図(b)のようにX軸と平行になるような
形状要素が極点を含んでいる場合には、その形状要素の
X軸の最大値を極点とここでは定義する。
When a shape element parallel to the X axis includes an extreme point as shown in FIG. 5B, the maximum value of the X axis of the shape element is defined as an extreme point here.

第6図に実施例としての極点形状図を示す。図中21が
極点をあらわす。
FIG. 6 shows a pole shape diagram as an embodiment. In the figure, 21 represents a pole.

(2) 次に上記処理でもとめられた極点を起点にX軸
プラス方向に半直線を引き、全ての形状要素との交点計
算処理を行う。このとき交点が存在していればその交点
座標を図示しないコンピュータのメモリ上へ記憶してお
く。
(2) Next, a half line is drawn in the plus direction of the X-axis starting from the extreme point found in the above processing, and the intersection calculation processing with all the shape elements is performed. At this time, if an intersection exists, the coordinates of the intersection are stored in a memory of a computer (not shown).

全ての形状要素との交点計算処理が終了したら交点を
X座標の小さな順にソーティングし、X座標のもっとも
小さな座標点を有している形状要素をその座標を境に分
割する。また、極点と最小座標点を結ぶ線分要素を新た
な形状要素としてメモリ上へ登録しておく。
When the intersection calculation processing with all the shape elements is completed, the intersections are sorted in ascending order of the X coordinate, and the shape element having the smallest coordinate point of the X coordinate is divided at the coordinates. Further, a line segment element connecting the pole and the minimum coordinate point is registered in the memory as a new shape element.

上記処理を全ての極点に対して適用させ、元の図形形
状要素を分割する。
The above process is applied to all poles to divide the original figure shape element.

第7図に交点計算処理を施した図形形状を示す。図中
21は極点を、図中22は図形形状との交点計算処理をした
ときの最小X座標を有している座標点をあらわす。
FIG. 7 shows a figure shape subjected to the intersection calculation processing. In the figure
Reference numeral 21 denotes an extreme point, and reference numeral 22 denotes a coordinate point having a minimum X coordinate when the intersection calculation processing with the figure shape is performed.

また、第8図に交点を境に分割された形状要素図を示
す。図中10は、形状要素の端点をあらわし、図中20は、
新たに、作成された形状要素をあわらす。
FIG. 8 shows a shape element diagram divided at the intersection. 10 in the figure represents the end point of the shape element, 20 in the figure,
The newly created shape element is exposed.

(3) 上記処理によって生成された形状要素に対して
閉領域設定処理を施す。ここでいう閉領域設定処理と
は、形状要素をつなぎ合わせて閉じた形状を生成させる
ことであり、且つ、複数の輪郭形状のみからなる形状を
生成することである。
(3) A closed region setting process is performed on the shape element generated by the above process. The closed region setting process here is to generate a closed shape by connecting shape elements and generate a shape consisting of only a plurality of contour shapes.

第9図に閉領域設定処理を施した図形形状を示す。図
中101〜105は各閉領域A〜Dをあらわす。
FIG. 9 shows a figure shape subjected to the closed area setting process. In the figure, 101 to 105 represent closed areas A to D, respectively.

(4) 上記処理で求められた閉領域の各々の形状に対
して指定工具径での中取りデータ作成の生成処理を施
す。
(4) For each shape of the closed area obtained by the above processing, a generation process of creating floor plan data with a designated tool diameter is performed.

第10図に第9図、図中101のA領域の中取りデータ軌
跡図をあらわす。また、領域の中取りデータ軌跡は実施
例としてのもので、他の方式でも特に構わないが、第10
図の様なジグザグ方式が最も簡単で高速であり、効率的
である。
FIG. 10 shows a plot data locus diagram of the area A in FIG. 9 and 101 in the figure. In addition, the layout data locus of the area is an example, and other methods may be used.
The zigzag method shown in the figure is the simplest, fastest, and efficient.

(5) 上記処理を施した結果5つの中取りデータ軌跡
ブロックが生成される。
(5) As a result of performing the above-described processing, five interior layout data trajectory blocks are generated.

これらのブロックをつなぎ合わせることにより、全て
中取りデータを生成することができる。
By connecting these blocks, all the floor plan data can be generated.

〔発明の効果〕〔The invention's effect〕

以上述べたように本発明によれば、指定された図形形
状がどんなに複雑な場合でも、極点を表すデータを求
め、各々の極点から所定の方向に引いた直線が指定図形
形状をなしている線と最初に交わる交点を表すデータを
求め、前記極点およびその対応する前記交点を結ぶ各々
の線分で前記図形形状を分割してできた複数の閉領域に
対応する分割図形形状を表すデータを求めるため、 多角形の凹凸を判断しながら全て凸多角形になるよう
な分割を探索する必要は無く、簡単高速に分割図形形状
を得ることが出来、島形状を含まない閉領域を生成でき
るだけでなく、工具軌跡は重複がなくしかも簡単な所定
の方向の往復移動によるジグザグ方式とすることがで
き、その結果効率的な数値制御工作用データを生成する
ことができる。
As described above, according to the present invention, no matter how complicated the designated graphic shape is, the data representing the extreme points is obtained, and a straight line drawn in a predetermined direction from each extreme point forms the designated graphic shape. First, data representing an intersection that intersects with the first point is obtained, and data representing a divided figure corresponding to a plurality of closed regions formed by dividing the figure at each line segment connecting the pole and the corresponding intersection is obtained. Therefore, it is not necessary to search for divisions that all become convex polygons while judging the irregularities of the polygon, and it is possible to obtain a divided figure shape easily and at high speed, and not only to generate a closed region not including an island shape The tool trajectory can be of a zigzag method by simple reciprocating movement in a predetermined direction without overlapping, and as a result, efficient numerically controlled machining data can be generated.

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

第1図は本発明の実施例による図形形状説明図であり、
第1図(a)、第1図(b)は、実施例における図形形
状を示す平面図並びに断面図。 1……輪郭形状 2……島形状 3……島形状 第2図は、本発明の数値制御加工用データ生成方法の処
理の流れ図。 第3図は、従来の中取りデータ生成方法の一例であるジ
グザグ型方式の工具軌跡図。 第4図は、従来の中取りデータ生成方法の一例である渦
巻型方式の工具軌跡図。 第5図(a)、第5図(b)、第5図(c)は、形状に
よる極点例をあらわす図。 11,21,31……極点 第6図は、極点形状図。 21……極点 第7図は、交点計算処理を施した図形形状図。 21……極点 22……交点 第8図は、交点を境に分割された形状要素図。 10……形状要素の端点 20……新たに生成された形状要素 第9図は、閉領域設定処理を施した図形形状図。 101……A領域 102……B領域 103……C領域 104……D領域 105……E領域 第10図は、第9図101のA領域の中取りデータ軌跡図。
FIG. 1 is an explanatory diagram of a figure shape according to an embodiment of the present invention.
1 (a) and 1 (b) are a plan view and a sectional view showing a figure shape in an embodiment. 1... Contour shape 2... Island shape 3... Island shape FIG. 2 is a flowchart of a process of a data generation method for numerical control processing according to the present invention. FIG. 3 is a tool locus diagram of a zigzag type system which is an example of a conventional layout data generation method. FIG. 4 is a spiral type tool locus diagram which is an example of a conventional layout data generation method. FIGS. 5 (a), 5 (b), and 5 (c) are diagrams showing examples of extreme points depending on shapes. 11,21,31 ... Pole Figure 6 is a pole figure. FIG. 7 is a diagram of a figure subjected to intersection calculation processing. 21... Pole 22... Intersection FIG. 8 is a shape element diagram divided at the intersection. 10: End point of shape element 20: Newly generated shape element FIG. 9 is a diagram showing a figure subjected to closed area setting processing. 101 A region 102 B region 103 C region 104 D region 105 E region FIG. 10 is a layout data locus diagram of region A in FIG.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】NC工作機械、数値制御装置およびパートプ
ログラム作成装置からなり、ワーク上の加工部分を数値
制御により加工する数値制御加工システムの加工データ
を生成する、数値制御加工用データ生成方法において、 a) 前記加工部分を指定する図形形状を表す指定図形
形状データが極値をなす点である極点を表すデータを求
め、 該各々の極点を表すデータおよび前記指定図形形状デー
タに基づき、前記各々の極点から所定の方向に引いた直
線が前記指定図形形状をなしている線と最初に交わる交
点を表すデータを求め、 該各々の交点を表すデータ、前記各々の極点を表すデー
タおよび前記指定図形形状データに基づき、前記極点お
よび該極点に対応する前記交点を結ぶ各々の線分で前記
図形形状を分割してできた複数の閉領域に対応する分割
図形形状を表すデータを求め、 b) 該各々の分割図形形状を表すデータに基づき、前
記各々の分割図形形状内の工具の移動軌跡を決めるポケ
ット加工データを生成し、 c) 該各々のポケット加工データをつなぎ合わせて、
前記加工部分を加工する数値制御加工用データを生成す
ることを特徴とする数値制御加工用データ生成方法。
1. A numerical control processing data generation method for generating processing data of a numerical control processing system comprising an NC machine tool, a numerical control device, and a part program generating device for processing a processing portion on a workpiece by numerical control. A) obtaining data representing an extreme point at which designated figure shape data representing a figure shape designating the processed portion is an extreme value; and obtaining data representing the extreme points and the designated figure shape data based on the data representing the respective extreme points. Finding data representing an intersection at which a straight line drawn in a predetermined direction from the pole of the intersection first intersects with the line forming the designated figure shape, data representing each intersection, data representing each pole, and the designated figure Based on the shape data, a plurality of closed regions formed by dividing the figure shape by each line segment connecting the extreme point and the intersection corresponding to the extreme point B) generating pocket machining data for determining a moving trajectory of a tool in each of the divided graphic shapes based on the data representing each of the divided graphic shapes; By joining the pocket machining data,
A method for generating data for numerically controlled machining, wherein data for numerically controlled machining for machining the processed portion is generated.
JP62324452A 1987-12-22 1987-12-22 Data generation method for numerical control machining Expired - Lifetime JP2629759B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62324452A JP2629759B2 (en) 1987-12-22 1987-12-22 Data generation method for numerical control machining

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62324452A JP2629759B2 (en) 1987-12-22 1987-12-22 Data generation method for numerical control machining

Publications (2)

Publication Number Publication Date
JPH01166104A JPH01166104A (en) 1989-06-30
JP2629759B2 true JP2629759B2 (en) 1997-07-16

Family

ID=18165969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62324452A Expired - Lifetime JP2629759B2 (en) 1987-12-22 1987-12-22 Data generation method for numerical control machining

Country Status (1)

Country Link
JP (1) JP2629759B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05177504A (en) * 1991-12-27 1993-07-20 Mori Seiki Co Ltd Nc sentence preparing device
JP2007132503A (en) * 2005-11-10 2007-05-31 Takao Nukada Hydraulic cylinder with reduction gear
US10523393B2 (en) * 2016-09-30 2019-12-31 Lg Electronics Inc. Method for receiving control in-formation for reference signal related to phase noise estimation and user equipment therefor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6219907A (en) * 1985-07-17 1987-01-28 Fanuc Ltd Area processing method

Also Published As

Publication number Publication date
JPH01166104A (en) 1989-06-30

Similar Documents

Publication Publication Date Title
JPH0736191B2 (en) Graphic display method of structure
JP2629759B2 (en) Data generation method for numerical control machining
JP2696206B2 (en) Automatic part program creation method
JP2836633B2 (en) Machining process decision device in numerical control information creation function
JPH06100929B2 (en) NC data creation method for machining uncut parts in NC data creation device
JPH0683422A (en) Numerical control method
JPH0511828A (en) Specifying method for fillet curved surface creation position
JPS6318405A (en) Method for preparing cutting path of composite curved surface
JP2799531B2 (en) How to create NC data
JPH069007B2 (en) NC data creation method for compound curved surface
JPS62221003A (en) Method for producing locus of 2-dimensional tool
JPH0421203B2 (en)
JPH10307615A (en) Automatic generating method for machining path of recessed groove position for cam
JPH03174604A (en) Producing device for numerical control information
JP2918192B2 (en) Processing data creation method
JP3175401B2 (en) CAD / CAM equipment
JPH01152510A (en) Automatic preparing method for part program
JPH0272413A (en) Program forming device for numeral controller
JPH01228756A (en) Inner blank part data preparation method in automatic part program preparation
JPH1011123A (en) Determination system for machining area and machining method for lathe nc data
JPH07295621A (en) Tool path setting method for cam system for curved surface machining
JPS61105615A (en) Working area designating system of nc data generating device
JPH033753A (en) Display method for taper angle setting of programming device
JPS61105614A (en) Working area designating system of nc data generating device
JPH01217606A (en) Area working condition setter

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080418

Year of fee payment: 11