A kind of phase borders on the river the method and device of transition processing between knife processing curve
Technical field
The present invention relates to water knife processing technique field, border on the river transition processing between knife processing curve more particularly to a kind of phase
Method and device.
Background technique
Water knife as a kind of emerging machine tooling equipment, it is high-efficient, speed is fast with its advantages that obtained in various fields
It is widely applied.The water-jet flow diameter of water knife processing be can not ignore, and the final molding shape of machined surface is influenced.It is processed in technology
In the process, the offset direction mutually to border on the river between knife processing curve is not quite identical, is guaranteeing that water jet do not cut workpiece shape itself
Under the premise of shape, need to generate transition face to actual type according to the adjacent machined surface of workpiece to guarantee the water-jet of water knife
Trajectory mark is complete.
It is desirable to which technical staff intervenes the transition between knife processing curve of completing mutually to border on the river, existing this hand manually
The dynamic processing mode intervened, it is low efficiency, error-prone, and need to consume a large amount of human resources.
Summary of the invention
It borders on the river the method and device of transition processing between knife machined surface the embodiment of the invention provides a kind of phase, in order to provide
Overcome the above-mentioned problems in the prior art or at least is partially solved the above problem.
According to one aspect of the present invention, it provides a kind of phase to border on the river the method for transition processing between knife processing curve, packet
It includes: determining the first offset bus set of first surface and the second offset bus set of the second curved surface;Wherein, described
One curved surface and second curved surface are adjacent water knife processing curve;Processing sequence in the first offset bus set is taken to be located at
Last first offset bus and processing sequence are located at the upper point of the second offset bus of penultimate;With described first
Offset bus is boundary, and the opposite direction of the upper point to the first offset bus is vector, is built into first and penetrates face;Judge institute
First is stated to penetrate between face and second curved surface with the presence or absence of intersection;If it exists, then in the first surface and second song
Transition machined surface is constructed between face;If it does not exist, then according to the first preset rules to the first surface and second song
Face carries out interior transition processing.
Preferably, described the step of transition machined surface is constructed between the first surface and second curved surface, comprising:
Transition face or cylinder transition face are intersected in building between the first surface and second curved surface.
Preferably, the step of cylinder transition face is constructed between the first surface and second curved surface, comprising: determine
The intersecting lens of the first surface and second curved surface;Using the upper point of the intersecting lens, lower point as axis, water jet radius
For radius, do the first offset bus of connection and third offset bus cylindrical surface, using the cylindrical surface as the first surface with
Cylinder transition face between second curved surface;Wherein, third offset bus is suitable to process in the first offset bus set
Tagmeme is in primary offset bus.
Preferably, the step of interior transition processing being carried out to the first surface according to the first preset rules, comprising: connection institute
Whole offset buses in the first offset bus set are stated, the first spline surface is formed;Judge first spline surface and institute
The second curved surface is stated with the presence or absence of intersection;It if it exists, then will be in the first offset bus set, with the second curved surface heteropleural
Bus is deviated to delete;If it does not exist, then retain whole offset buses in the first offset bus set;
The step of interior transition processing is carried out to second curved surface according to the first preset rules, comprising: connection described second
Whole offset buses in bus set are deviated, the second spline surface is formed;Judge second spline surface and described first
Curved surface whether there is intersection;If it exists, then by the offset mother in the second offset bus set, with the first surface heteropleural
Line is deleted;If it does not exist, then retain whole offset buses in the second offset bus set.
Preferably, the offset bus deletion by the first offset bus set, with the second curved surface heteropleural
The step of, comprising: using the first offset bus as axis, water jet radius is that radius constructs the first cylinder;Judge first circle
Whether the intersection volume of column and second curved surface is empty;If not empty, then in the first offset bus set by described the
One offset bus is deleted, and processing sequence in presently described first offset bus set is located at last offset bus again
It is determined as the first offset bus, and it is described using the first offset bus as axis to return to execution, water jet radius is radius building the
The step of one cylinder, until the intersection volume of first cylinder and second curved surface is sky;If it is empty, then default according to second
Rule deletes the offset bus in the first offset bus set.
Preferably, described that the offset bus in the first offset bus set is deleted according to the second preset rules
The step of, comprising: the first offset bus is deleted in the first offset bus set, presently described first is deviated
The offset bus that processing sequence is located at last in bus set is redefined as the first offset bus;With the first offset bus
For axis, water jet radius is that radius constructs the second cylinder;Judging the intersection volume of second cylinder and second curved surface is
No is empty;If not empty, then in the first offset bus set will the first offset bus deletion, by presently described the
The offset bus that processing sequence is located at last in one offset bus set is redefined as the first offset bus, and returns and hold
Row is described, and using the first offset bus as axis, water jet radius is the step of radius constructs the second cylinder, until second circle
The intersection volume of column and second curved surface is sky;If it is empty, then it connects all inclined in presently described first offset bus set
Bus is moved, the second spline surface is formed;Judge second spline surface and second curved surface with the presence or absence of intersection;If depositing
It is then executing described deviate in bus set described first and is deleting the first offset bus, partially by presently described first
Move the step of offset bus that processing sequence is located at last in bus set is redefined as the first offset bus;If not depositing
Then retaining whole offset buses in presently described first offset bus set.
According to one aspect of the present invention, it provides a kind of phase to border on the river the device of transition processing between knife processing curve, packet
It includes: determining module, for determining the first offset bus set of first surface and the second offset bus collection of the second curved surface
It closes;Wherein, the first surface and second curved surface are adjacent water knife processing curve;Point module is taken, for taking described
Processing sequence is located at last first offset bus in one offset bus set and processing sequence is located at penultimate
The upper point of second offset bus;Module is constructed, for using the first offset bus as boundary, the upper point to described first to be partially
The opposite direction for moving bus is vector, is built into first and penetrates face;Judgment module, for judging that described first penetrates face and second song
It whether there is intersection between face;Outer transition processing module, for if it exists, then the first surface and second curved surface it
Between construct transition machined surface;Interior transition processing module is used for if it does not exist, then according to the first preset rules to the first surface
And second curved surface carries out interior transition processing.
Preferably, the outer transition processing module is specifically used for: the structure between the first surface and second curved surface
Build intersection transition face or cylinder transition face.
Preferably, the outer transition processing module includes: that intersection determines submodule, for determine the first surface and
The intersecting lens of second curved surface;Connect submodule, for using the upper point of the intersecting lens, lower point as axis, water jet radius
For radius, do the first offset bus of connection and third offset bus cylindrical surface, using the cylindrical surface as the first surface with
Cylinder transition face between second curved surface;Wherein, third offset bus is suitable to process in the first offset bus set
Tagmeme is in primary offset bus.
Preferably, the interior transition processing module includes: that the first spline surface generates submodule, for connecting described first
Whole offset buses in bus set are deviated, the first spline surface is formed;First intersection judging submodule, it is described for judging
First spline surface and second curved surface whether there is intersection;First deletes submodule, is used for if it exists, then by described first
The offset bus in bus set, with the second curved surface heteropleural is deviated to delete;First retains submodule, is used for if it does not exist,
Then retain whole offset buses in the first offset bus set;Second spline surface generates submodule, for connecting
Whole offset buses in the second offset bus set are stated, the second spline surface is formed;Second intersection judging submodule, for sentencing
Second spline surface and the first surface break with the presence or absence of intersection;Second deletes submodule, is used for if it exists, then by institute
The offset bus in the second offset bus set, with the first surface heteropleural is stated to delete;Second retains submodule, if for not
In the presence of the whole then retained in the second offset bus set deviates buses.
Preferably, the first deletion submodule includes: the first cylinder construction unit, for using the first offset bus as axis
Line, water jet radius are that radius constructs the first cylinder;First judging unit, for judging first cylinder and second song
Whether the intersection volume in face is empty;First processing units, for if not empty, then deviating described first will be described in bus set
First offset bus is deleted, and processing sequence in presently described first offset bus set is located to last offset bus weight
Newly it is determined as the first offset bus, and returns using the first offset bus as axis described in execution, water jet radius is radius building
The operation of first cylinder, until the intersection volume of first cylinder and second curved surface is sky;The second processing unit, if for
For sky, then the offset bus in the first offset bus set is deleted according to the second preset rules.
Preferably, described the second processing unit is specifically used for: in the first offset bus set partially by described first
It moves bus to delete, the offset bus that processing sequence is located at last in presently described first offset bus set is redefined
For the first offset bus;Using the first offset bus as axis, water jet radius is that radius constructs the second cylinder;Judge described second
Whether the intersection volume of cylinder and second curved surface is empty;It if not empty, then will be described in the first offset bus set
First offset bus is deleted, and processing sequence in presently described first offset bus set is located to last offset bus weight
Newly it is determined as the first offset bus, and returns using the first offset bus as axis described in execution, water jet radius is radius building
The operation of second cylinder, until the intersection volume of second cylinder and second curved surface is sky;If it is empty, then current institute is connected
Whole offset buses in the first offset bus set are stated, the second spline surface is formed;Judge second spline surface and institute
The second curved surface is stated with the presence or absence of intersection;If it exists, then it executes described inclined by described first in the first offset bus set
It moves bus to delete, the offset bus that processing sequence is located at last in presently described first offset bus set is redefined
The step of deviating bus for first;If it does not exist, then retain whole offset buses in presently described first offset bus set.
It include memory and one or more than one program the present invention also provides a kind of electronic equipment,
In one perhaps more than one program be stored in memory and be configured to be executed such as by one or more than one processor
The step of method of transition processing between knife processing curve that mutually borders on the river described in any one of claims.
The present invention also provides a kind of readable storage medium storing program for executing, when the instruction in the readable storage medium storing program for executing is by electronic equipment
When processor executes, so that electronic equipment is able to carry out the knife processing curve that mutually borders on the river as described in any one of claims
Between transition processing method the step of.
Compared with prior art, the invention has the following beneficial effects:
Phase provided in an embodiment of the present invention borders on the river the method and device of transition processing between knife processing curve, by computer journey
Sequence constructs transition machined surface according to the transitional type determined between adjacent first surface, the second curved surface, for outer transition;For
Interior transitional type carries out interior transition processing to machined surface, specifically counts under the premise of guaranteeing that water jet cylinder does not interfere workpiece
The offset bus that each machined surface needs to cast out is calculated, while guaranteeing water knife processing quality, processing efficiency can also be improved.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is that a kind of according to embodiments of the present invention one phase borders on the river the method and step stream of transition processing between knife processing curve
Cheng Tu;
Fig. 2 is the status diagram of outer transition between knife processing curve of mutually bordering on the river;
Fig. 3 is the status diagram of interior transition between knife processing curve of mutually bordering on the river;
Fig. 4 is that a kind of according to embodiments of the present invention two phase borders on the river the method and step stream of transition processing between knife processing curve
Cheng Tu;
Fig. 5 is that first surface, the second curved surface after cylinder transition face is completed in building are shown with the state between cylinder transition face
It is intended to;
Fig. 6 is that first surface, the second curved surface after intersection transition face is completed in building are shown with the state intersected between transition face
It is intended to;
Fig. 7 is the positional diagram without the first surface, the second curved surface of transition processing in carrying out;
Fig. 8 is initial water jet cylinder and face the positional relationship signal of first surface, the second curved surface in the case of face intersects
Figure;
Fig. 9 is initial water jet cylinder and to face in the non-intersecting situation in face, the positional relationship signal of first surface, the second curved surface
Figure;
Figure 10 is that a kind of according to embodiments of the present invention three phase borders on the river the structure of transition processing device between knife processing curve
Block diagram;
Figure 11 is that a kind of according to embodiments of the present invention four phase borders on the river the structure of transition processing device between knife processing curve
Block diagram;
Figure 12 is the structural block diagram of according to embodiments of the present invention five a kind of electronic equipment.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Embodiment one
Referring to Fig.1, a kind of phase for showing the embodiment of the present invention one borders on the river the method for transition processing between knife processing curve
Step flow chart.
Between the knife processing curve that mutually borders on the river in the embodiment of the present invention transition processing method the following steps are included:
Step 101: determining the first offset bus set of first surface and the second offset bus collection of the second curved surface
It closes.
Wherein, first surface and the second curved surface are adjacent water knife processing curve.
It is illustrated, is being implemented for carrying out transition processing to a pair of adjacent processing curve in the embodiment of the present invention
In the process, the process can be repeated, transition processing is carried out to adjacent processing curve to each.
First surface, the second curved surface can be indicated with S1, S2 respectively.Specifically, first can be determined according to machine direction
The set MLines1 of first offset bus of curved surface, the second offset bus set MLines2 of the second curved surface.
Step 102: processing sequence in the first offset bus set being taken to be located at last position first offset bus and processing
Sequence is located at the upper point of the second offset bus of penultimate.
Wherein, the first offset bus can be indicated with M1.Every offset bus includes one lower point of a upper point, Ke Yiyong
Point P indicates the upper point of the second offset bus.
Step 103: using the first offset bus as boundary, the upper o'clock opposite direction to the first offset bus is vector, is built into
First penetrates face.
Using M1 as boundary, the opposite direction of P point to M1 is vector, obtains face SPlane i.e. first of penetrating with boundary and penetrates face.
Step 104: judging that first penetrates between face and the second curved surface with the presence or absence of intersection;If it exists, 105 are thened follow the steps;
If it does not exist, 106 are thened follow the steps.
It is penetrated between face and the second curved surface by judging first with the presence or absence of intersection, can determine first surface, the second curved surface
Between transitional type;Specifically, intersection if it exists, then transitional type is outer transition;Intersection if it does not exist, then transitional type be
Interior transition.
Step 105: intersection if it exists then constructs transition machined surface between first surface and the second curved surface.
Outer transition state schematic diagram is as shown in Figure 2 between first surface S1, the second curved surface S2.
Step 106: intersection if it does not exist then carries out interior mistake to first surface and the second curved surface according to the first preset rules
Cross processing.
Interior transition state schematic diagram is as shown in Figure 3 between first surface S1, the second curved surface S2.
Phase provided in an embodiment of the present invention borders on the river the method for transition processing between knife processing curve, by computer program foundation
Determine the transitional type between adjacent first surface, the second curved surface, constructs transition machined surface for outer transition;For interior transition
Type carries out interior transition processing to machined surface, specifically calculates each under the premise of guaranteeing that water jet cylinder does not interfere workpiece
Machined surface needs the offset bus cast out, and while guaranteeing water knife processing quality, can also improve processing efficiency.
Embodiment two
Referring to Fig. 4, a kind of phase for showing the embodiment of the present invention two borders on the river the method for transition processing between knife processing curve
Step flow chart.
Between the knife processing curve that mutually borders on the river in the embodiment of the present invention transition processing method the following steps are included:
Step 201: determining the first offset bus set of first surface and the second offset bus collection of the second curved surface
It closes.
Wherein, first surface and the second curved surface are adjacent water knife processing curve.
It is illustrated, is being implemented for carrying out transition processing to a pair of adjacent processing curve in the embodiment of the present invention
In the process, the process can be repeated, transition processing is carried out to adjacent processing curve to each.
First surface, the second curved surface can be indicated with S1, S2 respectively.Specifically, first can be determined according to machine direction
The set MLines1 of first offset bus of curved surface, the second offset bus set MLines2 of the second curved surface.
Step 202: processing sequence in the first offset bus set being taken to be located at last position first offset bus and processing
Sequence is located at the upper point of the second offset bus of penultimate.
Wherein, the first offset bus can be indicated with M1.Every offset bus includes one lower point of a upper point, Ke Yiyong
Point P indicates the upper point of the second offset bus.
Step 203: using the first offset bus as boundary, the upper o'clock opposite direction to the first offset bus is vector, is built into
First penetrates face.
Using M1 as boundary, the opposite direction of P point to M1 is vector, obtains face SPlane i.e. first of penetrating with boundary and penetrates face.
Step 204: judging that first penetrates between face and the second curved surface with the presence or absence of intersection;If it exists, 205 are thened follow the steps;
If it does not exist, 206 are thened follow the steps.
It is penetrated between face and the second curved surface by judging first with the presence or absence of intersection, can determine first surface, the second curved surface
Between transitional type;Specifically, intersection if it exists, then transitional type is outer transition;Intersection if it does not exist, then transitional type be
Interior transition.
Step 205: intersection if it exists, transition face or cylinder transition are intersected in building between first surface and the second curved surface
Face.
When the transitional type between first surface and the second curved surface belongs to outer transition, need to construct transition machined surface.Institute
The transition machined surface of building can set for intersection transition face or cylinder transition face, those skilled in the art according to realization demand
Set the specific type of constructed transition machined surface.
A kind of mode preferably constructing cylinder transition face between first surface and the second curved surface is as follows:
Firstly, determining the intersecting lens of first surface and the second curved surface;
Secondly, using the upper point of intersecting lens, lower point as axis, water jet radius is radius, do the first offset bus of connection and
Third deviates bus cylindrical surface, using cylindrical surface as the cylinder transition face between the first surface and the second curved surface.
Wherein, third offset bus is that processing sequence is located at primary offset bus in the first offset bus set.
Specifically, using the point up and down of face S1 and face S2 intersection as axis, water jet radius R is radius, is connection MLines1
The cylindrical surface of first bus M1 ' of the last item bus M1 and MLines1 is transition face, and the after cylinder transition face is completed in building
One curved surface, the second curved surface are as shown in Figure 5 with the status diagram between cylinder transition face.
It is a kind of preferably between first surface and the second curved surface building intersect transition face mode it is as follows:
Two are obtained for the face boundary Zuo She respectively with MLines1 first bus M1 ' of the last item bus M1 and MLines1
2 planes penetrated between intersecting lens L, L and M1, L and the M1 ' in face are transition face.First after intersection transition face is completed in building
Curved surface, the second curved surface are as shown in Figure 6 to intersect the status diagram between transition face.
When using bus M1 as the boundary face Zuo She, upper P of MLines1 second from the bottom bus M2 is taken;Using M1 as boundary, P
The opposite direction of point to M1 are vector, obtain penetrating face SPlane with boundary.Similarly, use identical method with M1 ' for boundary work
Penetrate face.
Step 206: intersection if it does not exist carries out interior transition to first surface and the second curved surface according to the first preset rules
Processing.
Specifically, carrying out interior transition processing process to first surface according to the first preset rules includes following sub-step:
First sub-step: whole offset buses in connection the first offset bus set form the first spline surface;
Second sub-step: judge the first spline surface and the second curved surface with the presence or absence of intersection;
Third sub-step: if it exists, then first deviated in bus set, deleted with the offset bus of the second curved surface heteropleural
It removes;If it does not exist, then retain whole offset buses in the first offset bus set.
If intersection is not present in the first spline curve and the second curved surface, the whole offsets retained in the first offset bus set are female
Line, then explanation to first surface without transition processing in carrying out, first surface in the case of this kind, the second curved surface positional relationship such as
Shown in Fig. 7.
During specific implementation, a kind of offset preferably deviated first in bus set, with the second curved surface heteropleural
The mode that bus is deleted includes following sub-step:
S1: using the first offset bus as axis, water jet radius is that radius constructs the first cylinder;
S2: whether the intersection volume for judging the first cylinder and the second curved surface is empty;
S3: if not empty, then deleting the first offset bus in the first offset bus set, and current first offset is female
The offset bus that processing sequence is located at last in line set is redefined as the first offset bus, and returns to execution sub-step
For S1 using the first offset bus as axis, water jet radius is the step of radius constructs the first cylinder, repeats step S1 to step
Rapid S3 is until the intersection volume of the first cylinder and the second curved surface is sky;
The intersection volume of first cylinder and the second curved surface is not sky, then illustrates that initial water jet cylinder intersects with face is faced, this kind
In the case of first surface, the positional relationship of the second curved surface it is as shown in Figure 8.
S4: if it is empty, then the offset bus in the first offset bus set is deleted according to the second preset rules.
The intersection volume of first cylinder and the second curved surface is sky, then illustrates initial water jet cylinder and non-intersecting, this kind that face face
In the case of first surface, the positional relationship of the second curved surface it is as shown in Figure 9.
Wherein, sub-step S4 carries out deletion tool to the offset bus in the first offset bus set according to the second preset rules
Body includes following sub-step:
S41: deleting the first offset bus in the first offset bus set, will add in current first offset bus set
The offset bus that work sequence is located at last is redefined as the first offset bus;
S42: using the first offset bus as axis, water jet radius is that radius constructs the second cylinder;
S43: whether the intersection volume for judging the second cylinder and the second curved surface is empty;
S44: if not empty, then the first offset bus is deleted in the first offset bus set, current first is deviated
The offset bus that processing sequence is located at last in bus set is redefined as the first offset bus, and returns and execute S42
Using the first offset bus as axis, water jet radius is the step of radius constructs the second cylinder, repeats step S42 to step
S44, until the intersection volume of the second cylinder and the second curved surface is sky;
S45: if it is empty, then whole offset buses in current first offset bus set is connected, it is bent to form the second batten
Face;
S46: judge the second spline surface and the second curved surface with the presence or absence of intersection;
S47: if it exists, then executing S41 and delete the first offset bus in the first offset bus set, will be current
The offset bus that processing sequence is located at last in the first offset bus set is redefined as the first offset bus
Step;
S48: if it does not exist, then retain whole offset buses in current first offset bus set.
Interior transition processing is carried out to the second curved surface in the same way, specific process flow includes following sub-step:
First sub-step: whole offset buses in connection the second offset bus set form the second spline surface;
Second sub-step: judge the second spline surface and first surface with the presence or absence of intersection;
Third sub-step: if it exists, then second deviated in bus set, deleted with the offset bus of first surface heteropleural
It removes;
4th sub-step: if it does not exist, then retain whole offset buses in the second offset bus set.
The concrete mode that second is deviated in bus set, is deleted with the offset bus of first surface heteropleural, referring to by the
The concrete mode deleted in one offset bus set, with the offset bus of the second curved surface heteropleural is right in the embodiment of the present invention
This is repeated no more.
Phase provided in an embodiment of the present invention borders on the river the method for transition processing between knife processing curve, by computer program foundation
Determine the transitional type between adjacent first surface, the second curved surface, constructs transition machined surface for outer transition;For interior transition
Type carries out interior transition processing to machined surface, specifically calculates each under the premise of guaranteeing that water jet cylinder does not interfere workpiece
Machined surface needs the offset bus cast out, and while guaranteeing water knife processing quality, can also improve processing efficiency.
Embodiment three
Referring to Fig.1 0, a kind of phase for showing the embodiment of the present invention three borders on the river the device of transition processing between knife processing curve
Structural block diagram.
Transition processing device comprises determining that module 301 between the knife processing curve that mutually borders on the river of the embodiment of the present invention, for true
Determine the first offset bus set of first surface and the second offset bus set of the second curved surface;Wherein, the first surface
It is adjacent water knife processing curve with second curved surface;Point module 302 is taken, is added for taking in the first offset bus set
Work sequence is located at last first offset bus and processing sequence is located at the second of the penultimate upper point for deviating bus;
Module 303 is constructed, for using the first offset bus as boundary, the opposite direction that the upper point deviates bus to described first to be
Vector is built into first and penetrates face;Judgment module 304, for judging that described first penetrates between face and second curved surface and whether deposit
In intersection;Outer transition processing module 305, for if it exists, then being constructed between the first surface and second curved surface
Cross machined surface;Interior transition processing module 306, for if it does not exist, then according to the first preset rules to the first surface and
Second curved surface carries out interior transition processing.
Phase provided in an embodiment of the present invention borders on the river transition processing device between knife processing curve, by computer program according to sentencing
Transitional type between fixed adjacent first surface, the second curved surface constructs transition machined surface for outer transition;For interior transition class
Type carries out interior transition processing to machined surface, specifically calculates each add under the premise of guarantee water jet cylinder does not interfere workpiece
Work face needs the offset bus cast out, and while guaranteeing water knife processing quality, can also improve processing efficiency.
Example IV
Referring to Fig.1 1, a kind of phase for showing the embodiment of the present invention four borders on the river the device of transition processing between knife processing curve
Structural block diagram.
The device of transition processing is to dress shown in embodiment three between the knife processing curve that mutually borders on the river of the embodiment of the present invention
That sets advanced optimizes, and the device after optimization comprises determining that module 401, for determining the first offset bus collection of first surface
Second offset bus set of conjunction and the second curved surface;Wherein, the first surface and second curved surface are adjacent water knife
Processing curve;Point module 402 is taken, for taking processing sequence in the first offset bus set to be located at the offset of last position first
Bus and processing sequence are located at the upper point of the second offset bus of penultimate;Module 403 is constructed, for described first
Offset bus is boundary, and the opposite direction of the upper point to the first offset bus is vector, is built into first and penetrates face;Judge mould
Block 404, for judging that described first penetrates between face and second curved surface with the presence or absence of intersection;Outer transition processing module 405 is used
In if it exists, then transition machined surface is constructed between the first surface and second curved surface;Interior transition processing module 406,
For if it does not exist, then carrying out interior transition processing to the first surface and second curved surface according to the first preset rules.
Preferably, the outer transition processing module 405 is specifically used for: between the first surface and second curved surface
Building intersection transition face or cylinder transition face.
Preferably, the outer transition processing module 405 includes: that intersection determines submodule 4051, for determining described first
The intersecting lens of curved surface and second curved surface;Submodule 4052 is connected, for using the upper point of the intersecting lens, lower point as axis
Line, water jet radius are radius, the first offset bus of connection and third offset bus cylindrical surface are done, using the cylindrical surface as institute
State the cylinder transition face between first surface and second curved surface;Wherein, third offset bus is the first offset bus
Processing sequence is located at primary offset bus in set.
Preferably, the interior transition processing module 406 includes: that the first spline surface generates submodule 4061, for connecting
Whole offset buses in the first offset bus set, form the first spline surface;First intersection judging submodule 4062,
For judging first spline surface and second curved surface with the presence or absence of intersection;First deletes submodule 4063, if for
In the presence of then by the offset bus deletion in the first offset bus set, with the second curved surface heteropleural;First retains submodule
Block 4064, for if it does not exist, then retaining whole offset buses in the first offset bus set;Second spline surface is raw
The second spline surface is formed for connecting whole offset buses in the second offset bus set at submodule 4065;The
Two intersection judging submodules 4066, for judging second spline surface and the first surface with the presence or absence of intersection;Second
Submodule 4067 is deleted, for if it exists, then deviating the offset in bus set, with the first surface heteropleural by described second
Bus is deleted;Second retains submodule 4068, all inclined in the second offset bus set for if it does not exist, then retaining
Move bus.
Preferably, the first deletion submodule 4063 includes: the first cylinder construction unit, for the first offset bus
For axis, water jet radius is that radius constructs the first cylinder;First judging unit, for judging first cylinder and described the
Whether the intersection volume of two curved surfaces is empty;First processing units, for if not empty, then deviating described first will in bus set
The first offset bus is deleted, and the offset that processing sequence in presently described first offset bus set is located at last is female
Line is redefined as the first offset bus, and returns using the first offset bus as axis described in execution, and water jet radius is radius
The operation of the first cylinder is constructed, until the intersection volume of first cylinder and second curved surface is sky;The second processing unit is used
In if it is empty, then the offset bus in the first offset bus set is deleted according to the second preset rules.
Preferably, described the second processing unit is specifically used for: in the first offset bus set partially by described first
It moves bus to delete, the offset bus that processing sequence is located at last in presently described first offset bus set is redefined
For the first offset bus;Using the first offset bus as axis, water jet radius is that radius constructs the second cylinder;Judge described second
Whether the intersection volume of cylinder and second curved surface is empty;It if not empty, then will be described in the first offset bus set
First offset bus is deleted, and processing sequence in presently described first offset bus set is located to last offset bus weight
Newly it is determined as the first offset bus, and returns using the first offset bus as axis described in execution, water jet radius is radius building
The operation of second cylinder, until the intersection volume of second cylinder and second curved surface is sky;If it is empty, then current institute is connected
Whole offset buses in the first offset bus set are stated, the second spline surface is formed;Judge second spline surface and institute
The second curved surface is stated with the presence or absence of intersection;If it exists, then it executes described inclined by described first in the first offset bus set
It moves bus to delete, the offset bus that processing sequence is located at last in presently described first offset bus set is redefined
The step of deviating bus for first;If it does not exist, then retain whole offset buses in presently described first offset bus set.
Transition processing device is between the knife processing curve that mutually borders on the river of the embodiment of the present invention for realizing previous embodiment one, reality
Transition processing method between the knife processing curve that mutually borders on the river accordingly in example two is applied, and beneficial with corresponding embodiment of the method
Effect, details are not described herein.
Embodiment five
Referring to Fig.1 2, show the structural block diagram of a kind of electronic equipment of the embodiment of the present invention five.
Figure 12 is shown according to an exemplary embodiment a kind of for transition position between the knife processing curve that mutually bordered on the river
The structural block diagram of the electronic equipment 600 of reason.
Electronic equipment includes the perhaps more than one program one of them or more than one of memory and one
Program is stored in memory, and is configured to be executed by one or more than one processor any as described in the present invention
A kind of phase borders on the river the method for transition processing between knife processing curve.
For example, electronic equipment 600 can be mobile phone, computer, digital broadcasting terminal, messaging device, game
Console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..In the embodiment of the present invention, electronic equipment is counted
Calculation machine.
Referring to Fig.1 2, electronic equipment 600 may include following one or more components: processing component 602, memory 604,
Power supply module 606, multimedia component 608, audio component 610, the interface 612 of input/output (I/O), sensor module 614,
And communication component 616.
The integrated operation of the usual controlling electronic devices 600 of processing component 602, such as with display, call, data are logical
Letter, camera operation and record operate associated operation.Processing element 602 may include one or more processors 620 to hold
Row instruction, to perform all or part of the steps of the methods described above.In addition, processing component 602 may include one or more moulds
Block, convenient for the interaction between processing component 602 and other assemblies.For example, processing component 602 may include multi-media module, with
Facilitate the interaction between multimedia component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in equipment 600.These data are shown
Example includes the instruction of any application or method for operating on electronic equipment 600, contact data, telephone directory number
According to, message, picture, video etc..Memory 604 can by any kind of volatibility or non-volatile memory device or they
Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable
Programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, quick flashing
Memory, disk or CD.
Power supply module 606 provides electric power for the various assemblies of electronic equipment 600.Power supply module 606 may include power supply pipe
Reason system, one or more power supplys and other with for electronic equipment 600 generate, manage, and distribute the associated component of electric power.
Multimedia component 608 includes the screen of one output interface of offer between the electronic equipment 600 and user.
In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface
Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding
The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments,
Multimedia component 608 includes a front camera and/or rear camera.When equipment 600 is in operation mode, as shot mould
When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 610 is configured as output and/or input audio signal.For example, audio component 610 includes a Mike
Wind (MIC), when electronic equipment 600 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone
It is configured as receiving external audio signal.The received audio signal can be further stored in memory 604 or via logical
Believe that component 616 is sent.In some embodiments, audio component 610 further includes a loudspeaker, is used for output audio signal.
I/O interface 612 provides interface between processing component 602 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 614 includes one or more sensors, for providing the state of various aspects for electronic equipment 600
Assessment.For example, sensor module 614 can detecte the state that opens/closes of equipment 600, the relative positioning of component, such as institute
The display and keypad that component is electronic equipment 600 are stated, sensor module 614 can also detect electronic equipment 600 or electronics
The position change of 600 1 components of equipment, the existence or non-existence that user contacts with electronic equipment 600,600 orientation of electronic equipment
Or the temperature change of acceleration/deceleration and electronic equipment 600.Sensor module 614 may include proximity sensor, be configured to
It detects the presence of nearby objects without any physical contact.Sensor module 614 can also include optical sensor, such as
CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which can be with
Including acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between electronic equipment 600 and other equipment.
Electronic equipment 600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.Show at one
In example property embodiment, communication component 616 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel
Relevant information.In one exemplary embodiment, the communication component 616 further includes near-field communication (NFC) module, short to promote
Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 600 can be computer, be also possible to dedicated by one or more application
Integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device
(PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, are used
In the equipment for executing the above method.
In the exemplary embodiment, a kind of computer readable storage medium including instruction is additionally provided, for example including finger
The memory 604 of order, above-metioned instruction can be executed by the processor 620 of electronic equipment 600 to complete the above method.For example, described
Non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light
Data storage device etc..When the instruction in the storage medium is executed by the processor of electronic equipment, enable electronic equipment
Enough execute the method for transition processing between the knife processing curve that mutually borders on the river shown in various embodiments of the present invention.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
The scheme for the transition processing between knife processing curve of mutually bordering on the river provided herein not with any certain computer, virtual system
System or other equipment are inherently related.Various general-purpose systems can also be used together with teachings based herein.According to above
Description, it is obvious for constructing structure required by the system with the present invention program.In addition, the present invention is not also for any
Certain programmed language.It should be understood that can use various programming languages realizes summary of the invention described herein, and above
The description done to language-specific is in order to disclose the best mode of carrying out the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right
As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself
Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any
Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) border on the river mistake between knife processing curve to realize phase according to an embodiment of the present invention
Cross some or all functions of some or all components in the scheme of processing.The present invention is also implemented as executing
Some or all device or device programs of method as described herein are (for example, computer program and computer journey
Sequence product).It is such to realize that program of the invention can store on a computer-readable medium, either can have one or
The form of multiple signals.Such signal can be downloaded from an internet website to obtain, be perhaps provided on the carrier signal or
It is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.