Information
-
Patent Grant
-
4949271
-
Patent Number
4,949,271
-
Date Filed
Tuesday, October 18, 198836 years ago
-
Date Issued
Tuesday, August 14, 199034 years ago
-
Inventors
-
Original Assignees
-
Examiners
- Smith; Jerry
- Gordon; Paul
Agents
-
CPC
-
US Classifications
Field of Search
US
- 364 167
- 364 191
- 364 47429
- 364 47414
- 318 570
-
International Classifications
-
Abstract
A curved surface creation method suitable for use in creating two curved surfaces for coarse and finishing machining. A first space curve (1) is divided into N segments, a second space curve separately obtianed is similarly divided into N segments and a curved surface for coarse machining is created by connecting corresponding i-th dividing points R.sub.i (i=1, 2, . . . ). Next, the first space curve (1), which is obtained by successively connecting the dividing points R.sub.i (i=1, 2, 3, . . . ), is divided into M (>N) segments, the second space curve is similarly divided into M segments and a curved surface for finishing machining is created by connecting the i-th dividing points S.sub.i (i=1, 2, 3, . . . ) of the first space curve (1), which is divided into M segments, with and the corresponding dividing points of the second space curve.
Description
BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention relates to a curved surface creation method and, more particularly, to a curved surface creation method suitable for use in creating two curved surfaces for coarse and finishing machining.
2. Description of the Related Art
As illustrated in FIG. 4, one method of creating a free curved surface entails obtaining two, i.e., first and second, space curves (base curves) 11a, 11b [FIG. 4(a)], dividing each of the base curves 11a, 11b into N segments [FIG. 4(b)], and connecting corresponding dividing points by straight lines, thereby forming a curved surface CS [FIG. 4(c)].
In this curved surface creation method, the base curves 11a, 11b are specified by discrete point sequences P.sub.li (x.sub.i,y.sub.i,z.sub.i) (i=1, 2, . . . ) and P.sub.2j (x.sub.j,y.sub.j,z.sub.j) (j=1, 2, . . . ), respectively, as shown in FIG. 4(d). In order to obtain these sequences of points (base curves), a predetermined curved surface is generated in advance and curves in the XY plane are projected onto this curved surface.
FIGS. 5 and 6 are views for describing the processing for obtaining a sequence of points which specify a base curve. As shown in FIG. 5, let L.sub.c (j) express an intermediate section curve containing a j-th dividing point on a base curve BSCl of a curved surface 10, and let L.sub.r (i) express a curve obtained by connecting an i-th dividing point on each of the intermediate section curves L.sub.c (j) (j=1, 2, 3, . . . n). A quadrilateral bounded by curves L.sub.c (j), L.sub.c (j+1), L.sub.r (i) and L.sub.r (1+1) shall be referred to as a "patch" PT (i,j). The four vertices Q1, Q2, Q3, Q4 of the patch PT (i,j) are stored in memory.
As shown in FIG. 6, points of intersection are where a curve CV in the X-Y plane intersects the sides of each projection patch obtained by projecting each patch onto the X-Y plane, and the coordinates of the points on the curved surface 10 corresponding to these points of intersection are computed. For example, four sides i.sub.a, i.sub.b, j.sub.a, j.sub.b are obtained by projecting a predetermined patch P (m,n) on a three-dimensional curved surface onto the X-Y plane. Let P.sub.1 i, P.sub.2i represent the points of intersection between the curve CV and a predetermined two of these four sides, and let (x.sub.li, y.sub.li), (x.sub.2i, y.sub.2i) represent the coordinates of these points of intersection. Further, let Q.sub.1 ', Q.sub.2 ' denote the end points of the side i.sub.a intersected by the curve CV, let Q.sub.3 ', Q.sub.4 ' denote the end points of the side i.sub.b intersected by curve CV, let Q.sub.i (i=1-4) represent the points on the three-dimensional curved surface that correspond to the points Q.sub.i ' (i=1-4), and let (x.sub.i, y.sub.i, z.sub.i) denote the coordinates of each of the points Q.sub.i. Then, the Z coordinates z.sub.li, z.sub.2i of the points P.sub.li ', P.sub.2i ' on the curved surface that correspond to the points of intersection P.sub.li, P.sub.2i are calculated in accordance with the following equations:
z.sub.li =z.sub.1 +(z.sub.2 -z.sub.1)(x.sub.li -x.sub.1)/(x.sub.2 -x.sub.1)
z.sub.2i =z.sub.3 +(z.sub.4 -z.sub.3)(x.sub.2i -x.sub.3)/(x.sub.4 -x.sub.3)
Thus, the coordinates of the points P.sub.li ', P.sub.2i ' on the curved surface are, respectively, (x.sub.li, y.sub.li, z.sub.li), (x.sub.2i, y.sub.2i, z.sub.2i). The set of points P.sub.li ', P.sub.2i ' (i=1, 2, . . . ) on the curved surface represent the sequence of points defining the base curve.
Since numerical control (NC) machining ordinarily includes coarse machining and finishing machining, it is necessary to create a curved surface for coarse machining and a curved surface for finishing machining. When creating a curved surface for coarse machining in the prior art, the curved surface, namely the NC data, for coarse machining is prepared by obtaining the base curves 11a, 11b (FIG. 4) through the above-mentioned method upon enlarging the length of each side of the patch PT of the curved surface 10 (FIG. 5). When creating a curved surface for finishing machining in the prior art, the curved surface, namely the NC data, for finishing machining is similarly prepared by obtaining the base curves 11a, 11b through the foregoing method upon reducing the length of each side of the patch.
However, the processing for specifying the space curves that are the base curves requires a very long period of time. For this reason, considerable time is required to obtain the two curved surfaces, namely for coarse and finishing machining.
Summary of the Invention
An object of the present invention is to provide a curved surface creation method in which if one space curve is specified for either coarse machining or finishing machining, the other space curve can be specified in a simple manner. Thus it is possible to create the other curved surface in a short period of time.
According to the present invention, a first space curve is divided into N segments, a second space curve, separately obtained, is divided into N segments and a curved surface for coarse machining is created by connecting corresponding i-th dividing points R.sub.i (i=1, 2, . . . ).
Next, the first space curve, which is obtained by successively connecting the dividing points R.sub.i (i=1, 2, 3, . . . ) is divided into M (with M>N) segments, the second space curve is divided into M segments and a curved surface for finishing machining is created by connecting the i-th dividing point S.sub.i (i=1, 2, 3, . . . ) of the first space curve divided into M segments and the corresponding dividing point of the second space curve.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a of the present invention;
FIG. 2 is a block diagram of an apparatus for practicing the present invention;
FIG. 3 is a flowchart illustrating processing according to the invention; and
FIGS. 4 through 6 are diagrams for explaining the background of the present invention. FIG. 4 is a diagram view of a known curved surface creation method, and FIGS. 5 and 6 are diagrams for explaining a known method of creating space curves.
DESCRIPTION OF THE PREFERRED EMBODIMENT
FIG. 1 is a general explanatory view of the present invention. Numeral 1 (the solid line) denotes a space curve specified as a sequence of points R.sub.i (i=1, 2, 3, . . . ) of pitch a. The numeral 2 (the dashed line) denotes a space curve specified as a sequence of points S.sub.i (i=1, 2, 3, . . . ) of pitch b (b<a).
FIG. 2 is a block diagram of an apparatus nfor practicing an embodiment of the present invention, and FIG. 3 is a flowchart illustrating processing of the present invention. In FIG. 2, numeral 201 denotes a keyboard for data input; 202 denotes a processor; 203 denotes a ROM storing a control program; 204 denotes, after 205 a RAM; 205 denotes a working memory; 206 denotes a curve/curved surface memory for storing generated curves and curved surface data, 207 denotes an output unit for outputting generated curved surface data and NC data to an external storage medium 208 such as a paper tape or magnetic tape; 209 an address bus; and 210 a data bus.
The processing of the present invention for creating a curved surface in will now be described in accordance with the flowchart of FIG. 3. It is assumed that a curved surface for coarse machining has been created in advance by a known method, for example, the method illustrated in FIGS. 4-6 as prior art. It is also assumed that the sequences of points constituting two base curves [corresponding to the base curves 11a, 11b in FIG. 4(a)] have already been stored in the curve/curved surface memory 206.
The processor 202 obtains the total lengths L.sub.1, L.sub.2 of the first and second space curves when each of the series of points R.sub.i (i=1, 2, . . . ) of the two base curves (one of which is assumed to be the space curve 1 in FIG. 1) specifying the curved surface for coarse machining is connected by straight line segments (step 101)
Next, the numbers of divisions M.sub.1, M.sub.2 at pitch b are computed (step 102) in accordance with the formulae
L.sub.1 /b.fwdarw.M.sub.1, L.sub.2 /b.fwdarw.M.sub.2
using the preset pitch b for finishing machining (b may be inputted from the keyboard 201 or the like).
Thereafter, the numbers of divisions M.sub.1, M.sub.2 are compared in terms of magnitude and the larger is employed as a number of divisions M (see steps 103 through 105).
When the number of divisions M has been found, dividing pitches b (see FIG. 1), b' are obtained in accordance with the formulae
L.sub.1 /M.fwdarw.b, L.sub.2 /M.fwdarw.b'
(where M.sub.1 >M.sub.2 is assumed to hold); Space curve 1 is divided into M segments at the designated pitch b. The other space curve (not shown) is similarly divided into M segments at the pitch b'. Next, the i-th dividing point S.sub.i (i=1, 2, 3, . . . ) of the space curve 1 divided by M and the i-th dividing point of the other space curve (not shown) are correlated and stored in the memory 206. When this is done, creation of the curved surface for finishing machining is completed (step 106). It should be noted that the space curve obtained by dividing at pitch b is as shown by the dashed line 2 in FIG. 1.
This is followed by the creation of NC data for moving a tool at a cutting velocity along a straight line connecting the two correlated dividing points (step 107). This ends all of the processing for curved surface creation.
Although the invention as been described on the assumption that the curved surface for coarse machining is obtained first, it is permissible to obtain the curved surface for finishing machining first and then find the curved surface for coarse machining through the foregoing method.
In accordance with the present invention, the arrangement is such that by dividing an already found space curve at a predetermined pitch and then connecting the dividing points, a new space curve in accordance with this pitch is created. Accordingly, a space curve having a different pitch can be specified in a simple manner and, hence, a curved surface can be created in a short period of time. Thus, in accordance with the invention, when a curved surface for either coarse machining or finishing machining has been prepared, the other curved surface can be created simply and within a short period of time.
Claims
- 1. A curved surface creation method comprising the steps of:
- (a) obtaining first and second space curves each represented as a sequence of points;
- (b) creating a first curved surface by connecting first corresponding dividing points obtained by dividing the first and second space curves into N segments, where N is an integer, at predetermined pitches a and a', respectively;
- (c) dividing the first and second space curves into M segments, where M is an integer, at predetermined pitches b and b', respectively, forming second corresponding dividing points;
- (d) creating a second curved surface by connecting the second corresponding dividing points of the first and second space curves that have been divided into M segments in step (c); and
- (e) machining one of the first and second curved surfaces.
- 2. A curved surface creation method according to claim 1, wherein if a is greater than b and a' is greater than b', then the first curved surface is a curved surface for coarse machining and the second curved surface is a curved surface for finishing machining.
- 3. A curved surface creation method according to claim 2, wherein L.sub.1, L.sub.2 denotes lengths of the first and second space curves, respectively, and p denotes a pitch given for finishing machining,
- wherein a dividing number M is decided based on the larger of L.sub.1 /p and L.sub.2 /P, and
- wherein L.sub.1 /M and L.sub.2 /M serve as pitches and b'.
- 4. A curved surface creation method according to claim 1, wherein if a is less than b and a' is less than b', then the first curved surface is a curved surface for finishing machining and the second curved surface is a curved surface for course machining.
- 5. A method for creating curved surfaces according to claim 1, wherein the curved surfaces represent numerical control data for use in course and finishing machining.
- 6. A method for creating a second curved surface from a first curve surface using first and second space curves, the first curve surface is generated by dividing the first and second space curves into N segments, where N is an integer, said method comprising the steps of:
- (a) determining first and second total lengths of the first and second space curves, respectively, based on the N segments of the first and second space curves corresponding to the first curve surface;
- (b) determining a division number M, where M is an integer, based upon the first and second total lengths and a predetermined pitch;
- (c) selecting the larger of the first and second total lengths as a total length;
- (d) determining first and second dividing pitches by dividing, respectfully, the first and second total lengths by the division number M;
- (e) dividing the first space curve into M segments with a pitch equal to the first dividing pitch;
- (f) dividing the second space curve into M segments with a pitch equal to the second dividing pitch;
- (g) creating a second curved surface based upon corresponding segments generated by said dividing in steps (e) and (f); and
- (h) machining one of the first and second curved surfaces;
- 7. A method for creating curved surfaces according to claim 6, wherein the curved surfaces represent numerical control data for use in coarse and finishing machining.
- 8. A method for creating curved surfaces according to claim 7, wherein said determining step (b) comprises the following substeps:
- (i) dividing each of the total lengths by the predetermined pitch to generate first and second division numbers; and
- (ii) selecting one of the first and second division numbers to be the division number M based upon the first and second division numbers with the greater magnitude.
- 9. A method for creating curved surfaces according to claim 8, wherein the first curved surface represents a curved surface for coarse machining when N is less than M.
- 10. A method for creating curved surfaces according to claim 9, wherein said creating step (g) comprises the substep of connecting corresponding segment points resulting from said dividing in steps (e) and (f) with straight line segments.
- 11. A method for creating curved surfaces using first and second space curves, comprising the steps of:
- (a) dividing the first and second space curves into N segments, where N is an integer;
- (b) creating a first curved surface based upon corresponding segments of the first and second space curves from said dividing sep (a);
- (c) determining first and second total lengths of the first and second space curves, respectively;
- (d) determining a division number M, where M is an integrer, based upon the first and second total lengths and a predetermined pitch;
- (e) selecting the larger of the first and second total lengths as a total length;
- (f) determining first and second dividing pitches by dividing, respectfully, the first and second total lengths by the division number M;
- (g) dividing the first space curve into M segments with a pitch equal to the first dividing pitch;
- (h) dividing the second space curve into M segments with a pitch equal to the second dividing pitch;
- (i) creating a second curved surface based upon corresponding segments generated by said dividing in steps (g) and (h); and
- (j) machining one of the first and second curved surfaces.
- 12. A method for creating curved surfaces according to claim 11, wherein said creating step (*i) comprises the substep of connecting corresponding segment points resulting from said dividing steps (g) and (h) with straight line segments.
- 13. A method for creating curved surfaces according to claim 12, wherein the curved surfaces represent numerical control data for use in coarse and finishing machining.
- 14. A method for creating curved surfaces according to claim 13, wherein the first curved surface represents a curved surface for coarse machining when N is less than M.
- 15. A method for creating curved surfaces according to claim 14, wherein said determining step (d) comprises the following substeps:
- (i) dividing each of the total lengths by the predetermined pitch to generate first and second division numbers; and
- (ii) selecting one of the first and second division numbers to be the division number M based upon the one of the first and second division numbers with the greater magnitude.
Priority Claims (1)
Number |
Date |
Country |
Kind |
62-37278 |
Feb 1987 |
JPX |
|
PCT Information
Filing Document |
Filing Date |
Country |
Kind |
102e Date |
371c Date |
PCT/JP88/00159 |
2/17/1988 |
|
|
10/18/1988 |
10/18/1988 |
Publishing Document |
Publishing Date |
Country |
Kind |
WO88/06312 |
8/25/1988 |
|
|
US Referenced Citations (4)
Number |
Name |
Date |
Kind |
4569014 |
Kishi et al. |
Feb 1986 |
|
4589062 |
Kishi et al. |
May 1986 |
|
4755927 |
Kishi et al. |
Jul 1988 |
|
4855926 |
Seki et al. |
Aug 1989 |
|