Automatic die drawing method and system for part modelTechnical Field
The invention relates to the technical field of mold design, in particular to an automatic mold drawing method and system for a part model.
Background
In the mold design process, the condition that a reverse buckling surface or a straight body surface needs to be subjected to mold drawing on a mold part is often encountered, and if the surface is not modified, the product demolding is greatly hindered. Generally, the modification method of the inverted surface or straight surface of the mold part requiring the mold drawing is to analyze the surface slope of the designed part by a designer, find the inverted surface or straight surface, and modify the mold drawing angle by using a mold drawing tool command so as to make the mold drawing angle meet the mold drawing requirements of the product. However, the above modification process is not a simple modification of the drawing, and before the tool command is operated, a deletion tool command is used to delete the round corner surface at the start of the drawing connected with the modification surface, and an offset tool command is used to ensure that the large end of the parting surface is not changed.
Disclosure of Invention
The technical problem to be solved by the invention is to overcome the defects of the prior art, and provide an automatic die drawing method, system and method of a part model, which do not need manual repeated operation for many times, are modified in place at one time, improve the design quality of a die and shorten the design period of the die.
In order to solve the technical problems, the technical scheme provided by the invention is as follows:
an automatic drawing method of a part model specifically comprises the following steps: and S01, establishing a mould model. And S02, performing parting treatment on the mould model. And S03, selecting a target analysis body. And S04, judging the type of the pattern drawing modification surface on the target analysis body according to the type of the predefined pattern drawing modification surface. And S05, judging whether the drawing parameters of the drawing modification surface meet the preset standard. And S06, defining the drawing parameters for the drawing modification surface with the drawing parameters not meeting the preset standard. S07, according to the defined drawing parameters, drawing modification is carried out on the drawing modification surface of which the drawing parameters do not meet the preset standard: and ensuring that the initial part of the drawing die connected with the drawing die modification surface has no fillet surface in the drawing die modification process, ensuring that the size of the large end of the parting surface is unchanged, and drawing the die according to the die opening direction.
According to the automatic die drawing method for the part model, the die drawing modification process is standardized and programmed in an automatic die drawing mode, repeated manual operation is not needed, the part model is modified in place at one time, the design quality of the die is improved to a great extent, and the design period of the die is shortened.
With respect to the above technical solution, further improvements as described below can be made.
According to the automatic drawing method of the part model of the present invention, in a preferred procedure, in step S04, the types of the drawing modification surfaces include: unknown straight body surface, unknown back-off surface and appointed modification surface.
The three types of die drawing modification surfaces are predefined, so that the smooth automatic die drawing of the die model can be well ensured, and the die drawing parameters meet the standard requirements.
Further, in a preferred process, when judging an unknown straight body surface or an unknown back-off surface on the target analysis body, the cavity surface is judged according to the cavity color on the mold core, and then whether the cavity surface is the unknown straight body surface or the unknown back-off surface is judged according to the cavity surface.
Through the specific judgment process, the operation efficiency of automatic die drawing can be effectively improved.
Further, in a preferred process, the designated modification surface is a straight modification surface or an inverted-buckle modification surface which is determined to be the type of the designated modification surface according to the color defined in advance after the user finds the surface needing to be subjected to the drawing modification.
In the same way, the process of specifically formulating the type of the modified surface according to the predefined color judgment can also effectively improve the operation efficiency of automatic die drawing.
Further, in a preferred procedure, in step S07, the draft modification face on which the draft modification is completed is coated with a predefined color for which the modification is successful.
The die drawing modification surfaces which are subjected to die drawing modification are distinguished through preset colors, so that repeated judgment on the die drawing modification surfaces in the subsequent judgment process can be avoided, and the automatic die drawing efficiency is effectively improved.
Further, in a preferred procedure, in step S04, when it is determined that the drawing modification surface is an unknown back-off modification surface or a back-off modification surface in the designated modification surface, it is determined whether the drawing modification surface belongs to the drawing back-off modification surface or the core back-off modification surface according to a preset back-off angle. And if the judgment result is that the surface is the drawing reverse-buckling modified surface, finishing the steps S05 to S07 in sequence. If the result of the determination is the core pulling reverse surface, the operations of steps S05 to S07 do not need to be performed.
Through the operation process, the core-pulling inverted buckle surface can be effectively distinguished, and only the die-pulling inverted buckle modification surface and the straight body modification surface are subjected to automatic die-pulling processing, so that the operation efficiency of automatic die-pulling is effectively improved.
Further, in a preferred procedure, in step S04, it is determined whether there is a designated modified surface, and if so, the determination of the unknown straight surface or the unknown inverted surface is not performed.
The operation steps can effectively improve the operation efficiency of the program.
Further, in a preferred procedure, in step S07, before the draft modification, when the draft start position meeting the draft modification surface has a rounded surface, after the draft modification is completed, the rounded surface is added again at the draft start position meeting the draft modification surface.
Through the repairing steps, the product produced after the die is formed can meet the actual design requirement.
Specifically, in a preferred procedure, in step S07, before the die modification, the deletion tool command is used to delete the non-fillet surface at the beginning of the die that meets the die modification surface, and the offset tool command is used to ensure that the size of the large end of the parting surface is unchanged.
The program operation efficiency can be effectively improved and the development cost can be saved by calling the existing deleting tool command and the shifting tool command in the automatic pattern drawing process.
The automatic drawing system of the part model in the second aspect of the invention comprises a target analysis body selection module, which is used for a user to select a target analysis body for the mould model which completes the parting processing. And the modification type judging module is used for defining and judging the type of the draft modification surface. And the judging module is used for judging whether the drawing parameters of the drawing modification surface meet the preset standard or not. And the pattern drawing parameter definition module is used for defining the pattern drawing parameters of the pattern drawing modification surface of which the pattern drawing parameters do not meet the preset standard. And the automatic die drawing module is used for carrying out die drawing operation on the die drawing modification surface of which the die drawing parameters do not meet the preset standard according to the defined die drawing parameters. And the interaction module is used for inputting instructions by a user.
Obviously, according to the automatic die drawing system of the part model, the automatic die drawing method can be well completed, and the operation of a designer is facilitated to be very intuitive.
Compared with the prior art, the invention has the advantages that: the die drawing modification process is standardized and programmed in an automatic die drawing mode, repeated manual operation is not needed, and once modification is in place, so that the die design quality is improved to a great extent and the die design period is shortened.
Drawings
The invention will be described in more detail hereinafter on the basis of embodiments and with reference to the accompanying drawings. Wherein:
FIG. 1 schematically shows a flow of an automatic drawing method of a part model according to an embodiment of the present invention;
fig. 2 schematically shows that inembodiment 1 of the present invention, after the mold parting is completed, the molding surface of the product on the movable mold core inherits the color of the molding surface according to the color of the product itself;
FIG. 3 is a schematic view showing that in example 1 of the present invention, after the mold parting is completed, the molding surface of the product on the fixed mold core inherits the color of the molding surface according to the color of the product itself;
fig. 4 schematically shows an operation interface and a result of operation interface display inembodiment 1 of the present invention.
Fig. 5 schematically shows the processing steps of automatic pattern drawing inembodiment 1 of the present invention.
Detailed Description
The invention will be further explained in detail with reference to the figures and the embodiments without thereby limiting the scope of protection of the invention.
Fig. 1 schematically shows a flow of an automatic drawing method of a part model according to an embodiment of the present invention. Fig. 2 schematically shows anembodiment 1 in which after the mold parting is completed, the molding surface of the product on thecavity block 1 inherits the color of the molding surface according to the color of the product itself. Fig. 3 schematically shows a specific operation example 1, after the mold parting is completed, the molding surface of the product on the fixedmold core 2 inherits the color of the molding surface according to the color of the product itself. Fig. 4 schematically shows the operation interface and the result of the operation interface display in the specific operation example 1. Fig. 5 schematically shows the processing steps of the automatic pattern drawing in this specific operation example 1.
Example 1
As shown in fig. 1, the automatic drawing method of the part model according to the embodiment of the present invention specifically includes the following steps: and S01, establishing a mould model. And S02, performing parting treatment on the mould model. And S03, selecting a target analysis body. And S04, judging the type of the pattern drawing modification surface on the target analysis body according to the type of the predefined pattern drawing modification surface. And S05, judging whether the pattern drawing parameters such as the pattern drawing angle or the pattern drawing fall difference value of the pattern drawing modification surface meet the preset standard. And S06, defining the drawing parameters for the drawing modification surface with the drawing parameters not meeting the preset standard. S07, according to the defined drawing parameters, drawing modification is carried out on the drawing modification surface of which the drawing parameters do not meet the preset standard: and ensuring that the initial part of the drawing die connected with the drawing die modification surface has no fillet surface in the drawing die modification process, ensuring that the size of the large end of the parting surface is unchanged, and drawing the die according to the die opening direction.
According to the automatic die drawing method for the part model, the die drawing modification process is standardized and programmed in an automatic die drawing mode, repeated manual operation is not needed, the part model is modified in place at one time, the design quality of the die is improved to a great extent, and the design period of the die is shortened.
In the automatic drawing method of a part model of the present invention, preferably, in step S04, the type of the drawing modification surface includes: unknown straight body surface, unknown back-off surface and appointed modification surface. The three types of die drawing modification surfaces are predefined, so that the smooth automatic die drawing of the die model can be well ensured, and the die drawing parameters meet the standard requirements.
Specifically, in this embodiment, when the unknown straight body surface or the unknown back-off surface on the target analysis body is determined, the cavity surface is determined according to the cavity color on the mold core, and then whether the cavity surface is the unknown straight body surface or the unknown back-off surface is determined according to the cavity surface. Through the specific judgment process, the operation efficiency of automatic die drawing can be effectively improved. Specifically, in this embodiment, the designated modification surface is a surface that needs to be subjected to the die drawing modification and is then coated with a predefined color, and the type of the designated modification surface is determined to be a straight modification surface or a back-off modification surface according to the coated color. In the same way, the process of specifically formulating the type of the modified surface according to the predefined color judgment can also effectively improve the operation efficiency of automatic die drawing. Further, in the present embodiment, in step S07, the draft modification face on which the draft modification is completed is coated with a color for which the modification is successful, which is defined in advance. The die drawing modification surfaces which are subjected to die drawing modification are distinguished through preset colors, so that repeated judgment on the die drawing modification surfaces in the subsequent judgment process can be avoided, and the automatic die drawing efficiency is effectively improved.
Specifically, in the present embodiment, in step S07, before the die-drawing modification, the deletion tool command is used to delete the non-fillet surface at the beginning of the die-drawing part that meets the die-drawing modification surface, and the offset tool command is used to ensure that the size of the large end of the parting surface is not changed. The program operation efficiency can be effectively improved and the development cost can be saved by calling the existing deleting tool command and the shifting tool command in the automatic pattern drawing process.
Further, in this embodiment, in step S07, before the draft modification, when there is a fillet surface at the draft start meeting the draft modification surface, after the draft modification is completed, the fillet surface is added again at the draft start meeting the draft modification surface. Through the repairing steps, the product produced after the die is formed can meet the actual design requirement.
Further, in this embodiment, in step S04, when it is determined that the extraction modification surface is an unknown back-off modification surface or a back-off modification surface in the designated modification surface, it is determined whether the extraction modification surface belongs to the extraction back-off modification surface or the core back-off modification surface according to a preset back-off angle. And if the judgment result is that the surface is the drawing reverse-buckling modified surface, finishing the steps S05 to S07 in sequence. If the result of the determination is the core pulling reverse surface, the operations of steps S05 to S07 do not need to be performed. Through the operation process, the core-pulling inverted buckle surface can be effectively distinguished, and only the die-pulling inverted buckle modification surface and the straight body modification surface are subjected to automatic die-pulling processing, so that the operation efficiency of automatic die-pulling is effectively improved.
Further, in this embodiment, in step S04, it is determined whether there is a designated modified surface, and if there is a designated modified surface, the determination of the unknown straight surface or the unknown inverted surface is not performed. The operation steps can effectively improve the operation efficiency of the program.
The following are two specific operation examples of the automatic die-drawing modification by adopting the automatic die-drawing method of the part model of the embodiment of the invention:
operation example 1
As shown in fig. 2 and 3, after the mold model is split, the molding surfaces of the product on the fixedmold core 2 and themovable mold core 1 inherit the color of the molding surface according to the color of the product, and at this time, an automatic mold drawing function is started in mold design software, and a target analysis body such as a fixedmold core 2 model is selected. The automatic pattern drawing function preferentially distinguishes a target surface and a non-target surface through predefined cavity colors, wherein the target surface is a cavity characteristic surface of the mold core, and the non-target surface is all characteristic surfaces except the molding surface of the mold core, so that the pattern drawing analysis time of the non-target surface can be greatly saved.
As shown in fig. 4 and 5, the target surface is subjected to a pattern drawing analysis, and the analysis results are three types: the method comprises the steps of conforming to a drawing surface, a straight body surface and a back-off surface, displaying an analysis result on an operation interface, and displaying the analysis result to a user in the mode of abnormal items, abnormal contents (the straight body surface and the back-off surface) and abnormal quantity, wherein as shown in fig. 4, a designer only needs to select the abnormal items on the operation interface, the automatic drawing function can realize the quick selection of the corresponding abnormal surface on the mold core, and the abnormal surface is displayed on the operation interface in a highlight display mode.
As shown in fig. 4 and 5, the designer selects the corresponding modification type through guidance of the operation interface, and only needs to click the start button, the automatic die-drawing function automatically repairs the abnormal reverse-buckling position according to the reverse-buckling type, specifically, a fillet surface connected with the modification surface needs to be deleted, the large end of the parting surface is ensured to be unchanged, the modification surface is coated with the color of the surface which is successfully modified after the modification is successful, and the modification of the die-drawing reverse-buckling surface is finished.
Working example 2
After parting, a designer finds that a part of straight surface and a pattern drawing inverted-buckle surface exist on a movable mould core, then two corresponding colors defined by a program are coated on the surfaces, then an automatic pattern drawing program is opened, the movable mould core is selected, the program automatically judges that an appointed modification surface exists, the pattern drawing of the surfaces is modified according to the input pattern drawing angle or pattern drawing fall, and then the color which is successfully modified is coated; but at this moment, whether a drawing reverse-buckling surface still exists or not can not be determined, the designer starts the program again, selects the movable mold core, and the program does not find the specified modified surface, then the program starts to find the cavity surface (the surface successfully modified in the front is judged as the cavity surface again, and the program coats the surface as the color of the surface successfully modified after the modification is successful), and then judges the reverse-buckling surface, and at this moment, the reverse-buckling surface found by the program comprises the drawing reverse-buckling surface and the core pulling reverse-buckling surface, and the program enters the next stage, judges the core pulling reverse-buckling surface and only processes the drawing reverse-buckling surface and the straight surface. And finishing the modification of the pattern drawing back-off surface.
Therefore, the automatic die drawing method of the part model provided by the embodiment of the invention can standardize and program the modification process so as to improve the die design efficiency and shorten the die design period.
Example 2
The automatic drawing system of the part model comprises a target analysis body selection module, and is used for selecting a target analysis body for the mould model which completes parting processing by a user. And the modification type judging module is used for defining and judging the type of the draft modification surface. And the judging module is used for judging whether the drawing parameters of the drawing modification surface meet the preset standard or not. And the pattern drawing parameter definition module is used for defining the pattern drawing parameters of the pattern drawing modification surface of which the pattern drawing parameters do not meet the preset standard. And the automatic die drawing module is used for carrying out die drawing operation on the die drawing modification surface of which the die drawing parameters do not meet the preset standard according to the defined die drawing parameters. And the interaction module is used for inputting instructions by a user.
Obviously, according to the automatic die drawing system of the part model, the automatic die drawing method can be well completed, and the operation of a designer is facilitated to be very intuitive.
According to the embodiment, the automatic die drawing method and the system for the part model, provided by the invention, can standardize and program the die drawing modification process in an automatic die drawing mode, do not need manual repeated operation for many times, can modify the die in place at one time, greatly improve the die design quality and shorten the die design period, and are convenient for designers to operate intuitively.
While the invention has been described with reference to a preferred embodiment, various modifications may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In particular, the technical features mentioned in the embodiments can be combined in any way as long as there is no structural conflict. It is intended that the invention not be limited to the particular embodiments disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.