A method, device, equipment and product for generating an automobile metal mold casting
Patent Information
- Application Number
- CN202310779086.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-29
- Publication Date
- 2026-10-09
AI Technical Summary
[0004]鉴于以上现有技术的缺点,本发明的目的在于提供一种汽车金属模具铸件的生成方法、装置、设备及产品,用于解决下述技术问题:现有汽车金属模具中铸件设计是人工设计,效率低
[0043]本申请提供的方法通过获取铸件,锁定所述铸件的目标面、底面及型面,获取打孔指令,提取所述目标面的重合部分形成的面作为打孔面;判断所述打孔指令是否为所述打减重孔的指令,如果是,获取所述打孔面的宽、高的赋值,基于预设条件对所述打孔面进行打孔以得到带所述孔的所述铸件,其中,所述预设条件包括对所述打孔面的宽、高的赋值的判断,本申请的方法不需要人工的重复劳动,将人工的操作转化为计算机操作,减少了设计人员的设计时间,一键生成且打孔更精确,即实现了智能化设计汽车金属模具铸件,有效提升了铸件的设计效率。
Smart Images

Figure CN122886069A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of industrial intelligent design technology, and in particular to a method, apparatus, equipment and product for generating automotive metal mold castings. Background Technology
[0002] Castings are metal shaped objects obtained by various casting methods. They are objects with certain shapes, sizes and properties obtained by pouring, injecting, sucking or other casting methods into a pre-prepared mold after smelting liquid metal, cooling and then processing them by grinding.
[0003] For automotive metal mold castings, OEMs generally require the finished castings to be lightweight and leak-proof. Lightweight design requires that the casting molds designed by R&D personnel must have weight-reducing holes. To ensure that the castings are leak-proof, the leak-proof holes must be designed together with the casting mold design to meet the OEM's requirements. However, the traditional design method is a repetitive process, usually involving manual design of the casting molds. This is time-consuming, inefficient, and subject to human error. Manually generated casting mold drawings may not be accurate enough, thus failing to meet the OEM's requirements and leading to rework. Summary of the Invention
[0004] In view of the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide a method, apparatus, equipment and product for generating automotive metal mold castings, to solve the following technical problem: the design of castings in existing automotive metal molds is done manually, which is inefficient.
[0005] To address the aforementioned technical problems, in a first aspect, this application provides a method for generating automotive metal mold castings, comprising:
[0006] Obtain castings;
[0007] Lock the target surface, bottom surface, and profile surface of the casting;
[0008] Obtain a drilling instruction, wherein the drilling instruction is an instruction to drill a weight reduction hole or an instruction to drill a drainage hole;
[0009] The surface formed by the overlapping portion of the target surface is extracted as the drilling surface;
[0010] Determine whether the drilling command is the command for drilling weight reduction holes;
[0011] If so, obtain the width and height values of the punched surface, where the width is W and the height is L;
[0012] The casting with the hole is obtained by drilling holes in the drilling surface based on preset conditions, wherein the preset conditions include the determination of the width and height of the drilling surface.
[0013] In one embodiment of this application, the side surface of the casting is locked; the surface formed by the overlapping portion of the side surface is extracted as the side surface to be drilled;
[0014] The process of drilling holes in the side surface to be drilled based on preset conditions to obtain the casting with the holes includes:
[0015] If W ≤ the first threshold or L ≤ the second threshold, no drilling operation will be performed on the side to be drilled.
[0016] If W≥2*W1+2*R and L≥L1+L2+2*R, then a drilling operation is performed on the side to be drilled to obtain a square weight-reducing hole, wherein W1 is the distance from the square weight-reducing hole to both sides of the side to be drilled, R is the rounded corner of the square weight-reducing hole, L1 is the distance from the square weight-reducing hole to the bottom surface, and L2 is the distance from the square weight-reducing hole to the profile surface;
[0017] In one embodiment of this application, if W < 2*W1 + 2*R, then a drilling operation is performed on the side to be drilled to obtain the circular weight-reducing hole;
[0018] If L < L1 + L2 + 2*R, then a drilling operation is performed on the side to be drilled to obtain a circular weight-reducing hole.
[0019] If W < 2*W1 + 2*R and L < L1 + L2 + 2*R, then a drilling operation is performed on the side to be drilled to obtain the circular weight-reducing hole.
[0020] In one embodiment of this application, the horizontal or inclined surface of the casting is locked; the surface formed by the overlapping portion of the horizontal surface is extracted as the horizontal or inclined surface to be drilled;
[0021] The process of drilling holes in the horizontal or inclined surface to be drilled, based on preset conditions, to obtain the casting with the holes includes:
[0022] If W ≤ the third threshold or L ≤ the fourth threshold, no drilling operation will be performed on the horizontal or inclined surface to be drilled.
[0023] If W≥2*W1+2*R and L≥L1+L2+2*R, then a drilling operation is performed on the horizontal or inclined surface to be drilled to obtain a square weight-reducing hole. Here, W1 is the distance from the square weight-reducing hole to both sides of the horizontal or inclined surface to be drilled, R is the radius of the square weight-reducing hole, L1 is the distance from the square weight-reducing hole to the bottom surface, and L2 is the distance from the square weight-reducing hole to the profile surface.
[0024] In one embodiment of this application, if W < 2*W1 + 2*R, then a drilling operation is performed on the horizontal surface or the inclined surface to be drilled to obtain the circular weight-reducing hole.
[0025] If L < L1 + L2 + 2*R, then a drilling operation is performed on the horizontal surface or the inclined surface to be drilled to obtain the circular weight-reducing hole.
[0026] If W < 2*W1 + 2*R and L < L1 + L2 + 2*R, then a drilling operation is performed on the horizontal surface or the inclined surface to be drilled to obtain the circular weight-reducing hole.
[0027] In one embodiment of this application, if the drilling instruction is the instruction to drill a leak hole, the hole diameter of the leak hole is assigned.
[0028] Lock the lowest point of the drilled surface;
[0029] Based on the assigned aperture, a drainage hole is drilled at the lowest point, wherein the center of the drainage hole is not less than a fifth threshold from the outline boundary of the drilling surface, and the coordinates of the center of the drainage hole are integers.
[0030] In a second aspect, this application also provides an apparatus for producing automotive metal mold castings, comprising:
[0031] The first acquisition module is used to acquire castings;
[0032] A locking module is used to lock the target surface, bottom surface, and profile surface of the casting;
[0033] The second acquisition module is used to acquire a drilling instruction, wherein the drilling instruction is an instruction to drill a weight reduction hole or an instruction to drill a water leakage hole.
[0034] An extraction module is used to extract the surface formed by the overlapping part of the target surface as the drilling surface;
[0035] The judgment module is used to determine whether the drilling instruction is the instruction to drill weight reduction holes; if so, it obtains the width and height values of the drilling surface, wherein the width is W and the height is L;
[0036] A drilling module is used to drill holes in the drilling surface based on preset conditions to obtain the casting with the holes, wherein the preset conditions include the determination of the width and height of the drilling surface.
[0037] In a third aspect, this application also provides an electronic device, including a processor, a memory, and a communication bus;
[0038] The communication bus is used to connect the processor and the memory;
[0039] The processor is used to execute the computer program stored in the memory to implement the method for generating automotive metal mold castings as described above.
[0040] In a fourth aspect, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program being used to cause a computer to perform the method for generating automotive metal mold castings as described above.
[0041] In a fifth aspect, this application also provides a computer program product, including a computer program, characterized in that, when the computer program is executed by a processor, it implements the above-described method for generating automotive metal mold castings.
[0042] As described above, the method, apparatus, equipment, medium, and product for producing automotive metal mold castings provided in this application have the following beneficial effects:
[0043] The method provided in this application obtains a casting, locks the target surface, bottom surface, and profile surface of the casting, obtains a drilling command, and extracts the surface formed by the overlapping part of the target surface as the drilling surface; determines whether the drilling command is the command to drill weight reduction holes; if so, obtains the width and height values of the drilling surface, and drills holes in the drilling surface based on preset conditions to obtain the casting with the holes. The preset conditions include the determination of the width and height values of the drilling surface. The method of this application does not require repetitive manual labor, transforms manual operation into computer operation, reduces the design time of designers, generates holes with one click, and makes drilling more accurate, thus realizing intelligent design of automotive metal mold castings and effectively improving the design efficiency of castings. Attached Figure Description
[0044] Figure 1 This is a flowchart of a method for generating automotive metal mold castings provided in one embodiment of this application;
[0045] Figure 2 This is one of the flowcharts of a method for drilling a hole on the side to be drilled based on preset conditions provided in one embodiment of this application;
[0046] Figure 3This is the second flowchart of a method for drilling holes on the side to be drilled based on preset conditions, provided in one embodiment of this application.
[0047] Figure 4 This is a flowchart of a method for drilling holes (leaking holes) on a perforated surface based on preset conditions, provided in one embodiment of this application.
[0048] Figure 5 This is a front-end interface (semi-automatic) provided in one embodiment of the present application for setting related settings of weight reduction holes (lightening holes);
[0049] Figure 6 This is a front-end interface (automatic) provided in one embodiment of the present application for setting related settings of weight reduction holes (lightening holes);
[0050] Figure 7 This is a comparative schematic diagram of a casting before and after drilling, provided in one embodiment of this application;
[0051] Figure 8 This is a frame diagram of an apparatus for generating automotive metal mold castings provided in one embodiment of this application;
[0052] Figure 9 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application. Detailed Implementation
[0053] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, unless otherwise specified, the following embodiments and features in the embodiments can be combined with each other.
[0054] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. Therefore, the drawings only show the components related to this application and are not drawn according to the number, shape and size of the components in actual implementation. In actual implementation, the shape, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0055] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the present application. However, it will be apparent to those skilled in the art that embodiments of the present application may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the present application.
[0056] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0057] Castings are metal shaped objects obtained by various casting methods. They are objects with certain shapes, sizes and properties obtained by pouring, injecting, sucking or other casting methods into a pre-prepared mold after smelting liquid metal, cooling and then processing them by grinding.
[0058] For automotive metal mold castings, OEMs generally require the finished castings to be lightweight and leak-proof. Lightweight design requires that the casting molds designed by R&D personnel must have weight-reducing holes. To ensure that the castings are leak-proof, the leak-proof holes must be designed together with the casting mold design to meet the OEM's requirements. However, the traditional design method is a repetitive process, usually involving manual design of the casting molds. This is time-consuming, inefficient, and subject to human error. Manually generated casting mold drawings may not be accurate enough, thus failing to meet the OEM's requirements and leading to rework.
[0059] It should be noted that this application uses software to operate 3D software to perform related operations and intelligently design casting molds, which are equipped with weight reduction holes or drainage holes.
[0060] Please see Figure 1 This is a flowchart of a method for generating automotive metal mold castings provided in one embodiment of this application;
[0061] like Figure 1 As shown, the method for producing automotive metal mold castings includes the following steps:
[0062] Step S101: Obtain the casting;
[0063] The casting mentioned in this step refers to the casting drawing to be processed, preferably a casting drawing that can be recognized and read by CATIA software.
[0064] Step S102: Lock the target surface, bottom surface, and profile surface of the casting;
[0065] The inventors remind that the target surface refers to the surface to be processed, i.e. the surface to be drilled; the positional relationship between the bottom surface and the profile surface is relative, but in this embodiment, the upper part is the bottom surface and the lower part is the profile surface. Specifically, the relevant parameters of the target surface have been set so that the processed drainage holes or weight reduction holes meet the requirements of the OEM. If the OEM makes changes, then minor modifications can be made to generate the holes with one click, realizing intelligent and efficient design of weight reduction holes or drainage holes on the casting mold.
[0066] Step S103: Obtain a drilling instruction, wherein the drilling instruction is an instruction to drill a weight reduction hole or an instruction to drill a water leakage hole.
[0067] The acquisition step in this section is an extended concept. Since the punching instruction could be for creating a weight-reducing hole or a drainage hole, it can also be understood as identifying the punching instruction itself. In summary, if the computer is the identification subject, it can also be understood as identifying and parsing the punching instruction. An instruction, also known as a machine instruction, is a command that a computer uses to perform a certain operation. It is the smallest functional unit of computer operation. The set of all instructions in a computer constitutes an instruction system, also known as an instruction set. However, in this embodiment, an instruction set may not exist, but it can be infinitely extended from the punching instruction; no additional limitations are made here. Instructions are generally divided into microinstructions, macroinstructions, and machine instructions. Microinstructions belong to hardware and are commands at the microprogram level; macroinstructions refer to several software instructions composed of macroinstructions and are software; machine instructions are between macroinstructions and pseudo-instructions. One instruction can complete an independent arithmetic or logical operation.
[0068] Step S104: Extract the surface formed by the overlapping part of the target surface as the drilling surface;
[0069] It should be noted that the target surface mentioned in this step refers to two surfaces. In this embodiment, two target surfaces are used. The areas of the two target surfaces of the casting may be different, or they may both be irregular and independent surfaces. In this case, the overlapping part of the two irregular surfaces is extracted, that is, the overlapping part (the surface formed) of the two target surfaces is extracted as the drilling surface. Of course, whether the target surface is a side surface, a horizontal surface, or an inclined surface is not limited in this embodiment.
[0070] Step S105: Determine whether the drilling command is the command to drill weight reduction holes;
[0071] In this step, a judgment step is introduced to determine whether the drilling command is a weight-reduction hole command. As mentioned above, the drilling command could be either a weight-reduction hole command or a command to drill a weight-reduction hole, so it is necessary to limit the definition. If the drilling command is a drainage hole command, the entire process will be different. Please be aware of this. A weight-reduction hole command instructs the 3D software to perform the weight-reduction hole operation on the casting mold drawing of the workpiece. A drainage hole command instructs the 3D software to perform the drainage hole operation on the casting mold drawing of the workpiece.
[0072] Step S106: If yes, obtain the width and height values of the punched surface, where the width is W and the height is L;
[0073] The purpose of limiting the width and height of the punched surface in this step is to ensure that the punched surface has sufficient area for the 3D software to perform the punching operation. If the punched surface does not have enough area for the software to perform the corresponding operation, then there is no need to perform the punching operation, and even if the punching operation is performed, it will not meet the requirements of the OEM.
[0074] Step S107: Drill holes in the drilling surface based on preset conditions to obtain the casting with the holes, wherein the preset conditions include the determination of the width and height of the drilling surface.
[0075] The preset conditions in this step include the determination of the width and height of the punched surface. The preset conditions are to provide threshold values for width, height and related parameters for comparison. For example, the width W and height L of the punched surface are compared with 140mm (width) and 160mm (height) provided by the OEM. Of course, it also involves comparing W and L with the relevant parameters of the weight reduction hole. Based on the comparison results, the 3D software is commanded to perform the corresponding operation.
[0076] Please see Figure 2 This is one of the flowcharts of a method for drilling a hole on the side to be drilled based on preset conditions provided in one embodiment of this application;
[0077] Lock the side of the casting; extract the surface formed by the overlapping part of the side as the side to be drilled; wherein, based on preset conditions, drill holes in the side to be drilled to obtain the casting with the holes.
[0078] like Figure 2 As shown, the method for drilling holes on the side of the hole based on preset conditions includes the following steps:
[0079] S201. If W ≤ the first threshold or L ≤ the second threshold, no drilling operation is performed on the side to be drilled; S202. If W ≥ 2*W1 + 2*R and L ≥ L1 + L2 + 2*R, then a drilling operation is performed on the side to be drilled to obtain a square weight-reducing hole, wherein W1 is the distance from the square weight-reducing hole to both sides of the side to be drilled, R is the rounded corner of the square weight-reducing hole, L1 is the distance from the square weight-reducing hole to the bottom surface, and L2 is the distance from the square weight-reducing hole to the profile surface;
[0080] As mentioned above, it should be noted that some manual operations can be performed before drilling. However, if the computer is used as the main execution device, the manual operation can be converted into an automatic operation. The corresponding manual operations can be performed on the front-end interface. The input conditions are to manually select the two sides on the casting, the bottom surface of the upper or lower mold of the casting mold, and the relevant parameters on the interface. The interface should have checkboxes for "weight reduction hole" and "drainage hole." Based on these checkboxes, users select either weight reduction hole or drainage hole. The auxiliary analysis software identifies the two input surfaces and extracts the overlapping portion as the calculation reference for the weight reduction hole and drainage hole. Then, corresponding operations are performed for different types of holes. For side holes, the width W and height L of the drilling surface need to be obtained. If W ≤ 140mm or L ≤ 160mm, a weight reduction hole is not needed (these values refer to the host manufacturer's requirements). If W ≥ 2*W1 + 2*R and L ≥ L1 + L2 + 2R, the weight reduction hole is made as a square; otherwise, it is made as a circular weight reduction hole. Figure 5 As shown, the front-end interface defines some parameters for weight reduction holes. The inventor reminds us that the front-end interface refers to weight reduction holes, but in this embodiment, weight reduction holes refer to weight reduction holes. That is, weight reduction holes and weight reduction holes refer to the same thing, just with different names.
[0081] Specifically, in this embodiment, the distance from the bottom surface L1 is 150mm; the distance from the surface L2 is 80mm; the left and right distance W1 of the weight reduction hole is 50mm; the radius R of the weight reduction hole is 25mm; the diameter D of the hole is 60mm. The multiple optional frames also involve the selection of the bottom surface of the upper / lower mold base, the selection of the two sides, and the selection of the weight reduction hole and the drainage hole.
[0082] Please see Figure 3 This is a second flowchart of a method for drilling holes on the side to be drilled based on preset conditions, provided in one embodiment of this application.
[0083] The method for drilling holes on the side to be drilled based on preset conditions also includes the following steps:
[0084] Step S301: If W < 2*W1 + 2*R, then perform a drilling operation on the side to be drilled to obtain a circular weight-reducing hole; Step S302: If L < L1 + L2 + 2*R, then perform a drilling operation on the side to be drilled to obtain a circular weight-reducing hole; Step S303: If W < 2*W1 + 2*R and L < L1 + L2 + 2*R, then perform a drilling operation on the side to be drilled to obtain a circular weight-reducing hole.
[0085] The inventors remind that steps S301 to S303 are performed when the determination result of W≥2*W1+2*R and L≥L1+L2+2*R is false.
[0086] Lock the horizontal or inclined surface of the casting; extract the surface formed by the overlapping part of the horizontal surface as the horizontal or inclined surface to be drilled;
[0087] The method of drilling holes in the horizontal or inclined surface to be drilled based on preset conditions to obtain the casting with the holes includes: if W ≤ a third threshold or L ≤ a fourth threshold, no drilling operation is performed on the horizontal or inclined surface to be drilled; if W ≥ 2*W1 + 2*R and L ≥ L1 + L2 + 2*R, then drilling operation is performed on the horizontal or inclined surface to be drilled to obtain the square weight-reducing hole, wherein W1 is the distance from the square weight-reducing hole to both sides of the horizontal or inclined surface to be drilled, R is the radius of the square weight-reducing hole, L1 is the distance from the square weight-reducing hole to the bottom surface, and L2 is the distance from the square weight-reducing hole to the profile surface.
[0088] If W < 2*W1 + 2*R, then a drilling operation is performed on the horizontal or inclined surface to be drilled to obtain a circular weight-reducing hole; if L < L1 + L2 + 2*R, then a drilling operation is performed on the horizontal or inclined surface to be drilled to obtain a circular weight-reducing hole; if W < 2*W1 + 2*R and L < L1 + L2 + 2*R, then a drilling operation is performed on the horizontal or inclined surface to be drilled to obtain a circular weight-reducing hole.
[0089] In summary, the operations for horizontal or inclined surfaces are similar to those for the side to be drilled, and will not be repeated here. It should be noted that for horizontal and inclined holes, if W≤80mm or L≤80mm, weight-reducing holes are not required (the 80mm value refers to the host manufacturer's requirements); if W≥2*W1+2*R and L≥L1+L2+2*R, then weight-reducing holes should be made as square; otherwise, they should be made as circular weight-reducing holes.
[0090] Please see Figure 4 This is a flowchart of a method for drilling holes (leaking holes) on a perforated surface based on preset conditions, provided in one embodiment of this application.
[0091] like Figure 4 As shown, the method for drilling holes (leaking holes) on the drilling surface based on preset conditions includes the following steps:
[0092] Step S401: If the drilling instruction is for creating a leak hole, obtain the assigned value of the leak hole diameter; S402: Lock the lowest point of the drilling surface; S403: Perform the leak hole drilling operation at the lowest point based on the assigned hole diameter, wherein the center of the leak hole is not less than a fifth threshold from the contour boundary of the drilling surface, and the coordinate value of the center of the leak hole is an integer. The requirements for creating a leak hole are: hole diameter of 40mm; finding the lowest point of the overlapping part of two target surfaces for reference to create the leak hole; the center of the leak hole being at least 21mm from the contour boundary; and the center coordinate value of the leak hole being an integer (integer 1).
[0093] It should be noted that the opening direction of the weight reduction hole is perpendicular to the input surface, which can be the side hole, the horizontal hole, or the inclined hole; the distance between the upper and lower sides (L1, L2) of the weight reduction hole and the bottom surface must be an integer of 5, and the center of the circular weight reduction hole must be an integer of 5 from the bottom surface; when the drain hole is selected in the interface, the position of the drain hole needs to be calculated.
[0094] The length of the weight reduction hole can be dragged bidirectionally in the vertical direction of the input plane, and the position of the leakage hole can be adjusted by dragging it up, down, left, and right on the input plane; the length can also be dragged bidirectionally in the vertical direction of the input plane.
[0095] Please see Figure 5 This is a front-end interface (semi-automatic) provided in one embodiment of the present application for setting related settings of weight reduction holes (lightening holes);
[0096] like Figure 5 As shown, the weight reduction hole (lightening hole) has the option of upper mold and lower mold on the front interface. The parameters of the weight reduction hole include distance from the bottom surface L1, distance from the surface L2, left and right distance W1, fillet radius R, and hole diameter D. It also includes the option of the bottom surface of the upper / lower mold base, the option of the two sides, and the option of the lightening hole and the drainage hole.
[0097] Please see Figure 6 This is a front-end interface (automatic) provided in one embodiment of this application for setting up weight reduction holes (lightening holes);
[0098] Figure 6 and Figure 5 Similarly, this will not be repeated here. This is just to highlight that we can skip the step of manually selecting the face and directly identify the mold casting before performing the drilling operation.
[0099] Please see Figure 7 This is a comparative schematic diagram of a casting before and after drilling, provided in one embodiment of this application;
[0100] like Figure 7As shown, whether drilling holes in the upper or lower mold, certain rules must be followed. The number of holes depends on the requirements of the OEM, and of course, it also needs to meet some requirements of the 3D software design.
[0101] Please see Figure 8 This is a frame diagram of an apparatus for generating automotive metal mold castings (hereinafter referred to as casting generating apparatus) provided in one embodiment of this application;
[0102] like Figure 8 As shown, the casting production device 800 includes a first acquisition module 801, a locking module 802, a second acquisition module 803, an extraction module 804, a judgment module 805, and a drilling module 806.
[0103] The first acquisition module 801 is used to acquire castings;
[0104] Locking module 802 is used to lock the target surface, bottom surface and profile surface of the casting;
[0105] The second acquisition module 803 is used to acquire a drilling instruction, wherein the drilling instruction is an instruction to drill a weight reduction hole or an instruction to drill a water leakage hole.
[0106] Extraction module 804 is used to extract the surface formed by the overlapping part of the target surface as the drilling surface;
[0107] The judgment module 805 is used to determine whether the drilling instruction is the instruction to drill weight reduction holes; if so, it obtains the width and height values of the drilling surface, wherein the width is W and the height is L.
[0108] The drilling module 806 is used to drill holes in the drilling surface based on preset conditions to obtain the casting with the holes, wherein the preset conditions include the determination of the width and height of the drilling surface.
[0109] The punching module 806 is configured to: if W ≤ a first threshold or L ≤ a second threshold, not to perform a punching operation on the side to be punched; if W ≥ 2*W1 + 2*R and L ≥ L1 + L2 + 2*R, then to perform a punching operation on the side to be punched to obtain a square weight-reducing hole, wherein W1 is the distance from the square weight-reducing hole to both sides of the side to be punched, R is the rounded corner of the square weight-reducing hole, L1 is the dimension of the square weight-reducing hole from the bottom surface, and L2 is the dimension of the square weight-reducing hole from the profile surface;
[0110] The punching module 806 is further configured to: if W < 2*W1 + 2*R, then perform a punching operation on the side to be punched to obtain a circular weight-reducing hole; if L < L1 + L2 + 2*R, then perform a punching operation on the side to be punched to obtain a circular weight-reducing hole; if W < 2*W1 + 2*R and L < L1 + L2 + 2*R, then perform a punching operation on the side to be punched to obtain a circular weight-reducing hole.
[0111] The punching module 806 is further configured to: if W ≤ a third threshold or L ≤ a fourth threshold, not to perform a punching operation on the horizontal surface or the inclined surface to be punched; if W ≥ 2*W1 + 2*R and L ≥ L1 + L2 + 2*R, then to perform a punching operation on the horizontal surface or the inclined surface to be punched to obtain a square weight-reducing hole, wherein W1 is the distance from the square weight-reducing hole to both sides of the horizontal surface or the inclined surface to be punched, R is the rounded corner of the square weight-reducing hole, L1 is the dimension of the square weight-reducing hole from the bottom surface, and L2 is the dimension of the square weight-reducing hole from the profile surface.
[0112] The punching module 806 is further configured to: if W < 2*W1 + 2*R, perform a punching operation on the horizontal surface or the inclined surface to be punched to obtain a circular weight-reducing hole; if L < L1 + L2 + 2*R, perform a punching operation on the horizontal surface or the inclined surface to be punched to obtain a circular weight-reducing hole; if W < 2*W1 + 2*R and L < L1 + L2 + 2*R, perform a punching operation on the horizontal surface or the inclined surface to be punched to obtain a circular weight-reducing hole.
[0113] The judgment module 805 is further configured to: if the drilling instruction is the instruction to drill a leak hole, obtain the assigned value of the hole diameter of the leak hole; lock the lowest point of the drilling surface; and perform the drilling operation at the lowest point based on the assigned hole diameter, wherein the center of the leak hole is not less than a fifth threshold from the outline boundary of the drilling surface, and the coordinate value of the center of the leak hole is an integer.
[0114] In this embodiment, the device is essentially configured with multiple modules to execute the methods described in the above embodiments. The specific functions and technical effects can be referred to in the above method embodiments, and will not be repeated here.
[0115] Please see Figure 9 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application.
[0116] like Figure 9As shown, this application embodiment also provides an electronic device 900, including a processor 901, a memory 902, and a communication bus 903;
[0117] Communication bus 903 is used to connect processor 901 and memory 902;
[0118] The processor 901 is used to execute a computer program stored in the memory 902 to implement one or more methods as described in Embodiment 1 above.
[0119] This application also provides a computer-readable storage medium having a computer program stored thereon, the computer program being used to cause a computer to perform any of the methods described in Embodiment 1 above.
[0120] This application also provides a non-volatile readable storage medium storing one or more modules (programs). When these modules are applied to a device, they enable the device to execute the instructions included in Embodiment 1 of this application.
[0121] It should be noted that the computer-readable medium described in this disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution device, apparatus, or device. In this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution device, apparatus, or apparatus. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0122] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0123] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0124] This application also provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various embodiments described above.
[0125] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using dedicated hardware-based means to perform the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0126] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this application should still be covered by the claims of this application.
Claims
1. A method for producing automotive metal mold castings, characterized in that, include: Obtain castings; Lock the target surface, bottom surface, and profile surface of the casting; Obtain a drilling instruction, wherein the drilling instruction is an instruction to drill a weight reduction hole or an instruction to drill a drainage hole; The surface formed by the overlapping portion of the target surface is extracted as the drilling surface; Determine whether the drilling command is the command for drilling weight reduction holes; If so, obtain the width and height values of the punched surface, where the width is W and the height is L; The casting with the hole is obtained by drilling holes in the drilling surface based on preset conditions, wherein the preset conditions include the determination of the width and height of the drilling surface.
2. The method for producing automotive metal mold castings according to claim 1, characterized in that, Lock the side of the casting; extract the surface formed by the overlapping part of the side as the side to be drilled; The process of drilling holes in the side surface to be drilled based on preset conditions to obtain the casting with the holes includes: If W ≤ the first threshold or L ≤ the second threshold, no drilling operation will be performed on the side to be drilled. If W≥2*W1+2*R and L≥L1+L2+2*R, then a drilling operation is performed on the side to be drilled to obtain a square weight-reducing hole, wherein W1 is the distance from the square weight-reducing hole to both sides of the side to be drilled, R is the radius of the square weight-reducing hole, L1 is the distance from the square weight-reducing hole to the bottom surface, and L2 is the distance from the square weight-reducing hole to the profile surface.
3. The method for producing automotive metal mold castings according to claim 2, characterized in that, If W < 2*W1 + 2*R, then a hole is drilled on the side to be drilled to obtain a circular weight-reducing hole. If L < L1 + L2 + 2*R, then a drilling operation is performed on the side to be drilled to obtain a circular weight-reducing hole. If W < 2*W1 + 2*R and L < L1 + L2 + 2*R, then a drilling operation is performed on the side to be drilled to obtain the circular weight-reducing hole.
4. The method for producing automotive metal mold castings according to claim 1, characterized in that, Lock the horizontal or inclined surface of the casting; extract the surface formed by the overlapping part of the horizontal surface as the horizontal or inclined surface to be drilled; The process of drilling holes in the horizontal or inclined surface to be drilled, based on preset conditions, to obtain the casting with the holes includes: If W ≤ the third threshold or L ≤ the fourth threshold, no drilling operation will be performed on the horizontal or inclined surface to be drilled. If W≥2*W1+2*R and L≥L1+L2+2*R, then a drilling operation is performed on the horizontal or inclined surface to be drilled to obtain a square weight-reducing hole. Here, W1 is the distance from the square weight-reducing hole to both sides of the horizontal or inclined surface to be drilled, R is the radius of the square weight-reducing hole, L1 is the distance from the square weight-reducing hole to the bottom surface, and L2 is the distance from the square weight-reducing hole to the profile surface.
5. The method for producing automotive metal mold castings according to claim 4, characterized in that, If W < 2*W1 + 2*R, then a drilling operation is performed on the horizontal surface or the inclined surface to be drilled to obtain the circular weight-reducing hole. If L < L1 + L2 + 2*R, then a drilling operation is performed on the horizontal surface or the inclined surface to be drilled to obtain the circular weight-reducing hole. If W < 2*W1 + 2*R and L < L1 + L2 + 2*R, then a drilling operation is performed on the horizontal surface or the inclined surface to be drilled to obtain the circular weight-reducing hole.
6. The method for producing automotive metal mold castings according to claim 1, characterized in that, If the drilling instruction is the instruction to drill a leak hole, obtain the value of the hole diameter of the leak hole; Lock the lowest point of the drilled surface; Based on the assigned aperture, a drainage hole is drilled at the lowest point, wherein the center of the drainage hole is not less than a fifth threshold from the outline boundary of the drilling surface, and the coordinates of the center of the drainage hole are integers.
7. An apparatus for producing automotive metal mold castings, characterized in that, include: The first acquisition module is used to acquire castings; A locking module is used to lock the target surface, bottom surface, and profile surface of the casting; The second acquisition module is used to acquire a drilling instruction, wherein the drilling instruction is an instruction to drill a weight reduction hole or an instruction to drill a water leakage hole. An extraction module is used to extract the surface formed by the overlapping part of the target surface as the drilling surface; The judgment module is used to determine whether the drilling instruction is the instruction to drill weight reduction holes; if so, it obtains the width and height values of the drilling surface, wherein the width is W and the height is L; A drilling module is used to drill holes in the drilling surface based on preset conditions to obtain the casting with the holes, wherein the preset conditions include the determination of the width and height of the drilling surface.
8. An electronic device, characterized in that, Includes processor, memory, and communication bus; The communication bus is used to connect the processor and the memory; The processor is used to execute the computer program stored in the memory to implement the method for generating automotive metal mold castings as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, It stores a computer program that enables the computer to execute the method for producing automotive metal mold castings as described in any one of claims 1-6.
10. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the method for generating automotive metal mold castings as described in any one of claims 1 to 6.