Merge the three-dimensional process model building method of tool radius
Technical field
The present invention relates to a kind of three-dimensional process model building method, more particularly to a kind of three-dimensional work for merging tool radius
Sequence model building method.
Background technology
Document " three-dimensional process for machining inter process model Method of Creation Process [J] computer integrated manufacturing systems, 2014,
20(07):1546-1552 " discloses a kind of three-dimensional process for machining inter process model fast construction method.This method is according to machine
The generating mode and feature of part model machining feature are processed, it is special that machining feature is divided into recess feature, protruding features and transition
Levy group;Based on feature identification technique, characteristic face group be research object, machining feature needed for combined process knowledge is identified
Face group;With half space thought and basic modeling method, obtain manufacturing feature body and preserve;Obtain raw after all manufacture character
Into part blank model, boolean operation is carried out with the manufacturing feature body of acquisition, it is quick to create inter process model.Document methods described
It is to build three-dimensional process model by elementary cell of manufacturing feature body, and manufacturing feature body obtains and only relies on and design feature
Do not consider blank shape, do not meet actual processing.In actual process, current process model is forerunner's process
Model and the processing member of seriation are done constructed by Boolean calculation, are, to process first body as elementary cell, and to process first body size
Depend not only upon and design a model, it is also related to forerunner's process model, while also influenceed by tool radius, thus constructed by document
Three-dimensional process model construction can not react the process model under actual processing exactly.
The content of the invention
In order to overcome the shortcomings of existing three-dimensional process model building method poor practicability, the present invention provides a kind of fusion cutter
The three-dimensional process model building method of radius.Manufacturing feature sequence is turned to processing member by this method, to process first body to be substantially single
Member makees Boolean calculation, the three-dimensional process model of generation with forerunner's process model.By obtain the basal plane ring of manufacturing feature be used as it is initial
Curve, using side margins and tool radius as offset parameter, is repeatedly biased and is asked friendship to calculate initial curve, finally obtained
The cross section contour of processing member is taken, initial surface, the terminal surface of stretching is specified, the first body of processing is constructed exactly, realizes to add
Work member body is the three-dimensional process model construction of elementary cell, and the three-dimensional process model under actual processing is reflected exactly.
Because the curve offset algorithm using fusion tool radius biases the basic ring of manufacturing feature, stretching bias curve generation processing member
Body, not only realizes the generation of the first body of processing but also the size of the first body of processing tallies with the actual situation;The first body of processing is done with blank
Boolean calculation generates intermediate step model, the three-dimensional process model of structure is met actual processing situation.Also, given surplus
Value, tool radius just can quickly and accurately generate the first body of processing, reach and constantly check whether margin value and tool radius are reasonable,
Improve the efficiency of technics institution.For the manufacturing feature with isolated island and drafting angle, layering processing and increase stretching are given
Line method is guided, makes usage range more extensive.
The technical solution adopted for the present invention to solve the technical problems is:A kind of three-dimensional process model for merging tool radius
Construction method, is characterized in using following steps:
Step 1: the Element Design model M of input registrationaWith blank model Mb。
Step 2: from Element Design model MaManufacturing feature collection is extracted, and specifies the basal plane of each manufacturing feature, stretching
Initial surface and stretching terminal surface.
MFi=(bfi,sfi,tfi), 0≤i≤n (1)
In formula, MFiI-th of manufacturing feature is represented, n is the total number of manufacturing feature, bfi、sfiAnd tfiIt is expressed as
Basal plane, stretching initial surface and the stretching terminal surface of i manufacturing feature.
1. when manufacturing feature includes isolated island, manufacturing feature is decomposed into multiple manufacturing features to be layered process principle, with
Substep is processed.The outer shroud of manufacturing feature is chosen, the top surface for selecting isolated island is initial tensile face, is used as a manufacturing feature.Selection
The outer shroud and isolated island inner ring of manufacturing feature, select the basal plane of manufacturing feature as initial surface, the top surface of isolated island is termination Extrude Face,
It is used as another manufacturing feature.
2. when manufacturing feature band drafting angle, basal plane, initial tensile face and the terminal surface of manufacturing feature are selected, and select
The side face edge of manufacturing feature is taken, the guide line of stretching is used as.
Step 3: definition processing member, turns to series by manufacturing feature sequence and processes member, more than the side that processing member is given respectively
Value, bottom surface margin value and tool radius, and be associated with corresponding process.
Mij=(MFi,Saij,Baij,Trij), 0≤j≤ni (2)
In formula, MijRepresent j-th of processing member of i-th of manufacturing feature, niIt is i-th of manufacturing feature according to technological requirement institute
The processing member total number of serializing, Saij、BaijAnd TrijBe expressed as the processing member side margins value, bottom surface margin value and
Tool radius.
Step 4: interaction/automatic basic ring for obtaining manufacturing feature, using side margins value and tool radius as offset parameter,
Basic ring is biased, new bias curve is generated, its curve offset algorithm is comprised the following steps that:
1. automatic/interaction obtains the basal plane ring S of manufacturing feature1, calculate every attribute on side in ring.
Edge=(SP, EP, CR, CP, R, AR, Type, Convexity, isInner) (3)
In formula, SP and EP, CR and CP represent the starting point and terminal and centre point and c on side respectively;Type represents side
Type;R represents the corresponding face of cylinder radius value of the radius value and curve on side with AR respectively;Convexity represents the concavity and convexity on side;
Whether isInner judges the center of circle on side in polygon.
2. using side margins Sa as bias, to ring S1It is biased formation curve S2, wherein concave edge biasing chimb it is not inclined
Put, and calculated curve S2Every attribute on middle biasing side.
Edge_s=(SP, EP, CR, CP, R, Type, Convexity, isInner, isValid, isSame) (4)
In formula, isValid judges whether the biasing side is effective;IsSame judge the biasing while with it is corresponding while direction
It is whether consistent.
3. using tool radius Tr as bias, to curve S2It is biased formation curve S3。
4. trimmed curve S3, obtain curve S4。
5. the point using curve S4 is the center of circle, and tool radius Tr is radius, draws series circle C { c0,c1,…,cn, its midpoint
Belong to chimb does not draw circle.
6. according to bias curve S2, cut series circle C { c0,c1,…,cn, obtain serial circular arc C1{c0′,c1′,…,c
′n}。
7. according to serial circular arc C1{c0′,c1′,…,c′n, cut bias curve S2, obtain final bias curve S5。
Step 5: stretching the first body of bias curve generation processing, with blank/forerunner's process model boolean operation, generation is middle
Process model.
Step 6: step 5 is skipped to, until all processing members are generated, by blank model MbDevelop into Element Design model Ma。
Last intermediate step model under process correspondence, is exactly the corresponding three-dimensional process model of the process.
The beneficial effects of the invention are as follows:Manufacturing feature sequence is turned to processing member by this method, to process first body to be substantially single
Member makees Boolean calculation, the three-dimensional process model of generation with forerunner's process model.By obtain the basal plane ring of manufacturing feature be used as it is initial
Curve, using side margins and tool radius as offset parameter, is repeatedly biased and is asked friendship to calculate initial curve, finally obtained
The cross section contour of processing member is taken, initial surface, the terminal surface of stretching is specified, the first body of processing is constructed exactly, realizes to add
Work member body is the three-dimensional process model construction of elementary cell, and the three-dimensional process model under actual processing is reflected exactly.
Because the curve offset algorithm using fusion tool radius biases the basic ring of manufacturing feature, stretching bias curve generation processing member
Body, not only realizes the generation of the first body of processing but also the size of the first body of processing tallies with the actual situation;The first body of processing is done with blank
Boolean calculation generates intermediate step model, the three-dimensional process model of structure is met actual processing situation.Also, given surplus
Value, tool radius just can quickly and accurately generate the first body of processing, reach and constantly check whether margin value and tool radius are reasonable,
Improve the efficiency of technics institution.For the manufacturing feature with isolated island and drafting angle, layering processing and increase stretching are given
Line method is guided, makes usage range more extensive.
The present invention is elaborated with reference to the accompanying drawings and detailed description.
Brief description of the drawings
Fig. 1 is the flow chart of the three-dimensional process model building method of present invention fusion tool radius.
Fig. 2 is curve offset algorithm demonstration graph in the inventive method.Fig. 2 (a) is biasing basal plane by deviant of margin value
Ring S1, obtain curve S2;Fig. 2 (b) is using tool radius as deviant bias curve S2, obtain curve S3;Fig. 2 (c) is to cut song
Line S3, obtain serial curve S4;Fig. 2 (d) is with S4Point be centre point, tool radius is radius, draw series circle C;Fig. 2 (e)
It is according to curve S2, series circle C is cut, serial circular arc C is formed1;Fig. 2 (f) is according to serial circular arc C1, trimmed curve S2, obtain
Final serial curve S5。
Fig. 3 is the roughing process case of the inventive method embodiment part.Fig. 3 (a) be registration part model and
Blank model;Fig. 3 (b) is roughing spill grooving;Fig. 3 (c) is roughing cuboid die cavity 1;Fig. 3 (d) is that roughing is rectangular
Build chamber 2;Fig. 3 (e) is slightly to add the step with isolated island;Fig. 3 (f) is slightly to add the step with isolated island.
Embodiment
Reference picture 1-3.The three-dimensional process model building method of present invention fusion tool radius is comprised the following steps that:
The roughing process content and technological parameter (as shown in Table 1) of certain part are given, using fusion tool radius
Method constructs a three-dimensional process model.
The roughing process content of certain part of table 1
(a) the Element Design model M of registration is inputtedaWith blank model Mb。
(b) from Element Design model extraction manufacturing feature collection, and the basal plane of each manufacturing feature, stretching initial surface are specified
With stretching terminal surface.
MFi=(bfi,sfi,tfi), 0≤i≤n (1)
In formula, MFiI-th of manufacturing feature is represented, n is the total number of manufacturing feature, bfi、sfiAnd tfiIt is expressed as
Basal plane, stretching initial surface and the stretching terminal surface of i manufacturing feature.For different manufacturing features, it is necessary to additional different category
Property value, can be properly generated.
1. when manufacturing feature includes isolated island, manufacturing feature is decomposed into multiple manufacturing features to be layered process principle, with
Substep is processed.The outer shroud of manufacturing feature is chosen, the top surface for selecting isolated island is initial tensile face, is used as a manufacturing feature.Selection
The outer shroud and isolated island inner ring of manufacturing feature, select the basal plane of manufacturing feature as initial surface, the top surface of isolated island is termination Extrude Face,
It is used as another manufacturing feature.
2. when manufacturing feature band drafting angle, basal plane, initial tensile face and the terminal surface of manufacturing feature are selected, and select
The side face edge of manufacturing feature is taken, the guide line of stretching is used as.
(c) definition processing member, turns to series processing member by manufacturing feature sequence, the side margins of processing member is given respectively
Value, bottom surface margin value and tool radius, and be associated with corresponding process.
Mij=(MFi,Saij,Baij,Trij), 0≤j≤ni (2)
In formula, MijRepresent j-th of processing member of i-th of manufacturing feature, niIt is i-th of manufacturing feature according to technological requirement institute
The processing member total number of serializing, Saij、BaijAnd TrijBe expressed as the processing member side margins value, bottom surface margin value and
Tool radius.
(d) interaction/automatic basic ring for obtaining manufacturing feature, using side margins value and tool radius as offset parameter, to base
Ring is biased, and generates new bias curve, and its curve offset algorithm is comprised the following steps that:
1. automatic/interaction obtains the basal plane ring S of manufacturing feature1, calculate every attribute on side in ring.
Edge=(SP, EP, CR, CP, R, AR, Type, Convexity, isInner) (3)
In formula, SP and EP, CR and CP represent the starting point and terminal and centre point and c on side respectively;Type represents side
Type, such as straight line, circular arc, full circle;R represents the corresponding face of cylinder radius value of the radius value and curve on side with AR respectively;
Convexity represents the concavity and convexity on side, such as concave edge, chimb, smooth concave edge, smooth chimb;IsInner judge side the center of circle whether
In polygon.
2. reference picture 2 (a), using side margins Sa as bias, to ring S1It is biased formation curve S2, wherein concave edge is inclined
Chimb is put not bias, and calculated curve S2Every attribute on middle biasing side.
Edge_s=(SP, EP, CR, CP, R, Type, Convexity, isInner, isValid, isSame) (4)
In formula, SP, EP, CR, CP, R, Type, Convexity, isInner is as the implication that formula (1) is expressed;
IsValid judges whether the biasing side is effective;IsSame judge the biasing while with it is corresponding while direction it is whether consistent.
3. reference picture 2 (b), using tool radius Tr as bias, to curve S2It is biased formation curve S3。
4. reference picture 2 (c), trimmed curve S3, obtain curve S4。
5. reference picture 2 (d), the point using curve S4 is the center of circle, and tool radius Tr is radius, draws series circle C { c0,c1,…,
cn, what its midpoint belonged to chimb does not draw circle.
6. reference picture 2 (e), according to bias curve S2, cut series circle C { c0,c1,…,cn, obtain serial circular arc C1
{c0′,c1′,…,c′n}。
7. reference picture 2 (f), according to serial circular arc C1{c0′,c1′,…,c′n, cut bias curve S2, obtain final biasing
Curve S5。
(e) the first body of stretching bias curve generation processing, with blank/forerunner's process model boolean operation, generates intermediate step
Model.
(f) step (e) is skipped to, until all processing members are generated, by blank model MbDevelop into Element Design model Ma.Work
Ordered pair should under last intermediate step model, be exactly the corresponding three-dimensional process model of the process.
Comprise the following steps that:
1. reference picture 3 (a), registration details design a model and initial blank model.
2. reference picture 3 (b), specifies the basal plane, stretching initial surface and stretching terminal surface of Reentrant Cavity;Given Reentrant Cavity roughing
The bottom surface margin value Ba of member is that 2mm, side margins Sa are 2mm and tool radius Tr is 10mm;Biasing stretching generation roughing member
Body, Boolean calculation is done with initial blank, generates current intermediate step model.
3. reference picture 3 (c), specifies the basal plane, stretching initial surface and stretching terminal surface of cuboid die cavity 1;Given cuboid
The bottom surface margin value Ba of the roughing of die cavity 1 member is that 2mm, side margins Sa are 2mm and tool radius Tr is 10mm;Stretching generation is thick
The first body of processing, does Boolean calculation with forerunner's intermediate step model, generates current intermediate step model.
4. reference picture 3 (d), specifies the basal plane, stretching initial surface and stretching terminal surface of cuboid die cavity 2;Given cuboid
The bottom surface margin value Ba of the roughing of die cavity 2 member is that 2mm, side margins Sa are 2mm and tool radius Tr is 10mm;Stretching generation is thick
The first body of processing, does Boolean calculation with forerunner's intermediate step model, generates current intermediate step model.
5. isolated island step, is divided into two manufacturing features by reference picture 3 (e) by the principle of stratification.The outer shroud of step is chosen, is selected
The top surface of isolated island is initial tensile face, and forerunner's intermediate step model top surface is termination Extrude Face;More than the bottom surface of given roughing member
Value Ba is that 2mm, side margins Sa are 2mm and tool radius Tr is 10mm;Stretching generation roughing member body, with work in the middle of forerunner
Sequence model does Boolean calculation, generates current intermediate step model.
6. reference picture 3 (f), selects the outer shroud and isolated island inner ring of step, selectes the basal plane of step as initial surface, isolated island
Top surface is used as another manufacturing feature to terminate Extrude Face.The bottom surface margin value Ba of given roughing member is 2mm, side margins
Sa is 2mm and tool radius Tr is 10mm;Stretching generation roughing member body, Boolean calculation is done with forerunner's intermediate step model, raw
Into current intermediate step model.The intermediate step model is exactly the corresponding three-dimensional process model of this process.