Clinoplain maps the method for processing removing body
Technical field
The present invention relates to three-dimensional process method for designing, be specifically related to clinoplain is mapped as the corresponding method processing removing body, be primarily to the function of abundant process design system, it is possible to realize the technological design for clinoplain.
Background technology
In recent years, constantly developing along with Three-dimensional CAD Technology and apply, threedimensional model is progressively applied in the Life cycle of product, such as development, design phase and processing and manufacturing stage.In order to reduce the time of technological design, the efficiency improving technological design and concordance, Moulds Based on Three-Dimensional Models is also just progressively applied in System of CAPP, because Moulds Based on Three-Dimensional Models does not contain only substantial amounts of technique information, and the expression process information that can intuitively change.It is calculated machine auxiliary technique based on 3 d part model and has become as the inexorable trend of manufacturing informatization development.
The removing body corresponding for how obtaining machining feature, cause the concern of many researcheres, lot of documents is had to be set forth, technological design is carried out towards some plate chamber class parts, these parts all contain relatively simple machining feature such as hole, groove, chamfering etc., the removal volume of correspondence can be obtained easily, create corresponding inter process model, but but do not clearly state the processing method of clinoplain.
In current three-dimensional process design system, it is mostly carry out technological design by creating inter process model, create corresponding inter process model it is crucial that obtain the removal volume that each machining feature is corresponding, but, each system but can not obtain all the time for clinoplain accurately operation remove volume.In the mechanical processing technique design system of Southeast China University's exploitation, corresponding processing method is proposed for the protruding features in inclined plane, but, the model verified is all the machine-made spares containing regular planar, the situation that adjacent surface is the face of cylinder and taper seat is not set forth, can not accurately obtain, based on the method, the removal volume that clinoplain is corresponding;Also have document to be proposed by stretching or offsetting dip plane and obtain corresponding removing body, but the volume of removing obtained does not meet the volume that actual processing is removed.For this, this invention proposes clinoplain and maps the method that volume is removed in corresponding processing, can not only enrich the function of process design system, also promote the application of three-dimensional process design.
Summary of the invention
Goal of the invention: for the deficiencies in the prior art, present invention aim at providing a kind of and clinoplain is mapped the corresponding method processing removing body, the method can accurately obtain clinoplain and process removal volume accordingly, create corresponding operation model, the method enriches the function of process design system, and the application promoting three-dimensional process design is significant.
Technical scheme: clinoplain of the present invention is different from general horizontal plane or vertical plane, it is also a class machining feature relatively conventional in machined part, can not only meet special connection requirement, and can increase structural strength and rigidity.For realizing the object of the invention, the present invention adopts the following technical scheme that
A kind of clinoplain maps the method for processing removing body, comprises the steps:
(1) obtaining clinoplain and adjacent surface group thereof, wherein the adjacent surface of inclined plane can be plane, the face of cylinder, taper seat or ruled surface;
(2) geometrical relationship according to clinoplain and adjacent surface group, it is judged that the type of clinoplain, described type includes open adjacent surface group and closes adjacent surface group two types;
(3) the processing removing body that clinoplain is corresponding is created, the clinoplain of open adjacent surface set type is obtained to the processing removing body of correspondence based on the mode creating virtual plane, obtain the processing removing body of correspondence for closing the clinoplain of adjacent surface set type based on the mode of plane of flattening group.
In described step (1), the acquisition methods of clinoplain and adjacent surface thereof comprises the steps:
(1.1) select clinoplain as seed face to be searched based on interactive mode, and be stored in list, obtain the composition limit of this clinoplain subsequently;
(1.2) with the limit of acquisition for object search, obtain two planes forming this limit, and be stored in list, element identical in Exclude Lists subsequently;
(1.3) search on all limits is completed, face group contained in output listing, obtain clinoplain and adjacent surface group thereof.
The method of the middle type judging clinoplain of described step (2) is: can intersect if adjacent surface extends in space, in conjunction with forming closing space after inclined plane, then is judged as closing adjacent surface group;If can not intersect after the extension in space of adjacent surface, in conjunction with closing space can not be formed after inclined plane, then it is judged as open adjacent surface group.
The method of the processing removing body obtaining the clinoplain of open adjacent surface set type in described step (3) comprises the steps:
(3.1) obtain all of marginal point on clinoplain, if adjacent surface is plane entirely, then obtain the intersection edges between adjacent surface;If adjacent surface is the face of cylinder or taper seat, then obtain all axis;If adjacent surface both having comprised plane also comprise the face of cylinder, taper seat or ruled surface, then obtain the intersection edges of each;
(3.2) if the adjacent surface of clinoplain is all or part of the face of cylinder or taper seat, marginal point on clinoplain is projected on the axis of the face of cylinder or taper seat, obtain the peak of subpoint on axis, vertically this axis create virtual plane by peak;If the adjacent surface of clinoplain is all plane, obtain the intersection that arbitrary adjacent plane intersects, all marginal points on clinoplain are projected on this intersection, obtain the peak of subpoint on this intersecting lens, be perpendicular to this intersecting lens and create virtual plane by peak;If adjacent surface is made up of ruled surface, obtain the intersection edges of each curved surface, and pressed rule extension, the marginal point of clinoplain is projected on the intersecting lens of extension, obtain the peak of subpoint on intersecting lens, be perpendicular to this intersecting lens and create virtual plane by peak;
(3.3) the adjacent surface group of extension clinoplain, intersects with the virtual plane created in space, and in conjunction with the clinoplain of acquisition, defined space of closing is the removing body corresponding to clinoplain.
The method of the processing removing body obtaining the clinoplain closing adjacent surface set type in described step (3) is: extension adjacent surface is to intersecting and being the removing body that this clinoplain maps in conjunction with the closed interval that clinoplain is defined.If adjacent surface is the face of cylinder or taper seat, extend according to its bus;If adjacent surface is ruled surface, extend according to relevant parameter rule.Being extended into by adjacent surface after intersecting, in conjunction with clinoplain and the virtual plane that creates based on interactive mode, defined space of closing is the removing body corresponding to clinoplain.
Beneficial effect: the proposed by the invention method realizing based on the method for geometric reasoning clinoplain maps corresponding removing body, its purpose is to the function of abundant three-dimensional process design system, the machine-made spares containing clinoplain is carried out technological design.In the process design system that presently, there are, can not accurately obtain the removal volume that clinoplain is corresponding, more cannot create corresponding operation model, therefore, a kind of method that clinoplain is mapped corresponding removing body that the present invention proposes, the function of process design system can not only be enriched, also promoted the application of three-dimensional process design.
Accompanying drawing explanation
Fig. 1 is that volume schematic diagram is removed in the processing that clinoplain is obtained by current process design system, and (a) obtains schematic diagram according to offset planes method, and (b) is the removing body obtained.
Fig. 2 is the removal volume schematic diagram that clinoplain that the present invention obtains is corresponding, and (a) is the processing part containing clinoplain, and (b) is the removing body obtained according to the inventive method.
The clinoplain that Fig. 3 is the present invention maps the method flow diagram processing removing body.
Fig. 4 is the algorithm flow chart obtaining inclined plane and adjacent plane thereof.
Fig. 5 is the example process schematic diagram of the inclined plane mapping removing body of the open adjacent surface group in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
Fig. 1 is that volume is removed in the processing obtained by stretching or offsetting dip plane, the removing body formed by stretching or offset this plane along the normal vector of clinoplain (F1), it is obvious that obtained removing body is not the material volume of course of processing institute removing body.What Fig. 2 (b) expressed is the material volume removed in this clinoplain course of processing.As seen from Figure 1, the method that presently, there are can not obtain the removal volume corresponding to clinoplain accurately.
A kind of clinoplain disclosed in the embodiment of the present invention maps the method for processing removing body, first against the geometrical property of clinoplain and association adjacent surface, the adjacent surface of clinoplain is divided into two types: opens adjacent surface group and closes adjacent surface group;The method being then based on feature identification, obtains this characteristic face group and adjacent surface thereof, and determines its respective type;The last processing request for this feature, utilizes the method for geometric reasoning to create the removal volume that clinoplain is corresponding.As it is shown on figure 3, be the method flow diagram of the embodiment of the present invention, mainly comprise the steps:
(S1) obtaining clinoplain and adjacent surface group thereof, wherein the adjacent surface of inclined plane can be plane, the face of cylinder, taper seat or ruled surface.Identify that clinoplain and adjacent surface thereof are the bases mapping removing body exactly, propose for this present invention identify clinoplain and adjacent surface algorithm flow as shown in Figure 4, its algorithm flow is as described below:
(1.1) after technologist picks up clinoplain alternately, obtain all limits that this face is contained, clinoplain and all limits are stored in temporary table Face_list, Edge_list respectively;
(1.2) with all limits of acquisition for object search, obtain two intersection forming this limit, and be stored in temporary table Face_list, and judge whether list contains identical plane, if containing, it is deleted;
(1.3) after having searched for all of limit, the quantity that the quantity in Face_list and clinoplain comprise limit being compared, if unanimously, then illustrate to obtain the adjacent surface that this clinoplain is corresponding, otherwise, algorithm may proceed to.
(S2) type of clinoplain is judged.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 closing space in space, it is judged that method is as follows: can intersect if adjacent surface extends in space, in conjunction with forming closing space after inclined plane, then claims this to be characterized as closing adjacent surface group;If can not intersect after the extension in space of adjacent surface, in conjunction with closing space can not be formed after inclined plane, then this is claimed to be characterized as open adjacent surface group.
(S3) the processing removing body that clinoplain is corresponding is created, the clinoplain of open adjacent surface set type is obtained to the processing removing body of correspondence based on the mode creating virtual plane, obtain the processing removing body of correspondence for closing the clinoplain of adjacent surface set type based on the mode of plane of flattening group.
Wherein the algorithm of the clinoplain mapping processing removing body of open adjacent surface group is as follows: (a) obtains clinoplain and adjacent surface group thereof: obtain all marginal points on clinoplain, if adjacent surface is general closed planar entirely, obtains the intersection edges between adjacent surface;If adjacent surface is the face of cylinder or taper seat entirely, then obtain the axis of cylinder;If adjacent surface both having comprised plane also comprise the face of cylinder, taper seat or ruled surface, then obtain the intersection edges of each;B () creates virtual plane: if the adjacent surface of clinoplain is all plane, obtain the intersection that arbitrary adjacent plane intersects, by all spot projections on clinoplain on this intersection, under current coordinate system, obtain all subpoints on this intersecting lens and obtain peak, be perpendicular to this intersecting lens and create virtual plane by peak;If the adjacent of clinoplain is all or part of the face of cylinder or taper seat, marginal point on clinoplain is projected on the axis of the face of cylinder or taper seat, the peak of subpoint on axis is obtained, vertically this axis create virtual plane by peak under current coordinate system;If adjacent surface is made up of ruled surface, obtains the intersection edges of each curved surface, and pressed rule extension, the marginal point of clinoplain is projected on the intersecting lens of extension, under current coordinate system, obtain the peak of subpoint on axis, create virtual plane by peak;C () maps removing body: the adjacent surface group of this clinoplain that extends, and intersects with the virtual plane created in space, and in conjunction with the inclined plane of acquisition, defined space of closing is the removing body corresponding to clinoplain.If adjacent surface is the face of cylinder or taper seat, extend according to its bus;If adjacent surface is ruled surface, extend according to relevant parameter rule.
Closing the clinoplain of adjacent surface group, to map the algorithm flow of removing body as follows: (a) extension adjacent surface is to intersecting and in conjunction with the defined closed interval of clinoplain, being namely referred to as the removal volume that this clinoplain maps;B () needs to create virtual plane according to processing request, in conjunction with the adjacent surface group extended, obtain corresponding removing body.
In order to absolutely prove the method that the clinoplain that the present invention proposes maps processing removing body, tilt the idiographic flow to this method and illustrate opening adjacent surface.This protruding features contains the part model of clinoplain such as shown in Fig. 5 (a), and this clinoplain F contains four adjacent surface F1-F4, and the method flow mapping corresponding removing body is described below:
(1) based on the algorithm flow obtaining clinoplain and adjacent surface group thereof described in figure 4 above, the clinoplain of acquisition being 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 obtaining arbitrary adjacent surface is designated as E1, search for the point contained by clinoplain and be labeled as P1, P2, P3 and P4, and by all spot projections to intersection edges E1, the subpoint that position is the highest is obtained under current coordinate system, then this subpoint is the subpoint of P2 and P3, it is labeled as P0, as shown in Fig. 5 (b).
(3) virtual plane is created.The virtual plane created is perpendicular to intersection edges E1, and crosses subpoint P0, and the virtual plane created is such as shown in Fig. 5 (c).
(4) extension adjacent surface.Extend each adjacent surface intersecting with the virtual plane created, and in conjunction with clinoplain, then defines closed interval, as shown in Fig. 5 (d).
(5) obtaining the removing body corresponding to this clinoplain, upper left hand corner section is the removing body of acquisition, as shown in Fig. 5 (e).
The above, be only presently preferred embodiments of the present invention, and the present invention not does any pro forma restriction.For any related personnel being familiar with the art, under the premise without departing from the technology of the present invention essence, it is also possible to make some improvement and modification, these improve and modify and also should be regarded as protection scope of the present invention.