A kind of teeth processing route generating method of What You See Is What You Get
Technical field
The present invention relates to lasser cutting technical field, the machining locus of specifically a kind of What You See Is What You Get is generated
Method.
Background technique
It can usually involve the need for adding the part geometry shape of input by CAD in laser processing
Some process, then regeneration is suitble to the machining locus of laser cutting.The process refers to: cutting to adapt to laser
The processing characteristic cut is obtained and is preferably added with tool path optimization to some specific modifications that the geometry of part carries out
Working medium amount.
Domestic general method is to achieve the purpose that process by directly modifying geometry at present, is done so
Disadvantage is: 1) being directly modified to geometry, cause to modify irreversible, modify difficulty again to process;2)
When modifying to figure, since figure and technique have been integrated, process is also modified;3) it is needing to add
Reasonable processing cannot be compatible with when adding kind of process.
Summary of the invention
The present invention in order to overcome the deficiencies of the prior art, designs a kind of teeth processing route generating method of What You See Is What You Get, can be with
Geological information or technology process processing information to part make reversible modification and modify again, while can be compatible with kinds of processes
Processing.
To achieve the above object, a kind of teeth processing route generating method of What You See Is What You Get is designed, it is characterized in that including as follows
Step:
(1) step 1: the cad file of parts to be processed is inputted;
(2) entity initialization step 2: is carried out to parts to be processed in cad file;
(3) step 3: judge whether to need the adding technology into entity initialization cad file, then go to step 4 in this way, otherwise
Go to step 5;
(4) step 4: into the entity initialization cad file for need adding technology, adding technology is marked;
(5) step 5: judging whether entity initialization cad file needs to modify technique, then goes to step 6 in this way, otherwise turns to walk
Rapid 7;
(6) step 6: geometric modification is carried out to the entity initialization cad file for needing to modify technique respectively and technique marks
Modification;
(7) step 7: the parts pattern in computational entity initialization cad file is shown and machining locus, and due to part drawing
Shape show with machining locus generate used in rule it is consistent, so the curve of parts pattern and the complete phase of the curve of machining locus
Together;
(8) step 8: output element graphical display and machining locus.
Part initialization comprises the following processes in the step 2:
(1) material object parts are created to parts to be processed, wherein the material object parts refer to the geological information to part
With the record of technique information;
(2) with the geometry of geological information record part;
(3) process to be added is needed with the form record part of technique label, wherein technique label includes at technique
All relevant parameters that the type and addition process needs of reason are used;
(4) geometry for analyzing part carries out the initialization of technique information, automatically generates and adds some most basic
Technique label.
The technique added in the step 3 is to introduce Wiring technology, cutting gap compensation technique, micro- even technique, cross cutting process, rounding
Any one of angle technique, separation angle technique, wedge angle ring cutting technique are whole.
Geometric modification and technique label modification carry out respectively in the step 6, are independent of each other.
It is to calculate material object parts in conjunction with the geometry of part and its technique label that parts pattern, which is shown, in the step 7
Display figure;It needs to calculate in conjunction with the geometry of part and its technique label when in the step 7 to part trajectory calculation
Machining locus after generating adding technology.
The present invention compared with the existing technology, can geological information to part or process information make reversible modification and
It modifies again;Individually geological information or technique mark information are made an amendment and will not be influenced each other;To done kinds of processes processing zero
Part entity, it may be considered that calculated, exported relatively reasonable to the priority between each process and the relationships such as influence each other
Graphical display and machining locus.
Detailed description of the invention
Fig. 1 is work flow diagram of the invention.
Fig. 2 is the schematic diagram of embodiment one in the present invention.
Fig. 3 is the schematic diagram of embodiment two in the present invention.
Fig. 4 is the schematic diagram of embodiment three in the present invention.
Specific embodiment
The invention will now be described in further detail with reference to the accompanying drawings.
In the use of the present invention, the information of material object parts can be divided into geological information and technique label letter in cad file
Two parts are ceased, record the geometry and process setting of part respectively;It can't change to part setting technique simultaneously several
What information, but corresponding technique label is added in material object parts;When showing to material object parts, part can be combined
The output that geometry and its technique mark two parts information to be shown, that is, the part shape after showing adding technology;Right
When material object parts carry out the output of machining locus, the geological information and technique mark information of part are combined with same rule, it is defeated
The machining locus after technique has been added out.
Meanwhile software can initialize each of cad file part after importing cad file;It initialized
Journey includes: the material object parts that the part 1) is created to each part, thus to the geological information and technique information of part
It is recorded;2) with the geometry of geological information record part;3) it is needed with the form record part of technique label to be added
Process, and all relevant parameters that type of the technique label comprising process and addition process needs are used;
4) geometry for analyzing part carries out the initialization of technique information, automatically generates and adds some most basic technique labels;
During the modification to part, it is characterized in that: 1) being needed to carry out technique to part according to actual processing in user
The addition of processing when being deleted or modified, can only mark the technique in technique information and be added, delete and modify, will not be right
Geological information has any influence;2) when user carries out modification geometrically to part, the geological information of part can be only modified, no
There can be any influence to technique information;
Finally shown and feature when machining locus in calculating parts pattern are as follows: 1) when to material object parts show,
Two parts information can be marked in conjunction with the geometry of part and its technique, calculate the display figure of material object parts.For convenience
User intuitively observes, and can show what the geometry lines of process auxiliary line generated and part itself were distinguished
Come, such as represents different geometry lines with different colours or not synteny;2) the defeated of machining locus is being carried out to material object parts
When out, two parts information can be marked in conjunction with the geometry of part and its technique, calculate the processing for generating and having added after technique
Then track is exported;3) it once the geological information or technique information of material object parts produce any variation, can all weigh
Newly calculate and refresh display figure and the machining locus output of material object parts;4) generation of the display of material object parts and machining locus
The rule used is consistent, the curve of generation be also it is identical, seen part shows that figure is resulting processing
Track;5) in the case where in the technique information of material object parts containing kinds of processes label, when calculating, can consider between technique label
The relationship that influences each other, technique label and the relationship that influences each other of part geometry, generate more reasonable part show figure and plus
Work track.
Embodiment one:
In the beginning and end of processing due to perforate or laser is unstable in laser cutting, slot has overlapping etc.
Reason, cut quality it is difficult to ensure that, to guarantee the smooth smoothness of parts profile, it is general using addition secondary process route as profile
The beginning and end of cutting makes laser cutting path cut the method cut out other than profile, exactly leads in/out at Wiring technology
Reason.
As shown in Fig. 2, part original image is the gear shape drawn with solid line, the technique of addition is drawing of being drawn in phantom
Enter line, technique mark information are as follows: process is lead-in;Lead form is circular arc introducing, wire length 10mm, introduction point
It induces one a little for such as figure.Figure such as can be generated automatically according to the information for introducing Wiring technology label when then calculating display and machining locus to introduce
Line.Geological information or introducing Wiring technology label to the material object parts can all regenerate new display result after making any modification
And machining locus.
Embodiment two:
In laser cutting, since laser facula has certain width, when being cut according to part geometry shape, actually obtain
Part size can than the undersized on drawing, solution be usually by machining locus one slot radius value of offset come into
Row compensation, as cutting gap compensation.
If Fig. 3 is the example of a cutting gap compensation process: part original image is the gear shape drawn by solid line, is added
After adding cutting gap compensation, being formed by new machining locus is shown in dotted line.Geological information or lead-in work to the material object parts
Skill label can all regenerate new display result and machining locus after making any modification.
Embodiment three:
It, can be first according to cutting gap compensation if a material object parts exist simultaneously cutting gap compensation technique and lead in/out Wiring technology
Calculation calculate auxiliary equal space line, then lead line is added to auxiliary equal space line.It is last the result is that leading in/out
Line, which adds, to be applied in cutting gap compensation auxiliary line, is the reasonable treating method of comparison that can satisfy actual processing demand in this way.
As shown in figure 4, be one while being added to the part of cutting gap compensation and lead-in, the shape of part script such as solid line
Drawn, the machining locus after adding lead-in and cutting gap compensation technique is drawn as dashed lines, it is seen that the method marked with technique
The relationship that influences each other being considered that between technique label when kinds of processes exists simultaneously, reasonably generates final processing
Track.