The method of clinoplain mapping processing removing body
Technical field
The present invention relates to three-dimensional process design methods, and in particular to is mapped as clinoplain to process removing body accordingly
Method, primarily to the function of abundant process design system, can realize the technological design for clinoplain.
Background technology
In recent years, as Three-dimensional CAD Technology constantly develops and applies, threedimensional model has gradually been applied to the full life of product
It orders in the period, such as development phase, design phase and processing and manufacturing stage.It is set to reduce the time of technological design, improve technique
The efficiency and consistency of meter, Moulds Based on Three-Dimensional Models is also just gradually being applied in System of CAPP, because three-dimensional
Product model not only contains a large amount of technique information, but also the expression process information that can intuitively change.Based on 3 d part model
Carry out the inexorable trend that CAPP System has become manufacturing informatization development.
For how to obtain the corresponding removing body of machining feature, cause the concern of many researchers, have lot of documents into
Gone elaboration, technological design carried out towards some plate chamber class parts, these parts all contain relatively simple machining feature such as hole,
Slot, chamfering etc. can easily obtain corresponding removing body, create corresponding inter process model, but without in particular
The processing method of bright clinoplain.
Mostly it is to carry out technological design by creating inter process model at present in three-dimensional process design system, creates phase
It is to obtain the corresponding removing body of each machining feature to answer the key of inter process model, and still, each system is directed to clinoplain but always
Accurate process removing body cannot be obtained.In the mechanical processing technique design system developed such as Southeast China University, for convex on inclined surface
The corresponding processing method of feature extraction is played, however, the model verified all is the machine-made spares containing regular planar, to adjacent
The case where face is cylindrical surface and circular conical surface does not illustrate, the corresponding removing body of clinoplain cannot be accurately obtained based on the method;
Also document proposes to obtain corresponding removing body by stretching or offsetting dip plane, but the removing body obtained is not met
The volume of actual processing removal.For this purpose, the method that the invention proposes the corresponding processing removing body of clinoplain mapping, it can not only
The function of process design system is enriched, the application of three-dimensional process design has also been promoted.
Invention content
Goal of the invention:In view of the deficiencies of the prior art, a kind of that clinoplain mapping is corresponding present invention aims at providing
The method for processing removing body, this method can accurately obtain clinoplain and process removing body accordingly, create corresponding process mould
Type, this method enrich the function of process design system, and the application to promoting three-dimensional process design is of great significance.
Technical solution:Clinoplain of the present invention is to be different from general horizontal plane or vertical plane, it is also
Relatively conventional a kind of machining feature in machined part, can not only meet special connection requirement, and can increase knot
Structure strength and stiffness.Purpose to realize the present invention, the present invention adopt the following technical scheme that:
A kind of method of clinoplain mapping processing removing body, includes the following steps:
(1) clinoplain and its adjacent surface group are obtained, the wherein adjacent surface of inclined surface can be plane, cylindrical surface, circular conical surface
Or ruled surface;
(2) according to the geometrical relationship of clinoplain and adjacent surface group, judge that the type of clinoplain, the type include opening
Put adjacent surface group and closing adjacent surface group two types;
(3) the corresponding processing removing body of clinoplain is created, wound is based on for the clinoplain of open adjacent surface set type
The mode for building virtual plane obtains corresponding processing removing body, and the clinoplain for closing adjacent surface set type is based on the plane of flattening
The mode of group obtains corresponding processing removing body.
The acquisition methods of clinoplain and its adjacent surface include the following steps in the step (1):
(1.1) it selects clinoplain as seed face to be searched based on interactive mode, and is stored in list, then
Obtain the composition side of the clinoplain;
(1.2) using the side of acquisition as object search, two planes for forming the side are obtained, and be stored in list, then
Identical element in Exclude Lists;
(1.3) search on all sides is completed, the face group contained in output listing obtains clinoplain and its adjacent surface
Group.
Judge that the method for the type of clinoplain is in the step (2):It being capable of phase if adjacent surface extends in space
It hands over, in conjunction with enclosure space can be formed behind inclined surface, then is judged as closing adjacent surface group;If the extension in space of adjacent surface
After can not intersect, in conjunction with enclosure space cannot be formed behind inclined surface, be then judged as open adjacent surface group.
The method that the processing removing body of the clinoplain of open adjacent surface set type is obtained in the step (3) includes as follows
Step:
(3.1) it obtains marginal point all on clinoplain and obtains the phase between adjacent surface if adjacent surface is all plane
Hand over side;If adjacent surface is cylindrical surface or circular conical surface, all axis are obtained;If in adjacent surface both include plane and also include cylinder
Face, circular conical surface or ruled surface then obtain the intersection edges in each face;
(3.2) if the adjacent surface of clinoplain is all or part of cylindrical surface or circular conical surface, by the edge on clinoplain
Spot projection obtains the peak of subpoint on axis on the axis of cylindrical surface or circular conical surface, and the vertical axis simultaneously passes through highest
Point creates virtual plane;If the adjacent surface of clinoplain is all plane, the intersection of any adjacent plane intersection is obtained, it is flat by tilting
All marginal points on face are projected on the intersection, obtain the peak of subpoint on the intersecting lens, simultaneously perpendicular to the intersecting lens
Virtual plane is created by peak;If adjacent surface is made of ruled surface, the intersection edges of each curved surface are obtained, and by it by rule
Extend, the marginal point of clinoplain is projected on the intersecting lens of extension, obtains the peak of subpoint on intersecting lens, perpendicular to
The intersecting lens simultaneously creates virtual plane by peak;
(3.3) the adjacent surface group of extension clinoplain, intersects with the virtual plane created in space, and combines and obtain
Clinoplain, the enclosure space surrounded is the removing body corresponding to clinoplain.
The method of the processing removing body of the clinoplain of acquisition closing adjacent surface set type is in the step (3):Extend
The removing body that adjacent surface is mapped to the closed interval intersected and surrounded in conjunction with clinoplain for the clinoplain.If adjacent surface is
Cylindrical surface or circular conical surface extend according to its busbar;If adjacent surface is ruled surface, extend according to relevant parameter rule.It will
After adjacent surface extends into intersection, in conjunction with clinoplain and based on the virtual plane that interactive mode creates, the enclosure space surrounded
Removing body as corresponding to clinoplain.
Advantageous effect:Clinoplain is mapped corresponding removal by proposed by the invention being realized based on the method for geometric reasoning
The method of body carries out the machine-made spares containing clinoplain its purpose is to enrich the function of three-dimensional process design system
Technological design.Presently, there are process design system in, cannot accurately obtain the corresponding removing body of clinoplain, it is even more impossible to create
Corresponding process model, therefore, a kind of method that clinoplain is mapped to corresponding removing body proposed by the present invention can not only be rich
The function of rich process design system has also promoted the application of three-dimensional process design.
Description of the drawings
Fig. 1 is the processing removing body schematic diagram that current process design system obtains clinoplain, and (a) is flat according to offset
Face method obtains schematic diagram, is (b) removing body obtained.
Fig. 2 is the corresponding removing body schematic diagram of clinoplain that the present invention obtains, and (a) is the processing zero containing clinoplain
Part (b) is the removing body obtained according to the method for the present invention.
Fig. 3 is the method flow diagram of the clinoplain mapping processing removing body of the present invention.
Fig. 4 is the algorithm flow chart for obtaining inclined surface and its adjacent plane.
Fig. 5 is the example process schematic diagram of the inclined surface mapping removing body of the opening adjacent surface group in the embodiment of the present invention.
Specific implementation mode
In the following with reference to the drawings and specific embodiments, the invention will be further described.
Fig. 1 is the processing removing body obtained by stretching or offsetting dip plane, passes through the normal vector along clinoplain
(F1) it stretches or deviates the plane and the removing body that is formed, it is clear that gone as it can be seen that obtained removing body is not process
Except the material volume of body.Fig. 2 (b) expression is the material volume removed in the clinoplain process.As seen from Figure 1,
Presently, there are method can accurately not obtain the removing body corresponding to clinoplain.
A kind of method of clinoplain mapping processing removing body disclosed by the embodiments of the present invention, first against clinoplain with
And the geometrical property of association adjacent surface, the adjacent surface of clinoplain is divided into two types:Open adjacent surface group and closing are adjacent
Face group;The method for being then based on feature recognition obtains this feature face group and its adjacent surface, and determines its respective type;Last needle
To the processing request of this feature, the corresponding removing body of clinoplain is created using the method for geometric reasoning.As shown in figure 3, being
The method flow diagram of the embodiment of the present invention, mainly includes the following steps:
(S1) clinoplain and its adjacent surface group are obtained, the wherein adjacent surface of inclined surface can be plane, cylindrical surface, circular conical surface
Or ruled surface.Accurately identify that clinoplain and its adjacent surface are the bases for mapping removing body, the present invention proposes thus
The algorithm flow of identification clinoplain and adjacent surface is as shown in figure 4, its algorithm flow is as described below:
(1.1) after technologist interacts pickup clinoplain, all sides that the face is contained are obtained, by clinoplain and are owned
Side is stored in respectively in temporary table Face_list, Edge_list;
(1.2) using all sides of acquisition as object search, two intersections for forming the side are obtained, and are stored in interim
In list Face_list, and judge whether contain identical plane in list, is deleted if containing if;
(1.3) after having searched for all sides, the quantity in Face_list is compared with quantity of the clinoplain comprising side
Compared with if unanimously, illustrating to obtain the corresponding adjacent surface of the clinoplain, otherwise, algorithm will continue to.
(S2) judge the type of clinoplain.Clinoplain is classified as two kinds of situations according to the geometrical property of adjacent surface:
Open adjacent surface group and closing adjacent surface.Its basis for estimation is whether the adjacent surface after extending forms enclosure space in space,
Judgment method is as follows:If adjacent surface extends in space to intersect, in conjunction with enclosure space can be formed behind inclined surface, then claim
This feature is closing adjacent surface group;If can not intersect after the extension in space of adjacent surface, in conjunction with being unable to shape behind inclined surface
At enclosure space, then this feature is referred to as open adjacent surface group.
(S3) the corresponding processing removing body of clinoplain is created, wound is based on for the clinoplain of open adjacent surface set type
The mode for building virtual plane obtains corresponding processing removing body, and the clinoplain for closing adjacent surface set type is based on the plane of flattening
The mode of group obtains corresponding processing removing body.
The algorithm of the clinoplain mapping processing removing body of wherein open adjacent surface group is as follows:(a) obtain clinoplain and
Its adjacent surface group:All marginal points on clinoplain are obtained, if adjacent surface is all general plane, obtain the intersection between adjacent surface
Side;If adjacent surface is all cylindrical surface or circular conical surface, the axis of cylinder is obtained;If in adjacent surface both include plane and also include cylinder
Face, circular conical surface or ruled surface then obtain the intersection edges in each face;(b) virtual plane is created:If the adjacent surface of clinoplain is all
Plane obtains the intersection of any adjacent plane intersection, all the points on clinoplain is projected on the intersection, in changing coordinates
All subpoints on the intersecting lens are obtained under system and obtain peak, are created perpendicular to the intersecting lens and by peak virtual
Plane;If the adjacent of clinoplain is all or part of cylindrical surface or circular conical surface, the marginal point on clinoplain is projected on circle
On the axis of cylinder or circular conical surface, the peak of subpoint on axis is obtained under current coordinate system, the vertical axis simultaneously passes through
Peak creates virtual plane;If adjacent surface is made of ruled surface, the intersection edges of each curved surface are obtained, and it is prolonged by rule
Exhibition, the marginal point of clinoplain is projected on the intersecting lens of extension, under current coordinate system obtain axis on subpoint most
High point creates virtual plane by peak;(c) removing body is mapped:Extend the adjacent surface group of the clinoplain, in space with
The virtual plane intersection created, and the inclined surface obtained is combined, the enclosure space surrounded is corresponding to clinoplain
Removing body.If adjacent surface is cylindrical surface or circular conical surface, extend according to its busbar;If adjacent surface is ruled surface, according to phase
Parameter rule is answered to extend.
The algorithm flow for closing the clinoplain mapping removing body of adjacent surface group is as follows:(a) extension adjacent surface extremely intersects simultaneously
In conjunction with the closed interval that clinoplain is surrounded, that is, it is referred to as the removing body of clinoplain mapping;(b) according to processing request need
Virtual plane is created, in conjunction with the adjacent surface group of extension, obtains corresponding removing body.
Method in order to absolutely prove clinoplain mapping processing removing body proposed by the present invention, to open adjacent surface inclination
For the detailed process of this method is illustrated.The protruding features contain shown in part model such as Fig. 5 (a) of clinoplain,
Clinoplain F contains there are four adjacent surface F1-F4, and the method flow for mapping corresponding removing body is described below:
(1) based on clinoplain and its algorithm flow of adjacent surface group is obtained described in figure 4 above, by the clinoplain of acquisition
Labeled as F, four adjacent surface groups of identification are respectively labeled as F1, F2, F3 and F4, as shown in Fig. 5 (a).
(2) intersection edges for obtaining any adjacent surface are denoted as E1, search for the point contained by clinoplain and labeled as P1, P2,
P3 and P4, and all the points are projected on intersection edges E1, the highest subpoint in position, the then projection are obtained under current coordinate system
Point is the subpoint of P2 and P3, P0 is labeled as, as shown in Fig. 5 (b).
(3) virtual plane is created.The virtual plane created crosses subpoint P0 perpendicular to intersection edges E1, is created
Shown in virtual plane such as Fig. 5 (c).
(4) extension adjacent surface.Extend and each adjacent surface and intersect with the virtual plane created, and combine clinoplain, then
Closed interval is formd, as shown in Fig. 5 (d).
(5) removing body corresponding to the clinoplain is obtained, upper left hand corner section is the removing body obtained, such as Fig. 5 (e) institutes
Show.
The above described is only a preferred embodiment of the present invention, being not intended to limit the present invention in any form.It is right
It is familiar with for the related personnel of the art in any, under the premise of not departing from the technology of the present invention essence, can also makes
Some improvements and modifications, these improvement and modification also should be regarded as protection scope of the present invention.