Disclosure of Invention
In view of the above, the main objective of the present invention is to provide a method for implementing design of a standard structure module, which substitutes input original design elements into a mathematical model of the standard module, and implements changes of parameter sets, graphic sets, and the like required by the standard structure from the original design elements-derived design elements-by a series of processes such as feature extraction, sampling calculation, and the like. And then, data interaction is carried out through an interface of the three-dimensional design software, and a visible three-dimensional model with a standard structure is generated in the design software.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a design implementation method of a standard structure module comprises the following steps:
A. inputting graphic elements and related parameters;
B. preliminarily determining the positions of the guide plate and the side pins according to the input curve and the correlation factors of the guide plate side pin design rule to obtain a graph set which accords with the calculation rule;
C. determining the positions of the guide plate and the side pins again by combining parts which possibly generate interference, and if the positions which can be distributed exist, obtaining a point, a finite element and other graphic sets which are convenient to describe;
D. sampling calculation is carried out to obtain a graph set which meets the conditions;
E. judging whether the mutual logic and shape-bit relationship among the parts meets the standard or not, and if so, executing the step F;
F. performing shape and position calculation, instantiating parameters, characteristics and graph sets required by the standard structure module to obtain parameters, characteristics and graph sets required by instantiation;
G. performing instantiation processing to obtain a visual standard structure scheme and an assembly result;
H. and carrying out interactive processing after instantiation to obtain a final standard structure scheme and related features, graphs, bodies and tree graph leaf nodes thereof.
Wherein: the graphic elements and related parameters in the step A comprise an upper binder dividing curve CSUP and a stroke ST.
And C, determining the positions of the guide plate and the side pin again, specifically: the portions where interference is likely to occur, such as the punching hole set PS and the wedge CAM, are determined twice with the section set a, and if there is a layout position, a spatial point set is obtained from the regenerated section set a 1.
Step C also includes: if the position of the material can not be distributed, generating a derivative line CSUP1 according to an upper material pressing machine dividing curve CSUP, a punching set PS and a wedge CAM, and backtracking the derivative line CSUP1 to the step B for re-judgment.
D, sampling calculation is carried out, namely spatial points of the objects in the superior set are substituted into a series of mathematical models established according to different guide plate widths W, side pin design rules and characteristics, no solution or poor solution is eliminated, and the solution is output to a solution set; and the qualified graph set comprises a guide plate coverage characteristic set and a side pin coverage characteristic set.
Step D is followed by step J: performing correlation interactive calculation to obtain nodes related to the guide plate and the side pin calculation, and then executing the step E; the method specifically comprises the following steps: the correlation interactive calculation refers to searching and analyzing a plurality of nodes related to the guide plate and the side pin according to the logic rule and the factors of spatial position distribution, detecting the detection size, calculating the weight, and classifying and marking according to the corresponding rule if the weight reaches the preset standard; the nodes related to the guide plate and side pin calculation refer to other nodes related to the guide plate and side pin calculation but not obtained by the design implementation process, and include the punching set PS and the cutter block St.
The process of calculating the form and position in the step F specifically comprises the following steps: correspondingly substituting the superior output result into mathematical models with different classifications and levels according to the classification to calculate, and combining different searching and propagating algorithms according to different initial solutions to obtain a solution set meeting constraint conditions; and then outputting a set of parameters, characteristics and graphs required by instantiation conforming to the preset standard structure module standard.
Step F also includes: performing interactive calculation before the instance, retrieving and marking out relevant nodes which do not accord with the data, backtracking to the problem node for correction calculation, and then returning to the step D for judging again; the interactive calculation before the example is specifically as follows: calculating the guide plate and side pin virtual models according to the upper-level output, and assigning values for the substitution characteristics and the tool characteristics; and the substitution characteristics and the tool characteristics interact with other parts according to the mold design logic and the space form and position, and whether the mutual logic and form and position relation among the parts meets the standard or not is judged.
And G, performing instantiation processing, namely driving design software to generate visual guide plates and side pins according to the previously output parameters, characteristics and graphic sets, wherein the visual guide plates and side pins comprise related decoration characteristics and entities.
The specific process of the step H is as follows: boolean operation, upgrading and downgrading, feature transfer and node transfer operation are carried out on the guide plate and the side pin body after instantiation processing and other decoration features of the guide plate and the side pin body and relevant other parts, parts to be integrated are fused, and the explicit node tree conforms to the habit of general mold design.
The design implementation method of the standard structure module has the following beneficial effects:
1) compared with manual design: the repeated labor of designers is largely eliminated, and the design efficiency is improved. The correctness of the product (and the product process) design can be verified more quickly.
2) Compared with the traditional design: the change of the input elements is pulled to move the whole body, only replacement, calculation and updating are needed, and no additional stove is needed, thus wasting time and labor.
3) Ability to learn and upgrade itself: the design method has the advantages that manual trial and error are not needed, the design efficiency and the reasonability are improved, meanwhile, the system can learn and accumulate knowledge at extremely high speed and efficiency, and the design result can be output more quickly and better.
Detailed Description
The method of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments of the invention.
Fig. 1 is a schematic flow chart of a standard structure module design implementation method according to an embodiment of the present invention.
As shown in fig. 1, the method for implementing a standard structure module design mainly includes the following steps:
step 101: and inputting the graphic elements and the related parameters. The input graphic elements and related parameters comprise an upper binder division Curve (CSUP) and a Stroke (ST).
Step 102: and preliminarily determining the positions of the guide plate and the side pins according to factors such as the correlation of the input curve and the guide plate side pin design rule, and obtaining a graph set which accords with the calculation rule.
For example, some interval sets, such as a (x) ═ f (csup), are derived by judgment.
Step 103: and (4) determining the positions of the guide plate and the side pins again by combining parts which can generate interference, and if the positions can be distributed, obtaining a conveniently-described pattern set such as points, finite elements and the like.
Here, the position of the guide plate and the side pins is determined again, and for example, a portion where interference may occur, such as a Punching Set (PS) or a CAM, and (a) are secondarily determined to determine whether there is a distributable position. If so, obtaining a spatial point set (P1) from the regenerated interval set (a 1); for example, such as: a1(x) ═ f (a, PS, CAM, …), and P1(x) ═ f (a 1).
If there are no deployable positions, a derivative line (CSUP1) is generated according to the upper binder division Curve (CSUP) and Punching Set (PS), wedge (CAM) and the like, and the derivative line (CSUP1) is traced back to step 102 for re-determination.
Step 104: and carrying out sampling calculation to obtain a graph set meeting the conditions.
The sampling calculation is to substitute the space points of the objects in the upper set into a series of mathematical models established according to the difference of the guide plate width W, the side pin design rule and the characteristics, eliminate the non-solution or poor solution, and output the solution to the solution set.
And the qualified graph sets comprise a guide plate coverage feature set, a side pin coverage feature set and the like.
Preferably, after the step 104, the method further includes a step 110: and (5) performing correlation interaction calculation to obtain nodes related to the guide plate and side pin calculation, and then executing the step 105. The method specifically comprises the following steps: the correlation interactive calculation refers to searching and analyzing a plurality of nodes related to the guide plate and the side pin according to factors such as logic rules, spatial position distribution and the like, detecting the detection size, calculating the weight, and classifying and marking according to a corresponding rule if the weight reaches a certain standard. The nodes related to the guide plate and side pin calculation refer to other nodes related to the guide plate and side pin calculation but not obtained by the design implementation process, such as a Punching Set (PS), a cutter block (St) and the like.
Step 105: judging whether the mutual logic and shape-bit relation among the parts meets the standard, if so, executing the step 106; otherwise, step 107 is performed.
Step 106: and (4) performing shape and position calculation, instantiating parameters, characteristics and graphic sets required by the standard structure module, and obtaining the parameters, characteristics and graphic sets required by instantiation.
Here, the process of performing the form and position calculation specifically includes: and correspondingly substituting the superior output result into mathematical models with different classifications and levels according to the classification to calculate, and combining different algorithms such as searching, transmission and the like according to different initial solutions to obtain a solution set meeting the constraint condition. Then, outputting a set of parameters, characteristics, graphs and the like required by instantiation meeting the standards of a preset standard structure module (taking a guide plate and a side pin as examples); that is, a set of parameters, features, graphics, etc. required for instantiation that is compliant with the design standard (including that which is compliant after revision) is output.
Step 107: and (5) performing interactive calculation before the instance, retrieving and marking out relevant nodes which do not accord with the data, backtracking to the problem node to perform correction calculation, and then returning to the step 104 to perform judgment again.
Here, the performing interactive calculation before the instance specifically includes: and calculating the guide plate and side pin virtual models according to the superior output, and assigning values for alternative characteristics, tool characteristics and the like. And the substitution characteristics, tool characteristics and other parts interact according to the mold design logic, the space form and position and the like, and whether the mutual logic, form and position and other relations among the parts meet the standard or not is judged.
Step 108: and carrying out instantiation processing to obtain a visual standard structure scheme and an assembly result.
Here, the instantiation process refers to driving the design software to generate a visual guide plate and side pins (including their related decoration features and entities) according to the previously output parameter, feature, graph, and other sets.
Step 109: and carrying out example post-interaction processing to obtain a final guide plate side-pinning scheme and related features, graphs, bodies, tree graph leaf nodes and the like thereof.
The method specifically comprises the following steps: the guide plate and the side pin body after the instantiation processing and the modification characteristics thereof are subjected to Boolean operation, upgrading and downgrading, characteristic transfer, node transfer and other operations with other related parts, integrated parts are fused, and the explicit node tree conforms to the habit of common mold design.
The method for realizing the design of the standard structure module has the following characteristics:
1) the module can automatically generate standard structures (such as guide plates, side pins and the like) required by the die through a series of calculation of mathematical models according to different inputs and determine the position relation of the standard structures without manual identification and design calculation.
2) The method can adapt to the randomness of original input, and the algorithm of each step has stronger adaptability, especially the miniaturization and sampling algorithm has strong universality. For example, the extracted feature set for position determination is obtained through a large number of operations under a certain mathematical model, and the calculation (and the derivation based on the calculation) is suitable for most scenes in mold design.
3) The method can adapt to the complexity of a design environment, and not only a certain standard structure (such as a guide plate, a side pin and the like) but also a plurality of other standard structures (such as a balance block, an elastic element and the like) are arranged in a space, and at the moment, a series of calculation judgment is carried out to obtain which standard structures have logic or shape and position association (or conflict) between the standard structures, and because the other standard structures also change along with the change of input, namely random to an algorithm, the method for calculation, retrieval and judgment has universality. The adaptability of a single mathematical model is limited, and the output result of a certain step is obtained by a bottom layer system and is actually the result of the comprehensive calculation of a plurality of mathematical models.
4) The rationality of the output standard structure 'shape' and 'position' can be improved along with the supervision of a mathematical model. As the samples known to the system increase, the fitness and rationality of the system output will continue to improve through the learning process. The problem of non-adaptability of the system can be continuously solved, and the knowledge accumulation is easier.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.